]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Merge from emacs-24; up to 2012-12-27T20:09:45Z!juri@jurta.org
[gnu-emacs] / lisp / ChangeLog
1 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
2
3 * progmodes/python.el (python-indent-block-enders): Add break,
4 continue and raise keywords.
5
6 2013-06-01 Glenn Morris <rgm@gnu.org>
7
8 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9
10 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11 * progmodes/cc-cmds.el (delete-forward-p):
12 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13 * progmodes/cc-engine.el (buffer-syntactic-context):
14 * progmodes/cc-fonts.el (face-property-instance):
15 * progmodes/cc-mode.el (set-keymap-parents):
16 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
17 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
18 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
19 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
20 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
21
22 * progmodes/cc-vars.el (other): Emacs has this widget since
23 at least 21.1, so don't (re)define it.
24
25 * eshell/em-cmpl.el (eshell-cmpl-initialize):
26 Replace the obsolete alias pcomplete-arg-quote-list.
27
28 2013-06-01 Leo Liu <sdl.web@gmail.com>
29
30 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
31 punctuation syntax.
32 (inferior-octave-minimal-columns)
33 (inferior-octave-last-column-width): New variables.
34 (inferior-octave-track-window-width-change): New function.
35 (inferior-octave-mode): Adjust column width so that Octave output,
36 for example from 'ls', can fit into the window nicely.
37
38 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
39
40 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
41 Highlight expansions inside regexp literals.
42
43 2013-05-31 Glenn Morris <rgm@gnu.org>
44
45 * obsolete/sym-comp.el (symbol-complete):
46 Replace obsolete completion-annotate-function.
47
48 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
49
50 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
51
52 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p): New
53 function, checks if point is inside a literal that allows
54 expression expansion.
55 (ruby-syntax-propertize-expansion): Use it.
56 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
57 around the body.
58
59 2013-05-30 Juri Linkov <juri@jurta.org>
60
61 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
62 to "\M-si".
63 (isearch-invisible): New variable.
64 (isearch-forward): Doc fix.
65 (isearch-mode): Set `isearch-invisible'
66 to the value of `search-invisible'.
67 (isearch-toggle-case-fold): Doc fix.
68 (isearch-toggle-invisible): New command.
69 (isearch-query-replace): Let-bind `search-invisible'
70 to the value of `isearch-invisible'.
71 (isearch-search): Use `isearch-invisible' instead of
72 `search-invisible'. Let-bind `search-invisible'
73 to the value of `isearch-invisible'. (Bug#11378)
74
75 2013-05-30 Juri Linkov <juri@jurta.org>
76
77 * replace.el (perform-replace): Avoid `isearch-range-invisible'
78 call when `query-flag' is nil and `search-invisible' is non-nil.
79 (Bug#11746)
80
81 2013-05-30 Glenn Morris <rgm@gnu.org>
82
83 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
84
85 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
86 (cc-require): Suppress spurious "noruntime" warnings.
87 (cc-require-when-compile): Use fboundp, for sake of compiler.
88
89 * progmodes/cc-mode.el: Move load of cc-vars before that of
90 cc-langs (which in turn loads cc-vars), to quieten compiler.
91
92 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
93
94 * paren.el: Simplify the code.
95 (show-paren-mode): Always start the timer.
96 (show-paren--idle-timer): Rename from show-paren-idle-timer.
97 (show-paren--overlay, show-paren--overlay-1): Rename from
98 show-paren-overlay and show-paren-overlay-1, and initialize to an
99 overlay rather than to nil.
100 (show-paren-function): Misc cleanup and simplifications.
101
102 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
103
104 * paren.el (show-paren-data-function): New hook.
105 (show-paren--default): New function, extracted from show-paren-function.
106 (show-paren-function): Use show-paren-data-function.
107
108 2013-05-30 Glenn Morris <rgm@gnu.org>
109
110 * ielm.el (ielm-map, ielm-complete-symbol):
111 Use completion-at-point rather than obsolete functions.
112 (inferior-emacs-lisp-mode): Doc fix.
113 Set completion-at-point-functions, rather than
114 comint-dynamic-complete-functions.
115
116 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
117 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
118 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
119
120 * image.el (image-animated-p): Tweak definition.
121
122 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
123 (rlogin-process-connection-type): Tweak default. Add set-after.
124 (rlogin-host): Doc fix.
125 (rlogin): Tweak prompt.
126 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
127
128 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
129 * progmodes/tcl.el (inferior-tcl-mode-map):
130 Use completion-at-point rather than obsolete alias.
131
132 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
133
134 * minibuffer.el (read-file-name-completion-ignore-case):
135 Move before completion--in-region, for eager macro expansion.
136
137 2013-05-29 Juri Linkov <juri@jurta.org>
138
139 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
140 for total count of matching lines. Add `global-matches' for total
141 count of matches. Rename `matches' to `lines' for count of
142 matching lines. Add `matches' for count of matches.
143 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
144 to `prev-line' for line number of prev match endpt.
145 Increment `matches' for every match. Print the number of
146 matching lines in the header.
147 (occur-context-lines): Rename `lines' to `curr-line'.
148 Rename `prev-lines' to `prev-line'. (Bug#14017)
149
150 2013-05-29 Juri Linkov <juri@jurta.org>
151
152 * replace.el (perform-replace): Add `skip-read-only-count',
153 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
154 Increment them for corresponding conditions and report the number
155 of skipped occurrences in the final message. (Bug#11746)
156 (query-replace, query-replace-regexp, query-replace-regexp-eval)
157 (replace-string, replace-regexp): Doc fix.
158
159 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
160
161 * emacs-lisp/trace.el (trace--read-args): Provide a default.
162
163 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
164 prog-mode-map.
165
166 2013-05-29 Leo Liu <sdl.web@gmail.com>
167
168 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
169 (octave-help): Small simplification.
170
171 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
172 off the highlight first.
173
174 2013-05-29 Glenn Morris <rgm@gnu.org>
175
176 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
177 Handle idlwave-last-system-routine-info-cons-cell being nil.
178
179 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
180 (idlwave-write-paths): Simplify via with-temp-buffer.
181
182 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
183 * emulation/cua-rect.el: Also load cua-base at run time.
184
185 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
186 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
187 (cperl-imenu-on-info): Require imenu.
188
189 2013-05-28 Alan Mackenzie <acm@muc.de>
190
191 Handle "capitalised keywords" correctly.
192 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
193
194 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
195
196 * eshell/em-unix.el: Added -r option to cp
197
198 2013-05-28 Glenn Morris <rgm@gnu.org>
199
200 * vc/vc-arch.el (vc-exec-after): Declare.
201 (vc-switches): Autoload.
202 * vc/vc-bzr.el: No need to require vc when compiling.
203 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
204 (vc-resynch-buffer, vc-dir-refresh): Declare.
205 (vc-setup-buffer, vc-switches): Autoload.
206 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
207 (vc-resynch-buffer): Declare.
208 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
209 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
210 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
211 (grep-read-regexp, grep-read-files, grep-expand-template)
212 (vc-dir-refresh): Declare.
213 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
214 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
215 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
216 * vc/vc-mtn.el (vc-exec-after): Declare.
217 (vc-switches): Autoload.
218 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
219 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
220 (vc-file-tree-walk): Declare.
221 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
222 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
223 (vc-tag-precondition, vc-rename-master): Autoload.
224 * vc/vc-svn.el (vc-exec-after): Declare.
225 (vc-switches, vc-setup-buffer): Autoload.
226 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
227 Autoload.
228 (vc-resynch-buffer): Declare.
229
230 * obsolete/fast-lock.el (byte-compile-warnings):
231 Don't warn about obsolete features in this obsolete file.
232
233 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
234 Move definition before use.
235
236 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
237 (dun-unix-verbs): Remove dun-zippy.
238 (dun-zippy): Remove function.
239
240 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
241
242 2013-05-27 Juri Linkov <juri@jurta.org>
243
244 * replace.el (replace-search): New function with code moved out
245 from `perform-replace'.
246 (replace-highlight, replace-dehighlight): Move function definitions
247 up closer to `replace-search'. (Bug#11746)
248
249 2013-05-27 Juri Linkov <juri@jurta.org>
250
251 * replace.el (perform-replace): Ignore invisible matches.
252 In addition to checking `query-replace-skip-read-only', also
253 filter out matches by calling `run-hook-with-args-until-failure'
254 on `isearch-filter-predicates', and also check `search-invisible'
255 for t or call `isearch-range-invisible'.
256 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
257
258 2013-05-27 Juri Linkov <juri@jurta.org>
259
260 * isearch.el (isearch-filter-predicates): Rename from
261 `isearch-filter-predicate'. Doc fix. (Bug#11378)
262 (isearch-message-prefix): Display text from the property
263 `isearch-message-prefix' of the currently active filters.
264 (isearch-search): Don't compare `isearch-filter-predicate' with
265 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
266 on `isearch-filter-predicates'. Also check `search-invisible' for t
267 or call `isearch-range-invisible'.
268 (isearch-filter-visible): Make obsolete.
269 (isearch-lazy-highlight-search):
270 Call `run-hook-with-args-until-failure' on
271 `isearch-filter-predicates' and use `isearch-range-invisible'.
272
273 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
274 `isearch-filter-predicates' instead of `funcall'ing
275 `isearch-filter-predicate'.
276 (Info-mode): Set `Info-isearch-filter' to
277 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
278
279 * dired-aux.el (dired-isearch-filter-predicate-orig):
280 Remove variable.
281 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
282 (dired-isearch-filenames-end): Add and remove
283 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
284 instead of changing the value of `isearch-filter-predicate'.
285 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
286 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
287 Put property `isearch-message-prefix' to "filename " on
288 `dired-isearch-filter-filenames'.
289
290 * wdired.el (wdired-change-to-wdired-mode):
291 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
292 locally instead of changing `isearch-filter-predicate'.
293 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
294
295 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
296
297 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
298 return the commit hash (Bug#14459). Also set the
299 `vc-git-detached' property.
300 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
301 (vc-git-mode-line-string): Use the same help-echo format whether
302 in detached mode or not, because we know the actual revision now.
303 When in detached mode, shorten the revision to 7 chars.
304
305 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
306
307 * emacs-lisp/easy-mmode.el (define-minor-mode):
308 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
309 mode hook and provide a docstring.
310
311 2013-05-27 Alan Mackenzie <acm@muc.de>
312
313 Remove spurious syntax-table text properties inserted by C-y.
314 * progmodes/cc-mode.el (c-after-change): Also clear hard
315 syntax-table property with value nil.
316
317 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
318
319 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
320 when reading the events; the buffer layout shall not be changed.
321
322 2013-05-27 Leo Liu <sdl.web@gmail.com>
323
324 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
325 New variable.
326 (inferior-octave-directory-tracker): Automatically re-sync
327 default-directory.
328 (octave-help): Improve handling of 'See also'.
329
330 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
331
332 * doc-view.el: Minor naming convention tweaks.
333 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
334
335 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
336 even if there's no `display' property yet (bug#14435).
337
338 2013-05-25 Eli Zaretskii <eliz@gnu.org>
339
340 * subr.el (unmsys--file-name): Rename from reveal-filename.
341
342 * Makefile.in (custom-deps, finder-data, autoloads)
343 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
344 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
345 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
346
347 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
348
349 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
350 error-completion on the first 2 args of condition-case (bug#14446).
351 Don't burp at EOB.
352
353 2013-05-25 Leo Liu <sdl.web@gmail.com>
354
355 * comint.el (comint-previous-matching-input): Do not flood the
356 *Messages* buffer with trivial messages.
357
358 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
359
360 * progmodes/flymake.el (flymake-nop): Don't return a string.
361 (flymake-set-at): Fix typo.
362
363 * simple.el (read--expression): New function, extracted from
364 eval-expression. Set completion-at-point-functions (bug#14465).
365 (eval-expression, eval-minibuffer): Use it.
366
367 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
368
369 * progmodes/flymake.el (flymake-save-buffer-in-file)
370 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
371 (flymake-selected-frame, flymake-log, flymake-ins-after)
372 (flymake-set-at, flymake-get-buildfile-from-cache)
373 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
374 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
375 Refine the doc string.
376 (flymake-get-file-name-mode-and-masks): Reformat.
377 (flymake-get-real-file-name-function): Fix a minor bug.
378
379 2013-05-24 Juri Linkov <juri@jurta.org>
380
381 * progmodes/grep.el (grep-mode-font-lock-keywords):
382 Support =linenumber= format used by git-grep for lines with
383 function names. (Bug#13549)
384
385 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
386
387 * progmodes/octave.el (octave-smie-rules): Return nil rather than
388 0 after a semi-colon; it works better for smie-auto-fill.
389 (octave--indent-new-comment-line): New function.
390 (octave-indent-new-comment-line): Use it (indirectly).
391 (octave-mode): Don't disable smie-auto-fill. Use add-function to
392 modify comment-line-break-function.
393
394 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
395 (smie-setup): Use add-function to set it.
396
397 2013-05-24 Sam Steingold <sds@gnu.org>
398
399 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
400 argument (before the `interactive' argument).
401
402 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
403
404 * image-mode.el (image-mode-winprops): Add winprops to
405 image-mode-winprops-alist before running
406 image-mode-new-window-functions.
407 * doc-view.el (doc-view-new-window-function): Don't delay
408 doc-view-goto-page via timers (bug#14435).
409
410 2013-05-24 Tassilo Horn <tsdh@gnu.org>
411
412 * doc-view.el: Integrate with desktop.el. (Bug#14435)
413 (doc-view-desktop-save-buffer): New function.
414 (doc-view-restore-desktop-buffer): New function.
415 (desktop-buffer-mode-handlers):
416 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
417 handler.
418 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
419 `desktop-save-buffer' function.
420
421 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
422
423 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
424 (tramp-gvfs-file-name-handler): Raise a user error when
425 `tramp-gvfs-enabled' is nil.
426 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
427 Do not raise a user error when loading package. (Bug#14447)
428
429 * net/xesam.el: Move to obsolete/.
430
431 2013-05-24 Glenn Morris <rgm@gnu.org>
432
433 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
434
435 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
436
437 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
438 (Info-find-node, Man-getpage-in-background): Declare.
439
440 * mail/unrmail.el (unrmail):
441 Replace obsolete detect-coding-with-priority.
442
443 * net/socks.el (socks-split-string): Use this rather than split-string.
444 (socks-nslookup-host): Update for above change.
445 (dynamic-choice, s5-dynamic-choice-match)
446 (s5-dynamic-choice-match-inline, s5-widget-value-create):
447 Comment out unused code.
448
449 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
450 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
451 (gud-tooltip-echo-area): Make obsolete.
452 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
453
454 * progmodes/js.el (js--optimize-arglist): Declare.
455
456 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
457
458 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
459 (ediff-window-C): Declare.
460
461 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
462 Tweak requires to silence compiler.
463
464 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
465 (he-search-string, he-tried-table, he-expand-list)
466 (he-init-string, he-string-member, he-substitute-string)
467 (he-reset-string): Declare.
468
469 * obsolete/options.el (list-options): Use custom-variable-p,
470 rather than obsolete alias.
471
472 2013-05-23 Sam Steingold <sds@gnu.org>
473
474 * simple.el (shell-command-on-region): Pass the `replace' argument
475 down to `call-process-region' to comply with the doc as reported on
476 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
477
478 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
479
480 * emacs-lisp/smie.el (smie-indent-forward-token)
481 (smie-indent-backward-token): Handle string tokens (bug#14381).
482
483 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
484
485 * ielm.el (ielm-menu): New menu.
486 (inferior-emacs-lisp-mode): Set comment-start.
487
488 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
489
490 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
491 Fix deactivate action.
492
493 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
494 Add cleveref macros.
495
496 * lisp/textmodes/reftex-parse.el
497 (reftex-locate-bibliography-files): Accept options for
498 bibliography commands.
499 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
500 Add addbibresource. Basic Biblatex support.
501
502 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
503
504 * net/tramp-gvfs.el (top):
505 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
506 when loading package. (Bug#14447)
507
508 2013-05-23 Glenn Morris <rgm@gnu.org>
509
510 * progmodes/js.el: No need to load comint when compiling.
511 (ring-insert, comint-send-string, comint-send-input)
512 (comint-last-input-end, ido-chop): Declare.
513
514 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
515 * vc/ediff-mult.el: Adjust requires.
516 (ediff-directories-internal, ediff-directory-revisions-internal)
517 (ediff-patch-file-internal): Declare.
518 * vc/ediff-ptch.el: Adjust requires.
519 (ediff-use-last-dir, ediff-buffers-internal): Declare.
520 (ediff-find-file): Autoload.
521 * vc/ediff-util.el: No need to load ediff when compiling.
522 (ediff-regions-internal): Declare.
523 * vc/ediff-wind.el: Adjust requires.
524 (ediff-compute-toolbar-width): Define when compiling.
525 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
526 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
527 (dired-get-filename, dired-get-marked-files)
528 (ediff-last-dir-patch, ediff-patch-default-directory)
529 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
530 (ediff-patch-buffer-internal): Declare.
531
532 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
533 (ispell-process, ispell-buffer-local-words, lm-summary)
534 (lm-section-start, lm-section-end): Declare.
535 (checkdoc-ispell-init): Simplify.
536
537 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
538 (he-string-member, he-reset-string, he-substitute-string): Declare.
539
540 * eshell/em-ls.el: Adjust requires.
541 (eshell-glob-regexp): Declare.
542 * eshell/em-tramp.el: Adjust requires.
543 (eshell-parse-command): Autoload.
544 * eshell/em-xtra.el: Adjust requires.
545 (eshell-parse-command): Autoload.
546 * eshell/esh-ext.el: Adjust requires.
547 (eshell-parse-command, eshell-close-handles): Autoload.
548 * eshell/esh-io.el: Adjust requires.
549 (eshell-output-filter): Autoload.
550 * eshell/esh-util.el: No need to load tramp when compiling.
551 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
552 Declare.
553 (eshell-parse-ange-ls): Require ange-ftp and tramp.
554 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
555 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
556 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
557 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
558 * eshell/esh-opt.el, eshell/esh-proc.el:
559 * eshell/esh-var.el: Adjust requires.
560 * eshell/eshell.el: Do not require esh-util twice.
561 (eshell-add-input-to-history): Declare.
562 (eshell-command): Check history module is active before using it.
563
564 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
565
566 2013-05-22 Leo Liu <sdl.web@gmail.com>
567
568 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
569
570 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
571
572 * autorevert.el (auto-revert-notify-add-watch)
573 (auto-revert-notify-handler): Add `attrib' for the inotify case,
574 it indicates changes in file modification time.
575
576 2013-05-22 Glenn Morris <rgm@gnu.org>
577
578 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
579 Always delete the autoloaded function from the noruntime and
580 unresolved functions lists.
581
582 * allout.el: No need to load epa, epg, overlay when compiling.
583 (epg-context-set-passphrase-callback, epg-list-keys)
584 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
585 (epg-key-user-id-list): Declare.
586
587 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
588 (viper-set-parsing-style-toggling-macro)
589 (viper-set-emacs-state-searchstyle-macros):
590 Use called-interactively-p on Emacs.
591 (viper-looking-back): Make it an obsolete alias. Update callers.
592 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
593 Use looking-back rather than viper-looking-back.
594 (viper-tmp-insert-at-eob, viper-enlarge-region)
595 (viper-read-string-with-history, viper-register-to-point)
596 (viper-append-to-register, viper-change-state-to-vi)
597 (viper-backward-char-carefully, viper-forward-char-carefully)
598 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
599 (viper-change-state-to-emacs): Declare.
600 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
601 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
602 * emulation/viper-mous.el: Do not load viper-cmd.
603 (viper-backward-char-carefully, viper-forward-char-carefully)
604 (viper-forward-word, viper-adjust-window): Declare.
605
606 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
607
608 * progmodes/idlw-help.el (idlwave-help-fontify):
609 Use called-interactively-p.
610
611 * term/w32console.el (w32-get-console-codepage)
612 (w32-get-console-output-codepage): Declare.
613
614 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
615 Remove unnecessary declarations.
616 (dframe-message): Doc fix.
617
618 * info.el (dframe-select-attached-frame, dframe-current-frame):
619 Declare.
620
621 * speedbar.el (speedbar-message): Make it an obsolete alias.
622 Update all callers.
623 (speedbar-with-attached-buffer)
624 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
625 (speedbar-with-writable): Use backquote.
626 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
627 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
628 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
629 rather than speedbar- aliases.
630 * mail/rmail.el: Load dframe rather than speedbar when compiling.
631 (speedbar-make-specialized-keymap, speedbar-insert-button)
632 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
633 (speedbar-do-function-pointer): Declare.
634 (rmail-speedbar-button, rmail-speedbar-find-file)
635 (rmail-speedbar-move-message):
636 Use dframe-with-attached-buffer rather than speedbar- alias.
637 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
638 (dframe-message, speedbar-make-specialized-keymap)
639 (speedbar-add-expansion-list, speedbar-mode-functions-list)
640 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
641 (speedbar-insert-button, dframe-select-attached-frame)
642 (dframe-maybee-jump-to-attached-frame)
643 (speedbar-change-initial-expansion-list)
644 (speedbar-previously-used-expansion-list-name): Declare.
645 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
646 Use dframe-message, dframe-with-attached-buffer rather than
647 speedbar- aliases.
648 (gud-sentinel): Silence compiler.
649 * progmodes/vhdl-mode.el (speedbar-refresh)
650 (speedbar-do-function-pointer, speedbar-add-supported-extension)
651 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
652 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
653 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
654 (speedbar-file-lists, speedbar-make-tag-line)
655 (speedbar-line-directory, speedbar-goto-this-file)
656 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
657 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
658 (speedbar-make-button, speedbar-reset-scanners)
659 (speedbar-files-item-info, speedbar-line-text)
660 (speedbar-find-file-in-frame, speedbar-set-timer)
661 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
662 (speedbar-with-writable): Do not (re)define it.
663 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
664 rather than speedbar- alias.
665
666 2013-05-21 Leo Liu <sdl.web@gmail.com>
667
668 * progmodes/octave.el (octave-mode-menu): Update and re-organize
669 menu items.
670 (octave-mode): Tweak fill-nobreak-predicate.
671 (inferior-octave-startup): Check process to avoid infinite loop.
672 (inferior-octave): Pop to buffer first to show abornmal process
673 exit information.
674
675 2013-05-21 Glenn Morris <rgm@gnu.org>
676
677 * printing.el (pr-menu-bar): Define when compiling.
678
679 2013-05-21 Leo Liu <sdl.web@gmail.com>
680
681 * progmodes/octave.el (octave-auto-fill): Remove.
682 (octave-indent-new-comment-line): Improve.
683 (octave-mode): Use auto fill mode through
684 comment-line-break-function and fill-nobreak-predicate
685 (octave-goto-function-definition): Support DEFUN_DLD.
686 (octave-beginning-of-defun): Small Tweak
687 (octave-help): Show parent directory.
688
689 2013-05-21 Glenn Morris <rgm@gnu.org>
690
691 * files.el (dired-unmark):
692 * progmodes/gud.el (gdb-input): Update declarations.
693
694 * calculator.el (electric, ehelp): No need to load when compiling.
695 (Electric-command-loop, electric-describe-mode): Declare.
696
697 * doc-view.el (doc-view-current-converter-processes): Move before use.
698
699 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
700 Move MODE-set-explicitly definition before use.
701
702 * international/mule-diag.el (mule-diag):
703 Don't use obsolete window-system-version.
704
705 * mail/feedmail.el (smtpmail): No need to load when compiling.
706 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
707
708 * mail/mail-utils.el (rfc822): No need to load when compiling.
709 (rfc822-addresses): Autoload it.
710 (mail-strip-quoted-names): Trivial simplification.
711
712 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
713 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
714
715 * net/snmp-mode.el (tempo): Don't duplicate requires.
716
717 * progmodes/prolog.el (info): No need to load when compiling.
718 (comint): Require before shell requires it.
719 (Info-goto-node): Autoload it.
720 (Info-follow-nearest-node): Declare.
721 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
722
723 * textmodes/artist.el (picture-mode-exit): Declare.
724
725 * textmodes/reftex-parse.el (reftex-parse-from-file):
726 Trivial rewrite so the compiler can parse it better.
727
728 2013-05-20 Leo Liu <sdl.web@gmail.com>
729
730 * progmodes/octave.el (octave-help-mode-map)
731 (octave-help-mode-finish-hook): New variables.
732 (octave-help-mode, octave-help-mode-finish): New functions.
733 (octave-help): Use octave-help-mode.
734
735 2013-05-20 Glenn Morris <rgm@gnu.org>
736
737 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
738
739 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
740
741 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
742 start at point, so that expansion starting right after opening
743 slash in a regexp is recognized.
744 (ruby-syntax-before-regexp-re): New defvar, extracted from
745 ruby-syntax-propertize-function. Since the value of this regexp
746 is looked up at runtime now, we should be able to turn
747 `ruby-syntax-methods-before-regexp' into a defcustom later.
748 (ruby-syntax-propertize-function): Split regexp matching into two
749 parts, for opening and closing slashes. That allows us to skip
750 over string interpolations and support multiline regexps.
751 Don't call `ruby-syntax-propertize-expansions', instead use another rule
752 for them, which calls `ruby-syntax-propertize-expansion'.
753 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
754 call to `ruby-syntax-propertize-function'.
755 (ruby-syntax-propertize-expansion): Extracted from
756 `ruby-syntax-propertize-expansions'. Handles one expansion.
757 (ruby-syntax-propertize-percent-literal): Leave point right after
758 the percent symbol, so that the expression expansion rule can
759 propertize the contents.
760 (ruby-syntax-propertize-heredoc): Leave point at bol following the
761 heredoc openers.
762 (ruby-syntax-propertize-expansions): Remove.
763
764 2013-05-18 Juri Linkov <juri@jurta.org>
765
766 * man.el (Man-default-man-entry): Remove `-' from the end
767 of the default value. (Bug#14400)
768
769 2013-05-18 Glenn Morris <rgm@gnu.org>
770
771 * comint.el (comint-password-prompt-regexp):
772 Allow "password for XXX" where XXX contains colons (eg https://...).
773
774 2013-05-18 Leo Liu <sdl.web@gmail.com>
775
776 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
777 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
778 (octave-source-directories): Don't check process.
779 (octave-source-directories, octave-find-definition): Doc fix.
780
781 2013-05-18 Glenn Morris <rgm@gnu.org>
782
783 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
784 Remove backspace/delete bindings. (Bug#14392)
785
786 * cus-dep.el (custom-make-dependencies): Sort the output.
787 (custom-versions-load-alist): Convert comment to doc.
788
789 2013-05-17 Leo Liu <sdl.web@gmail.com>
790
791 * newcomment.el (comment-search-backward): Stricter in finding
792 comment start. (Bug#14303)
793
794 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
795 (octave-comment-start-skip): Properly anchored.
796
797 2013-05-17 Leo Liu <sdl.web@gmail.com>
798
799 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
800 Clean up when turned off. (Bug#14395)
801 (smie--highlight-matching-block-overlay): No longer buffer-local.
802 (smie-highlight-matching-block): Adjust.
803
804 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
805
806 Doc string fix for "nanoseconds" (Bug#14406).
807 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
808 Fix doc string typo that had "nanoseconds" instead of "microseconds".
809
810 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
811
812 * calc/calc-units.el (math-extract-units): Preserve powers
813 of units.
814
815 2013-05-17 Leo Liu <sdl.web@gmail.com>
816
817 * subr.el (delete-consecutive-dups): New function.
818 * ido.el (ido-set-matches-1): Use it.
819 * progmodes/octave.el (inferior-octave-completion-table): Use it.
820 * ido.el (ido-remove-consecutive-dups): Remove.
821
822 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
823
824 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
825 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
826 regexp-opt's `words'.
827
828 2013-05-16 Leo Liu <sdl.web@gmail.com>
829
830 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
831 (smie--highlight-matching-block-overlay)
832 (smie--highlight-matching-block-lastpos)
833 (smie--highlight-matching-block-timer): New variables.
834 (smie-highlight-matching-block): New function.
835 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
836 (smie-setup): Conditionally enable smie-blink-matching-open.
837
838 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
839
840 Sync with upstream verilog-mode r840.
841 * progmodes/verilog-mode.el (verilog-mode-version)
842 (verilog-mode-release-date): Update.
843 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
844 (verilog-sig-tieoff): Fix string error on
845 AUTORESET with colon define, bug594. Reported by Andrew Hou.
846 (verilog-read-decls): Fix parameters confusing
847 AUTOINST interfaces, bug565. Reported by Leith Johnson.
848
849 2013-05-16 Eli Zaretskii <eliz@gnu.org>
850
851 * subr.el (reveal-filename): New function.
852
853 * loadup.el: Compute Emacs executable versions on MS-Windows,
854 where executables have the .exe extension. Add a hard link
855 emacs-XX.YY.ZZ.exe on MS-Windows.
856
857 * Makefile.in (XARGS_LIMIT): New variable.
858 (custom-deps, finder-data, autoloads)
859 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
860 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
861 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
862 (compile-main): Limit xargs according to $(XARGS_LIMIT).
863
864 2013-05-16 Leo Liu <sdl.web@gmail.com>
865
866 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
867 (octave-mode-menu, octave-mode-map): Remove its uses.
868
869 2013-05-16 Reto Zimmermann <reto@gnu.org>
870
871 Sync with upstream vhdl mode v3.34.2.
872 * progmodes/vhdl-mode.el: Use `push' throughout.
873 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
874 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
875 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
876 (vhdl-actual-generic-name): New option to derive actual generic name.
877 (vhdl-port-paste-signals): Replace formal by actual generics.
878 (vhdl-beautify): New name for old group vhdl-align. Update users.
879 (vhdl-beautify-options): New option.
880 (vhdl-last-input-event): New compat alias. Use throughout.
881 (vhdl-goto-line): Replace user level function `goto-line'.
882 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
883 vhdl-fix-statement-buffer.
884 (vhdl-create-mode-menu): Add some entries.
885 (vhdl-align-region-groups): Respect vhdl-beautify-options.
886 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
887 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
888 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
889 to force statements on one line.
890 (vhdl-remove-trailing-spaces-region):
891 New, split from vhdl-remove-trailing-spaces.
892 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
893 Respect vhdl-beautify-options.
894 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
895 (vhdl-update-sensitivity-list): Not add with index if exists without.
896 Not include array index with signal. Ignore keywords in comments.
897 (vhdl-get-visible-signals): Regexp tweaks.
898 (vhdl-template-component-inst): Handle empty library.
899 (vhdl-template-type): Add template for 'enum' type.
900 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
901 Use vhdl-replace-string.
902 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
903 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
904 (vhdl-speedbar-initialize): Update for above name change.
905 (vhdl-compose-wire-components): Fix in handling of constants.
906 (vhdl-error-regexp-emacs-alist): New variable.
907 (vhdl-error-regexp-add-emacs): New function;
908 adds support for new compile.el (Emacs 22+)
909 (vhdl-generate-makefile-1): Change target order for single lib. units.
910 Allow use of absolute file names.
911
912 2013-05-16 Leo Liu <sdl.web@gmail.com>
913
914 * simple.el (prog-indent-sexp): Indent enclosing defun.
915
916 2013-05-15 Glenn Morris <rgm@gnu.org>
917
918 * cus-start.el (show-trailing-whitespace): Move to editing basics.
919 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
920 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
921 (whitespace-highlight): Move to whitespace group.
922
923 * comint.el (comint-source):
924 * pcmpl-linux.el (pcmpl-linux):
925 * shell.el (shell-faces):
926 * eshell/esh-opt.el (eshell-opt):
927 * international/ccl.el (ccl): Remove empty custom groups.
928
929 * completion.el (dynamic-completion-mode):
930 * jit-lock.el (jit-lock-debug-mode):
931 * minibuffer.el (completion-in-region-mode):
932 * type-break.el (type-break-mode-line-message-mode)
933 (type-break-query-mode):
934 * emulation/tpu-edt.el (tpu-edt-mode):
935 * progmodes/subword.el (global-subword-mode, global-superword-mode):
936 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
937 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
938
939 * term/xterm.el (xterm): Change parent group to terminals.
940
941 * master.el (master): Remove empty custom group.
942 (master-mode): Remove unused :group argument.
943 * textmodes/refill.el (refill): Remove empty custom group.
944 (refill-mode): Remove unused :group argument.
945
946 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
947
948 * cus-dep.el: Provide a feature.
949 (custom-make-dependencies): Ignore dotfiles (dir-locals).
950 Don't mistakenly ignore files whose basenames match a basename
951 from preloaded-file-list (eg cedet/ede/simple.el).
952 Add a fallback method for getting :group.
953
954 2013-05-15 Juri Linkov <juri@jurta.org>
955
956 * isearch.el (isearch-char-by-name): Rename from
957 `isearch-insert-char-by-name'. Doc fix.
958 (isearch-forward): Mention `isearch-char-by-name' in
959 the docstring. (Bug#13348)
960
961 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
962 `exit-minibuffer' instead of
963 `isearch-nonincremental-exit-minibuffer'.
964 (isearch-edit-string): Remove mention of
965 `isearch-nonincremental-exit-minibuffer' from docstring.
966 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
967 (isearch-forward-exit-minibuffer)
968 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
969
970 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
971
972 * loadup.el: Just use unversioned DOC.
973
974 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
975 literals as extending to EOB.
976 (nxml-last-fontify-end): Remove unused variable.
977 (nxml-after-change1): Use with-silent-modifications.
978 (nxml-extend-after-change-region): Simplify.
979 (nxml-extend-after-change-region1): Remove function.
980 (nxml-after-change1): Don't adjust for dependent regions.
981 (nxml-fontify-matcher): Simplify.
982 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
983 (xmltok-add-dependent): Remove function.
984 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
985 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
986 (xmltok-scan-prolog-after-processing-instruction-open): Treat
987 unclosed <[[, <?, comment, and other literals as extending to EOB.
988 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
989 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
990 Remove functions.
991 (rng-do-some-validation-1): Don't mark dependent regions.
992 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
993 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
994 (nxml-clear-dependent-regions): Remove functions.
995 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
996 (nxml-ensure-scan-up-to-date):
997 Don't clear&mark dependent regions.
998
999 2013-05-15 Leo Liu <sdl.web@gmail.com>
1000
1001 * progmodes/octave.el (octave-goto-function-definition):
1002 Improve and fix callers.
1003
1004 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1005
1006 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
1007 the setter (bug#14387).
1008
1009 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
1010 surrounding group (bug#14402).
1011
1012 2013-05-14 Juri Linkov <juri@jurta.org>
1013
1014 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
1015 (Bug#14390)
1016
1017 2013-05-14 Glenn Morris <rgm@gnu.org>
1018
1019 * progmodes/f90.el (f90-imenu-generic-expression):
1020 Fix typo in 2013-05-08 change. (Bug#14402)
1021
1022 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1023
1024 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
1025 Remove signals for which replies are never received.
1026
1027 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1028
1029 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
1030 (gdb-handler-alist, gdb-handler-number): Remove variables.
1031 (gdb-handler-list): New variable.
1032 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
1033 (gdb-pending-handler-p, gdb-handle-reply)
1034 (gdb-remove-all-pending-triggers): New functions.
1035 (gdb-discard-unordered-replies): New defcustom.
1036 (gdb-handler): New defstruct.
1037 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
1038 instead of gdb-pending-triggers. Update docstring.
1039 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
1040 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
1041 (gdb-var-update-handler, def-gdb-auto-update-trigger)
1042 (def-gdb-auto-update-handler, gdb-get-changed-registers)
1043 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
1044 (gdb-frame-handler): Pending triggers are now automatically managed.
1045 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
1046 Remove argument.
1047 (gdb-input): Automatically handles pending triggers. Update docstring.
1048 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
1049 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
1050 Update comments.
1051 (gdb-done-or-error): Now use gdb-handle-reply.
1052
1053 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1054
1055 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
1056 gdb-debug-log.
1057
1058 2013-05-14 Glenn Morris <rgm@gnu.org>
1059
1060 * subr.el (user-emacs-directory-warning): New option.
1061 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
1062
1063 2013-05-14 Leo Liu <sdl.web@gmail.com>
1064
1065 * progmodes/octave.el (octave-font-lock-keywords): Fix error
1066 during redisplay.
1067 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
1068 (octave-font-lock-texinfo-comment): Fix invalid search bound
1069 error: wrong side of point.
1070
1071 2013-05-14 Glenn Morris <rgm@gnu.org>
1072
1073 * progmodes/flymake.el (flymake-xml-program): New option.
1074 (flymake-xml-init): Use it.
1075
1076 * term/xterm.el: Provide a feature.
1077
1078 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
1079
1080 2013-05-13 Glenn Morris <rgm@gnu.org>
1081
1082 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
1083 Add compat aliases as a hack workaround. (Bug#14384)
1084
1085 2013-05-13 Leo Liu <sdl.web@gmail.com>
1086
1087 * progmodes/octave.el (octave-indent-comment): Fix indentation for
1088 ###, and %!.
1089 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
1090 C-M-q.
1091 (octave-comment-start-skip): Include %!.
1092 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
1093
1094 2013-05-12 Leo Liu <sdl.web@gmail.com>
1095
1096 * progmodes/octave.el (inferior-octave-startup): Store the value
1097 of __octave_srcdir__ for octave-source-directories.
1098 (inferior-octave-check-process): New function refactored out of
1099 inferior-octave-send-list-and-digest.
1100 (octave-source-directories)
1101 (octave-find-definition-filename-function): New variables.
1102 (octave-source-directories)
1103 (octave-find-definition-default-filename): New functions.
1104 (octave-find-definition): Improve to find functions implemented in C++.
1105
1106 2013-05-12 Glenn Morris <rgm@gnu.org>
1107
1108 * calendar/diary-lib.el (diary-outlook-format-1):
1109 Don't include dayname in the output. (Bug#14349)
1110
1111 2013-05-11 Glenn Morris <rgm@gnu.org>
1112
1113 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
1114
1115 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
1116 Treat cc-provide like provide.
1117
1118 2013-05-11 Kevin Ryde <user42@zip.com.au>
1119
1120 * cus-dep.el (custom-make-dependencies):
1121 Use generated-autoload-load-name for the sake of files such
1122 such cedet/semantic/bovine/c.el, where the base file name
1123 is not in load-path. (Bug#5277)
1124
1125 2013-05-11 Glenn Morris <rgm@gnu.org>
1126
1127 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
1128 Provide features.
1129
1130 2013-05-11 Leo Liu <sdl.web@gmail.com>
1131
1132 * progmodes/octave.el (octave-indent-comment): Improve.
1133 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
1134 (octave-eldoc-function-signatures, octave-eldoc-function):
1135 New functions.
1136 (octave-mode, inferior-octave-mode): Add eldoc support.
1137
1138 2013-05-11 Richard Stallman <rms@gnu.org>
1139
1140 * epa.el (epa-decrypt-file): Take output file name as argument
1141 and read it using `interactive'.
1142
1143 2013-05-11 Leo Liu <sdl.web@gmail.com>
1144
1145 * progmodes/octave.el (octave-beginning-of-line)
1146 (octave-end-of-line): Check before using up-list because it jumps
1147 out of more syntactic contructs since moving to smie.
1148 (octave-indent-comment): New function.
1149 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
1150 (octave-begin-keywords, octave-end-keywords)
1151 (octave-reserved-words, octave-smie-bnf-table)
1152 (octave-smie-rules): Add new keywords from Octave 3.6.4.
1153
1154 2013-05-11 Glenn Morris <rgm@gnu.org>
1155
1156 * faces.el (internal-face-x-get-resource):
1157 * frame.el (ns-display-monitor-attributes-list):
1158 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
1159
1160 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
1161
1162 * calc/calc-menu.el: Make it loadable in isolation.
1163
1164 * net/eudcb-bbdb.el: Make it loadable without bbdb.
1165 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
1166 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
1167 (eudc-bbdb-query-internal): Require 'bbdb.
1168
1169 * lpr.el (lpr-headers-switches):
1170 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
1171
1172 * progmodes/sql.el (sql-login-params): Fix and improve :type.
1173
1174 * emulation/edt-mapper.el: In batch mode, error rather than hang.
1175
1176 * term.el (term-set-escape-char): Make it idempotent.
1177
1178 2013-05-10 Leo Liu <sdl.web@gmail.com>
1179
1180 * progmodes/octave.el (inferior-octave-completion-table):
1181 No longer a function and all uses changed. Use cache to speed up
1182 completion due to bug#11906.
1183 (octave-beginning-of-defun): Re-write to be more general.
1184
1185 2013-05-10 Glenn Morris <rgm@gnu.org>
1186
1187 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
1188
1189 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1190
1191 * comint.el (comint-redirect-send-command-to-process): Use :around
1192 rather than :override for comint-redirect-filter.
1193 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
1194 Call it instead of comint-redirect-original-filter-function (which
1195 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
1196
1197 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
1198
1199 * frame.el (display-monitor-attributes-list): Add NS case.
1200 (ns-display-monitor-attributes-list): Declare.
1201
1202 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
1203
1204 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
1205
1206 2013-05-09 Glenn Morris <rgm@gnu.org>
1207
1208 * international/fontset.el (vertical-centering-font-regexp):
1209 Set standard-value.
1210
1211 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
1212
1213 * bookmark.el (bookmark-search-delay):
1214 * cus-start.el (vertical-centering-font-regexp):
1215 * ps-mule.el (ps-mule-font-info-database-default):
1216 * ps-print.el (ps-default-fg, ps-default-bg):
1217 * type-break.el (type-break-good-break-interval):
1218 * whitespace.el (whitespace-indentation-regexp)
1219 (whitespace-space-after-tab-regexp):
1220 * emacs-lisp/testcover.el (testcover-1value-functions)
1221 (testcover-noreturn-functions, testcover-progn-functions)
1222 (testcover-prog1-functions):
1223 * emulation/viper-init.el (viper-emacs-state-cursor-color):
1224 * eshell/em-glob.el (eshell-glob-translate-alist):
1225 * play/tetris.el (tetris-tty-colors):
1226 * progmodes/cpp.el (cpp-face-default-list):
1227 * progmodes/flymake.el (flymake-allowed-file-name-masks):
1228 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
1229 (idlwave-help-browser-generic-args):
1230 * progmodes/make-mode.el (makefile-special-targets-list):
1231 * progmodes/python.el (python-shell-virtualenv-path):
1232 * progmodes/verilog-mode.el (verilog-active-low-regexp)
1233 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
1234 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
1235 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
1236 * textmodes/reftex-vars.el (reftex-format-label-function):
1237 * textmodes/remember.el (remember-diary-file): Fix custom types.
1238
1239 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
1240 Add :version.
1241
1242 2013-05-09 Leo Liu <sdl.web@gmail.com>
1243
1244 * progmodes/octave.el (inferior-octave-completion-at-point):
1245 Restore file completion. (Bug#14300)
1246 (inferior-octave-startup): Fix incorrect highlighting for the
1247 first prompt.
1248
1249 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1250
1251 * progmodes/ruby-mode.el: First cut at SMIE support.
1252 (ruby-use-smie): New var.
1253 (ruby-smie-grammar): New constant.
1254 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
1255 (ruby-smie--forward-token, ruby-smie--backward-token)
1256 (ruby-smie-rules): New functions.
1257 (ruby-mode-variables): Setup SMIE if applicable.
1258
1259 2013-05-08 Eli Zaretskii <eliz@gnu.org>
1260
1261 * simple.el (line-move-visual): Signal beginning/end of buffer
1262 only if vertical-motion moved less than it was requested. Avoids
1263 silly incorrect error messages when there are display strings with
1264 multiple newlines at EOL.
1265
1266 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1267
1268 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1269 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1270 (prolog-char-quote-workaround):
1271 * progmodes/cperl-mode.el (cperl-under-as-char):
1272 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1273 Mark as obsolete.
1274 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1275 their declaration.
1276 (vhdl-mode-syntax-table-init): Remove.
1277
1278 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1279 last change.
1280
1281 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1282 syntax for "_".
1283 (ld-script-font-lock-keywords):
1284 Change regexps to use things like \_< and \_>.
1285
1286 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1287 Change all regexps to use things like \_< and \_>.
1288
1289 * progmodes/autoconf.el (autoconf-definition-regexp)
1290 (autoconf-font-lock-keywords, autoconf-current-defun-function):
1291 Handle a _ with symbol syntax.
1292 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1293
1294 * progmodes/ada-mode.el (ada-mode-abbrev-table):
1295 Consolidate declaration.
1296 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1297 the declaration.
1298 (ada-create-syntax-table): Remove.
1299 (ada-capitalize-word): Don't mess with the syntax of "_" since it
1300 already has the right syntax nowadays.
1301 (ada-goto-next-word): Don't change the syntax of "_".
1302
1303 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1304 with-wrapper-hook.
1305
1306 2013-05-08 Sam Steingold <sds@gnu.org>
1307
1308 * thingatpt.el (thing-at-point): Accept optional second argument
1309 NO-PROPERTIES to strip the text properties from the return value.
1310 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1311 to `thing-at-point' instead of stripping the properties ourselves.
1312 Also, when `thing-at-point' fails to find a url, prepend "http://"
1313 to the filename at point on the assumption that the user is
1314 pointing at something like gnu.org/gnu.
1315
1316 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1317
1318 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1319 * faces.el (crm-separator):
1320 Silence byte-compiler.
1321
1322 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1323 (tool-bar-map): Remove unneeded defvars.
1324
1325 2013-05-08 Leo Liu <sdl.web@gmail.com>
1326
1327 Re-work a fix for bug#10994 based on Le Wang's patch.
1328 * ido.el (ido-remove-consecutive-dups): New helper.
1329 (ido-completing-read): Use it.
1330 (ido-chop): Revert fix for bug#10994.
1331
1332 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1333
1334 * cus-edit.el (custom-save-variables):
1335 Pretty-print long values. (Bug#14187)
1336
1337 2013-05-08 Glenn Morris <rgm@gnu.org>
1338
1339 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1340 (m4-mode-syntax-table): Init in the defvar.
1341 (m4-mode-abbrev-table): Let define-derived-mode define it.
1342
1343 2013-05-08 Tom Tromey <tromey@redhat.com>
1344
1345 * progmodes/m4-mode.el (m4-mode-syntax-table):
1346 Do not treat "_" as word constituent. (Bug#14167)
1347
1348 2013-05-07 Glenn Morris <rgm@gnu.org>
1349
1350 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1351 Remove explicit eshell-isearch-cancel-map.
1352
1353 * progmodes/f90.el (f90-smart-end-names): New option.
1354 (f90-smart-end): Doc fix.
1355 (f90-end-block-optional-name): New constant.
1356 (f90-block-match): Respect f90-smart-end-names.
1357
1358 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1359
1360 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1361 about implicit semi-colons (bug#14218).
1362
1363 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1364
1365 * frame.el (display-monitor-attributes-list)
1366 (frame-monitor-attributes): New functions.
1367
1368 2013-05-06 Leo Liu <sdl.web@gmail.com>
1369
1370 * progmodes/octave.el (octave-syntax-propertize-function): Change
1371 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1372 (octave-font-lock-keywords): Use octave-operator-regexp.
1373 (octave-completion-at-point): Rename from
1374 octave-completion-at-point-function.
1375 (inferior-octave-directory-tracker): Robustify.
1376 (octave-text-functions): Remove and fix its uses. No such things
1377 any more.
1378
1379 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1380
1381 * emacs-lisp/trace.el (trace--display-buffer): New function.
1382 (trace-make-advice): Use it.
1383
1384 2013-05-06 Juri Linkov <juri@jurta.org>
1385
1386 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1387 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1388 Doc fix.
1389 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1390 in the help string. (Bug#12985)
1391
1392 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1393
1394 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1395
1396 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1397
1398 * progmodes/perl-mode.el: Add support for here documents.
1399 (perl-syntax-propertize-function): Match here-doc markers.
1400 (perl-syntax-propertize-special-constructs): Find their end.
1401 (perl-imenu-generic-expression): Use [:alnum:].
1402
1403 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1404 (advice--add-function): Refresh the advice if already present
1405 (bug#14317).
1406
1407 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1408
1409 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1410
1411 2013-05-06 Glenn Morris <rgm@gnu.org>
1412
1413 * w32-fns.el (w32-charset-info-alist): Declare.
1414
1415 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1416 of its defcustom properties.
1417 (eshell-cmpl-initialize): No need to load pcomplete.
1418
1419 * generic-x.el: No need to require comint when compiling.
1420
1421 * net/eudc-export.el: Make it loadable without bbdb.
1422 (top-level): Use require rather than load-library.
1423 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1424 (eudc-batch-export-records-to-bbdb)
1425 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1426 Require bbdb.
1427
1428 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1429
1430 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1431 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1432 some tweaks, instead.
1433
1434 2013-05-05 Leo Liu <sdl.web@gmail.com>
1435
1436 * progmodes/octave.el (octave-font-lock-keywords)
1437 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1438 (inferior-octave-send-list-and-digest): Improve error message.
1439 (octave-mode, inferior-octave-mode): Use setq-local.
1440 (octave-help): Set info-lookup-mode.
1441
1442 2013-05-05 Richard Stallman <rms@gnu.org>
1443
1444 * vc/compare-w.el (compare-windows-whitespace):
1445 Treat no-break space as whitespace.
1446
1447 * mail/rmailsum.el (rmail-summary-rmail-update):
1448 Detect empty summary and don't change selected message.
1449 (rmail-summary-goto-msg): Likewise.
1450
1451 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1452 Doc fixes, rename args.
1453
1454 2013-05-05 Alan Mackenzie <acm@muc.de>
1455
1456 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1457
1458 2013-05-05 Juri Linkov <juri@jurta.org>
1459
1460 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1461 to not add the length of the summary segment to the return value.
1462 (Bug#14125)
1463
1464 2013-05-05 Leo Liu <sdl.web@gmail.com>
1465
1466 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1467 (inferior-octave-output-filter): Remove.
1468 (octave-send-region, inferior-octave-startup): Fix callers.
1469 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1470 (octave-binary-file-extensions): New user variable.
1471 (octave-find-definition): Confirm if opening binary files.
1472 (octave-help-file): Use octave-find-definition to get the binary
1473 confirmation.
1474 (octave-help): Adjust for octave-help-file change.
1475
1476 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1477
1478 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1479 Merge the two entries that handle function definitions.
1480 (pascal--syntax-propertize): New const.
1481 (pascal-mode): Use it. Use setq-local.
1482
1483 2013-05-04 Glenn Morris <rgm@gnu.org>
1484
1485 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1486 (diary-from-outlook): Respect diary-from-outlook-function.
1487
1488 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1489
1490 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1491 Move the declaration from C.
1492 (read-minibuffer, eval-minibuffer): Move from C.
1493 (completion-setup-function): Avoid minibuffer-completion-contents.
1494
1495 2013-05-03 Leo Liu <sdl.web@gmail.com>
1496
1497 * progmodes/octave.el (octave-font-lock-keywords): Do not
1498 dehighlight 'end' in comments or strings.
1499 (octave-completing-read, octave-goto-function-definition):
1500 New helpers.
1501 (octave-help-buffer): New user variable.
1502 (octave-help-file, octave-help-function): New button types.
1503 (octave-help): New command and bind it to C-h ;.
1504 (octave-find-definition): New command and bind it to M-.
1505 (user-error): Alias to error if not defined.
1506
1507 2013-05-02 Leo Liu <sdl.web@gmail.com>
1508
1509 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1510 for \. (bug#14332)
1511 (octave-font-lock-keywords): Include [ and {.
1512
1513 2013-05-02 Leo Liu <sdl.web@gmail.com>
1514
1515 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1516 (inferior-octave): Remove calling comint-mode and return the buffer.
1517 (inferior-octave-startup): Cosmetic changes.
1518
1519 2013-05-02 Leo Liu <sdl.web@gmail.com>
1520
1521 * progmodes/octave.el (octave-syntax-propertize-function):
1522 Include the case when ' is at line beginning. (Bug#14336)
1523
1524 2013-05-02 Glenn Morris <rgm@gnu.org>
1525
1526 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1527 * desktop.el (vc-dir-mode): Just autoload it here.
1528
1529 2013-05-02 Alan Mackenzie <acm@muc.de>
1530
1531 Eliminate variable c-standard-font-lock-fontify-region-function.
1532 * progmodes/cc-mode.el
1533 (c-standard-font-lock-fontify-region-function): Remove.
1534 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1535
1536 2013-05-01 Leo Liu <sdl.web@gmail.com>
1537
1538 * progmodes/octave.el: Compatible with older emacs-24 releases.
1539 (inferior-octave-has-built-in-variables): Remove. Built-in
1540 variables were removed from Octave in 2007.
1541 (inferior-octave-startup): Fix uses.
1542 (comint-line-beginning-position): Remove compatibility code for
1543 emacs 21.
1544
1545 2013-05-01 Juri Linkov <juri@jurta.org>
1546
1547 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1548
1549 2013-05-01 Juri Linkov <juri@jurta.org>
1550
1551 * comint.el (comint-previous-matching-input): Don't print message
1552 "History item: %d" when `isearch-mode' is active.
1553 (comint-history-isearch-message): Print message "History item: %d"
1554 when `comint-input-ring-index' is not empty and this function is
1555 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1556
1557 2013-05-01 Leo Liu <sdl.web@gmail.com>
1558
1559 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1560 definitions. Use completion-at-point to insert keywords.
1561 (octave-abbrev-start): Remove.
1562 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1563
1564 2013-04-30 Leo Liu <sdl.web@gmail.com>
1565
1566 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1567 change.
1568
1569 2013-04-30 Alan Mackenzie <acm@muc.de>
1570
1571 Handle arbitrarily long C++ member initialisation lists.
1572 * progmodes/cc-engine.el (c-back-over-member-initializers):
1573 new function.
1574 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1575 (most) member init lists.
1576
1577 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1578
1579 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1580 variable.
1581
1582 2013-04-30 Leo Liu <sdl.web@gmail.com>
1583
1584 * progmodes/octave.el (octave-variables): Remove. No builtin
1585 variables any more. All converted to functions.
1586 (octave-font-lock-keywords, octave-completion-at-point-function):
1587 Fix uses.
1588 (octave-font-lock-texinfo-comment): New user variable.
1589 (octave-texinfo-font-lock-keywords): New variable for texinfo
1590 comment block.
1591 (octave-function-comment-block): New face.
1592 (octave-font-lock-texinfo-comment): New function.
1593 (octave-mode): Font lock texinfo comment block.
1594
1595 2013-04-29 Leo Liu <sdl.web@gmail.com>
1596
1597 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1598 indexing expression.
1599 (octave-continuation-string): Do not use \.
1600 (inferior-octave-complete-impossible): Remove.
1601 (inferior-octave-completion-table)
1602 (inferior-octave-completion-at-point): Remove its uses.
1603 (inferior-octave-startup): completion_matches was introduced to
1604 Octave in 1996 so safe to assume it.
1605 (octave-function-file-comment): Improve to follow how Octave does it.
1606 (octave-update-function-file-comment): Tweak.
1607
1608 2013-04-29 Leo Liu <sdl.web@gmail.com>
1609
1610 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1611 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1612 (octave-function-file-comment): Fix typo.
1613 (octave-sync-function-file-names): Use read-char-choice.
1614
1615 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1616
1617 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1618 to t for the less important warnings.
1619
1620 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1621
1622 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1623
1624 2013-04-27 Glenn Morris <rgm@gnu.org>
1625
1626 * vc/log-view.el (log-view-current-entry):
1627 Treat "---" separator lines as part of the following rev. (Bug#14169)
1628
1629 2013-04-27 Juri Linkov <juri@jurta.org>
1630
1631 * subr.el (read-number): Doc fix about using it by interactive
1632 code letter `n'. (Bug#14254)
1633
1634 2013-04-27 Juri Linkov <juri@jurta.org>
1635
1636 * desktop.el (desktop-auto-save-timeout): New option.
1637 (desktop-file-checksum): New variable.
1638 (desktop-save): Add optional arg `auto-save' and don't auto-save
1639 if nothing changed.
1640 (desktop-auto-save-timer): New variable.
1641 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1642 (after-init-hook): Call `desktop-auto-save-set-timer'.
1643 Suggested by Reuben Thomas <rrt@sc3d.org> in
1644 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1645
1646 2013-04-27 Leo Liu <sdl.web@gmail.com>
1647
1648 * progmodes/octave.el (octave-function-file-p)
1649 (octave-skip-comment-forward, octave-function-file-comment)
1650 (octave-update-function-file-comment): New functions.
1651 (octave-mode-map): Bind C-c ; to
1652 octave-update-function-file-comment.
1653 (octave-mode-menu): Add octave-update-function-file-comment.
1654 (octave-mode, inferior-octave-mode): Fix doc-string.
1655 (octave-insert-defun): Conform to Octave's coding convention.
1656 (Bug#14285)
1657
1658 * files.el (basic-save-buffer): Don't let errors in
1659 before-save-hook prevent saving buffer.
1660
1661 2013-04-20 Roland Winkler <winkler@gnu.org>
1662
1663 * faces.el (read-face-name): Use completing-read if arg multiple
1664 is nil.
1665
1666 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1667
1668 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1669 displayed, move point to after the totals line.
1670 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1671 for the details.
1672
1673 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1674
1675 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1676 Add current dir to the load-path.
1677 (package-generate-autoloads): Don't rely on
1678 autoload-ensure-default-file.
1679
1680 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1681
1682 * textmodes/remember.el (remember-store-in-files): Document that
1683 the file name format is passed to `format-time-string'.
1684
1685 2013-04-26 Leo Liu <sdl.web@gmail.com>
1686
1687 * progmodes/octave.el (octave-sync-function-file-names): New function.
1688 (octave-mode): Use it in before-save-hook.
1689
1690 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1691
1692 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1693 (bug#14274).
1694
1695 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1696 \n and comment, even if it's not an implicit ; (bug#14218).
1697
1698 2013-04-26 Glenn Morris <rgm@gnu.org>
1699
1700 * subr.el (read-number): Once more use `read' rather than
1701 `string-to-number', to trap non-numeric input. (Bug#14254)
1702
1703 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1704
1705 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1706 Use `syntax-multiline' text property consistently instead of
1707 `font-lock-multiline'. (bug#14237).
1708
1709 2013-04-26 Glenn Morris <rgm@gnu.org>
1710
1711 * emacs-lisp/shadow.el (list-load-path-shadows):
1712 No longer necessary to check for duplicate simple.el, since
1713 2012-07-07 change to init_lread to not include installation lisp
1714 directories in load-path when running uninstalled. (Bug#14270)
1715
1716 2013-04-26 Leo Liu <sdl.web@gmail.com>
1717
1718 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1719 (octave-mode, inferior-octave-mode): Use setq-local.
1720 (octave-not-in-string-or-comment-p): Rename to
1721 octave-in-string-or-comment-p.
1722 (octave-in-comment-p, octave-in-string-p)
1723 (octave-in-string-or-comment-p): Replace defsubst with defun.
1724
1725 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1726
1727 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1728
1729 2013-04-25 Bastien Guerry <bzg@gnu.org>
1730
1731 * textmodes/remember.el (remember-data-directory)
1732 (remember-directory-file-name-format): Fix custom types.
1733
1734 2013-04-25 Leo Liu <sdl.web@gmail.com>
1735
1736 * progmodes/octave.el (octave-completion-at-point-function):
1737 Make use of inferior octave process.
1738 (octave-initialize-completions): Remove.
1739 (inferior-octave-completion-table): New function.
1740 (inferior-octave-completion-at-point): Use it.
1741 (octave-completion-alist): Remove.
1742
1743 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1744
1745 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1746 (opascal-mode-syntax-table): New var.
1747 (opascal-literal-kind, opascal-is-literal-end)
1748 (opascal-literal-token-at): Rewrite.
1749 (opascal--literal-start-re, opascal-font-lock-keywords)
1750 (opascal--syntax-propertize): New constants.
1751 (opascal-font-lock-defaults): Adjust.
1752 (opascal-mode): Use them. Set comment-<foo> variables as well.
1753 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1754 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1755 (delphi-other-face, opascal-other-face): Remove face variables.
1756 (opascal-save-state): Remove macro.
1757 (opascal-fontifying-progress-step): Remove constant.
1758 (opascal--ignore-changes): Remove var.
1759 (opascal-set-token-property, opascal-parse-next-literal)
1760 (opascal-is-stable-literal, opascal-complete-literal)
1761 (opascal-is-literal-start, opascal-face-of)
1762 (opascal-parse-region, opascal-parse-region-until-stable)
1763 (opascal-fontify-region, opascal-after-change)
1764 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1765 (opascal-debug-parse-region, opascal-debug-parse-window)
1766 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1767 (opascal-debug-fontify-buffer): Remove.
1768 (opascal-debug-mode-map): Adjust accordingly.
1769
1770 2013-04-25 Leo Liu <sdl.web@gmail.com>
1771
1772 Merge octave-mod.el and octave-inf.el into octave.el with some
1773 cleanups.
1774 * progmodes/octave.el: New file renamed from octave-mod.el.
1775 * progmodes/octave-inf.el: Merged into octave.el.
1776 * progmodes/octave-mod.el: Renamed to octave.el.
1777
1778 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1779
1780 * textmodes/reftex-vars.el
1781 (reftex-label-ignored-macros-and-environments): New defcustom.
1782
1783 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1784
1785 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1786
1787 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1788 (smie-indent-keyword): Improve the check to ensure that the next
1789 comment is really on the same line.
1790 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1791
1792 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1793 semi-colons if the line is not otherwise empty (bug#14218).
1794
1795 2013-04-25 Glenn Morris <rgm@gnu.org>
1796
1797 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1798
1799 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1800
1801 * progmodes/opascal.el (opascal-set-token-property): Rename from
1802 opascal-set-text-properties and only set `token' (bug#14134).
1803 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1804 (opascal-literal-text-properties): Remove.
1805 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1806 Adjust callers.
1807
1808 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1809
1810 * textmodes/remember.el (remember-handler-functions): Add an
1811 option for a new handler `remember-store-in-files'.
1812 (remember-data-directory, remember-directory-file-name-format):
1813 New options.
1814 (remember-store-in-files): New function to store remember notes
1815 as separate files within a directory.
1816
1817 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1818
1819 * progmodes/compile.el (compilation-next-error-function):
1820 Pass "formats" to compilation-find-file (bug#11777).
1821
1822 2013-04-24 Glenn Morris <rgm@gnu.org>
1823
1824 * vc/vc-bzr.el (vc-bzr-print-log):
1825 * vc/vc-hg.el (vc-hg-print-log):
1826 * vc/vc-svn.el (vc-svn-print-log):
1827 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1828
1829 * vc/vc-bzr.el (vc-bzr-print-log):
1830 * vc/vc-cvs.el (vc-cvs-print-log):
1831 * vc/vc-git.el (vc-git-print-log):
1832 * vc/vc-hg.el (vc-hg-print-log):
1833 * vc/vc-mtn.el (vc-mtn-print-log):
1834 * vc/vc-rcs.el (vc-rcs-print-log):
1835 * vc/vc-sccs.el (vc-sccs-print-log):
1836 * vc/vc-svn.el (vc-svn-print-log):
1837 * vc/vc.el (vc-print-log-internal): Doc fixes.
1838
1839 2013-04-23 Glenn Morris <rgm@gnu.org>
1840
1841 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1842 Remove venerable code attempting to avoid substitute-command-keys.
1843
1844 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1845
1846 * textmodes/reftex-vars.el (reftex-label-regexps):
1847 Call `reftex-compile-variables' after changes to this variable.
1848
1849 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1850
1851 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1852 Use lexical-binding.
1853 (jit-lock-force-redisplay): Use markers, check buffer's continued
1854 existence and beware narrowed buffers.
1855 (jit-lock-fontify-now): Adjust call accordingly.
1856
1857 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1858
1859 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1860 to avoid misleading the user.
1861
1862 2013-04-22 Leo Liu <sdl.web@gmail.com>
1863
1864 * info-look.el: Prefer latex2e.info. (Bug#14240)
1865
1866 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1867
1868 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1869
1870 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1871 * net/tramp.el (tramp-call-process): ... here
1872 (tramp-set-completion-function, tramp-parse-putty):
1873 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1874 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1875 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1876 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1877 (tramp-call-local-coding-command): Use `tramp-call-process'
1878 instead of `tramp-compat-call-process'.
1879
1880 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1881 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1882 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1883 (tramp-find-inline-compress): Improve traces.
1884 (tramp-maybe-send-script): Check for Perl binary.
1885 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1886
1887 2013-04-22 Daiki Ueno <ueno@gnu.org>
1888
1889 * epg.el (epg-context-pinentry-mode): New function.
1890 (epg-context-set-pinentry-mode): New function.
1891 (epg--start): Pass --pinentry-mode option to gpg command.
1892
1893 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1894
1895 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
1896 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1897 `completion-at-point'. (Bug#13774)
1898
1899 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1900 default key binding for `describe-distribution' has been moved to
1901 `C-h C-o'. (Bug#13970)
1902
1903 2013-04-21 Glenn Morris <rgm@gnu.org>
1904
1905 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1906 Add doc strings.
1907 (vc-print-log): Clarify interactive prompt.
1908
1909 2013-04-20 Glenn Morris <rgm@gnu.org>
1910
1911 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1912 No longer include timestamp etc information.
1913
1914 2013-04-20 Roland Winkler <winkler@gnu.org>
1915
1916 * faces.el (read-face-name): Bug fix, return just one face if arg
1917 multiple is nil. (Bug#14209)
1918
1919 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1920
1921 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1922 (remove-function): Autoload.
1923
1924 * comint.el (comint-redirect-original-filter-function): Remove.
1925 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1926 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1927 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1928 * progmodes/prolog.el (prolog-consult-compile):
1929 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1930 Use add/remove-function instead.
1931 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1932 (gud-tooltip-process-output, gud-tooltip-tips):
1933 Use add/remove-function instead.
1934 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1935 (scheme-interaction-mode, exit-scheme-interaction-mode):
1936 Use add/remove-function instead.
1937
1938 * vc/vc-dispatcher.el: Use lexical-binding.
1939 (vc--process-sentinel): Rename from vc-process-sentinel.
1940 Change last arg to be the code to run. Don't use vc-previous-sentinel
1941 and vc-sentinel-commands any more.
1942 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1943 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1944
1945 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1946
1947 * progmodes/sh-script.el (sh-imenu-generic-expression):
1948 Handle function names with a single character. (Bug#14111)
1949
1950 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1951
1952 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1953 for subroutines defined in an eval (bug#14182).
1954
1955 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1956
1957 * bookmark.el (bookmark-completing-read): Improve handling of empty
1958 string (bug#14176).
1959
1960 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1961
1962 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1963
1964 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1965
1966 New faster Imenu implementation (bug#14058).
1967 * progmodes/python.el:
1968 (python-imenu-prev-index-position):
1969 (python-imenu-format-item-label-function)
1970 (python-imenu-format-parent-item-label-function)
1971 (python-imenu-format-parent-item-jump-label-function):
1972 New vars.
1973 (python-imenu-format-item-label)
1974 (python-imenu-format-parent-item-label)
1975 (python-imenu-format-parent-item-jump-label)
1976 (python-imenu--put-parent, python-imenu--build-tree)
1977 (python-imenu-create-index, python-imenu-create-flat-index)
1978 (python-util-popn): New functions.
1979 (python-mode): Set imenu-create-index-function to
1980 python-imenu-create-index.
1981
1982 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1983
1984 * winner.el (winner-active-region): Use region-active-p, activate-mark
1985 and deactivate-mark (bug#14225).
1986
1987 * simple.el (deactivate-mark): Don't inline it.
1988
1989 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1990
1991 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1992
1993 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1994
1995 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1996 file extensions from the archive-mode entry in order to prefer
1997 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1998
1999 2013-04-18 Leo Liu <sdl.web@gmail.com>
2000
2001 * bindings.el (help-event-list): Add ?\?.
2002
2003 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2004
2005 * subr.el (with-wrapper-hook): Declare obsolete.
2006 * simple.el (filter-buffer-substring-function): New hook.
2007 (filter-buffer-substring): Use it.
2008 (filter-buffer-substring-functions): Mark obsolete.
2009 * minibuffer.el (completion-in-region-function): New hook.
2010 (completion-in-region): Use it.
2011 (completion-in-region-functions): Mark obsolete.
2012 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
2013 * abbrev.el (abbrev-expand-function): New hook.
2014 (expand-abbrev): Use it.
2015 (abbrev-expand-functions): Mark obsolete.
2016 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
2017 and :filter-return.
2018
2019 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2020
2021 * progmodes/python.el (python-nav--syntactically): Fix cornercases
2022 and do not care about match data.
2023
2024 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2025
2026 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
2027 completion tables when completing error conditions and
2028 `declare' arguments.
2029 (lisp-complete-symbol, field-complete): Mark as obsolete.
2030 (check-parens): Unmatched parens are user errors.
2031 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
2032
2033 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
2034
2035 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
2036 command changed buffer (ie. `flyspell-pre-buffer' is not current
2037 buffer), which prevents making decisions based on invalid value of
2038 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
2039 cause an error when `flyspell-pre-point' was nil after switching
2040 buffers.
2041 (flyspell-post-command-hook): No longer needs to change buffers when
2042 checking pre-word. While at it remove unnecessary progn.
2043
2044 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2045
2046 * textmodes/ispell.el (ispell-add-per-file-word-list):
2047 Fix `flyspell-correct-word-before-point' error when accepting
2048 words and `coment-padding' is an integer by using
2049 `comment-normalize-vars' (Bug #14214).
2050
2051 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2052
2053 New defun movement commands.
2054 * progmodes/python.el (python-nav--syntactically)
2055 (python-nav--forward-defun, python-nav-backward-defun)
2056 (python-nav-forward-defun): New functions.
2057
2058 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2059
2060 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
2061 (python-syntax-context): Use named compiler-macro for backwards
2062 compatibility with Emacs 24.x.
2063
2064 2013-04-17 Leo Liu <sdl.web@gmail.com>
2065
2066 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
2067 octave-hide-process-buffer.
2068
2069 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2070
2071 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
2072 (bug#14216).
2073
2074 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
2075
2076 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
2077 Fix adjustment of offset when receiving incomplete responses from GDB
2078 (bug#14129).
2079
2080 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2081
2082 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
2083 python-mode-abbrev-table.
2084 (python-skeleton-define): Adjust accordingly.
2085 (python-mode-abbrev-table): New table that inherits from it so that
2086 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
2087
2088 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
2089 (abbrev-symbol): Use it.
2090 (abbrev--before-point): Use it since we already handle inheritance.
2091
2092 2013-04-16 Leo Liu <sdl.web@gmail.com>
2093
2094 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
2095 binding to info-lookup-symbol.
2096
2097 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
2098
2099 * minibuffer.el (completion--twq-all):
2100 * term/ns-win.el (ns-initialize-window-system):
2101 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
2102
2103 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2104
2105 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
2106 global bindings.
2107
2108 * doc-view.el (doc-view-start-process): Handle url-handler directories.
2109
2110 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
2111
2112 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
2113 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
2114 to nil.
2115 (ruby-end-of-defun): Remove the unused arg, change the docstring
2116 to reflect that this function is only used as the value of
2117 `end-of-defun-function'.
2118 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
2119 to reflect an earlier change that beginning/end-of-defun functions
2120 jump between methods in a class definition, as well as top-level
2121 functions.
2122
2123 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 * minibuffer.el (minibuffer-complete): Don't just scroll
2126 a *Completions* that's been iconified.
2127 (minibuffer-force-complete): Make sure repetitions do cycle when going
2128 through completion-in-region -> minibuffer-complete.
2129
2130 2013-04-15 Alan Mackenzie <acm@muc.de>
2131
2132 Correct the placement of c-cpp-delimiters when there're #s not at
2133 col 0.
2134
2135 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
2136 place a submatch around the #.
2137 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
2138 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
2139 on the #, not BOL.
2140
2141 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2142
2143 * emacs-lisp/nadvice.el: Properly test names when adding advice.
2144 (advice--member-p): New arg `name'.
2145 (advice--add-function, advice-member-p): Use it (bug#14202).
2146
2147 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
2148
2149 Reformulate java imenu-generic-expression.
2150 The old expression contained ill formed regexps.
2151
2152 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
2153 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
2154 (cc-imenu-java-method-arg-regexp): New defconsts.
2155 (cc-imenu-java-build-type-args-regex): New defun.
2156 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
2157 handling of spaces in the regexp.
2158
2159 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2160
2161 * textmodes/ispell.el (ispell-command-loop): Remove
2162 flyspell highlight of a word when ispell accepts it (bug #14178).
2163
2164 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
2165
2166 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
2167 uses code from the previous `ange-ftp-run-real-handler'.
2168 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
2169 only in case that function exist. This is needed for proper
2170 unloading of Tramp.
2171
2172 2013-04-15 Tassilo Horn <tsdh@gnu.org>
2173
2174 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
2175
2176 * textmodes/reftex.el (reftex-compile-variables): Use it.
2177
2178 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2179
2180 * files.el (normal-mode): Only use default major-mode if no other mode
2181 was specified.
2182
2183 * emacs-lisp/trace.el (trace-values): New function.
2184
2185 * files.el: Allow : in local variables (bug#14089).
2186 (hack-local-variable-regexp): New var.
2187 (hack-local-variables-prop-line, hack-local-variables): Use it.
2188
2189 2013-04-13 Roland Winkler <winkler@gnu.org>
2190
2191 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
2192 data before it gets modified by bibtex-beginning-of-entry.
2193
2194 2013-04-13 Roland Winkler <winkler@gnu.org>
2195
2196 * textmodes/bibtex.el (bibtex-url): Doc fix.
2197
2198 2013-04-13 Roland Winkler <winkler@gnu.org>
2199
2200 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
2201 does not visit a BibTeX file, exclude it from the list of buffers
2202 returned by bibtex-initialize.
2203
2204 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
2205
2206 * window.el (split-window): Remove interactive form, since as a
2207 command this function is a special case of split-window-below.
2208 Correct doc string.
2209
2210 2013-04-12 Roland Winkler <winkler@gnu.org>
2211
2212 * faces.el (read-face-name): Do not override value of arg default.
2213 Allow single faces and strings as default values. Remove those
2214 elements from return value that are not faces.
2215 (describe-face): Simplify.
2216 (face-at-point): New optional args thing and multiple so that this
2217 function can provide the same functionality previously provided by
2218 read-face-name.
2219 (make-face-bold, make-face-unbold, make-face-italic)
2220 (make-face-unitalic, make-face-bold-italic, invert-face)
2221 (modify-face, read-face-and-attribute): Use face-at-point.
2222
2223 * cus-edit.el (customize-face, customize-face-other-window)
2224 * cus-theme.el (custom-theme-add-face)
2225 * face-remap.el (buffer-face-set)
2226 * facemenu.el (facemenu-set-face): Use face-at-point.
2227
2228 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
2229
2230 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
2231
2232 2013-04-10 Tassilo Horn <tsdh@gnu.org>
2233
2234 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
2235 off leading { and trailing } from field values.
2236
2237 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2238
2239 * emacs-lisp/timer.el (timer--check): New function.
2240 (timer--time, timer-set-function, timer-event-handler): Use it.
2241 (timer-set-idle-time): Simplify.
2242 (timer--activate): CSE.
2243 (timer-event-handler): Give more info in error message.
2244 (internal-timer-start-idle): New function, moved from C.
2245
2246 * mpc.el (mpc-proc): Add `restart' argument.
2247 (mpc-proc-cmd): Use it.
2248 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
2249 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
2250 less often.
2251
2252 2013-04-10 Masatake YAMATO <yamato@redhat.com>
2253
2254 * progmodes/sh-script.el: Implement `sh-mode' own
2255 `add-log-current-defun-function' (bug#14112).
2256 (sh-current-defun-name): New function.
2257 (sh-mode): Use the function.
2258
2259 2013-04-09 Bastien Guerry <bzg@gnu.org>
2260
2261 * simple.el (choose-completion-string): Fix docstring (bug#14163).
2262
2263 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2264
2265 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2266
2267 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2268 timer (bug#14156).
2269
2270 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
2271
2272 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2273 declaration.
2274
2275 2013-04-07 Leo Liu <sdl.web@gmail.com>
2276
2277 * pcmpl-x.el: New file.
2278
2279 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2280
2281 Do not set x-display-name until X connection is established.
2282 This is needed to prevent from weird situation described at
2283 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2284 * frame.el (make-frame): Set x-display-name after call to
2285 window system initialization function, not before.
2286 * term/x-win.el (x-initialize-window-system): Add optional
2287 display argument and use it.
2288 * term/w32-win.el (w32-initialize-window-system):
2289 * term/ns-win.el (ns-initialize-window-system):
2290 * term/pc-win.el (msdos-initialize-window-system):
2291 Add compatible optional display argument.
2292
2293 2013-04-06 Eli Zaretskii <eliz@gnu.org>
2294
2295 * files.el (normal-backup-enable-predicate): On MS-Windows and
2296 MS-DOS compare truenames of temporary-file-directory and of the
2297 file, so that 8+3 aliases (usually found in $TEMP on Windows)
2298 don't fail comparison by compare-strings. Also, compare file
2299 names case-insensitively on MS-Windows and MS-DOS.
2300
2301 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2302
2303 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2304 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2305
2306 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
2307
2308 * whitespace.el (whitespace-color-on, whitespace-color-off):
2309 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2310
2311 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2312
2313 * ispell.el (ispell-set-spellchecker-params):
2314 Really set `ispell-args' for all equivs.
2315
2316 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2317
2318 * ido.el (ido-completions): Use extra elements of ido-decorations
2319 (bug#14143).
2320 (ido-decorations): Update docstring.
2321
2322 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2323
2324 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2325 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2326 nil during initialization, in order not to miss changes since the
2327 file was opened. (Bug#14140)
2328
2329 2013-04-05 Leo Liu <sdl.web@gmail.com>
2330
2331 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2332
2333 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2334
2335 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2336
2337 2013-04-04 Glenn Morris <rgm@gnu.org>
2338
2339 * electric.el (electric-pair-inhibit-predicate): Add :version.
2340
2341 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2342
2343 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2344 when a package is required several times (bug#14082).
2345
2346 2013-04-04 Roland Winkler <winkler@gnu.org>
2347
2348 * faces.el (read-face-name): Behave as promised by the docstring.
2349 Assume that arg default is a list of faces.
2350 (describe-face): Call read-face-name with list of default faces.
2351
2352 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2353
2354 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2355 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2356 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2357 the header.
2358 (bookmark-exit-hook-internal): Save even if list is empty.
2359
2360 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2361
2362 * emacs-lisp/package.el (package-pinned-packages): New var.
2363 (package--add-to-archive-contents): Obey it (bug#14118).
2364
2365 2013-04-03 Alan Mackenzie <acm@muc.de>
2366
2367 Handle `parse-partial-sexp' landing inside a comment opener
2368 (Bug#13244). Also adapt to the new values of element 7 of a parse
2369 state.
2370
2371 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2372 parameter `not-in-delimiter'. Handle being inside comment opener.
2373 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2374 character in case we're typing a '*' after a '/'.
2375 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2376 instead by passing the parameter to c-state-pp-to-literal.
2377
2378 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2379 for elt. 7 of a parse state.
2380
2381 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2382
2383 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2384 * international/latin1-disp.el, international/mule-util.el:
2385 * language/cyril-util.el, language/european.el, language/ind-util.el:
2386 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2387 * language/tibetan.el, language/viet-util.el:
2388 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2389
2390 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2391
2392 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2393 (electric-pair-post-self-insert-function): Use it.
2394 (electric-pair-default-inhibit): New function, extracted from
2395 electric-pair-post-self-insert-function.
2396
2397 2013-03-31 Roland Winkler <winkler@gnu.org>
2398
2399 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2400
2401 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2402
2403 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2404
2405 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
2406
2407 Un-indent after "pass" and "return" statements (Bug#13888)
2408 * progmodes/python.el (python-indent-block-enders): New var.
2409 (python-indent-calculate-indentation): Use it.
2410
2411 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2412
2413 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2414 defun. Defining it as defalias could introduce too eager
2415 byte-compiler optimization. (Bug#14030)
2416
2417 2013-03-30 Chong Yidong <cyd@gnu.org>
2418
2419 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2420
2421 2013-03-30 Leo Liu <sdl.web@gmail.com>
2422
2423 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2424 (kmacro-execute-from-register): Pass the keyboard macro to
2425 kmacro-call-macro or repeating won't work correctly.
2426
2427 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2428
2429 * progmodes/subword.el: Back to using `forward-symbol'.
2430
2431 * subr.el (forward-whitespace, forward-symbol)
2432 (forward-same-syntax): Move from thingatpt.el.
2433
2434 2013-03-29 Leo Liu <sdl.web@gmail.com>
2435
2436 * kmacro.el (kmacro-to-register): New command.
2437 (kmacro-execute-from-register): New function.
2438 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2439
2440 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2441
2442 * mpc.el: Use defvar-local and setq-local.
2443 (mpc--proc-connect): Connection failures are not bugs.
2444 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2445 (mpc-volume-map): Bind to the up-events.
2446
2447 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2448
2449 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2450 instead of `forward-symbol'.
2451
2452 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2453
2454 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2455 (edebug--recursive-edit): Use it.
2456 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2457 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2458
2459 2013-03-28 Leo Liu <sdl.web@gmail.com>
2460
2461 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2462
2463 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2464
2465 * facemenu.el (list-colors-callback): New defvar.
2466 (list-colors-redisplay): New function.
2467 (list-colors-display): Install list-colors-redisplay as the
2468 revert-buffer-function. (Bug#14063)
2469
2470 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2471
2472 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2473 and suffixes don't overlap (bug#14061).
2474
2475 * case-table.el: Use lexical-binding.
2476 (case-table-get-table): New function.
2477 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2478
2479 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2480
2481 * progmodes/subword.el: Add `superword-mode' to do word motion
2482 over symbol_words (parallels and leverages `subword-mode' which
2483 does word motion inside MixedCaseWords).
2484
2485 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2486
2487 * eshell/em-unix.el: Move su and sudo to...
2488 * eshell/em-tramp.el: ...Eshell tramp module.
2489
2490 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2491
2492 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2493 Change return value to be a sexp. Delay `get-buffer' to after
2494 restoring the desktop (bug#13951).
2495
2496 2013-03-26 Leo Liu <sdl.web@gmail.com>
2497
2498 * register.el: Move semantic tag handling back to
2499 cedet/semantic/senator.el. (Bug#14052)
2500
2501 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2502
2503 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2504 into the prompt either (bug#13963).
2505
2506 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2507
2508 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2509 part of "(error-foo)".
2510
2511 2013-03-24 Juri Linkov <juri@jurta.org>
2512
2513 * replace.el (list-matching-lines-prefix-face): New defcustom.
2514 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2515 `occur-engine' if `face-differs-from-default-p' returns t.
2516 (occur-engine): Add `,' inside backquote construct to evaluate
2517 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2518 Pass `prefix-face' to the functions `occur-context-lines' and
2519 `occur-engine-add-prefix'.
2520 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2521 `prefix-face' and propertize the prefix with `prefix-face'.
2522 (Bug#14017)
2523
2524 2013-03-24 Leo Liu <sdl.web@gmail.com>
2525
2526 * nxml/rng-valid.el (rng-validate-while-idle)
2527 (rng-validate-quick-while-idle): Guard against deleted buffer.
2528 (Bug#13999)
2529
2530 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2531 is the last entry in kill-buffer-hook.
2532
2533 * files.el (kill-buffer-hook): Doc fix.
2534
2535 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2536
2537 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2538 Make it safe-local.
2539
2540 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2541
2542 2013-03-23 Leo Liu <sdl.web@gmail.com>
2543
2544 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2545 Remove.
2546
2547 * nxml/rng-valid.el (rng-validate-mode)
2548 (rng-after-change-function, rng-do-some-validation):
2549 * nxml/rng-maint.el (rng-validate-buffer):
2550 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2551 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2552 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2553 (nxml-extend-after-change-region): Use with-silent-modifications.
2554
2555 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2556 timer-idle-list.
2557
2558 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2559 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2560 timer-idle-list. (Bug#13999)
2561
2562 2013-03-23 Juri Linkov <juri@jurta.org>
2563
2564 * info.el (info-index-match): New face.
2565 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2566 main pattern and add text properties with the new face to matches
2567 in index entries relative to the beginning of the index entry.
2568 (Bug#14015)
2569
2570 2013-03-21 Eric Ludlam <zappo@gnu.org>
2571
2572 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2573 Inhibit read only while inserting objects.
2574
2575 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2576
2577 * progmodes/cfengine.el: Update docs to mention
2578 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2579 symbol motion. Remove "_" from the word syntax.
2580
2581 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2582
2583 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2584 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2585
2586 2013-03-20 Juri Linkov <juri@jurta.org>
2587
2588 * info.el (Info-next-reference-or-link)
2589 (Info-prev-reference-or-link): New functions.
2590 (Info-next-reference, Info-prev-reference): Use them.
2591 (Info-try-follow-nearest-node): Handle footnote navigation.
2592 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2593
2594 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2595
2596 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2597 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2598
2599 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2600
2601 Suppress unnecessary non-ASCII chatter during build process.
2602 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2603 (batch-skkdic-convert): Suppress most of the chatter.
2604 It's not needed so much now that machines are faster,
2605 and its non-ASCII component was confusing; see Dmitry Gutov in
2606 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2607
2608 2013-03-20 Leo Liu <sdl.web@gmail.com>
2609
2610 * ido.el (ido-chop): Fix bug#10994.
2611
2612 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2613
2614 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2615 Remove vars.
2616 (whitespace-color-on, whitespace-color-off):
2617 Use `font-lock-fontify-buffer' (Bug#13817).
2618
2619 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2620
2621 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2622 remapping in mode-line.
2623 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2624
2625 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2626
2627 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2628 value for `whitespace-line' face (Bug#13875).
2629 (whitespace-font-lock-keywords): Change description.
2630 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2631 the constructed keywords instead.
2632 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2633
2634 2013-03-19 Leo Liu <sdl.web@gmail.com>
2635
2636 * progmodes/compile.el (compilation-display-error): New command.
2637 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2638 C-o. (Bug#13992)
2639
2640 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2641
2642 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2643
2644 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2645
2646 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2647
2648 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2649
2650 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2651
2652 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2653 * net/tramp-gvfs.el (top):
2654 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2655 (tramp-handle-shell-command): Use it.
2656 (tramp-dissect-file-name): Raise an error when hostname is a
2657 method name, and neither method nor user is specified.
2658
2659 * net/trampver.el: Update release number.
2660
2661 2013-03-18 Leo Liu <sdl.web@gmail.com>
2662
2663 Make sure eldoc can be turned off properly.
2664 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2665 eldoc-mode.
2666 (eldoc-display-message-p): Revert last change.
2667 (eldoc-display-message-no-interference-p)
2668 (eldoc-print-current-symbol-info): Tweak.
2669
2670 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2671
2672 * doc-view.el (doc-view-new-window-function): Check the new window
2673 overlay's display property instead the char property of the
2674 buffer's first char. Use `with-selected-window' instead of
2675 `save-window-excursion' with `select-window'.
2676 (doc-view-document->bitmap): Check the current doc-view overlay's
2677 display property instead the char property of the buffer's first char.
2678
2679 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2680
2681 Automate the build of ja-dic.el (Bug#13984).
2682 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2683 from the input, rather than assume that it's been done for us by the
2684 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2685 the current date into a ja-dic.el comment, as that complicates
2686 regression testing.
2687
2688 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2689
2690 * whitespace.el: Fix double evaluation.
2691 (whitespace-space, whitespace-hspace, whitespace-tab)
2692 (whitespace-newline, whitespace-trailing, whitespace-line)
2693 (whitespace-space-before-tab, whitespace-indentation)
2694 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2695 obsolete defvars.
2696 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2697 (whitespace-color-on): Use a single font-lock-add-keywords call.
2698 Fix double-evaluation of face variables.
2699
2700 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2701
2702 * net/tramp-adb.el (tramp-adb-parse-device-names):
2703 Use `start-process' instead of `call-process'. Otherwise, the
2704 function might be blocked under MS Windows. (Bug#13299)
2705
2706 2013-03-17 Leo Liu <sdl.web@gmail.com>
2707
2708 Extend eldoc to display info in the mode-line. (Bug#13978)
2709 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2710 (eldoc-mode-line-string): New variable.
2711 (eldoc-minibuffer-message): New function.
2712 (eldoc-message-function): New variable.
2713 (eldoc-message): Use it.
2714 (eldoc-display-message-p)
2715 (eldoc-display-message-no-interference-p):
2716 Support eldoc-post-insert-mode.
2717
2718 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2719 (eval-expression): Run it.
2720
2721 2013-03-17 Roland Winkler <winkler@gnu.org>
2722
2723 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2724 strings in the list of return values.
2725
2726 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2727
2728 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2729 radix before checking for HMS forms.
2730
2731 2013-03-16 Leo Liu <sdl.web@gmail.com>
2732
2733 * progmodes/scheme.el: Add indentation and font-locking for λ.
2734 (Bug#13975)
2735
2736 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2737
2738 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2739 token before point (bug#13942).
2740
2741 2013-03-16 Leo Liu <sdl.web@gmail.com>
2742
2743 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2744
2745 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2746
2747 * startup.el (command-line-normalize-file-name): Fix handling of
2748 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2749 <xfq.free@gmail.com> in
2750 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2751
2752 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2753
2754 Sync with Tramp 2.2.7.
2755
2756 * net/trampver.el: Update release number.
2757
2758 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2759
2760 * doc-view.el Fix bug#13887.
2761 (doc-view-insert-image): Don't modify overlay associated to
2762 non-live windows, and implement horizontal centering of image in
2763 case it's smaller than the window.
2764 (doc-view-new-window-function): Force redisplay of new windows on
2765 doc-view buffers.
2766
2767 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2768
2769 * saveplace.el (save-place-alist-to-file): Don't sort
2770 `save-place-alist', just pretty-print it (bug#13882).
2771
2772 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2773
2774 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2775 whether `default-file-name-coding-system' is bound. It isn't in
2776 XEmacs.
2777
2778 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2779
2780 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2781 backquotes for `obsolete' (bug#13929).
2782
2783 * international/mule.el (find-auto-coding): Include file name in
2784 obsolescence warning (bug#13922).
2785
2786 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2787
2788 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2789 for CFEngine 3-specific indentation.
2790 (cfengine3-indent-line): Use it. Fix up category regex.
2791 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2792
2793 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2794
2795 * type-break.el (type-break-file-name):
2796 * textmodes/remember.el (remember-data-file):
2797 * strokes.el (strokes-file):
2798 * shadowfile.el (shadow-initialize):
2799 * saveplace.el (save-place-file):
2800 * ps-bdf.el (bdf-cache-file):
2801 * progmodes/idlwave.el (idlwave-config-directory):
2802 * net/quickurl.el (quickurl-url-file):
2803 * international/kkc.el (kkc-init-file-name):
2804 * ido.el (ido-save-directory-list-file):
2805 * emulation/viper.el (viper-custom-file-name):
2806 * emulation/vip.el (vip-startup-file):
2807 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2808 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2809
2810 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2811
2812 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2813 * language/thai-word.el: Switch to UTF-8.
2814
2815 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2816
2817 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2818
2819 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2820
2821 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2822 Use with-current-buffer and don't move point.
2823 (net-utils-run-simple): Remove useless code.
2824 (net-utils-remove-ctl-m): Remove unused custom.
2825
2826 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2827
2828 * international/characters.el (glyphless-set-char-table-range): New fun.
2829 (update-glyphless-char-display): Use it (bug#13744).
2830
2831 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2832
2833 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2834 namespaces in the syntax, indent closer for hanging brace
2835 correctly, allow single-quote delimited 'strings', and make
2836 `cfengine3-mode' the default.
2837
2838 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2839
2840 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2841 Use lexical-binding. Fix up docstring according to conventions.
2842 (gdbmi-debug-mode): New var.
2843 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2844 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2845 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2846 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2847 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2848 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2849 (gdbmi-bnf-incomplete-record-result): New functions.
2850 (gdb-car<): Remove function.
2851 (gdbmi-record-list): Remove variable.
2852 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2853 (gdbmi-bnf-result-state-configs): New const.
2854 (gud-gdbmi-marker-filter): Rewrite.
2855 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2856 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2857 Add `token' argument.
2858 (gdb-done, gdb-error): New functions.
2859 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2860
2861 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2862
2863 * term/xterm.el (xterm--report-background-handler): Don't burp
2864 upon timeout.
2865 (xterm--version-handler): Extract from terminal-init-xterm.
2866 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2867 Allow multiple handlers.
2868 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2869
2870 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2871 (xterm--report-background-handler, xterm--query): New functions.
2872 (terminal-init-xterm): Use them.
2873
2874 2013-03-11 Michael R. Mauger <michael@mauger.com>
2875
2876 * progmodes/sql.el Version 3.2
2877 Please note that my address changed to <michael@mauger.com>;
2878 the <mmaug@yahoo.com> address remains active.
2879 (sql-connection-alist): Updates documentation to fix bug#13715.
2880 (sql-connect): Handle missing `sql-connection-alist' correctly.
2881 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2882 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2883 property.
2884 (sql-default-value): New function.
2885 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2886 values were not used.
2887 (sql-rename-buffer): Make sure alternate buffer name has no text
2888 properties.
2889 (sql-input-sender, sql-execute-feature): Fetch variable with
2890 `buffer-local-value' rather than `with-current-buffer'.
2891 (sql-*): Use #' function syntax consistently.
2892 (sql-*): Use message/error/user-error consistently.
2893
2894 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2895
2896 * xt-mouse.el (xterm-mouse-event-read): Remove.
2897 (xterm-mouse--read-event-sequence-1000)
2898 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2899
2900 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2901
2902 * term/xterm.el (xterm-function-map): Support format used with
2903 formatOtherKeys=1 (bug#13839).
2904
2905 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2906 (with-no-warnings): Use `declare'.
2907
2908 * whitespace.el (whitespace-enable-predicate): New variable.
2909 (whitespace-enable-predicate): Use it.
2910
2911 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2912 (comint-output-filter, comint-update-fence):
2913 Use with-silent-modifications.
2914
2915 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2916
2917 * replace.el (occur-read-regexp-defaults-function): New var.
2918 (occur-read-regexp-defaults): New defun.
2919 (occur-read-primary-args): Propagate above change (bug#13892).
2920
2921 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2922
2923 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2924
2925 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2926
2927 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2928
2929 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2930 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2931 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2932 New defconst.
2933 (tramp-gvfs-file-name-handler-alist) [directory-files]
2934 [directory-files-and-attributes, file-exists-p, file-modes]:
2935 Use Tramp default handler.
2936 [file-acl, file-selinux-context, process-file, set-file-acl]:
2937 [set-file-modes, set-file-selinux-context, shell-command]:
2938 [start-file-process]: Remove handler.
2939 [verify-visited-file-modtime]: New handler.
2940 (tramp-gvfs-dbus-string-to-byte-array)
2941 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2942 calls of `dbus-string-to-byte-array' and
2943 `tramp-gvfs-dbus-byte-array-to-string'.
2944 (tramp-gvfs-handle-copy-file)
2945 (tramp-gvfs-handle-delete-directory)
2946 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2947 (tramp-gvfs-handle-file-directory-p)
2948 (tramp-gvfs-handle-file-executable-p)
2949 (tramp-gvfs-handle-file-name-all-completions)
2950 (tramp-gvfs-handle-file-readable-p)
2951 (tramp-gvfs-handle-file-writable-p)
2952 (tramp-gvfs-handle-insert-directory)
2953 (tramp-gvfs-handle-insert-file-contents)
2954 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2955 (tramp-gvfs-handle-set-visited-file-modtime)
2956 (tramp-gvfs-handle-write-region): Rewrite.
2957 (tramp-gvfs-handle-file-acl)
2958 (tramp-gvfs-handle-file-selinux-context)
2959 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2960 (tramp-gvfs-handle-set-file-modes)
2961 (tramp-gvfs-handle-set-file-selinux-context)
2962 (tramp-gvfs-handle-shell-command)
2963 (tramp-gvfs-handle-start-file-process)
2964 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2965 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2966 over the symlinks. Fix user handling.
2967 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2968 of the D-Bus signals.
2969 (tramp-gvfs-connection-mounted-p): Handle different names of the
2970 D-Bus methods.
2971 (tramp-gvfs-mount-spec-entry): New defun.
2972 (tramp-gvfs-mount-spec): Use it.
2973 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2974 there is a share name. Handle different names of the D-Bus
2975 signals and methods. Set connection properties needed for
2976 `tramp-check-cached-permissions'.
2977 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2978 Return t or nil.
2979
2980 * net/tramp.el (tramp-backtrace): Move up.
2981 (tramp-error): Dump a backtrace into the debug buffer when
2982 `tramp-verbose > 9.
2983 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2984 (tramp-file-mode-permissions, tramp-get-local-uid)
2985 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2986 tramp-sh.el.
2987
2988 * net/tramp-sh.el (tramp-file-mode-type-map)
2989 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2990 (tramp-file-mode-permissions, tramp-get-local-uid)
2991 (tramp-get-local-gid): Move to tramp.el.
2992
2993 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2994
2995 Separate mouse-1-click-follows-link from mouse-drag-region.
2996 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2997 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2998 (mouse-drag-line, mouse-drag-track):
2999 Remove mouse-1-click-follows-link code.
3000 (mouse--remap-link-click-p): Remove.
3001
3002 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
3003
3004 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
3005 (hi-lock-read-regexp-defaults): New defun.
3006 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3007 (hi-lock-face-phrase-buffer): Propagate above change.
3008 Update docstring (bug#13892).
3009
3010 * subr.el (find-tag-default-as-regexp): New defun.
3011 * replace.el (read-regexp): Propagate above change.
3012
3013 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
3014
3015 * calc/calc-units.el (calc-convert-units): Fix the way that default
3016 new units are stored.
3017
3018 2013-03-07 Matthias Meulien <orontee@gmail.com>
3019
3020 * bookmark.el: Define a face to highlight bookmark names in
3021 bookmark menu buffers, where the default is a bold face similarly
3022 to buffer names in buffer menu buffers.
3023 (bookmark-menu-bookmark): New face to highlight bookmark names.
3024 (bookmark-insert-location): Remove duplicated text property to
3025 conform to buffer list (see `list-buffers').
3026 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
3027 `bookmark-menu-bookmark' to bookmark names.
3028
3029 2013-03-07 Matthias Meulien <orontee@gmail.com>
3030 Karl Fogel <kfogel@red-bean.com>
3031
3032 * bookmark.el: Display the bookmark list header similarly to the
3033 buffer list header (see `list-buffers'), where the default is now
3034 an immovable/immutable header line.
3035 (bookmark-bmenu-use-header-line): New variable.
3036 (bookmark-bmenu-inline-header-height): New name for
3037 `bookmark-bmenu-header-height', to avoid confusion with the code
3038 for the new immovable header. All references changed.
3039 (bookmark-bmenu-set-header): New function.
3040 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
3041 Conditionalize header construction accordingly.
3042 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
3043 the inline header height.
3044 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
3045 Conditionalize the skipping of the inline header height.
3046
3047 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
3048
3049 * progmodes/js.el (js--multi-line-declaration-indentation):
3050 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
3051
3052 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
3053
3054 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3055 Only propertize regexp when not inside a string (Bug#13885).
3056
3057 2013-03-06 Alan Mackenzie <acm@muc.de>
3058
3059 Correct the position of point in some line-up functions.
3060 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
3061 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
3062 point at column 0 rather than at a random place in the line.
3063
3064 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
3065
3066 * net/tramp-compat.el (tramp-compat-delete-directory):
3067 Implement TRASH argument.
3068
3069 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
3070
3071 Keep pre-existing highlighting in completion candidates (Bug#13250).
3072 * minibuffer.el (completions-first-difference): State that the
3073 face is "added" in the docstring.
3074 (completions-common-part): Same. And don't inherit from default.
3075 (completion-hilit-commonality): Prepend 'completions-common-part
3076 and 'completion-first-difference faces to the 'face property,
3077 instead of replacing the value(s).
3078 (completion--insert-strings): Same with 'completions-annotations face.
3079 (completion-hilit-commonality): Use 'face instead of
3080 'font-lock-face, because it gets priority if the completion
3081 strings already have 'face set.
3082
3083 2013-03-04 Alan Mackenzie <acm@muc.de>
3084
3085 Replace `last-command-event' by `last-command-char' in XEmacs.
3086 * progmodes/cc-defs.el (c-last-command-char): New macro.
3087 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
3088 (c-semi&comma-no-newlines-before-nonblanks)
3089 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
3090 in place of `last-command-event'.
3091 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
3092 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
3093 (c-electric-paren, c-electric-continued-statement): Use the new
3094 macro in place of `last-command-event'.
3095
3096 2013-03-04 Glenn Morris <rgm@gnu.org>
3097
3098 * files.el (inhibit-local-variables-regexps):
3099 Add .diff and .patch. (Bug#13862)
3100
3101 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
3102
3103 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
3104 whether the "su" command is available on the device.
3105
3106 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3107
3108 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
3109 (tramp-adb-handle-process-file): Remove superfluous setting.
3110 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
3111 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
3112 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
3113
3114 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
3115
3116 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
3117 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
3118 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
3119 Use dict-key rather than dict-name for the error message.
3120
3121 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3122
3123 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
3124 when reverting (bug#13831).
3125
3126 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3127
3128 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3129 Always expand affix-file before storing to protect against changed
3130 `default-directory'.
3131 (ispell-print-if-debug): Make sure message is printed at the end
3132 of the debug buffer.
3133
3134 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3135
3136 * net/tramp.el (tramp-obsolete-methods): New defconst.
3137 (tramp-warned-obsolete-methods): New defvar.
3138 (tramp-find-method): Check for obsolete methods. Map them to a
3139 replacement method if appropriate.
3140
3141 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
3142 Remove methods.
3143 (top): Remove completion functions for "scp1", "scp2", "ssh1",
3144 "ssh2" and "plink1".
3145
3146 2013-02-28 Dale Sedivec <dale@codefu.org>
3147
3148 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
3149 Return valid syntax-table property value when converting
3150 quotes within text from string syntax to punctuation syntax (bug#13844).
3151
3152 2013-02-28 Juri Linkov <juri@jurta.org>
3153
3154 * dired-aux.el (dired-diff): If file at point is a backup file,
3155 use its original as the default value, and reverse the order
3156 of arguments to the `diff' call. Doc fix. (Bug#13772)
3157
3158 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
3159
3160 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
3161 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
3162
3163 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3164
3165 Initial support for hunspell dictionaries auto-detection (Bug#13639)
3166
3167 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3168 Ask hunspell about available and default dictionaries.
3169 (ispell-parse-hunspell-affix-file): Extract relevant info from
3170 hunspell affix file.
3171 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
3172 `ispell-dictionary-alist' entry for given dictionary after info
3173 provided by `ispell-parse-hunspell-affix-file'.
3174 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
3175 of parsed hunspell dicts and associated affix files.
3176 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
3177 of parsed hunspell dicts and associated parameters.
3178 (ispell-set-spellchecker-params):
3179 Call `ispell-find-hunspell-dictionaries' if hunspell and not
3180 previously done.
3181 (ispell-start-process):
3182 Call `ispell-hunspell-fill-dictionary-entry' for current
3183 dictionary if it is not initialized.
3184
3185 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3186
3187 * imenu.el: Comment nitpicks.
3188
3189 2013-02-28 Sam Steingold <sds@gnu.org>
3190
3191 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
3192 See <http://stackoverflow.com/questions/14720205>.
3193
3194 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3195
3196 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
3197 (net-utils-mode): Use it.
3198 (net-utils--revert-cmd): New var.
3199 (net-utils-run-simple): Set it, and remove bogus interactive spec.
3200 (traceroute): Use net-utils-run-simple.
3201
3202 2013-02-28 Glenn Morris <rgm@gnu.org>
3203
3204 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
3205
3206 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3207
3208 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
3209 (doc-view-fallback-mode): Remove overlays here.
3210 (doc-view-toggle-display): Instead of here. Don't throw away
3211 image-mode-winprops-alist.
3212 (doc-view-goto-page): Don't mess with hscroll.
3213
3214 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3215
3216 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
3217 &optional (bug#13819).
3218
3219 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
3220
3221 * net/tramp-adb.el (tramp-adb-parse-device-names)
3222 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
3223
3224 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
3225
3226 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3227 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
3228 defined. POSIX environments fall back to the "C" locale then and
3229 emit a warning, which shall be suppressed.
3230
3231 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
3232
3233 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
3234 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
3235
3236 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3237
3238 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
3239
3240 2013-02-25 Juri Linkov <juri@jurta.org>
3241
3242 * replace.el (read-regexp): Let-bind `default' to the first
3243 element of `defaults' if it's a list, otherwise it should be
3244 a string or nil. Let-bind `suggestions' to `defaults' if it's
3245 a list, otherwise make a list with the string value. Doc fix.
3246 (Bug#13805)
3247
3248 2013-02-25 Eli Zaretskii <eliz@gnu.org>
3249
3250 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
3251 that match "\`\.#", to avoid compiling lock files, even if they
3252 are readable (as they are on MS-Windows).
3253
3254 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3255
3256 * files.el (basic-save-buffer): Remove redundant directory-creation.
3257
3258 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
3259
3260 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
3261 Add option to force `pi' to remain symbolic.
3262 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
3263 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
3264 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
3265 derivatives, when necessary.
3266
3267 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
3268
3269 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3270 (ps-mode-octal-region): Use string-make-unibyte.
3271
3272 2013-02-23 Glenn Morris <rgm@gnu.org>
3273
3274 * emulation/viper-cmd.el (viper-submit-report):
3275 * progmodes/ps-mode.el (ps-mode-maintainer-address):
3276 * progmodes/vera-mode.el (vera-mode-help-address):
3277 * textmodes/artist.el (artist-maintainer-address):
3278 * textmodes/reftex.el (reftex-report-bug):
3279 * vc/ediff-util.el (ediff-submit-report):
3280 Add bug-gnu-emacs to bug report address.
3281
3282 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3283 Remove bug report entries.
3284 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3285
3286 * emacs-lisp/bytecomp.el (byte-compile-level): New.
3287 (byte-compile-file, byte-compile-from-buffer):
3288 Use separate input/output buffers for each level of recursive
3289 byte-compile-file calls. (Bug#13787)
3290
3291 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
3292
3293 * net/tramp.el (tramp-methods): Fix docstring.
3294 (tramp-ssh-controlmaster-options): Rename it from
3295 `tramp-ssh-controlmaster-template'. Return a string.
3296 (tramp-default-method): Adapt check for
3297 `tramp-ssh-controlmaster-options'.
3298
3299 * net/tramp-sh.el (tramp-methods):
3300 Replace `tramp-ssh-controlmaster-template' by "%c".
3301 (tramp-do-copy-or-rename-file-out-of-band)
3302 (tramp-maybe-open-connection): Use it in format spec. Ensure,
3303 that it is applied for the first hop only.
3304
3305 2013-02-22 Juri Linkov <juri@jurta.org>
3306
3307 * isearch.el (isearch-lazy-highlight-new-loop):
3308 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3309 to `isearch-other-end' if it is not nil. (Bug#13402)
3310
3311 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3312 to `match-beg'.
3313
3314 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3315 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3316 and `isearch-error' to nil.
3317
3318 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
3319
3320 * progmodes/python.el (python-info-current-defun):
3321 Enhance match-data cluttering prevention.
3322
3323 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3324
3325 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3326
3327 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3328 Handle multibyte file names.
3329
3330 2013-02-22 Glenn Morris <rgm@gnu.org>
3331
3332 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3333 (sgml-transformation-function): Give it a :set function.
3334 (sgml-tag): Doc fix.
3335
3336 * cmuscheme.el (scheme-buffer):
3337 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3338 * progmodes/tcl.el (inferior-tcl-buffer):
3339 * textmodes/tex-mode.el (tex-command): Doc fixes.
3340
3341 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3342
3343 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3344
3345 2013-02-21 Bastien Guerry <bzg@gnu.org>
3346
3347 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3348
3349 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3350
3351 * progmodes/python.el (python-info-current-defun):
3352 Enhance match-data cluttering prevention.
3353
3354 2013-02-21 Glenn Morris <rgm@gnu.org>
3355
3356 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3357 loaded while outline-regexp is let bound. (Bug#9584)
3358
3359 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3360
3361 * progmodes/python.el (python-info-current-defun): Fix failed
3362 defun name retrieval because of unwanted match-data cluttering.
3363
3364 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3365
3366 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3367 defconst. Apply independent check for ControlPersist.
3368
3369 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3370 temporarily, via "env".
3371
3372 2013-02-21 Glenn Morris <rgm@gnu.org>
3373
3374 * info.el (Info-enable-edit): Remove.
3375 (Info-edit): Disable it rather than using Info-enable.
3376 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3377 (Info-cease-edit): Make editing of Info files obsolete.
3378
3379 * informat.el (Info-tagify):
3380 Handle buffers not visiting files. (Bug#13763)
3381
3382 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3383
3384 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3385
3386 2013-02-21 Glenn Morris <rgm@gnu.org>
3387
3388 * files.el (basic-save-buffer): Move check for existing parent
3389 directory after hooks. (Bug#13773)
3390
3391 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3392
3393 * simple.el (command-execute): Move from C. Add obsolete check.
3394 (extended-command-history): Move from C.
3395
3396 2013-02-20 Ulrich Müller <ulm@gentoo.org>
3397
3398 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3399 (jka-compr-mode-alist-additions): Handle .txz suffix for
3400 XZ-compressed tar archives (bug#13770).
3401
3402 2013-02-20 Bastien Guerry <bzg@gnu.org>
3403
3404 * outline.el (outline-regexp, outline-heading-end-regexp):
3405 Make variables, not options (bug#13731).
3406
3407 2013-02-20 Glenn Morris <rgm@gnu.org>
3408
3409 * image.el (image-current-frame): Change from variable to function.
3410 (image-show-frame): Rename from image-nth-frame. Update callers.
3411 * image-mode.el (image-multi-frame): New variable.
3412 (image-mode-map, image-mode, image-goto-frame):
3413 Use image-multi-frame rather than image-current-frame.
3414 (image-mode, image-goto-frame): Use image-current-frame as
3415 function rather than as variable.
3416
3417 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3418 * emacs-lisp/cl-macs.el (cl--make-type-test)
3419 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3420
3421 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3422
3423 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3424 (tramp-get-file-property, tramp-set-file-property)
3425 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3426 (tramp-flush-file-property, tramp-flush-directory-property):
3427 Rename argument to KEY.
3428 (tramp-flush-connection-property): Simplify a little bit.
3429 (tramp-connection-property-p): New defun.
3430 (top): Reapply saved values only if there isn't a corresponding
3431 entry in `tramp-connection-properties'.
3432
3433 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
3434
3435 * progmodes/python.el (python-indent-context):
3436 Fix python-info-line-ends-backslash-p call.
3437 (python-info-line-ends-backslash-p)
3438 (python-info-beginning-of-backslash): Respect line-number argument.
3439 (python-info-current-line-comment-p):
3440 Fix behavior when not at beginning-of-line.
3441 (python-util-position): Remove function.
3442 (python-util-goto-line): New function.
3443
3444 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3445
3446 * eshell/em-unix.el (eshell/su): Require tramp.
3447 (eshell/sudo): Require tramp. Remove now unnecessary check.
3448
3449 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3450 `tramp-current-connection' in order to avoid an error when several
3451 commands are invoked in a short time in eshell and friends.
3452
3453 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3454
3455 Cleanup some of EIEIO's namespace.
3456 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3457 Use it to define all the class-* and object-* field accessors (renamed
3458 to eieio--class-* and eieio--object-*). Update all uses.
3459 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3460 class-num-slots and object-num-slots.
3461 (eieio--check-type): New macro.
3462 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3463 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3464 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3465 (object-assoc-list-safe): Use it.
3466 (eieio-defclass): Tighten regexp.
3467 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3468 Remove unreachable code.
3469 (object-class-fast): Declare obsolete.
3470 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3471 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3472 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3473 Rename from class-name, object-name, object-set-name-string,
3474 object-class, object-class-name, class-parents, class-children,
3475 class-precedence-list, class-parent; with obsolete alias.
3476 (class-of, class-direct-superclasses, class-direct-subclasses):
3477 Declare obsolete.
3478 (eieio-defmethod): Use `memq'; remove unreachable code.
3479 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3480 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3481 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3482
3483 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3484
3485 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3486 commentary.
3487
3488 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3489
3490 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3491 Use font-lock-keyword-face for macros and special forms (bug#8345).
3492
3493 2013-02-17 Didier Verna <didier@didierverna.net>
3494
3495 * net/network-stream.el (network-stream-open-starttls):
3496 Check that response to the starttls-command is non-nil. (Bug#13706)
3497
3498 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3499
3500 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3501 Don't assume all identifier chars have syntax word.
3502 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3503 Remove bar-not-symbol. Adjust callers.
3504 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3505
3506 2013-02-17 Leo Liu <sdl.web@gmail.com>
3507
3508 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3509
3510 2013-02-17 Glenn Morris <rgm@gnu.org>
3511
3512 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3513
3514 * image-mode.el (image-mode-map): Add image-dired menu entry.
3515
3516 * image-dired.el (tumme): Make this alias obsolete.
3517
3518 2013-02-16 Glenn Morris <rgm@gnu.org>
3519
3520 * image.el (image-animated-types): Remove.
3521 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3522 (image-animated-p): Make obsolete alias.
3523 (image-animate, image-nth-frame, image-animate-timeout):
3524 Use image-multi-frame-p.
3525 (image-animate-timeout): If no delay, use image-default-frame-delay.
3526 * image-mode.el (image-mode, image-toggle-animation):
3527 Use image-multi-frame-p. (Bug#763, bug#10739)
3528 (image-mode): Adjust startup message for a multi-frame image.
3529
3530 * image-mode.el (image-mode-map): Give it a menu.
3531
3532 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3533
3534 * net/tramp-cache.el (tramp-connection-properties): New customer
3535 option.
3536 (tramp-get-connection-property): Use it.
3537
3538 * net/tramp-compat.el (top): Require 'trampver.
3539
3540 * net/tramp-sh.el (tramp-remote-process-environment):
3541 Set tramp-autoload cookie.
3542
3543 2013-02-16 Kevin Ryde <user42@zip.com.au>
3544
3545 * info-look.el (info-lookup-select-mode): If major-mode has no
3546 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3547
3548 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3549
3550 * replace.el (read-regexp): Tighten the regexp that matches tag.
3551 When tag is retrieved with `find-tag-default', use regexp that
3552 matches tag at point. Also update docstring (Bug#13687).
3553
3554 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3555
3556 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3557 add watch for the file, not its parent directory, since w32notify
3558 sets up the watch for the directory internally. (Bug#13725)
3559
3560 2013-02-16 Glenn Morris <rgm@gnu.org>
3561
3562 * image.el (image-default-frame-delay): New variable.
3563 (image-animated-p): Use image-default-frame-delay.
3564 (image-minimum-frame-delay): New constant.
3565 (image-animate-timeout): Use image-minimum-frame-delay.
3566
3567 * image.el (image-nth-frame): New, split from image-animate-timeout.
3568 (image-animate-timeout): Use image-nth-frame.
3569 * image-mode.el (image-goto-frame, image-next-frame)
3570 (image-previous-frame): New commands.
3571 (image-mode-map): Add new frame commands.
3572
3573 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3574
3575 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3576 If col-desc already has help-echo, use it. (Bug#13563)
3577
3578 2013-02-16 Glenn Morris <rgm@gnu.org>
3579
3580 * image.el (image-current-frame): New variable.
3581 (image-animate-timeout): Set image-current-frame.
3582 * image-mode.el (image-mode): For animated images,
3583 display a frame counter via mode-line-process.
3584
3585 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3586
3587 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3588
3589 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3590
3591 2013-02-15 Alan Mackenzie <acm@muc.de>
3592
3593 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3594 global minor mode has been enabled, call the minor mode function
3595 for a new buffer once only, after the major mode hook, whilst
3596 allowing that hook explicitly to disable the minor mode.
3597 (MODE-disable-in-buffer): New (generated) function.
3598 (disable-MODE): New (generated) buffer local variable.
3599
3600 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3601
3602 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3603 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3604 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3605 `ido-next-match' and `ido-prev-match' resply.
3606 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3607 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3608 `icomplete-backward-completions' (Bug#13708).
3609
3610 2013-02-15 Glenn Morris <rgm@gnu.org>
3611
3612 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3613
3614 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3615
3616 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3617 (goto-address-fontify-region): Use them instead of narrowing, so
3618 syntax-ppss has access to the whole buffer.
3619
3620 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
3621
3622 * progmodes/python.el: Explain how to restore "cc-mode"-like
3623 forward-sexp movement in header documentation (Bug#13642).
3624 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3625 comments and strings (GH bug 114).
3626
3627 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
3628
3629 * progmodes/python.el (python-info-current-defun): Fix current
3630 defun detection (Bug#13618).
3631
3632 2013-02-15 Chong Yidong <cyd@gnu.org>
3633
3634 * xml.el (xml-parse-string): Fix typo in handling of bad character
3635 references.
3636
3637 2013-02-15 Glenn Morris <rgm@gnu.org>
3638
3639 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3640
3641 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3642
3643 * net/tramp.el (tramp-debug-message):
3644 Add `tramp-condition-case-unless-debug'.
3645 (tramp-debug-on-error): New defvar.
3646 (tramp-condition-case-unless-debug): New defun.
3647 (tramp-file-name-handler): Use it.
3648
3649 2013-02-14 Juri Linkov <juri@jurta.org>
3650
3651 * info.el (Info-isearch-filter): Treat non-nil values of
3652 `search-invisible' including its default value `open'
3653 like the value `t' to match hidden text. (Bug#13402)
3654
3655 2013-02-14 Glenn Morris <rgm@gnu.org>
3656
3657 * help-fns.el (find-lisp-object-file-name): Give special treatment
3658 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3659
3660 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3661
3662 * net/quickurl.el (quickurl-save-urls):
3663 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3664
3665 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3666
3667 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3668 depth for unfinished percent literal. Not using it in the caller.
3669 (ruby-move-to-block): Jump over multiline literals of all types,
3670 ignoring code-looking contents inside them.
3671 (ruby-add-log-current-method): Improve performance at the expense
3672 of accuracy. `ruby-block-contains-point' is relatively slow, so
3673 only use it for method and singleton class blocks.
3674
3675 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3676
3677 Use ControlMaster where applicable. (Bug#13677)
3678
3679 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3680 replacing `tramp-detect-ssh-controlmaster'.
3681 (tramp-default-method): Use it.
3682
3683 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3684 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3685 arguments.
3686 [scpc, rsyncc]: Remove methods.
3687 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3688 and "ssh2_old".
3689 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3690 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3691
3692 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3693
3694 * emacs-lisp/package.el (package--initialized): Move before first use.
3695
3696 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3697
3698 * icomplete.el (icomplete-hide-common-prefix): New user option.
3699 (icomplete-first-match): New face.
3700 (icomplete-completions): Correct handling of "complete but not
3701 unique" (Bug#12638).
3702
3703 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3704
3705 * descr-text.el (describe-char): Display the script (bug#13698).
3706
3707 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3708
3709 * tmm.el: Use lexical-binding and current-active-maps.
3710 (tmm-menubar): Use map-keymap and pcase.
3711 (tmm--completion-table): New function.
3712 (tmm-prompt): Use it to fix the menu order.
3713 (tmm-get-keybind): Use current-active-maps.
3714
3715 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3716
3717 Add dired-hide-details-mode. (Bug#6799)
3718
3719 * locate.el (locate-mode): Set parent mode property to dired-mode.
3720
3721 * find-dired.el (find-dired): Call dired-insert-set-properties on
3722 initial information line. Set process mark on end of buffer.
3723 (find-dired-sentinel):
3724 Call dired-insert-set-properties on summary.
3725
3726 * dired.el (dired-hide-details-hide-symlink-targets)
3727 (dired-hide-details-hide-information-lines): New options.
3728 (dired-insert-directory):
3729 Set properties after final treatment of output.
3730 (dired-insert-set-properties):
3731 Set dired-hide-details-* properties.
3732 (dired-mode-map): Bind dired-hide-details-mode.
3733 (dired-mode): Set buffer-invisibility-spec to a list.
3734 (dired-next-line): Skip hidden lines.
3735 (dired-previous-line): Use dired-next-line.
3736 (dired-hide-details-mode): New minor mode.
3737 (dired-hide-details-update-invisibility-spec): New function.
3738
3739 2013-02-13 Glenn Morris <rgm@gnu.org>
3740
3741 * play/yow.el: Move to obsolete/. (Bug#9384)
3742
3743 2013-02-13 Juri Linkov <juri@jurta.org>
3744
3745 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3746 to select `ediff-control-frame' and set input focus correctly on Xfce.
3747 (Bug#12218)
3748
3749 2013-02-13 Juri Linkov <juri@jurta.org>
3750
3751 * image-mode.el (image-mode-map):
3752 * doc-view.el (doc-view-mode-map):
3753 * vc/ediff-util.el (ediff-setup-keymap):
3754 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3755
3756 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3757
3758 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3759 performance. Instead of recalculating indentation fully for each
3760 line, sum up indentation depth based only on visited lines.
3761 (ruby-parse-partial): Increase the depth after "do" even when END
3762 is right after it.
3763 (ruby-parse-partial): When END is in the middle of a percent
3764 literal, increase the depth if the delimiter chars belong to the
3765 paren syntax class.
3766
3767 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3768
3769 * play/fortune.el (fortune-compile): Also make the compiled file
3770 if it does not exist at all, not just if it is old. (Bug#5338)
3771
3772 2013-02-13 Glenn Morris <rgm@gnu.org>
3773
3774 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3775
3776 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3777
3778 * lisp/emacs-lisp/package.el (package-menu-execute):
3779 Add optional noquery argument. (Bug#13625)
3780
3781 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3782
3783 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3784 if DIR exists and PARENTS is non-nil.
3785
3786 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3787
3788 * progmodes/js.el (js--multi-line-declaration-indentation):
3789 Silence byte-compiler warning.
3790
3791 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3792
3793 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3794
3795 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3796 only if it doesn't exist.
3797
3798 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3799 Set process marker.
3800
3801 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3802
3803 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3804 UserInstallation when calling soffice to work around LibreOffice
3805 bug 37531.
3806
3807 2013-02-12 Glenn Morris <rgm@gnu.org>
3808
3809 * files.el (basic-save-buffer):
3810 Offer to create a non-existing directory. (Bug#3016)
3811
3812 * calc/calc-graph.el (calc-graph-show-dumb):
3813 * calendar/calendar.el (calendar-mode-map):
3814 * cus-edit.el (custom-mode-map):
3815 * ehelp.el (electric-help-map):
3816 * emulation/vip.el (vip-mode-map):
3817 * epa.el (epa-key-list-mode-map):
3818 * info.el (Info-mode-map):
3819 * mail/rmail.el (rmail-mode-map):
3820 * mail/rmailsum.el (rmail-summary-mode-map):
3821 * man.el (Man-mode-map):
3822 * net/newst-plainview.el (newsticker-mode-map):
3823 * progmodes/cpp.el (cpp-edit-mode-map):
3824 * progmodes/grep.el (grep-mode-map):
3825 * progmodes/idlw-help.el (idlwave-help-mode-map):
3826 * simple.el (special-mode-map):
3827 * startup.el (splash-screen-keymap):
3828 * view.el (view-mode-map):
3829 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3830
3831 2013-02-11 Elias Pipping <pipping@lavabit.com>
3832
3833 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3834 (bug#13679).
3835
3836 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3837
3838 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3839
3840 2013-02-11 Glenn Morris <rgm@gnu.org>
3841
3842 * vc/diff.el (diff-use-labels): New variable.
3843 (diff-no-select): Use --label rather than -L, and first
3844 check that it is supported. (Bug#11067)
3845
3846 * files.el (enable-dir-local-variables): New variable.
3847 (hack-dir-local-variables): Respect enable-dir-local-variables.
3848 * tutorial.el (help-with-tutorial):
3849 Ignore directory-local variables. (Bug#11127)
3850
3851 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3852 (vc-svn-global-switches): ... to here. (Bug#13513)
3853
3854 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3855
3856 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3857 Handle "foo (bar, default: xxx): " prompts.
3858
3859 2013-02-10 Chong Yidong <cyd@gnu.org>
3860
3861 * files.el (basic-save-buffer-1): Do not set
3862 buffer-file-coding-system-explicit (Bug#4533).
3863
3864 * mail/emacsbug.el (report-emacs-bug): Change binding of
3865 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3866
3867 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3868
3869 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3870 * calc/calc-units.el (calc-convert-units): Use new variable.
3871
3872 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3873
3874 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3875
3876 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3877 buffer-file-type.
3878
3879 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3880 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3881 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3882 coding-system-for-write instead.
3883
3884 * jka-compr.el (jka-compr-write-region): Don't bind
3885 buffer-file-type.
3886
3887 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3888 buffer-file-type.
3889
3890 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3891 (insert-file-contents-literally): Remove reference to
3892 file-name-buffer-file-type-alist.
3893
3894 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3895 make-obsolete.
3896 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3897 (find-buffer-file-type-coding-system): Remove references to
3898 find-buffer-file-type-match, find-buffer-file-type, and
3899 buffer-file-type.
3900 Don't put find-buffer-file-type-coding-system into
3901 file-coding-system-alist.
3902 (find-file-binary, find-file-text): Bind coding-system-for-read
3903 instead of file-name-buffer-file-type-alist.
3904
3905 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3906
3907 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3908 converter (Bug#13622).
3909 (doc-view-unoconv-program): Make obsolete alias.
3910 (doc-view-odf->pdf-converter-program): New variable.
3911 (doc-view-odf->pdf-converter-function): New variable.
3912 (doc-view-mode-p): Use it.
3913 (doc-view-odf->pdf-converter-unoconv):
3914 Rename from `doc-view-odf->pdf-converter-unoconv'.
3915 (doc-view-odf->pdf-converter-soffice): New function.
3916 (doc-view-convert-current-doc):
3917 Use `doc-view-odf->pdf-converter-function'.
3918
3919 2013-02-09 Chong Yidong <cyd@gnu.org>
3920
3921 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3922 view-echo-area-messages (Bug#13340).
3923
3924 * help.el (view-echo-area-messages): Use display-buffer.
3925
3926 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3927 (Bug#13561).
3928
3929 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3930
3931 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3932 Eval body right away, now that we do eager macroexpansion (bug#13605).
3933
3934 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3935 (fundamental-mode): Use run-mode-hooks.
3936
3937 * eshell/esh-proc.el (eshell/kill): Fix last change.
3938 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3939
3940 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3941
3942 * eshell/esh-proc.el (eshell/kill): Rewrite.
3943
3944 * eshell/em-ls.el (show-almost-all): Declare.
3945 (eshell-do-ls): Add support for -A argument.
3946
3947 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3948
3949 * icomplete.el (icomplete-forward-completions)
3950 (icomplete-backward-completions): Handle corner case (bug#13602).
3951
3952 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3953
3954 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3955 be nil. Handle this. (Bug#13636)
3956
3957 2013-02-07 Richard Stallman <rms@gnu.org>
3958
3959 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3960 `save-buffer-coding-system'.
3961
3962 2013-02-07 Alan Mackenzie <acm@muc.de>
3963
3964 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3965 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3966 (c-parse-state-get-strategy): Don't return 'BOD any more.
3967 (c-append-lower-brace-pair-to-state-cache):
3968 Extra parameter HERE instead of narrowing.
3969 Widen to top of buffer before searching backwards for a brace pair.
3970 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3971 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3972 Narrow to parameter HERE, in place of being called narrowed.
3973 (c-remove-stale-state-cache): Extra parameter HERE in place of
3974 narrowing. Check there's an open brace in the cache before
3975 searching for its match.
3976 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3977 (c-parse-state-1): Don't narrow here for 'forward strategy,
3978 instead passing extra parameter HERE to several functions.
3979 Remove 'BOD strategy.
3980
3981 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3982
3983 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3984 used to install the package.
3985
3986 2013-02-06 Glenn Morris <rgm@gnu.org>
3987
3988 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3989 if we can't get user input. (Bug#6567)
3990
3991 * startup.el (command-line): If simple.el is missing,
3992 test and warn about for some possible causes.
3993
3994 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3995
3996 * cus-start.el (all): Add ns-use-native-fullscreen.
3997
3998 2013-02-05 Glenn Morris <rgm@gnu.org>
3999
4000 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
4001
4002 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4003 Fix directory creation in fallback case.
4004
4005 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4006
4007 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
4008 (vc-update-change-log): Use dolist.
4009
4010 2013-02-04 Chong Yidong <cyd@gnu.org>
4011
4012 * thingatpt.el: Rewrite the URL detection routines, absorbing some
4013 code from ffap.el.
4014 (thing-at-point-beginning-of-url-regexp): New var.
4015 (thing-at-point-uri-schemes): Update list of URI schemes.
4016 (thing-at-point-url-regexp): Variable deleted.
4017 (thing-at-point-markedup-url-regexp): Disallow newlines.
4018 (thing-at-point-newsgroup-regexp)
4019 (thing-at-point-newsgroup-heads)
4020 (thing-at-point-default-mail-uri-scheme): New variables.
4021 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
4022 method to find the possible bounds of the URI at point.
4023 New optional argument to find ill-formed URIs.
4024 (thing-at-point-url-at-point): Rewrite. New arguments for finding
4025 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
4026 the scheme-adding heuristics from ffap-url-at-point.
4027 (thing-at-point--bounds-of-well-formed-url): New function.
4028 Do parens matching to decide whether to include parens in the URI
4029 (Bug#9153).
4030
4031 * ffap.el: Require thingatpt.
4032 (ffap-url-at-point): Delegate URI detection to thing-at-point.
4033 All URI-valid characters are now recognized (Bug#5673).
4034 (ffap-string-at-point): Use use-region-p.
4035 (ffap-url-regexp): Extra character is handled by thing-at-point.
4036 (ffap-string-at-point-mode-alist): Allow parentheses.
4037 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
4038 Convert to aliases; code moved to thingatpt.el.
4039 (ffap-gnus-hook): Use setq-local.
4040
4041 2013-02-04 Glenn Morris <rgm@gnu.org>
4042
4043 * emacs-lisp/ert.el (ert--explain-format-atom):
4044 Don't try to print non-characters as characters. (Bug#13543)
4045
4046 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
4047
4048 * net/tramp.el (tramp-debug-message): Extend function exclude list.
4049 (tramp-backtrace): New defun.
4050 (tramp-handle-insert-file-contents): Use `visit' when inserting
4051 the local copy.
4052
4053 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
4054 Use `remote-file-name-inhibit-cache'.
4055
4056 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
4057
4058 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
4059 (bug#13614).
4060
4061 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
4062 current-load-list (bug#13366).
4063
4064 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
4065
4066 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4067 Identify g++ template instantiation trace. (Bug#12287)
4068 (compilation-mode-hook, compilation-start-hook)
4069 (compilation-window-height): Simplify docstrings. (Bug#13379)
4070
4071 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4072
4073 * mouse.el (mouse-drag-track): Always deactivate the mark before
4074 running the final event's command since that command is in charge of
4075 activating the mark if needed (bug#13523).
4076
4077 2013-02-02 Juri Linkov <juri@jurta.org>
4078
4079 * replace.el (perform-replace): Move let-bindings of isearch-*
4080 variables deeper to the loop that searches for the next match.
4081 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
4082 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
4083 (Bug#13579)
4084
4085 * isearch.el (isearch-search-fun-default): Check for null
4086 first element of isearch-cmds as a precaution when it's used
4087 with inactive isearch.
4088
4089 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
4090
4091 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
4092 error when buffer in question is narrowed so position 1 is out of
4093 visible part.
4094
4095 2013-02-02 Glenn Morris <rgm@gnu.org>
4096
4097 * textmodes/remember.el (remember-clipboard): Doc fix.
4098
4099 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4100
4101 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
4102 properties (bug#13179).
4103
4104 2013-02-02 Juri Linkov <juri@jurta.org>
4105
4106 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
4107 instead of hard-coded default face `match'. (Bug#9438)
4108
4109 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
4110
4111 * vc/vc-arch.el (vc-arch-registered):
4112 * vc/vc-bzr.el (vc-bzr-registered):
4113 * vc/vc-cvs.el (vc-cvs-registered):
4114 * vc/vc-git.el (vc-git-registered):
4115 * vc/vc-hg.el (vc-hg-registered):
4116 * vc/vc-mtn.el (vc-mtn-registered):
4117 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
4118 (Bug#13139)
4119
4120 * info.el (Info-next-reference, Info-prev-reference): Add numeric
4121 prefix argument. (Bug#11656)
4122
4123 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
4124
4125 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
4126
4127 2013-02-01 Glenn Morris <rgm@gnu.org>
4128
4129 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
4130 if the backend is known not to support it.
4131
4132 * imenu.el (imenu-default-create-index-function):
4133 Tweak infinite loop test to check for forward motion as well as none.
4134
4135 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
4136
4137 * net/soap-client.el (soap-invoke): Encode the string for
4138 `url-request-data' as UTF-8.
4139 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
4140
4141 2013-02-01 Glenn Morris <rgm@gnu.org>
4142
4143 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
4144
4145 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
4146
4147 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
4148
4149 * net/tramp.el (tramp-tramp-file-p): Comment check for
4150 `string-as-unibyte'. The function does not exist on XEmacs, and
4151 likely we need another approach.
4152
4153 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
4154 `tramp-gw-*' variables are bound.
4155
4156 2013-01-31 Glenn Morris <rgm@gnu.org>
4157
4158 * files.el (basic-save-buffer-2): Choose coding system for
4159 writing the file before backing it up, to reduce delay between
4160 backing up and writing the new version. (Bug#13522)
4161
4162 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
4163
4164 * simple.el (cycle-spacing): New command.
4165 (just-one-space): Use it.
4166
4167 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
4168
4169 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
4170 (opascal-newline-always-indents): Remove custom.
4171 (opascal-tab, opascal-newline): Remove commands.
4172 (opascal-new-comment-line): Insert "\n" instead of calling newline.
4173 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
4174 (opascal-save-match-data): Remove, use save-match-data instead.
4175 (opascal-save-state): Use with-silent-modifications.
4176
4177 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
4178 (bug#13585).
4179
4180 2013-01-30 Juri Linkov <juri@jurta.org>
4181
4182 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4183 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
4184 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
4185
4186 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4187
4188 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
4189 column if we're just deleting the backslashes.
4190 (makefile-fill-paragraph): Use eolp.
4191
4192 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4193
4194 * autorevert.el (auto-revert-use-notify): Fix docstring.
4195
4196 2013-01-30 Leo Liu <sdl.web@gmail.com>
4197
4198 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
4199
4200 2013-01-30 Glenn Morris <rgm@gnu.org>
4201
4202 * mouse.el (mouse-drag-line): Avoid pushing same event onto
4203 unread-command-events twice in some cases. This tries to implement
4204 the 2012-07-26 changes in a different way. (Bug#13560)
4205
4206 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4207
4208 * progmodes/python.el
4209 (python-pdbtrack-comint-output-filter-function): Enhancements on
4210 stacktrace detection. (thanks @gnovak)
4211
4212 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4213
4214 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
4215 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
4216 Use defvar-local.
4217 (jit-lock-register): Use setq-local.
4218
4219 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
4220
4221 * calc-units.el (math-default-units-table): Remove initial value.
4222 (calc-convert-units): Treat expressions where all the units cancel as
4223 if they didn't have units.
4224
4225 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4226
4227 * net/tramp.el (tramp-process-connection-type): Fix docstring.
4228 (tramp-completion-reread-directory-timeout): Fix type.
4229 (tramp-connection-min-time-diff): New defcustom.
4230
4231 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4232
4233 2013-01-30 Glenn Morris <rgm@gnu.org>
4234
4235 * imenu.el (imenu-default-create-index-function):
4236 Put back a version of the infinite loop test removed 2013-01-23.
4237
4238 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4239
4240 * progmodes/python.el (python-shell-parse-command):
4241 Find python-shell-interpreter with modified environment.
4242
4243 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4244
4245 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4246
4247 2013-01-29 Alan Mackenzie <acm@muc.de>
4248
4249 Amend to fontify /regexp/s in actions correctly.
4250 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
4251 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
4252 are no longer included.
4253 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
4254 What used to be these variables without "-line" in the name.
4255 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
4256 (c-awk-non-arith-op-bra-re): Now also matches {.
4257 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
4258 "return", and "case".
4259 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
4260 by /.
4261 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
4262 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
4263
4264 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
4265
4266 * autorevert.el (auto-revert-use-notify):
4267 Use `custom-initialize-default' for initialization. (Bug#13583)
4268
4269 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4270
4271 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4272 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
4273 in `tramp-file-name-handler'.
4274 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4275 compatibility.
4276 (tramp-compute-multi-hops): Check, whether
4277 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4278
4279 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
4280
4281 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4282 (bug#13297).
4283
4284 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
4285
4286 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4287 checks made superfluous by the \_< operator.
4288 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4289 temporarily) broken indentation.
4290 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4291 Highlight nested constants, too. \_< broke that.
4292
4293 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
4294
4295 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4296 instead of "\\b".
4297
4298 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
4299
4300 * autorevert.el (auto-revert-handler): Notifications which result
4301 from a saved file shall not be taken into account. (Bug#13557)
4302
4303 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
4304
4305 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4306 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4307 (lisp-mode): Pass t for it. (Bug#13556)
4308
4309 2013-01-25 Alan Mackenzie <acm@muc.de>
4310
4311 AWK Mode: Fix indentation bug at top level. Bug #12274.
4312
4313 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4314 just before CASE 5D.
4315
4316 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4317
4318 * net/socks.el (socks-nslookup-host): Use string-to-number.
4319
4320 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4321
4322 * autorevert.el (auto-revert-remote-files)
4323 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4324 (auto-revert-notify-enabled, auto-revert-use-notify)
4325 (auto-revert-notify-watch-descriptor-hash-list)
4326 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4327 (auto-revert-notify-event-descriptor)
4328 (auto-revert-notify-event-action)
4329 (auto-revert-notify-event-file-name): Doc fix.
4330 (global-auto-revert-mode): Reorder checks.
4331 (auto-revert-notify-rm-watch): Respect changed values of
4332 `auto-revert-notify-watch-descriptor-hash-list'.
4333 (auto-revert-notify-add-watch): Check for
4334 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4335 `inotify-add-watch'. Watch `default-directory' instead of
4336 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4337 has a changed meaning now. (Bug#13540)
4338 (auto-revert-notify-handler): Change implementation wrt events
4339 returning from a directory.
4340 (auto-revert-handler): Reorder implementation for checks of remote
4341 files.
4342 (auto-revert-buffers): Fix parentheses error.
4343
4344 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
4345
4346 * progmodes/python.el: Enhancements to header documentation about
4347 skeletons. (Bug#5716)
4348
4349 * imenu.el (imenu-default-create-index-function): Remove useless
4350 infinite loop check. (Bug#13438)
4351
4352 2013-01-25 Alan Mackenzie <acm@muc.de>
4353
4354 Fix a bug in the state cache mechanism. Refactor this a bit.
4355
4356 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4357 `cache-pos' element from the return value.
4358 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4359 buffer to enable proper searching from beyond HERE. Amend the
4360 test for detecting the sought brace pair. Amend the value written
4361 to the "brace desert cache" when the brace isn't found.
4362 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4363 and several other variables analogously.
4364 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4365 parameter to a locally calculated variable.
4366 (c-parse-state-1): Change the calling conventions to the two
4367 defuns involving `cache-pos'.
4368
4369 2013-01-25 Chong Yidong <cyd@gnu.org>
4370
4371 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4372
4373 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4374
4375 * paren.el (show-paren-function): Make sure to set 'priority and
4376 'face only if the overlay does exist.
4377
4378 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4379
4380 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4381
4382 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4383 basic attributes.
4384 (tramp-sh-handle-set-file-acl): Improve error checking.
4385
4386 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4387
4388 * doc-view.el (doc-view-display): Force mode line update until all
4389 document is converted. Suggested by Stefan Monnier (Bug#13164).
4390
4391 2013-01-23 Bastien Guerry <bzg@gnu.org>
4392
4393 * paren.el (show-paren-function): Make sure an overlay exists
4394 before trying to delete it. Also use `pos' as a position only
4395 when it is an integer.
4396
4397 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4398
4399 * play/gametree.el (gametree-break-line-here): Use point-marker.
4400
4401 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4402
4403 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4404 Mark descriptive parts with `display' property.
4405
4406 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4407
4408 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4409 New variable to map standard dict names to hunspell ones.
4410 (ispell-set-spellchecker-params): Make sure specific dict names
4411 are used for standard dicts with hunspell.
4412
4413 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4414
4415 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4416 chars for note (%N) and url (%U).
4417 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4418
4419 2013-01-21 Juri Linkov <juri@jurta.org>
4420
4421 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4422 in addition to existing separate binding `meta f10' in `global-map'.
4423 (Bug#13484)
4424
4425 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4426
4427 Improve XEmacs compatibility.
4428
4429 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4430
4431 * net/tramp-adb.el (top): Require `time-date'.
4432 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4433 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4434 Use `tramp-file-name-handler'.
4435 (tramp-adb-maybe-open-connection):
4436 Use `tramp-compat-set-process-query-on-exit-flag'.
4437
4438 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4439 Use `tramp-compat-funcall'.
4440
4441 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4442 `tramp-compat-funcall'.
4443
4444 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
4445
4446 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4447 reimplementation using "adb shell command ..." instead of running
4448 remote shell interactively.
4449
4450 2013-01-20 Glenn Morris <rgm@gnu.org>
4451
4452 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4453 Add native profiler menu entries.
4454
4455 * profiler.el (profiler-running-p): New function.
4456 (profiler-cpu-profile): Use profiler-running-p.
4457 (profiler-report-mode-map): Add some more menu entries.
4458
4459 2013-01-19 Glenn Morris <rgm@gnu.org>
4460
4461 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4462 fixes 2012-12-07 change. (Bug#13499)
4463
4464 2013-01-19 Leo Liu <sdl.web@gmail.com>
4465
4466 * dired.el (dired-get-marked-files): Prune erroneous values due to
4467 last change. (Bug#13152)
4468
4469 2013-01-19 Glenn Morris <rgm@gnu.org>
4470
4471 * progmodes/etags.el (tags-table-check-computed-list):
4472 Preserve point in tags buffer. (Bug#13412)
4473
4474 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4475
4476 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4477 Chong Yidong <cyd@gnu.org>
4478
4479 * image-mode.el (image-next-file, image-previous-file):
4480 New commands (Bug#8453).
4481 (image-mode-map): Bind them to n and p.
4482 (image-mode--images-in-directory): New helper function.
4483
4484 2013-01-19 Chong Yidong <cyd@gnu.org>
4485
4486 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4487 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4488 save and restore the old window configuration.
4489
4490 2013-01-18 Leo Liu <sdl.web@gmail.com>
4491
4492 * progmodes/js.el: Tweak autoload cookie for alias.
4493
4494 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4495
4496 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4497 buffer local, again. This was lost with the fix on 2013-01-12.
4498
4499 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
4500
4501 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4502 order to support several eshell buffers in parallel.
4503
4504 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4505
4506 * autorevert.el (auto-revert-use-notify): In the :set function, do
4507 not modify `kill-buffer-hook'.
4508 (auto-revert-notify-rm-watch):
4509 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4510 (auto-revert-notify-add-watch): Do not call
4511 `auto-revert-notify-rm-watch', but add it to a buffer local
4512 `kill-buffer-hook'.
4513
4514 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4515
4516 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4517 call to `eval' rather than a backquoted lambda.
4518
4519 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4520
4521 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4522 to return an explicit nil.
4523 (advice--remove-function): Change accordingly.
4524
4525 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4526 the use of nadvice.el.
4527
4528 * progmodes/which-func.el (which-function): Silence imenu errors
4529 (bug#13433).
4530
4531 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4532
4533 * progmodes/sql.el (sql-imenu-generic-expression):
4534 (sql-mode-font-lock-object-name): Match schema qualified names.
4535 (sql-connect): Use string keys.
4536 (sql-product-interactive): Wait for interpreter prompt.
4537 (sql-comint-oracle): Set process coding based on NLS_LANG.
4538
4539 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4540
4541 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4542 (sql-interactive-remove-continuation-prompt):
4543 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4544
4545 2013-01-14 Leo Liu <sdl.web@gmail.com>
4546
4547 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4548 (Bug#13420)
4549
4550 2013-01-14 Glenn Morris <rgm@gnu.org>
4551
4552 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4553 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4554
4555 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
4556
4557 * progmodes/python.el (python-nav-end-of-statement):
4558 Fix cornercase when handling multiline strings.
4559
4560 2013-01-13 Richard Stallman <rms@gnu.org>
4561
4562 * mail/sendmail.el (mail-position-on-field): Add doc string.
4563
4564 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4565 Get current message boundaries and pass them to
4566 message-forward-make-body-mime. Minor style changes.
4567
4568 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4569
4570 * cus-start.el (all): Avoid warnings about
4571 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4572
4573 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4574
4575 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4576
4577 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4578
4579 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4580 (jit-lock--debug-fontifying): New var.
4581 (jit-lock--debug-fontify): New function.
4582 * subr.el (condition-case-unless-debug): Don't prevent catching the
4583 error, just let the debbugger run.
4584 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4585 timer code and don't drop errors silently.
4586
4587 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4588
4589 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4590 `permanent-local' property.
4591 (auto-revert-notify-handler): Use `file-equal-p'.
4592
4593 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4594
4595 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4596 file notification by ACTION. For filtering by file name, compare
4597 only the non-directory part of the file name.
4598
4599 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4600
4601 * autorevert.el: Use cl-lib instead of cl.
4602
4603 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4604 (vc-bzr-checkin): Use it.
4605 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4606 will preserve match-data.
4607
4608 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4609
4610 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4611 (js--declaration-keyword-re): New var.
4612 (js--multi-line-declaration-indentation): New function.
4613 (js--proper-indentation): Use it.
4614
4615 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4616
4617 * calc/calc.el (calc-highlight-selections-with-faces)
4618 (calc-dispatch):
4619 * comint.el (comint-history-isearch-message):
4620 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4621 * ffap.el (ffap-string-at-point-region, ffap-next)
4622 (ffap-string-at-point, ffap-string-around)
4623 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4624 (ffap-literally):
4625 * font-lock.el (font-lock-keywords-alist)
4626 (font-lock-removed-keywords-alist):
4627 * help-mode.el (help-xref-symbol-regexp):
4628 * info.el (Info-find-emacs-command-nodes):
4629 * international/mule.el (add-to-coding-system-list):
4630 * isearch.el (isearch-message-function, isearch-fail-pos):
4631 * misearch.el (multi-isearch-next-buffer-function):
4632 * newcomment.el (comment-box):
4633 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4634 (pr-setting-database):
4635 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4636 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4637 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4638 (pike-font-lock-keywords-3):
4639 * progmodes/compile.el (compile):
4640 * progmodes/etags.el (tags-table-files)
4641 (tags-table-files-function, tags-included-tables-function):
4642 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4643 (gdb-restore-windows):
4644 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4645 (ps-n-up-filling-database):
4646 * server.el (server-buffer, server-log):
4647 * simple.el (newline, delete-backward-char, delete-forward-char)
4648 (minibuffer-history-isearch-message, kill-line, track-eol)
4649 (temporary-goal-column):
4650 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4651 (flyspell-default-deplacement-commands):
4652 * textmodes/ispell.el (ispell-accept-output):
4653 * textmodes/sgml-mode.el (html-tag-help):
4654 * vc/compare-w.el (compare-ignore-whitespace)
4655 (compare-ignore-case, compare-windows-dehighlight):
4656 * vc/diff.el (diff):
4657 * whitespace.el (whitespace-point)
4658 (whitespace-font-lock-refontify, whitespace-bob-marker)
4659 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4660
4661 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4662
4663 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4664 (auto-revert-notify-rm-watch): Ignore errors.
4665 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4666 inotify, and '(size last-write-time) for w32notify.
4667 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4668 watch fails - this is a fallback to the file modification check.
4669 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4670 (auto-revert-notify-event-action)
4671 (auto-revert-notify-event-file-name): New defuns.
4672 (auto-revert-notify-handler): Use them. Implement first
4673 plausibility checks.
4674 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4675
4676 2013-01-11 Julien Danjou <julien@danjou.info>
4677
4678 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4679 max are almost equal. Also return the correct value for V which is
4680 already between 0 and 1.
4681
4682 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4683
4684 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4685
4686 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4687
4688 * autorevert.el (auto-revert-notify-rm-watch)
4689 (auto-revert-notify-add-watch): Fix typos in w32notify function
4690 names.
4691
4692 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4693
4694 * autorevert.el (auto-revert-notify-enabled): Move up.
4695 (auto-revert-use-notify): New defcustom.
4696 (auto-revert-mode, global-auto-revert-mode)
4697 (auto-revert-notify-add-watch, auto-revert-handler)
4698 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4699 `auto-revert-notify-enabled'.
4700
4701 2013-01-10 Elias Pipping <pipping@exherbo.org>
4702
4703 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4704 * doc-view.el (doc-view-document->bitmap):
4705 Use doc-view-single-page-converter-function instead of
4706 single-page-converter arg; adjust callers.
4707
4708 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4709
4710 * progmodes/which-func.el (which-function): Understand Semantic's use
4711 of overlays in imenu--index-alist.
4712
4713 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4714
4715 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4716 (Man-man-k-use-anchor): New var.
4717 (Man-parse-man-k): New function.
4718 (Man-completion-table): Use it.
4719 (man): Flush the completion cache between uses.
4720
4721 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4722
4723 * autorevert.el: Add file watch support.
4724 (auto-revert-notify-enabled): New defconst.
4725 (auto-revert-notify-watch-descriptor-hash-list)
4726 (auto-revert-notify-watch-descriptor)
4727 (auto-revert-notify-modified-p): New defvars.
4728 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4729 (auto-revert-notify-handler): New defuns.
4730 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4731 when mode is disabled.
4732 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4733 (auto-revert-buffers): Add file watches for active buffers.
4734
4735 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4736
4737 * cus-start.el (toplevel): Only allow float values for
4738 scroll-up-aggressively and scroll-down-aggressively.
4739 Allow any number for line-spacing.
4740
4741 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4742
4743 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4744 (doc-view-pdf->png-converter-function): Use mupdf if available.
4745 (doc-view-djvu->png-converter-function)
4746 (doc-view-ps->png-converter-function): Remove.
4747 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4748 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4749 (doc-view-already-converted-p): Adjust accordingly.
4750 (doc-view-mode-p): Simplify.
4751 (doc-view-enlarge): Use setq-local.
4752 (doc-view-pdf->png-converter-ghostscript)
4753 (doc-view-djvu->png-converter-ddjvu)
4754 (doc-view-pdf->png-converter-mupdf): Rework to call
4755 doc-view-start-process directly.
4756 (doc-view-pdf/ps->png): Simplify accordingly.
4757 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4758 (doc-view-document->bitmap): Rename from doc-view-document->png.
4759 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4760 (doc-view-set-slice-from-bounding-box): Fix completion table.
4761 (doc-view-mode): Use add-hook for after-revert-hook.
4762
4763 2013-01-10 Glenn Morris <rgm@gnu.org>
4764
4765 * emacs-lisp/authors.el (authors-ignored-files)
4766 (authors-valid-file-names, authors-renamed-files-alist):
4767 Add some more entries.
4768
4769 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4770
4771 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4772 `t' pseudo-window entry.
4773
4774 2013-01-10 Alan Mackenzie <acm@muc.de>
4775
4776 Fix bugs in the c-parse-state mechanism. Reuse some markers
4777 instead of continually generating new ones.
4778
4779 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4780 (c-state-old-cpp-end-marker): New variables.
4781 (c-append-lower-brace-pair-to-state-cache): Start a backward
4782 search for "}" definitively outside CPP constructs.
4783 (c-remove-stale-state-cache): Inform the caller of a need to
4784 search back for a brace pair in certain circumstances.
4785 (c-state-maybe-marker): New macro.
4786 (c-parse-state): Reuse markers when appropriate.
4787
4788 2013-01-10 Glenn Morris <rgm@gnu.org>
4789
4790 * simple.el (execute-extended-command): Doc fix.
4791 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4792
4793 2013-01-10 Chong Yidong <cyd@gnu.org>
4794
4795 * faces.el (read-face-name): Doc fix.
4796
4797 2013-01-10 Roland Winkler <winkler@gnu.org>
4798
4799 * emacs-lisp/crm.el: Allow any regexp for separators.
4800 (crm-default-separator): All spaces around the default comma separator.
4801 (crm--completion-command): New macro.
4802 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4803 (crm-complete-and-exit): Handle non-single-char separators.
4804
4805 2013-01-09 Elias Pipping <pipping@lavabit.com>
4806
4807 * doc-view.el: Add support for DjVu (bug#13164).
4808 (doc-view-djvu->png-converter-function): New config var.
4809 (doc-view-single-page-converter-function, doc-view--image-type)
4810 (doc-view--image-file-extension): New vars.
4811 (doc-view-mode): Initialize them.
4812 (doc-view-goto-page): Use them.
4813 (doc-view-mode-p): Add support for ddjvu.
4814 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4815 (doc-view-set-up-single-converter): New funs.
4816 (doc-view-pdf/ps->png): Extend for djvu.
4817 (doc-view-document->png): Rename from doc-view-pdf->png.
4818 (doc-view-convert-current-doc): Handle djvu.
4819 (doc-view-insert-image, doc-view-display)
4820 (doc-view-already-converted-p): Don't hardcode png.
4821 (doc-view-set-doc-type): Recognize djvu docs.
4822
4823 2013-01-09 Elias Pipping <pipping@lavabit.com>
4824
4825 * doc-view.el: Add support for mupdf converter (bug#13164).
4826 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4827 (doc-view-ps->png-converter-function): New config vars.
4828 (doc-view-pdf->png-converter-ghostscript)
4829 (doc-view-ps->png-converter-ghostscript)
4830 (doc-view-pdf->png-converter-mupdf): New functions.
4831 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4832
4833 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
4834
4835 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4836 first in session cache: When `tramp-own-remote-path' is in
4837 `tramp-remote-path', the remote path is only set in the session
4838 cache.
4839
4840 2013-01-09 Glenn Morris <rgm@gnu.org>
4841
4842 * emacs-lisp/trace.el (trace-function-foreground)
4843 (trace-function-background): Doc fix.
4844
4845 2013-01-09 Juri Linkov <juri@jurta.org>
4846
4847 * international/mule-cmds.el (read-char-by-name): Move let-binding
4848 of completion-ignore-case around completing-read to fix regression
4849 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4850 `string-match-p' using the nil value of `case-fold-search' and
4851 `completion-ignore-case' in `completion-pcm--all-completions'.
4852 (Bug#12615).
4853
4854 2013-01-09 Glenn Morris <rgm@gnu.org>
4855
4856 * progmodes/compile.el (compilation-parse-errors):
4857 Fix typo. (Bug#13369)
4858
4859 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4860
4861 * comint.el (comint-send-input): Check size of buffer before
4862 waiting for process output, in case already accepted. (Bug#13290)
4863
4864 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4865
4866 Spelling fixes.
4867 * net/tramp-adb.el (tramp-adb-get-toolbox):
4868 Fix misspelling of 'unknown'.
4869
4870 2013-01-08 Juri Linkov <juri@jurta.org>
4871
4872 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4873 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4874 Use underline style wave on terminals that support it. (Bug#13000)
4875
4876 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4877
4878 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4879 the predicate returns nil.
4880
4881 * simple.el: Use lexical-binding.
4882 (primitive-undo): Use pcase.
4883 (minibuffer-history-isearch-push-state): Use a closure.
4884
4885 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4886
4887 * simple.el (primitive-undo): Move from undo.c.
4888
4889 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4890
4891 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4892 (cvs-mode-remove-handled): Use it (bug#13380).
4893
4894 * emacs-lisp/nadvice.el (advice--tweak): New function.
4895 (advice--remove-function, advice--subst-main): Use it.
4896
4897 * emacs-lisp/advice.el: Update commentary.
4898
4899 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4900
4901 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4902 Remove spurious entry.
4903
4904 2013-01-08 Glenn Morris <rgm@gnu.org>
4905
4906 * net/tramp.el (tramp-default-host-alist): Add :version.
4907
4908 2013-01-08 Juri Linkov <juri@jurta.org>
4909
4910 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4911 single completion. (Bug#12456)
4912 (info--manual-names): Expand node completions into an explicit list
4913 before appending it to another list. Filter out internal buffers
4914 with the leading space in the buffer name. (Bug#10771)
4915
4916 2013-01-08 Juri Linkov <juri@jurta.org>
4917
4918 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4919 that defaults to the Top node.
4920 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4921 the short format (FILENAME) goes to the Top node.
4922 (Info-build-node-completions): Rename arg `file' to `filename'.
4923 (Bug#13365)
4924
4925 2013-01-07 Bastien Guerry <bzg@gnu.org>
4926
4927 * menu-bar.el (menu-bar-search-documentation-menu):
4928 Use `apropos-user-option' and fix the help message.
4929
4930 2013-01-07 Bastien Guerry <bzg@gnu.org>
4931
4932 * apropos.el (apropos-do-all): Update docstring.
4933 (apropos-user-option-button): New face.
4934 (apropos-user-option): Rename from `apropos-variable' and update
4935 docstring.
4936 (apropos-variable): Rewrite, now show all variables by default.
4937 (apropos-print): Mention "User option" instead of "Variable" when
4938 printing doc for user options. (Bug#13276)
4939
4940 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
4941
4942 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4943 Handle filename correctly, when parsing "source -> target" symlink
4944 output.
4945 (tramp-adb-handle-set-file-times): New defun.
4946
4947 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4948
4949 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4950 advice list when the interactive-spec of ad-Advice-* changes.
4951
4952 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4953
4954 * wid-edit.el (widget-default-get): Work for inlined elements.
4955 (Bug#12670)
4956
4957 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4958
4959 * net/tramp.el (tramp-default-host-alist): New defcustom.
4960 (tramp-find-host): Use it.
4961 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4962 `eshell-directory-change-hook'.
4963
4964 * net/tramp-adb.el (top): Add adb specific entry in
4965 `tramp-default-host-alist'.
4966 (tramp-adb-file-name-host): Remove function.
4967 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4968 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4969
4970 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4971
4972 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
4973
4974 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4975
4976 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4977
4978 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4979 consist of more than one digit.
4980 (tramp-adb-file-name-handler-alist):
4981 Use `tramp-handle-file-exists-p' consistently.
4982 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4983 (tramp-adb-handle-file-exists-p): Remove function.
4984 (tramp-adb-file-name-host): New defun.
4985 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4986 Use it.
4987 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4988
4989 2013-01-06 Chong Yidong <cyd@gnu.org>
4990
4991 * vc/vc.el (vc-next-action): Detect buffer modifications
4992 conflicting with locking VCS operation (Bug#11490).
4993
4994 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4995
4996 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4997
4998 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4999 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
5000
5001 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
5002
5003 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
5004 parsing of ls output using regular expression (handle filenames
5005 with spaces). Use virtual device number.
5006 (tramp-do-parse-file-attributes-with-ls): New defun (Code
5007 cleanup).
5008
5009 2013-01-04 Daiki Ueno <ueno@gnu.org>
5010
5011 * epg.el: Silence byte-compiler warnings.
5012 (epg--start): Use delete-char instead of delete-backward-char.
5013 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
5014
5015 2013-01-04 Daiki Ueno <ueno@gnu.org>
5016
5017 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
5018 Suggested by Eli Zaretskii <eliz@gnu.org>.
5019
5020 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
5021
5022 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
5023 non-negative integers. Otherwise, the default values are used.
5024 (tramp-convert-file-attributes): Convert uid and gid to integers.
5025
5026 2013-01-04 Glenn Morris <rgm@gnu.org>
5027
5028 * term.el (term-handle-colors-array): Ensure face attributes
5029 are fully specified, not nil. (Bug#13337)
5030
5031 * term.el (term-default-fg-color, term-default-bg-color):
5032 Fix custom type.
5033
5034 * progmodes/etags.el (tags-compression-info-list): Doc fix.
5035 (tag-find-file-of-tag-noselect): Check auto-compression-mode
5036 rather than 'jka-compr being loaded. (Bug#13338)
5037
5038 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
5039
5040 * icomplete.el (icomplete-completions):
5041 Honor icomplete-prospects-height once more following
5042 2012-11-29 changes. (Bug#13224)
5043
5044 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
5045
5046 * subr.el (internal--called-interactively-p--get-frame): Find aliases
5047 of called-interactively-p as well (bug#13237).
5048
5049 * view.el (view--enable, view--disable): Rename from view-mode-enable
5050 and view-mode-disable and assume it's called from view-mode.
5051 (view-mode-enable, view-mode-disable): Redefine as obsolete
5052 compatibility layer above view-mode.
5053 (view-mode-enter): Call `view-mode'.
5054
5055 * files.el (after-find-file): Call `view-mode'.
5056
5057 * doc-view.el (doc-view-scale-internally): New var.
5058 (doc-view-enlarge, doc-view-insert-image): Obey it.
5059
5060 2013-01-03 Daiki Ueno <ueno@gnu.org>
5061
5062 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
5063 exist. (Bug#13344)
5064
5065 2013-01-03 Glenn Morris <rgm@gnu.org>
5066
5067 * mail/rmail.el (rmail-set-header-1): Ignore case.
5068 Handle multi-line headers. (Bug#13330)
5069
5070 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
5071 Handle paragraph starting at beginning of buffer.
5072
5073 * subr.el (eval-after-load): Don't purecopy the form, so that it
5074 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
5075
5076 * emacs-lisp/byte-run.el (defun): Place cl declarations
5077 after any interactive spec. (Bug#13265)
5078
5079 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5080
5081 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
5082 defun. Don't check for DECL if DOCSTRING isn't a string.
5083 (defun): Likewise.
5084
5085 2013-01-02 Glenn Morris <rgm@gnu.org>
5086
5087 * eshell/em-cmpl.el (eshell-pcomplete):
5088 More thoroughly imitate pcomplete. (Bug#13293)
5089
5090 * files.el (parse-colon-path): Doc fix. (Bug#12351)
5091 Return nil for empty path elements. (Bug#13296)
5092
5093 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
5094
5095 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
5096 order to improve efficiency (Based on Daniel Colascione's
5097 <dancol@dancol.org> patch). (Bug#13182)
5098
5099 2013-01-02 Glenn Morris <rgm@gnu.org>
5100
5101 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
5102
5103 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5104
5105 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
5106 neither DOCSTRING nor DECL was given. (Bug#13316)
5107
5108 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
5109
5110 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
5111 `error' call.
5112 (tramp-do-copy-or-rename-file): Ignore errors when calling
5113 `set-file-extended-attributes'.
5114
5115 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5116 Add handler for `file-acl'.
5117 (tramp-smb-handle-file-acl): New defun.
5118
5119 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
5120
5121 * calc/README: Mention ISO 8601 week-numbering dates.
5122
5123 2013-01-01 Martin Rudalics <rudalics@gmx.at>
5124
5125 * view.el (view-mode-enable): New argument run-view-mode-hook.
5126 Run view-mode-hook only when it's non-nil (Bug#13315).
5127 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
5128 argument t.
5129
5130 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
5131
5132 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
5133 (No device connected, invalid device name). (Bug #13299)
5134
5135 2012-12-31 Martin Rudalics <rudalics@gmx.at>
5136
5137 * window.el (window-resizable--p): Rename to window-resizable-p.
5138 (window-resize-no-error): New function.
5139
5140 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
5141 broken in fix from 2012-12-28.
5142
5143 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
5144
5145 * subr.el (special-form-p): Don't signal errors on undef aliases.
5146
5147 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
5148
5149 * calc/calc-forms.el (math-parse-date): Try using
5150 `math-parse-iso-date' when it looks like it might be needed.
5151 Allow times of 24:00.
5152 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
5153 of 24:00.
5154
5155 2012-12-30 Glenn Morris <rgm@gnu.org>
5156
5157 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
5158 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
5159 (rmail-summary-displayed, rmail-summary): Declare.
5160 (mairix-rmail-display): Just require rmail.
5161
5162 2012-12-30 Chong Yidong <cyd@gnu.org>
5163
5164 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
5165 check for the tarball contents.
5166
5167 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
5168
5169 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
5170 tarfile content listings (Bug#13136).
5171
5172 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
5173
5174 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5175 Insert the undecoded text of the message being forwarded. (Bug#9521)
5176
5177 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
5178
5179 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
5180 integers, if they are real numbers. (Bug#13282)
5181
5182 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
5183 Return `t' on success.
5184
5185 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5186 Add handler for `set-file-selinux-context'.
5187
5188 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
5189
5190 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
5191 (tramp-sh-handle-set-file-acl): Return `t' on success.
5192
5193 2012-12-29 Eli Zaretskii <eliz@gnu.org>
5194
5195 * files.el (backup-buffer-copy, basic-save-buffer-2):
5196 If set-file-extended-attributes fails, fall back on set-file-modes
5197 instead of signaling an error. (Bug#13298)
5198 (basic-save-buffer): Likewise.
5199
5200 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5201
5202 * progmodes/python.el: Support other commands triggering
5203 python-indent-line so indentation cycling continues to work.
5204 (python-indent-trigger-commands): New defcustom.
5205 (python-indent-line): Use it.
5206
5207 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5208
5209 * progmodes/python.el (python-shell-send-region): Add blank lines
5210 for non sent code so backtraces remain correct.
5211
5212 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5213
5214 * progmodes/python.el: Remove cl dependency.
5215 (python-syntax-count-quotes): Replace incf call.
5216 (python-fill-string): Replace setf call.
5217
5218 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
5219
5220 * info.el (info-other-window): New arg, for consistency with info.
5221
5222 2012-12-28 Martin Rudalics <rudalics@gmx.at>
5223
5224 * mail/rmail.el (rmail-maybe-display-summary):
5225 Rewrite (Bug#13066).
5226
5227 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
5228
5229 * epg.el (epg--start): Modify process-environment locally.
5230
5231 2012-12-28 Daiki Ueno <ueno@gnu.org>
5232
5233 * epg.el: Support pinentry-curses.
5234 Suggested by Werner Koch in
5235 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
5236 (epg-agent-file, epg-agent-mtime): New variable.
5237 (epg--start): Record the modified time of gpg-agent socket file,
5238 to restore Emacs frame after pinentry-curses termination.
5239 (epg-wait-for-completion): Restore Emacs frame here.
5240
5241 2012-12-27 Juri Linkov <juri@jurta.org>
5242
5243 * info.el (Info-file-completions): New variable.
5244 (Info-read-node-name-1): Complete node names in the Info file
5245 when a file name is given. Call `Info-build-node-completions'
5246 with a file name.
5247 (Info-build-node-completions): Add new arg `file'. When it is
5248 non-nil, visit it in a temporary buffer and cache its completions in
5249 `Info-current-file-completions'. Move most of the function body to
5250 `Info-build-node-completions-1'.
5251 (Info-build-node-completions-1): New function with the body from
5252 `Info-build-node-completions'. (Bug#12456)
5253
5254 2012-12-27 Juri Linkov <juri@jurta.org>
5255
5256 * frame.el (frame-maximization-style): Remove user option.
5257 (cycle-frame-maximized): Remove function.
5258 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
5259 (toggle-frame-fullscreen): New command bound to <f11> instead of
5260 `toggle-frame-maximized'.
5261 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
5262
5263 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
5264
5265 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5266
5267 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5268 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5269 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5270 for `file-accessible-directory-p'. (Bug#13275)
5271
5272 2012-12-27 Sam Steingold <sds@gnu.org>
5273
5274 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5275 continuations, see <http://stackoverflow.com/questions/3582436>.
5276
5277 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
5278
5279 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5280 "module" and "def" to have indentation before them.
5281 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5282
5283 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5284
5285 2012-12-27 Alan Mackenzie <acm@muc.de>
5286
5287 Speed up fontification where there's large brace blocks.
5288 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5289 to a call of c-beginning-of-decl-1.
5290
5291 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5292
5293 * comint.el (comint-adjust-window-point): New function.
5294 (comint-postoutput-scroll-to-bottom):
5295 Call comint-adjust-window-point (Bug#13248).
5296
5297 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
5298
5299 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5300 Rakefile regexp.
5301 (auto-mode-alist): Associate .gemspec files with ruby-mode
5302 (https://bugs.ruby-lang.org/issues/5453).
5303
5304 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
5305
5306 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5307 Suppress coloring, if possible (required for BusyBox based systems like
5308 CyanogenMod).
5309 (tramp-adb-handle-file-attributes)
5310 (tramp-adb-handle-insert-directory)
5311 (tramp-adb-handle-file-name-all-completions): Use it.
5312 (tramp-adb-get-toolbox): New defun. Check for remote shell
5313 implementation (BusyBox or Toolbox).
5314
5315 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5316
5317 * startup.el (initial-buffer-choice): Allow function as value
5318 (Bug#13251).
5319 (command-line-1): Handle case where initial-buffer-choice
5320 specifies a function.
5321 * server.el (server-execute): Handle case where
5322 initial-buffer-choice specifies a function.
5323
5324 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5325
5326 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5327 its own function.
5328 (smtpmail-try-auth-methods): Forget the user name/password if the
5329 login is unsuccessful (bug#12424).
5330
5331 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5332
5333 * notifications.el (notifications-notify): Protect body with
5334 `with-demoted-errors'.
5335
5336 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5337 Check properties of remote device. Restart connection, if there is a
5338 change.
5339
5340 2012-12-21 Chong Yidong <cyd@gnu.org>
5341
5342 * sort.el (sort-subr): Doc fix (Bug#13056).
5343
5344 2012-12-21 Bastien Guerry <bzg@gnu.org>
5345
5346 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5347
5348 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5349
5350 * simple.el (process-file): Overwrite stderr file, if exists.
5351
5352 2012-12-21 Daiki Ueno <ueno@gnu.org>
5353
5354 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5355 (epg-error): Set `error-message' property.
5356
5357 2012-12-21 Chong Yidong <cyd@gnu.org>
5358
5359 * international/mule-cmds.el (read-char-by-name): Signal an error
5360 if the user does not supply a valid character (Bug#13177).
5361
5362 * simple.el (transpose-subr-1): Preserve marker positions by
5363 changing the insertion sequence (Bug#13122).
5364
5365 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5366
5367 * simple.el (kill-region): Deactivate mark even for empty regions
5368 (Bug#13169).
5369
5370 2012-12-21 Chong Yidong <cyd@gnu.org>
5371
5372 * help-fns.el (describe-variable): Make sure we get the right
5373 buffer name (Bug#13105). Suggested by Kelly Dean.
5374
5375 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5376
5377 * comint.el (comint-redirect-previous-input-string): New variable.
5378 (comint-redirect-setup, comint-redirect-cleanup)
5379 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5380 (comint-redirect-preoutput-filter): Fix verbose message.
5381
5382 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5383
5384 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5385 is too long for Tramp. See discussion in
5386 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5387
5388 * progmodes/compile.el (compilation-start): Remove line escape
5389 template.
5390
5391 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5392
5393 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5394 Adjust comment.
5395
5396 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5397
5398 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5399 following non-comment text (bug#13207).
5400 (lm-header-multiline): Continuation lines need to be indented more than
5401 the first line.
5402 (lm-homepage): New function.
5403 (lm-with-file): Don't be confused if narrowing is in effect.
5404
5405 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5406
5407 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5408 very beginning of a hunk (e.g. killing the first line).
5409
5410 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5411
5412 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5413 and text properties from returned ACL string.
5414 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5415 for "setfacl" command.
5416
5417 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5418
5419 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5420 `tramp-cleanup-this-connection', when the process has died.
5421 (Bug#13151)
5422
5423 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5424
5425 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5426
5427 2012-12-17 Kevin Ryde <user42@zip.com.au>
5428
5429 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5430
5431 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5432
5433 Add support for preserving ACL entries of files.
5434
5435 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5436 `set-file-acl' handlers.
5437
5438 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5439 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5440
5441 * net/tramp-compat.el (tramp-compat-copy-file):
5442 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5443
5444 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5445 Add `file-acl' and `set-file-acl' handlers.
5446 (tramp-gvfs-handle-copy-file):
5447 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5448 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5449 New defuns.
5450
5451 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5452 Add `file-acl' and `set-file-acl' handlers.
5453 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5454 (tramp-sh-handle-set-file-acl): New defuns.
5455 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5456 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5457
5458 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5459 Add `file-acl' and `set-file-acl' handlers.
5460 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5461
5462 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5463
5464 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5465 use pop-to-buffer with NORECORD argument t. As buffer name, use
5466 *Metahelp* with a leading space (Bug#13190).
5467
5468 2012-12-16 Romain Francoise <romain@orebokech.com>
5469
5470 * files.el (file-extended-attributes)
5471 (set-file-extended-attributes): New functions.
5472 (backup-buffer): Use them to handle both SELinux context and ACL
5473 entries.
5474 (backup-buffer-copy): Work with an alist of extended attributes,
5475 rather than an SELinux context.
5476 (basic-save-buffer-2): Ditto.
5477
5478 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5479
5480 * battery.el (battery-bsd-apm): New function.
5481
5482 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5483
5484 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5485 standard date formats.
5486
5487 2012-12-15 Juri Linkov <juri@jurta.org>
5488
5489 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5490 `isearch-insert-char-by-name'.
5491 (with-isearch-suspended): New defmacro with body mostly from
5492 `isearch-edit-string' except the part that sets
5493 `isearch-new-string' and `isearch-new-message'.
5494 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5495 body that sets `isearch-new-string' and `isearch-new-message'.
5496 (isearch-insert-char-by-name): New command.
5497 * international/mule-cmds.el (read-char-by-name): Let-bind
5498 `enable-recursive-minibuffers' to t.
5499 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5500
5501 2012-12-15 Juri Linkov <juri@jurta.org>
5502
5503 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5504 (Bug#13175)
5505
5506 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5507
5508 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5509 the prompt. (Bug#13045)
5510
5511 2012-12-14 Glenn Morris <rgm@gnu.org>
5512
5513 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5514 Try to include filename in non-bytecomp warning. (Bug#13132)
5515
5516 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5517
5518 Fix permissions bugs with setgid directories etc. (Bug#13125)
5519 * files.el (backup-buffer): Don't rely on 9th output of
5520 file-attributes, as it's now a placeholder. Instead, use the new
5521 optional arg of file-ownership-preserved-p.
5522 (file-ownership-preserved-p): New optional arg GROUP.
5523 Fix mishandling of setuid directories that would cause this
5524 function to return t when it should have returned nil.
5525 Document what happens if the file does not exist, and when
5526 it's not known whether the ownership will be preserved.
5527 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5528 Likewise.
5529 (tramp-get-local-gid): Use group-gid for integer, as that's
5530 faster and more reliable.
5531
5532 2012-12-14 Julien Danjou <julien@danjou.info>
5533
5534 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5535 Update keywords list, data type and PL/pgSQL.
5536
5537 2012-12-14 Dave Abrahams <dave@boostpro.com>
5538
5539 * vc/ediff-util.el (ediff-buffer-type): New function.
5540 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5541 rather than taking it as as argument.
5542 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5543
5544 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5545
5546 * json.el: Add pretty-print option (bug#12634).
5547 (json-encoding-separator, json-encoding-default-indentation)
5548 (json--encoding-current-indentation, json-encoding-pretty-print)
5549 (json-encoding-lisp-style-closings): New vars.
5550 (json--with-indentation): New macro.
5551 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5552 (json-encode-array): Use it to obey json-encoding-pretty-print.
5553 (json-pretty-print-buffer, json-pretty-print): New commands.
5554
5555 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5556
5557 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5558 Extract `ruby-syntax-propertize-expansions'.
5559 (ruby-syntax-propertize-expansions): Only change syntax on
5560 certain string delimiters, to punctuation. This way the common
5561 functions like forward-word and thing-at-point still work.
5562 (ruby-match-expression-expansion): Improve readability.
5563 (ruby-block-contains-point): New function.
5564 (ruby-add-log-current-method): Handle several edge cases.
5565
5566 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5567
5568 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5569 unload-feature finishes even when aborting an ongoing edebug session.
5570 Also, do not worry about edebug-mode, unload-feature takes care of it.
5571
5572 2012-12-13 Andreas Schwab <schwab@suse.de>
5573
5574 * net/tls.el (tls-program): Update customize type.
5575
5576 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5577
5578 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5579 (edebug-setup-hook, cl-read-load-hooks): Use it.
5580 (edebug-unload-function): New function. (Bug#13163)
5581
5582 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5583
5584 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5585 Otherwise, there could be errors in autoloading. (Bug#13151)
5586
5587 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
5588
5589 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5590 sequences.
5591
5592 2012-12-13 Alan Mackenzie <acm@muc.de>
5593
5594 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5595 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5596 around `forward-comment' not recognizing ^M as whitespace.
5597
5598 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
5599
5600 * progmodes/python.el (python-skeleton-class)
5601 (python-skeleton-def): Do not add space after defun name.
5602
5603 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5604
5605 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5606 (cl--symbol-function): Remove (now that funbound is like nil).
5607
5608 2012-12-12 Glenn Morris <rgm@gnu.org>
5609
5610 * button.el (button--area-button-p): Fix typo.
5611
5612 2012-12-12 Sam Steingold <sds@gnu.org>
5613
5614 * frame.el (frame-maximization-style): New user option.
5615 (toggle-frame-maximized): Toggle frame maximization according to
5616 `frame-maximization-style', bound to <f11>.
5617 (cycle-frame-maximized): Cycle between all maximization styles and
5618 non-maximized frame, bound to shift-<f11>.
5619
5620 2012-12-12 David Cadé <codename68@gmail.com>
5621
5622 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5623
5624 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5625
5626 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5627 (eieio-override-prin1): Don't quote kewords and booleans.
5628 (object-write) <eieio-default-superclass>: Don't put closing parens
5629 on new line, avoid needless empty lines, align values that are objects
5630 with the slot keyword (instead of beginning on the same line).
5631 (eieio-list-prin1): Align value with slot keyword; increase
5632 eieio-print-depth before printing members of the list.
5633
5634 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5635
5636 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5637 a display text-property.
5638 (report-emacs-bug-hook): Don't bother deleting it any more.
5639
5640 * hilit-chg.el (highlight-save-buffer-state): Delete.
5641 Use with-silent-modifications instead.
5642 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5643
5644 * button.el: Handle buttons in display text-properties.
5645 (button--area-button-p, button--area-button-string):
5646 Use (STRING . STRING-POS) representation instead of just STRING.
5647
5648 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5649
5650 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5651 subdirectory be skipped.
5652
5653 2012-12-11 Glenn Morris <rgm@gnu.org>
5654
5655 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5656
5657 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5658 Treat preprocessor lines embedded in continuations like comments.
5659 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5660
5661 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5662
5663 * calc/calc.el (calc-standard-date-formats): Add more date
5664 formats.
5665 * calc/calc-forms.el (math-parse-iso-date): New function.
5666 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5667 (math-parse-iso-date-validate): Add extra error checking.
5668 (calc-date-notation): Add ability to access new date formats.
5669
5670 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5671
5672 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5673 font-lock as well as when there's no text-property.
5674
5675 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5676
5677 * hi-lock.el: Refine the choice of default face.
5678 (hi-lock-keyword->face): New function. Use it wherever we used
5679 cadadadr instead.
5680 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5681 (hi-lock--last-face): Remove var.
5682 (hi-lock--unused-faces): New var to replace it.
5683 (hi-lock-read-face-name): Use/maintain it.
5684 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5685 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5686 if it has another face.
5687
5688 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5689
5690 * subr.el (w32notify-handle-event): New function.
5691 (inotify-handle-event): Doc fix.
5692
5693 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5694
5695 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5696
5697 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5698
5699 * simple.el (just-one-space): Doc fix.
5700
5701 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5702
5703 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5704
5705 2012-12-10 Le Wang <l26wang@gmail.com>
5706
5707 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5708 narrowed buffer (bug#12361).
5709
5710 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5711
5712 * vc/vc-hooks.el (vc-state): Doc fix.
5713
5714 2012-12-10 Glenn Morris <rgm@gnu.org>
5715
5716 * mail/rmail.el (rmail-maybe-display-summary):
5717 Preserve buffer, in case select-window changes it. (Bug#13066)
5718
5719 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5720
5721 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5722 cl-load-hook where they belong.
5723
5724 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5725
5726 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5727
5728 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5729
5730 Parallelize byte compilation on MS-Windows.
5731 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5732 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5733 (WINS_BASIC): Define as concatenation of the above.
5734 (compile): Subdivide into 4 separate and independent jobs that can
5735 be run in parallel.
5736 (compile0-CMD, compile0-SH): New targets for compiling
5737 COMPILE_FIRST files, which are prerequisites for the rest of the
5738 byte-compilation.
5739 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5740 New targets for parallel compilation with cmd.exe.
5741 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5742 compiling under a Unixy shell.
5743
5744 2012-12-09 Chong Yidong <cyd@gnu.org>
5745
5746 * simple.el (set-mark-default-inactive): Delete this
5747 accidentally-introduced option.
5748 (set-mark-command, exchange-point-and-mark): Remove calls.
5749
5750 2012-12-09 Glenn Morris <rgm@gnu.org>
5751
5752 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5753 Respect a defcustom's :set function, if appropriate. (Bug#109)
5754 (eval-defun): Doc fix.
5755
5756 2012-12-08 Juri Linkov <juri@jurta.org>
5757
5758 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5759 (Info-fontify-node, Info-bookmark-make-record): Remove the
5760 file extension from Info-current-file (Bug#13016).
5761
5762 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5763
5764 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5765 point, still provide some default.
5766 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5767 names, since we don't use it right now. Actually return the list.
5768 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5769
5770 2012-12-07 Chong Yidong <cyd@gnu.org>
5771
5772 * novice.el (disabled-command-function): Remove a spurious help
5773 xref (Bug#13043). Suggested by Kelly Dean.
5774
5775 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5776 syntax is specified (Bug#13025).
5777
5778 * info.el (Info-set-mode-line): Remove the file extension from
5779 Info-current-file if there is one (Bug#13016).
5780
5781 2012-12-07 Glenn Morris <rgm@gnu.org>
5782
5783 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5784 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5785 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5786 and rmail-mime-decoded. (Bug#9841)
5787
5788 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5789 (batch-unrmail, unrmail): Doc fixes.
5790 (unrmail): Respect unrmail-mbox-format.
5791 * mail/rmail.el (rmail-mbox-format): New option.
5792 (rmail-show-message-1): Respect rmail-mbox-format.
5793
5794 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5795
5796 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5797
5798 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5799
5800 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5801 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5802 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5803 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5804 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5805 (cl-progv): Don't rely on dynamic scoping to find the body.
5806 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5807 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5808 (cl-declaim): Use backquotes.
5809 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5810 Use "cl--" prefix for the object's tag.
5811
5812 * ses.el: Use advice-add/remove.
5813 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5814 (copy-region-as-kill, yank): Use advice-add.
5815 (ses-unload-function): Use advice-remove.
5816
5817 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5818
5819 * button.el: Make them work in header-lines (bug#12817).
5820 (button-map): Add bindings for header-line and mode-line use.
5821 (button-get, button-put, button-label): `button' may now be a string.
5822 (button-activate): Don't make it a defsubst.
5823 (button--area-button-p, button--area-button-string): New functions.
5824 (make-text-button): Fix the return value when `beg' was a string.
5825 (push-button): Handle the mode-line case.
5826
5827 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5828
5829 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5830 (sql-signum): Remove. Use `cl-signum' instead.
5831 (sql-read-passwd): Remove; use read-passwd instread.
5832 (sql-get-login-ext): Use read-string.
5833 (sql-get-login): Use dolist and pcase.
5834 (sql--completion-table): Rename from sql-try-completion.
5835 Use complete-with-action.
5836 (sql-mode): Don't change abbrev-all-caps globally.
5837 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5838 (sql-postgres-completion-object): Initialize vars in their `let'.
5839 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5840 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5841 (sql-comint-interbase): Use a single append, without setq.
5842 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5843
5844 * hi-lock.el: Rework the default face and the serialize regexp code.
5845 (hi-lock--auto-select-face-defaults): Remove.
5846 (hi-lock-string-serialize-serial): Remove.
5847 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5848 make weak.
5849 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5850 equal string.
5851 (hi-lock-set-pattern): Adjust accordingly.
5852 (hi-lock--regexps-at-point): Simplify accordingly.
5853 (hi-lock--auto-select-face-defaults): Remove.
5854 (hi-lock--last-face): New var to replace it.
5855 (hi-lock-read-face-name): Rewrite (bug#11095).
5856 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5857
5858 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5859
5860 * net/tramp.el (tramp-replace-environment-variables):
5861 Hide compiler warning.
5862 (tramp-file-name-for-operation): Remove `executable-find',
5863 `start-process', `call-process' and `call-process-region'.
5864
5865 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5866
5867 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5868 compatibility.
5869
5870 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5871
5872 2012-12-06 Chong Yidong <cyd@gnu.org>
5873
5874 * ffap.el (ffap-replace-file-component): Fix typo.
5875
5876 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5877
5878 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5879 fix open-paren-like token test (bug#12785).
5880
5881 2012-12-06 Glenn Morris <rgm@gnu.org>
5882
5883 * mail/rmailsum.el (rmail-new-summary): Tweak for
5884 rmail-maybe-display-summary changing buffer. (Bug#13066)
5885
5886 2012-12-06 Juri Linkov <juri@jurta.org>
5887
5888 * info.el (Info-fontify-node): Don't hide the last newline.
5889 (Bug#12272)
5890
5891 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5892
5893 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5894 so as to enable message-read-from-minibuffer to expand mail aliases.
5895
5896 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5897
5898 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5899 the `intangible' property.
5900 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5901
5902 2012-12-05 Deniz Dogan <deniz@dogan.se>
5903
5904 * net/rcirc.el (rcirc-urls): Update documentation.
5905 (rcirc-condition-filter): New function.
5906 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5907 and exclude consecutive duplicate URLs (Bug#6082).
5908
5909 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5910
5911 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5912 Check return code of copy command.
5913
5914 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5915 Use group `tramp'. Add version.
5916
5917 2012-12-05 Chong Yidong <cyd@gnu.org>
5918
5919 * ffap.el (ffap-url-regexp): Don't require matching at front of
5920 string (Bug#4952).
5921 (ffap-url-p): If only a substring matches, return that.
5922 (ffap-url-at-point): Use the return value of ffap-url-p.
5923 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5924 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5925 (ffap-guess-file-name-at-point): Likewise.
5926 (ffap-replace-file-component): Fix typo.
5927
5928 * info.el (info-display-manual): Add existing Info buffers, whose
5929 files may not be in Info-directory-list, to the completion.
5930 (info--manual-names): New helper function.
5931
5932 2012-12-05 Glenn Morris <rgm@gnu.org>
5933
5934 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5935 New functions, for detecting and resolving conflicts. (Bug#10709)
5936
5937 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5938
5939 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5940 (hi-lock-auto-select-face-defaults): New buffer local variable.
5941 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5942 (hi-lock-unface-buffer): Prompt user with useful defaults.
5943 With prefix arg, unhighlight all hi-lock patterns in buffer.
5944
5945 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5946
5947 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5948
5949 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5950
5951 * Makefile.in (TRAMP_SRC):
5952 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5953
5954 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5955
5956 * net/tramp-adb.el: New package.
5957
5958 2012-12-04 Chong Yidong <cyd@gnu.org>
5959
5960 * terminal.el: Move to obsolete/.
5961
5962 * longlines.el: Move to obsolete/.
5963
5964 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5965 Remove code referring to longlines mode.
5966
5967 2012-12-03 Juri Linkov <juri@jurta.org>
5968
5969 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5970
5971 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5972
5973 * textmodes/ispell.el (ispell-init-process)
5974 (ispell-start-process, ispell-internal-change-dictionary):
5975 Make sure personal dictionary name is expanded after initial
5976 `default-directory' value. Use expanded strings for
5977 keep/restart checks and for value (Bug#13019).
5978
5979 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5980
5981 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5982
5983 2012-12-03 Leo Liu <sdl.web@gmail.com>
5984
5985 * files.el (dir-locals-read-from-file): Check file non-empty
5986 before reading. (Bug#13038)
5987
5988 2012-12-03 Glenn Morris <rgm@gnu.org>
5989
5990 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5991 Remove any version extension before checking filename. (Bug#13006)
5992 (jka-compr-compression-info-list): Belated :version bump.
5993
5994 2012-12-03 Chong Yidong <cyd@gnu.org>
5995
5996 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5997
5998 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5999 (buffer-menu): Doc fix (Bug#12294).
6000
6001 2012-12-03 Roland Winkler <winkler@gnu.org>
6002
6003 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
6004 of diary-show-all-entries in the diary buffer (Bug#12994).
6005
6006 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
6007
6008 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
6009 "<STDIN>". This is binary safe.
6010
6011 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6012
6013 * calc/calc-forms.el (math-absolute-from-iso-dt)
6014 (math-date-to-iso-dt, math-parse-iso-date-validate)
6015 (math-iso-dt-to-date): New functions.
6016 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
6017 (math-fd-isoweekday): New variables.
6018 (calc-date-notation, math-parse-standard-date, math-format-date)
6019 (math-format-date-part): Add support for more formatting codes.
6020
6021 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
6022
6023 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
6024 current buffer's file name when called interactively (Bug#12488).
6025
6026 2012-12-02 Juri Linkov <juri@jurta.org>
6027
6028 * info.el (info-display-manual): Don't clobber an existing Info
6029 buffer (Bug#10770). Add completion (Bug#10771).
6030
6031 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
6032
6033 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
6034 before using it for comparison (Bug#5297).
6035
6036 2012-12-01 Jari Aalto <jari.aalto@cante.net>
6037
6038 * textmodes/css-mode.el (css-current-defun-name): New function.
6039 (css-mode): Use it.
6040
6041 * textmodes/sgml-mode.el (html-current-defun-name): New function.
6042 (html-mode): Use it.
6043
6044 2012-12-01 Chong Yidong <cyd@gnu.org>
6045
6046 Modularize add-log-current-defun (Bug#2224).
6047 Suggested by Jari Aalto.
6048
6049 * vc/add-log.el (add-log-current-defun-function): Doc fix.
6050 (add-log-current-defun): Move mode-specific code to other files.
6051 (add-log-lisp-like-modes, add-log-c-like-modes)
6052 (add-log-tex-like-modes): Variables deleted.
6053
6054 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
6055 (lisp-mode-variables): Use it.
6056
6057 * progmodes/cc-mode.el (c-common-init):
6058 * progmodes/cperl-mode.el (cperl-mode): Set a value for
6059 add-log-current-defun-function.
6060
6061 * progmodes/m4-mode.el (m4-current-defun-name): New function.
6062 (m4-mode): Use it.
6063
6064 * progmodes/perl-mode.el (perl-current-defun-name): New.
6065 (perl-mode): Use it.
6066
6067 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
6068 Use lisp-current-defun-name.
6069
6070 * textmodes/tex-mode.el (tex-current-defun-name): New.
6071 (tex-common-initialization): Use it.
6072
6073 * textmodes/texinfo.el (texinfo-current-defun-name): New.
6074 (texinfo-mode): Use it.
6075
6076 2012-12-01 Chong Yidong <cyd@gnu.org>
6077
6078 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
6079 * progmodes/autoconf.el (autoconf-mode):
6080 * progmodes/js.el (js-mode):
6081 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
6082 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
6083 * progmodes/perl-mode.el (perl-mode):
6084 * progmodes/sh-script.el (sh-mode, sh-set-shell):
6085 * textmodes/css-mode.el (css-mode):
6086 * textmodes/sgml-mode.el (html-mode, sgml-mode)
6087 (sgml-tags-invisible, sgml-guess-indent):
6088 * textmodes/tex-mode.el (tex-common-initialization)
6089 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
6090 (doctex-mode, plain-tex-mode, latex-mode):
6091 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
6092
6093 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
6094
6095 * vc/vc-hg.el (vc-hg-next-revision):
6096 Ensure use of default "tip" output format. (Bug#6968)
6097
6098 2012-12-01 Kim F. Storm <storm@cua.dk>
6099
6100 * startup.el (fancy-startup-tail): Add a clickable link
6101 (Bug#2176).
6102
6103 2012-12-01 Chong Yidong <cyd@gnu.org>
6104
6105 * startup.el (fancy-startup-tail): Improve the message about
6106 auto-save files (Bug#2176).
6107
6108 * files.el (recover-session): Improve the descriptive message, and
6109 use substitute-command-keys.
6110
6111 2012-12-01 Glenn Morris <rgm@gnu.org>
6112
6113 * ido.el (ido-file-internal):
6114 Handle other-window, other-frame for dired. (Bug#13036)
6115
6116 2012-11-30 Glenn Morris <rgm@gnu.org>
6117
6118 * icomplete.el (icomplete-separator): Fix :version.
6119
6120 2012-11-30 Chong Yidong <cyd@gnu.org>
6121
6122 * shell.el (shell): For C-u M-x shell, use an inactive shell
6123 buffer as the default (Bug#1975).
6124 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
6125 (shell-mode): Use them to reapply ansi colorization if Shell mode
6126 is re-enabled.
6127
6128 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
6129
6130 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
6131
6132 2012-11-30 Samuel Bronson <naesten@gmail.com>
6133
6134 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
6135 flag to xargs, for compatibility with BSD xargs (Bug#11703).
6136
6137 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6138
6139 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
6140 by move-to-column (Bug#3234).
6141
6142 2012-11-30 Chong Yidong <cyd@gnu.org>
6143
6144 * longlines.el (longlines-wrap-line, longlines-encode-region):
6145 Preserve text properties (Bug#1425).
6146
6147 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6148
6149 * vc/vc.el (vc-register): Allow registering a file which is
6150 already registered with a different backend (Bug#10589).
6151
6152 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
6153 Stefan Monnier <monnier@iro.umontreal.ca>
6154
6155 * icomplete.el: Change separator; add ido-style commands.
6156 (icomplete-show-key-bindings): Remove custom var.
6157 (icomplete-get-keys): Remove function.
6158 (icomplete-forward-completions, icomplete-backward-completions):
6159 New commands.
6160 (icomplete-minibuffer-map): New var.
6161 (icomplete-minibuffer-setup): Use it.
6162 (icomplete-exhibit): Don't delay if the list of completions is known.
6163 (icomplete-separator): New custom.
6164 (icomplete-completions): Use it.
6165 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
6166 (minibuffer-force-complete-and-exit): New command.
6167 (minibuffer--complete-and-exit): New function extracted from
6168 minibuffer-complete-and-exit.
6169 (minibuffer-complete-and-exit): Use it.
6170
6171 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
6172 error message when the file doesn't exist (bug#12974).
6173
6174 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6175
6176 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
6177
6178 2012-11-29 Glenn Morris <rgm@gnu.org>
6179
6180 * files.el (hack-dir-local-variables): Warn if try to set
6181 coding via dir-locals, since it doesn't work. (Bug#7169)
6182
6183 Add desktop support for restoring vc-dir buffers. (Bug#10606)
6184 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
6185 Set buffer-local value of desktop-save-buffer.
6186 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
6187 New functions.
6188 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
6189 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
6190
6191 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
6192 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
6193 Doc fix.
6194 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
6195 Doc fixes.
6196
6197 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
6198
6199 * calc/calc-forms.el (calc-date-notation): Fix regexp
6200 used to find time codes. Fix symbol for seconds.
6201
6202 2012-11-27 Glenn Morris <rgm@gnu.org>
6203
6204 * emacs-lisp/derived.el (derived-mode-make-docstring):
6205 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
6206
6207 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6208
6209 * textmodes/table.el (table-insert): Don't use `symbol-name' on
6210 lexically scoped variables (bug#13005).
6211
6212 2012-11-27 Glenn Morris <rgm@gnu.org>
6213
6214 * vc/vc-hooks.el (vc-mistrust-permissions):
6215 Default to t, to avoid data-loss. (Bug#11490)
6216
6217 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
6218
6219 * progmodes/python.el (python-indent-guess-indent-offset):
6220 If indentation is guessed make python-indent-offset buffer-local.
6221
6222 Fix Imenu regression.
6223 * progmodes/python.el (python-nav-beginning-of-defun):
6224 Fix forward movement when statement(s) separates point from defun.
6225 (python-imenu-prev-index-position): New function.
6226
6227 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6228
6229 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
6230
6231 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6232 Don't set buffer-file-type. Return nil. (Bug#12989)
6233
6234 2012-11-27 Glenn Morris <rgm@gnu.org>
6235
6236 * hippie-exp.el (hippie-expand-try-functions-list):
6237 Re-autoload it. (Bug#12982)
6238
6239 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6240
6241 * descr-text.el (describe-char-padded-string):
6242 Call internal-char-font only on GUI frames. (Bug#11964)
6243
6244 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
6245
6246 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
6247 and obsoletion message.
6248
6249 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6250
6251 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
6252 the constructs to keep outside of the `cl-block' (bug#12977).
6253
6254 2012-11-27 Chong Yidong <cyd@gnu.org>
6255
6256 * mouse.el (mouse-drag-line): Even if the line is not draggable,
6257 keep reading until we get the up-event anyway, in order to process
6258 the up-event for mouse-1-click-follows-link (Bug#12971).
6259
6260 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
6261
6262 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
6263 base function is not yet defined (bug#12965).
6264 (ad-activate-advised-definition): Use ad-compile-function.
6265 (ad-activate): Use cond.
6266
6267 2012-11-25 Leo Liu <sdl.web@gmail.com>
6268
6269 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6270 (Bug#12979)
6271
6272 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6273
6274 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6275 reftex-section-info-function in order to be compatible with
6276 Texinfo integration.
6277
6278 * textmodes/reftex.el (reftex-section-pre-regexp)
6279 (reftex-section-post-regexp, reftex-section-info-function):
6280 New variable.
6281 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6282 reftex-section-post-regexp, and reftex-section-info-function in order
6283 to be compatible with Texinfo integration.
6284
6285 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6286 use reftex-section-pre-regexp variable in order to be compatible with
6287 Texinfo integration.
6288
6289 2012-11-25 Chong Yidong <cyd@gnu.org>
6290
6291 * faces.el: Make face-spec-set more analogous to setq.
6292 (face-spec-set): Change the third arg to specify whether this
6293 function is being called via defface, customize, or a third party.
6294 Set the appropriate symbol properties. Clear the override spec if
6295 setting via Custom. Initialize face if necessary. (Bug#4988)
6296 (face-spec-recalc): Allow theme faces to completely replace the
6297 defface spec, in the same way as custom faces (Bug#8454).
6298
6299 * cus-face.el (custom-declare-face): Move face initialization to
6300 face-spec-set.
6301 (custom-theme-set-faces): Don't initialize the face name here, as
6302 that is now done in face-spec-set.
6303
6304 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6305 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6306 Simplify by using the new arg to face-spec-set.
6307
6308 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6309 reset face-override-spec too, and use custom-declare-face.
6310
6311 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6312
6313 * term/ns-win.el (ns-initialize-window-system): Move creation of
6314 fontsets here (Bug#11964).
6315
6316 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6317
6318 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6319 cell renaming.
6320
6321 2012-11-24 Chong Yidong <cyd@gnu.org>
6322
6323 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6324 obsolete.
6325
6326 * custom.el (custom-theme-set-variables): Use a topological sort
6327 for ordering by custom dependencies (Bug#12952).
6328 (custom--sort-vars, custom--sort-vars-1): New functions.
6329
6330 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6331
6332 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6333 lexical-binding (bug#12938).
6334
6335 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6336
6337 * image-mode.el (image-transform-check-size): Use assertions only
6338 for images of type imagemagick.
6339
6340 Otherwise no error, image-transform-fit-to-{width,height} is
6341 silently ignored, as before. Doc fix.
6342
6343 2012-11-24 Chong Yidong <cyd@gnu.org>
6344
6345 * faces.el (color-defined-p): Doc fix (Bug#12853).
6346
6347 2012-11-24 Juri Linkov <juri@jurta.org>
6348
6349 * dired.el (dired-mark): Add optional arg `interactive'.
6350 Check for `use-region-p' if `interactive' is non-nil.
6351 (dired-unmark, dired-flag-file-deletion): Add optional arg
6352 `interactive'. Call `dired-mark' with the arg `interactive'.
6353 (Bug#10624)
6354
6355 * wdired.el: Revert 2012-10-17 change partly and replace it with
6356 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6357 (wdired-finish-edit): Add marks for new file names to
6358 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6359 after `revert-buffer'.
6360 (wdired-do-renames): Remove calls to `dired-remove-file',
6361 `dired-add-file', `dired-add-entry'. (Bug#11795)
6362
6363 2012-11-24 Alan Mackenzie <acm@muc.de>
6364
6365 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6366
6367 Fix bugs in the state cache. Enhance a debugging mechanism.
6368 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6369 "brace at column zero" strategy for C++.
6370 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6371 (c-parse-state-point): New variable.
6372 (c-record-parse-state-state): Record old parse state with
6373 `copy-tree'. Record previous value of point.
6374 (c-debug-parse-state-double-cons): New debugging function.
6375 (c-debug-parse-state): Call the above new function.
6376 (c-toggle-parse-state-debug): Output a confirmatory message.
6377
6378 * progmodes/cc-mode.el (c-before-change, c-after-change):
6379 Call c-invalidate-state-cache from `c-before-change' instead of
6380 `c-after-change'.
6381
6382 2012-11-23 Chong Yidong <cyd@gnu.org>
6383
6384 * find-cmd.el (find-constituents): Add executable, ipath,
6385 readable, samefile, writable, daystart, regextype (Bug#12856).
6386
6387 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6388
6389 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6390
6391 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6392
6393 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6394 definition. This fixes a bootstrap failure.
6395 (calc-gregorian-switch): In menu, put dates before regions.
6396 This is easier to follow, lines up better in the menu, and lets us
6397 coalesce regions that switch at the same time. Give country
6398 names, not "Vatican", as that's better for non-expert users.
6399 Use names that are stable between the date of switch and now, e.g.,
6400 Bohemia and Moravia (which existed then and now) and not
6401 Czechoslovakia (which didn't exist then and doesn't exist now).
6402 What is now the U.S. mostly did not switch at the same time as
6403 Britain, so omit the U.S. Correct spelling of "Britain".
6404 Catholic Switzerland was too much of a mess, so omit it.
6405
6406 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6407
6408 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6409 after the variable is changed.
6410
6411 2012-11-21 Daniel Colascione <dancol@dancol.org>
6412
6413 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6414 in SQL declarations for font-lock.
6415 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6416
6417 2012-11-21 Glenn Morris <rgm@gnu.org>
6418
6419 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6420 (face-italic-p): Add optional argument "inherit".
6421
6422 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6423 Remove -p suffix from names, for consistency with other set-face-*.
6424 (set-face-inverse-video): Fix interactive spec.
6425 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6426 * textmodes/table.el (table--update-cell-face):
6427 Use set-face-inverse-video rather than now obsolete alias.
6428
6429 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6430
6431 * simple.el (line-move): Don't call line-move-partial if
6432 scroll-conservatively is in effect. (Bug#12927)
6433
6434 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6435
6436 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6437 Fallback on completion-at-point rather than
6438 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6439 (eshell-cmpl-initialize): Setup completion-at-point.
6440
6441 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6442
6443 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6444
6445 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6446
6447 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6448 are remote, check out-of-band property for both.
6449
6450 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6451
6452 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6453 code rewrite.
6454
6455 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6456
6457 More minor time fixes.
6458 * calendar/time-date.el: Commentary fix.
6459 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6460 too much other code depends on (0 0) time stamps.
6461 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6462 Add a couple of FIXME comments.
6463
6464 Minor cleanup for times as lists of four integers.
6465 * files.el (dir-locals-directory-cache):
6466 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6467 Doc fixes.
6468 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6469 * ps-bdf.el (bdf-file-newer-than-time):
6470 Process four-integers time stamps, not two. Doc fixes.
6471
6472 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6473
6474 * uniquify.el (uniquify-managed): Use defvar-local.
6475 (rename-buffer, create-file-buffer): Advise with advice-add.
6476 (uniquify-unload-function): Unadvise accordingly.
6477
6478 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6479 (trace-buffer): Don't purecopy.
6480 (trace-entry-message, trace-exit-message): Add `context' arg.
6481 (trace--timer): New var.
6482 (trace-make-advice): Adjust for use in nadvice.
6483 Add `context' argument. Delay `display-buffer' via a timer.
6484 (trace-function-internal): Use advice-add.
6485 (trace--read-args): New function.
6486 (trace-function-foreground, trace-function-background): Use it.
6487 (trace-function): Rename to trace-function-foreground and redefine as
6488 an alias to that new name.
6489 (untrace-function, untrace-all): Adjust to the use of nadvice.
6490
6491 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6492
6493 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6494
6495 * subr.el (called-interactively-p-functions): New var.
6496 (internal--called-interactively-p--get-frame): New macro.
6497 (called-interactively-p, interactive-p): Rewrite in Lisp.
6498 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6499 (called-interactively-p-functions): Use it.
6500 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6501 (called-interactively-p-functions): Use it.
6502 * allout.el (allout-called-interactively-p): Don't assume
6503 called-interactively-p is a subr.
6504
6505 2012-11-20 Glenn Morris <rgm@gnu.org>
6506
6507 * profiler.el (profiler-report-mode-map): Add a menu.
6508 No need to bind `q' because we derive from special-mode.
6509 (profiler-report-find-entry): Handle calls from the menu-bar.
6510
6511 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6512
6513 * emacs-lisp/byte-run.el (defun-declarations-alist):
6514 Allow a compiler-macro to be a lambda expression.
6515
6516 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6517 eval-when-compile.
6518 (python-syntax-context): Add compiler-macro.
6519 (python-font-lock-keywords): Simplify with De Morgan.
6520
6521 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6522
6523 * files.el (load-file): Require match in minibuffer selection, as was
6524 the case in Emacs-20 before we changed the spec to allow .elc files
6525 (bug#12935).
6526
6527 * json.el: Don't require cl since we don't use it.
6528 * color.el: Don't require cl.
6529 (color-complement): `caddr' -> `nth 2'.
6530
6531 * calendar/time-date.el (time-to-seconds): De-obsolete.
6532
6533 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6534
6535 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6536 year numbers.
6537 (math-date-to-julian-dt): Adjust the initial approximation for the
6538 year to deal with the new definition of the DATE.
6539
6540 2012-11-19 Daniel Colascione <dancol@dancol.org>
6541
6542 * term/w32-win.el (cygwin-convert-path-from-windows):
6543 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6544
6545 2012-11-18 Chong Yidong <cyd@gnu.org>
6546
6547 * filecache.el (file-cache--read-list): New function.
6548 (file-cache-add-directory-list, file-cache-add-file-list)
6549 (file-cache-delete-file-list, file-cache-delete-directory-list):
6550 Use it to read a list of files or directories (Bug#12846).
6551 (file-cache-add-file, file-cache-add-directory)
6552 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6553 (file-cache-delete-directory): Print an message.
6554
6555 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6556
6557 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6558 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6559
6560 2012-11-18 Glenn Morris <rgm@gnu.org>
6561
6562 * image.el (insert-image, insert-sliced-image): Doc fix.
6563
6564 2012-11-18 Chong Yidong <cyd@gnu.org>
6565
6566 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6567 (Bug#12810).
6568
6569 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6570
6571 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6572 response when the target file is in a subdirectory (Bug#12757).
6573
6574 2012-11-18 Chong Yidong <cyd@gnu.org>
6575
6576 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6577
6578 2012-11-18 Glenn Morris <rgm@gnu.org>
6579
6580 * emacs-lisp/cl-lib.el (face-underline-p):
6581 Use set-face-underline rather than the alias set-face-underline-p.
6582
6583 * window.el (with-temp-buffer-window): Doc fix.
6584 * subr.el (with-output-to-temp-buffer):
6585 Add doc xref to with-temp-buffer-window.
6586
6587 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6588
6589 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6590 * calc/calc.el (math-format-date-cache): Declare.
6591
6592 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6593
6594 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6595 It also uses January 1, 1 AD as its day number 1.
6596 * calc/calc-forms.el (math-julian-date-beginning)
6597 (math-julian-date-beginning-int): Implement this.
6598
6599 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6600
6601 * descr-text.el (quail-find-key):
6602 * dired.el (desktop-file-name):
6603 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6604 * generic-x.el (comint-mode, comint-exec):
6605 * image-dired.el (widget-forward):
6606 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6607 (speedbar-change-expand-button-char)
6608 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6609 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6610 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6611 (widget-field-action, widget-value-set):
6612 * speedbar.el (imenu--make-index-alist):
6613 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6614 (ring-length, ring-insert):
6615 * vcursor.el (compare-windows-skip-whitespace):
6616 * woman.el (dired-get-filename):
6617 Declare functions.
6618
6619 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6620
6621 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6622
6623 * calc/calc.el (calc-gregorian-switch): New variable.
6624
6625 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6626 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6627 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6628 (math-leap-year-p): Add option to distinguish between Julian
6629 and Gregorian calendars.
6630 (math-day-number): Use `math-day-in-year' to do the computations.
6631 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6632 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6633 to do the computations.
6634 (math-date-to-dt): Use `math-date-to-julian-dt' and
6635 `math-date-to-gregorian-dt' to do the computations.
6636 (calcFunc-weekday, math-format-date-part): Use the new version of
6637 the DATE to determine the weekday.
6638 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6639 when necessary.
6640
6641 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6642
6643 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6644 Cygwin; otherwise use 'file:'. (Bug#12914)
6645 (cygwin-convert-path-from-windows): Declare, to avoid
6646 byte-compiler warnings.
6647
6648 2012-11-17 Andreas Politz <politza@fh-trier.de>
6649
6650 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6651 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6652 prefix and negative numeric prefix args (Bug#12795).
6653
6654 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6655
6656 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6657 Don't signal an error with a score that is too low to add to the
6658 list of top scores. (Bug#12779)
6659
6660 2012-11-17 Chong Yidong <cyd@gnu.org>
6661
6662 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6663
6664 * filecache.el (file-cache-add-file): Handle relative file name in
6665 the argument (Bug#12694).
6666
6667 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6668
6669 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6670
6671 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6672
6673 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6674
6675 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6676
6677 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6678
6679 * window.el (enlarge-window, shrink-window): Don't mention return
6680 value in doc-string (Bug#12896).
6681 (window--display-buffer): Don't resize frames - it won't work
6682 with all window managers and defeat pop-up-frame-alist.
6683 (display-buffer-alist): In doc-string explain that CONDITION can
6684 be a function and which arguments are passed to it (Bug#12854).
6685 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6686 expressions (Bug#12854).
6687 (display-buffer): Pass ACTION argument to
6688 display-buffer-assq-regexp.
6689
6690 2012-11-16 Glenn Morris <rgm@gnu.org>
6691
6692 * window.el (fit-frame-to-buffer-bottom-margin)
6693 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6694
6695 * faces.el (face-underline-p): Use face-attribute-specified-or.
6696
6697 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6698
6699 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6700
6701 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6702
6703 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6704
6705 2012-11-16 Glenn Morris <rgm@gnu.org>
6706
6707 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6708 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6709
6710 * faces.el (face-underline-p): Doc fix. Handle :underline being
6711 things other than `t' (a string, a list).
6712 (face-inverse-video-p): Doc fix.
6713 (set-face-underline): Rename it back from set-face-underline-p.
6714 Doc fix. Allow interactive input of values other than t.
6715 (read-face-attribute): Apply formatting to :underline,
6716 since like :box and :stipple it can take list values.
6717
6718 * term.el (ansi-term): Don't let C-x escape-char binding
6719 clobber the more standard C-c binding. (Bug#12842)
6720
6721 * subr.el (set-temporary-overlay-map): Doc fix.
6722
6723 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6724
6725 * window.el (record-window-buffer)
6726 (display-buffer-record-window): When copying the markers to
6727 window-point preserve window-point-insertion-type. (Bug#12588)
6728
6729 2012-11-16 Glenn Morris <rgm@gnu.org>
6730
6731 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6732 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6733 Use new names for hooks rather than obsolete aliases.
6734
6735 2012-11-15 Daniel Colascione <dancol@dancol.org>
6736
6737 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6738 prefix instead of "file:" so that when FILE-NAME begins with "//",
6739 as it does when the target file is on a network share, url-handler
6740 isn't confused.
6741
6742 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6743
6744 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6745 a preactivated advice from an old advice.el; they're not compatible!
6746
6747 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6748
6749 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6750 Fix string-spec case.
6751
6752 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6753
6754 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6755
6756 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6757 (advice--buffer-local-function-sample): New var.
6758 (advice--set-buffer-local, advice--buffer-local): New functions.
6759 (add-function, remove-function): Use them.
6760
6761 2012-11-15 Drew Adams <drew.adams@oracle.com>
6762
6763 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6764
6765 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6766
6767 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6768 potential binding of print-gensym to t, and prettify (back)quotes in
6769 case they appear in args's default values (bug#12884).
6770
6771 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6772
6773 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6774 (advice-eval-interactive-spec): New function.
6775 (advice--make-interactive-form): Support around advice (bug#12844).
6776
6777 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6778
6779 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6780 more strict. Add docstring.
6781 (ruby-expression-expansion-re): Extract from
6782 `ruby-match-expression-expansion'.
6783 (ruby-syntax-propertize-function): After everything else, search
6784 for expansions in string literals, mark their insides as
6785 whitespace syntax and save match data for font-lock.
6786 (ruby-font-lock-keywords): Use the 2nd group from expression
6787 expansion matches.
6788 (ruby-match-expression-expansion): Use the match data saved to the
6789 text property in ruby-syntax-propertize-function.
6790
6791 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6792
6793 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6794 (bug#12879).
6795
6796 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6797
6798 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6799 start/end keyword a bit harder. Works with different values of N.
6800 Add more comments.
6801 (ruby-end-of-block): Update accordingly.
6802
6803 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6804
6805 * woman.el (woman-file-name): Don't mess with unread-command-events
6806 (bug#12861).
6807
6808 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6809 Remove out of date self-require hack.
6810 (ad-do-advised-functions): Use simple `dolist'.
6811 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6812 (ad-advice-definition): Redefine as functions.
6813 (ad-advice-classes): Move before first use.
6814 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6815 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6816 (ad--defalias-fset): Remove functions.
6817 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6818 (ad-get-orig-definition): Rewrite.
6819 (ad-make-advised-definition-docstring): Change base docstring.
6820 (ad-real-orig-definition): Rewrite.
6821 (ad-map-arglists): Change name of called function.
6822 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6823 (ad-make-advised-definition): Simplify.
6824 (ad-assemble-advised-definition): Tweak for new calling context.
6825 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6826 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6827 function and call ad-activate if needed.
6828 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6829 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6830 (ad-compile-function): Compile ad-Advice-*.
6831 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6832 (ad-start-advice, ad-stop-advice): Remove.
6833
6834 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6835
6836 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6837 period before class method names, not after. Remove handling of
6838 one impossible case. Add comments.
6839
6840 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6841
6842 * emacs-lisp/advice.el: Remove support for freezing.
6843 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6844 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6845 Remove support for `freeze'.
6846
6847 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6848 override the default.
6849 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6850 cl--dotimes/dolist.
6851 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6852 `cl' is loaded.
6853
6854 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6855 from add-advice.
6856 (advice--strip-macro): New function.
6857 (advice--defalias-fset): Use them to handle macros.
6858 (advice-add): Use them.
6859 (advice-member-p): Correctly handle macros.
6860
6861 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6862
6863 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6864 Never font-lock the beginning of singleton class as heredoc.
6865
6866 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6867
6868 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6869
6870 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6871
6872 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6873 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6874 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6875
6876 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
6877
6878 Fix end-of-defun misbehavior.
6879 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6880 python-beginning-of-defun-function. Handle nested defuns
6881 correctly.
6882 (python-nav-end-of-defun): Rename from
6883 python-end-of-defun-function. Ensure forward movement.
6884 (python-info-current-defun): Reimplement to work as intended
6885 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6886 parent defuns as soon as possible.
6887
6888 2012-11-13 Glenn Morris <rgm@gnu.org>
6889
6890 * progmodes/flymake.el (flymake-error-bitmap)
6891 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6892 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6893
6894 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6895
6896 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6897 backward, always stop at indentation. Reverts the change from
6898 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6899
6900 2012-11-13 Glenn Morris <rgm@gnu.org>
6901
6902 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6903 Add ibuffer-filter-by-derived-mode.
6904
6905 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6906 the same name shadowing each other.
6907
6908 * window.el (with-temp-buffer-window): Doc tweak.
6909
6910 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6911
6912 * help.el (temp-buffer-max-height):
6913 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6914 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6915
6916 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6917
6918 * emacs-lisp/nadvice.el: New package.
6919 * subr.el (special-form-p): New function.
6920 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6921 (elp-all-instrumented-list): Remove var.
6922 (elp-not-profilable): Remove elp-wrapper.
6923 (elp-profilable-p): Use autoloadp and special-form-p.
6924 (elp--advice-name): New const.
6925 (elp-instrument-function): Use advice-add.
6926 (elp--instrumented-p): New predicate.
6927 (elp-restore-function): Use advice-remove.
6928 (elp-restore-all, elp-reset-all): Use mapatoms.
6929 (elp-set-master): Use elp--instrumented-p.
6930 (elp--make-wrapper): Rename from elp-wrapper, return a function
6931 suitable for advice-add. Use cl-inf.
6932 (elp-results): Use mapatoms+elp--instrumented-p.
6933 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6934 (debug-function-list): Remove var.
6935 (debug): Rename arg, and then let-bind it explicitly inside.
6936 (debugger-setup-buffer): Rename arg.
6937 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6938 (debugger-frame-number): Adjust to new debug-on-entry setup.
6939 (debug--implement-debug-on-entry): Rename from
6940 implement-debug-on-entry, add argument.
6941 (debugger-special-form-p): Remove, use special-form-p instead.
6942 (debug-on-entry): Use advice-add.
6943 (debug--function-list): New function.
6944 (cancel-debug-on-entry): Use it, along with advice-remove.
6945 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6946 (debugger-list-functions): Use debug--function-list instead of
6947 debug-function-list.
6948 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6949 (ad-special-form-p): Remove, use special-form-p instead.
6950 (ad-set-advice-info): Use add-function and remove-function.
6951 (ad--defalias-fset): Adjust accordingly.
6952
6953 2012-11-10 Glenn Morris <rgm@gnu.org>
6954
6955 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6956 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6957 (report-emacs-bug-create-existing-bugs-buffer)
6958 (report-emacs-bug-parse-query-results)
6959 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6960
6961 * term.el (term-default-fg-color, term-default-bg-color):
6962 Make obsolete, rather than just saying "deprecated" in the doc.
6963
6964 * term.el (term): Rename from `term-face'.
6965 (term-current-face, ansi-term-color-vector)
6966 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6967 Update all users.
6968
6969 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6970
6971 * server.el (server-create-window-system-frame): Handle Nextstep
6972 specially (Bug#12780).
6973
6974 2012-11-10 Glenn Morris <rgm@gnu.org>
6975
6976 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6977 Unautoload, and make obsolete. (Bug#7449)
6978
6979 2012-11-10 Chong Yidong <cyd@gnu.org>
6980
6981 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6982 rename from diff-remove-trailing-whitespace (Bug#12831).
6983
6984 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6985
6986 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6987 miscompilation of trace.el.
6988
6989 2012-11-10 Glenn Morris <rgm@gnu.org>
6990
6991 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6992
6993 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6994
6995 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6996 (bug#12812).
6997
6998 2012-11-10 Chong Yidong <cyd@gnu.org>
6999
7000 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
7001 a defcustom with an appropriate :set function.
7002 (minibuffer-default--in-prompt-regexps): New function.
7003
7004 2012-11-10 Glenn Morris <rgm@gnu.org>
7005
7006 * emacs-lisp/cl.el (define-setf-expander, defsetf)
7007 (define-modify-macro): Doc fixes.
7008
7009 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
7010 (gv-define-simple-setter): Update doc of `fix-return'.
7011
7012 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7013
7014 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
7015 twice when `fix-return' is set (bug#12813).
7016
7017 * emacs-lisp/cl.el (defsetf): Pass the third arg to
7018 gv-define-simple-setter (bug#12812).
7019
7020 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
7021 (bug#12756).
7022
7023 2012-11-10 Glenn Morris <rgm@gnu.org>
7024
7025 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
7026
7027 * emacs-lisp/cl-extra.el (cl-prettyexpand):
7028 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
7029 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
7030 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
7031
7032 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
7033
7034 2012-11-10 Leo Liu <sdl.web@gmail.com>
7035
7036 * ido.el (ido-set-matches-1): Improve flex matching performance by
7037 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
7038
7039 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7040
7041 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
7042 (ad--defalias-fset): New function.
7043 (ad-safe-fset): Remove.
7044 (ad-make-freeze-definition): Use cl-letf*.
7045
7046 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7047
7048 * subr.el (dolist): Don't bind VAR in RESULT.
7049
7050 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
7051 (fset, documentation): Don't save real def since we don't advise.
7052 (ad-do-advised-functions): Remove problematic `result-form'.
7053 (ad-safe-fset): `ad-real-fset' => `fset'.
7054 (ad-read-advised-function): Don't assume that ad-do-advised-functions
7055 uses CL's dolist internally.
7056 (ad-arglist): Remove unused arg `name'.
7057 (ad-docstring, ad-make-advised-docstring):
7058 `ad-real-documentation' => `documentation'.
7059 (warning-suppress-types): Declare.
7060 (ad-set-arguments): Simple CSE.
7061 (ad-recover-normality): Sanity check.
7062
7063 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
7064 (funcall '(lambda ..) ..) into ((lambda ..) ..).
7065
7066 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
7067
7068 * ses.el: symbol to coordinate mapping is made by symbol property
7069 `ses-cell'. This means that the same mapping is done for all SES
7070 sheets. That is good enough for cells with standard A1 names, but
7071 not for named cell. So a hash map is added for the latter.
7072 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
7073 (ses-sym-rowcol): Use hashmap for named cell.
7074 (ses-is-cell-sym-p): New defun.
7075 (ses-decode-cell-symbol): New defun.
7076 (ses-create-cell-variable): Add cell to hashmap when name is not
7077 A1-like.
7078 (ses-rename-cell): Check that cell new name is not already in
7079 spreadsheet with the use of ses-is-cell-sym-p
7080 (ses-rename-cell): Use hash map for named cells, but accept also
7081 renaming back to A1-like.
7082
7083 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7084
7085 * emacs-lisp/advice.el: Use new dynamic docstrings.
7086 (ad-make-advised-definition-docstring, ad-advised-definition-p):
7087 Use dynamic-docstring-function instead of ad-advice-info.
7088 (ad--make-advised-docstring): New function extracted from
7089 ad-make-advised-docstring.
7090 (ad-make-advised-docstring): Use it.
7091 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
7092 from sql-help.
7093 (sql-help): Use it with dynamic-docstring-function.
7094
7095 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
7096
7097 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7098
7099 * files.el (hack-one-local-variable--obsolete): New function.
7100 (hack-one-local-variable): Use it for obsolete settings.
7101
7102 * subr.el (locate-user-emacs-file): If both old and new name exist, use
7103 the new name.
7104
7105 * progmodes/js.el (js--filling-paragraph): New var.
7106 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
7107 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
7108 less sneaky.
7109
7110 2012-11-08 Julien Danjou <julien@danjou.info>
7111
7112 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
7113 `auto-mode-alist' (Bug#12835).
7114
7115 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7116
7117 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
7118 (perl--prettify-symbols-alist): New const.
7119 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
7120 New functions.
7121 (perl-font-lock-keywords-2): Use them.
7122 (perl-electric-noindent-p): New function.
7123 (perl-mode): Use it to set up electric-indent-mode.
7124 (perl-electric-terminator, perl-indent-command): Mark obsolete.
7125 (perl-mode-map): Remove bindings for them.
7126 (perl-imenu-generic-expression, perl-outline-level):
7127 Match functions&packages in column>0.
7128
7129 * env.el (env--substitute-vars-regexp): New const.
7130 (substitute-env-vars): Use it. Add `only-defined' arg.
7131 * net/tramp.el (tramp-replace-environment-variables): Use it.
7132
7133 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
7134 Byte-compile *before* eval in eval-and-compile.
7135 (byte-compile-log-warning): Remove redundant inhibit-read-only.
7136 (byte-compile-file-form-autoload): Don't hide actual definition.
7137 (byte-compile-maybe-guarded): Accept `functionp' as well.
7138
7139 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
7140
7141 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
7142
7143 * notifications.el (notifications-get-server-information-method):
7144 New defconst.
7145 (notifications-get-capabilities): Fix docstring.
7146 (notifications-get-server-information): New defun.
7147
7148 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7149
7150 * textmodes/ispell.el (ispell-region): Standard re-indent for better
7151 readability.
7152
7153 * textmodes/ispell.el: Experimental support for support debugging.
7154 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
7155 buffer for ispell.
7156 (ispell-print-if-debug): New function to print stuff to
7157 `ispell-debug-buffer' if debugging is enabled.
7158 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
7159 show some debugging info.
7160 (ispell-buffer-with-debug): New function that creates a debugging
7161 buffer and calls `ispell-buffer' with debugging enabled.
7162
7163 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
7164 comment in autoconf mode. (Bug#12768)
7165
7166 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
7167
7168 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
7169 frame-first-window, frame-root-window, frame-selected-window,
7170 minibuffer-selected-window, minibuffer-window,
7171 window-absolute-pixel-edges, window-at, window-body-height,
7172 window-body-width, window-display-table, window-combination-limit,
7173 window-frame, window-fringes, window-inside-absolute-pixel-edges,
7174 window-inside-edges, window-inside-pixel-edges, window-left-child,
7175 window-left-column, window-margins, window-next-buffers,
7176 window-next-sibling, window-new-normal, window-new-total,
7177 window-normal-size, window-parameter, window-parameters, window-parent,
7178 window-pixel-edges, window-point, window-prev-buffers,
7179 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
7180 window-start, window-text-height, window-top-child, window-top-line,
7181 window-total-height, window-total-width and window-use-time to the list
7182 of functions without side-effects.
7183 (toplevel): Add window-valid-p to the list of error-free functions
7184 without side-effects.
7185
7186 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7187
7188 * textmodes/ispell.el (ispell-program-name):
7189 Update spellchecker parameters when customized.
7190
7191 2012-11-04 Glenn Morris <rgm@gnu.org>
7192
7193 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
7194
7195 2012-11-04 Chong Yidong <cyd@gnu.org>
7196
7197 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
7198 same-window-* variables.
7199
7200 2012-11-04 Juri Linkov <juri@jurta.org>
7201
7202 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
7203 (isearch-describe-key, isearch-describe-mode): Use a display
7204 action instead of binding same-window-* variables (Bug#10040).
7205
7206 2012-11-03 Glenn Morris <rgm@gnu.org>
7207
7208 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
7209 Rename handler properties back from cl-- to cl-. (Bug#12788)
7210
7211 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
7212
7213 2012-11-03 Eli Zaretskii <eliz@gnu.org>
7214
7215 * term/pc-win.el: Don't load term/internal from here.
7216
7217 * loadup.el: Load term/internal from here.
7218
7219 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
7220
7221 * progmodes/python.el (inferior-python-mode): Fix hang in
7222 jit-lock (Bug#12645).
7223
7224 2012-11-03 Martin Rudalics <rudalics@gmx.at>
7225
7226 * window.el (switch-to-visible-buffer)
7227 (switch-to-buffer-preserve-window-point): Fix doc-strings.
7228
7229 2012-11-03 Glenn Morris <rgm@gnu.org>
7230
7231 * emacs-lisp/cl-lib.el (cl--random-time):
7232 Rename from cl-random-time. (Bug#12773)
7233 (cl--gensym-counter, cl--random-state): Update callers.
7234 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
7235
7236 2012-11-03 Chong Yidong <cyd@gnu.org>
7237
7238 * cus-start.el: Make cursor-type customizable (Bug#11633).
7239
7240 2012-11-02 Glenn Morris <rgm@gnu.org>
7241
7242 * filecache.el: No need to load find-lisp when compiling.
7243 (find-lisp-find-files): Autoload it.
7244 (file-cache-add-directory-recursively): Don't require find-lisp.
7245
7246 * image.el (image-type-from-file-name): Trivial simplification.
7247
7248 * emacs-lisp/bytecomp.el (byte-compile-eval):
7249 Decouple "noruntime" and "cl-functions" warnings.
7250
7251 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
7252
7253 * play/gomoku.el (gomoku-display-statistics): Update mode line
7254 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
7255
7256 2012-10-31 Martin Rudalics <rudalics@gmx.at>
7257
7258 * window.el (quit-restore-window): If the window has been
7259 created on an existing frame and ended up as the sole window on
7260 that frame, do not delete it (Bug#12764).
7261
7262 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
7263
7264 * progmodes/sh-script.el (sh--inside-noncommand-expression):
7265 Rename from sh--inside-arithmetic-expression, handle more cases
7266 (bug#11263).
7267
7268 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7269 (sh-font-lock-open-heredoc): Use it (bug#12770).
7270
7271 2012-10-30 Glenn Morris <rgm@gnu.org>
7272
7273 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
7274
7275 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
7276
7277 2012-10-29 Chong Yidong <cyd@gnu.org>
7278
7279 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7280 function key is stored in a keyboard macro (Bug#4894).
7281
7282 * thingatpt.el (number-at-point): Apply a thing-at-point property.
7283
7284 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7285
7286 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7287 header comments".
7288 (diff-unified->context, diff-context->unified)
7289 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7290
7291 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7292
7293 * files.el (find-alternate-file): Only ask one question (bug#12487).
7294
7295 2012-10-29 Chong Yidong <cyd@gnu.org>
7296
7297 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7298 Suggested by Dan Nicolaescu (Bug#6326).
7299
7300 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7301
7302 * startup.el (fancy-about-screen): Don't message (Bug#12680).
7303
7304 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7305
7306 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7307
7308 * face-remap.el (face-remap-add-relative): Handle the case where a
7309 face-remapping-alist entry is a cons cell (Bug#12762).
7310
7311 2012-10-29 Kevin Ryde <user42@zip.com.au>
7312
7313 * woman.el (woman-parse-numeric-value): Handle picas correctly
7314 (Bug#12639).
7315
7316 2012-10-29 Glenn Morris <rgm@gnu.org>
7317
7318 * emacs-lisp/cl.el (defsetf): Doc fix.
7319
7320 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7321
7322 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7323 syntax to the matching opener, if any (bug#12547).
7324 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7325 matching open as a "case-(".
7326 (sh-smie-rc-grammar): Add a corresponding rule for it.
7327
7328 2012-10-28 Daniel Hackney <dan@haxney.org>
7329
7330 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7331 "PKGNAME-autoloads.el" in case we created it.
7332
7333 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7334
7335 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7336 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7337 (completion--twq-all): Disable too-strict assertions.
7338
7339 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7340
7341 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7342
7343 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7344 text to match the real keybindings.
7345
7346 2012-10-27 Juri Linkov <juri@jurta.org>
7347
7348 * wdired.el (wdired-keep-marker-rename): New defcustom.
7349 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7350 (Bug#11795)
7351
7352 * dired.el (dired-keep-marker-rename): Add reference to
7353 `wdired-keep-marker-rename' in the docstring.
7354 Add default character value ?R to display initially in
7355 Customization UI instead of ?@.
7356
7357 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7358
7359 * window.el (display-buffer): In doc-string describe
7360 window-height and window-width alist entries.
7361
7362 * time.el (display-time-world): Restore fit-window-to-buffer
7363 behavior.
7364
7365 2012-10-27 Chong Yidong <cyd@gnu.org>
7366
7367 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7368
7369 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7370
7371 * minibuffer.el (completion-category-overrides): New completion
7372 category `bookmark' (bug#11131).
7373
7374 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7375
7376 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7377 Silence bogus compiler warnings for ad-do-it.
7378
7379 * bookmark.el (bookmark-completing-read): Set the completion category
7380 to `bookmark' (bug#11131).
7381
7382 2012-10-26 Bastien <bzg@altern.org>
7383 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * face-remap.el: Use lexical-binding.
7386 (text-scale-adjust): Improve docstring. Use itself for the temporary
7387 overlay-map bindings, so as to repeat the "Use..." message each time.
7388
7389 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7390
7391 * emacs-lisp/macroexp.el (macroexp--expand-all):
7392 Obey byte-compile-warning-enabled-p (bug#12486).
7393
7394 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7395 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7396
7397 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7398
7399 * mouse.el (mouse-drag-line): Move last form into preceding when
7400 clause (Bug#12731).
7401
7402 * help.el (resize-temp-buffer-window): Fix doc-string.
7403
7404 2012-10-25 David Engster <deng@randomsample.de>
7405
7406 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7407 Remove. This feature is already integrated in imenu.
7408
7409 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7410 always loaded. Require `speedbar' unconditionally.
7411
7412 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7413
7414 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7415
7416 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7417
7418 * net/ldap.el (ldap-search-internal): The official ldif format starts
7419 with a "version: 1" header (bug#12724).
7420
7421 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7422 (bug#12721).
7423
7424 2012-10-25 Glenn Morris <rgm@gnu.org>
7425
7426 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7427
7428 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7429
7430 * minibuffer.el (minibuffer-force-complete): Use one more marker
7431 for the temporary-overlay-map command (bug#12619).
7432
7433 2012-10-24 Chong Yidong <cyd@gnu.org>
7434
7435 * time.el (display-time-world-mode): Derive from special-mode.
7436 (display-time-world): Use display-buffer (Bug#12708).
7437 (display-time-world-mode-map): Variable deleted.
7438 (display-time-world-display): Wrap the final delete-char inside
7439 inhibit-read-only.
7440
7441 2012-10-24 Chong Yidong <cyd@gnu.org>
7442
7443 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7444 Doc fix.
7445
7446 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7447
7448 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7449
7450 * minibuffer.el (completion--all-sorted-completions-location): New var.
7451 (completion--cache-all-sorted-completions)
7452 (completion--flush-all-sorted-completions): Use it.
7453 (completion-in-region, completion-in-region--postch)
7454 (completion-at-point, completion-help-at-point): Use markers in
7455 completion-in-region--data (bug#12619).
7456
7457 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7458
7459 * progmodes/compile.el (compilation-start): Try to handle common
7460 quoting of `cd' argument (bug#12640).
7461
7462 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7463 (bug#12671).
7464
7465 2012-10-23 Glenn Morris <rgm@gnu.org>
7466
7467 * progmodes/gud.el (gud-menu-map):
7468 Check gdb-active-process is bound. (Bug#12358)
7469
7470 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7471
7472 * repeat.el (repeat): Set real-this-command (bug#12232).
7473
7474 * htmlfontify.el (hfy-post-html-hook):
7475 * filesets.el (filesets-cache-fill-content-hook):
7476 * arc-mode.el (archive-extract-hook):
7477 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7478 * net/rcirc.el (rcirc-sentinel-functions)
7479 (rcirc-receive-message-functions, rcirc-activity-functions)
7480 (rcirc-print-functions):
7481 * net/dbus.el (dbus-event-error-functions):
7482 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7483 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7484 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7485 * term/sun.el (sun-raw-prefix-hooks):
7486 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7487
7488 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7489
7490 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7491 Set `tramp-chunksize' to 1. This improves the performance.
7492 (tramp-smb-wait-for-output): Add timeout to
7493 `tramp-accept-process-output' calls.
7494
7495 2012-10-23 Chong Yidong <cyd@gnu.org>
7496
7497 * faces.el (font-list-limit): Define as an obsolete variable.
7498
7499 * startup.el (command-line):
7500 * cus-start.el: Don't refer to font-list-limit.
7501
7502 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7503
7504 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7505
7506 * subr.el (internal-temp-output-buffer-show): Rename from
7507 temp-output-buffer-show, since previously compiled files expect this name.
7508
7509 2012-10-23 Glenn Morris <rgm@gnu.org>
7510
7511 * image.el (image-type-from-file-name): If multiple types match,
7512 return the first one that is supported. (Bug#9045)
7513
7514 2012-10-22 Glenn Morris <rgm@gnu.org>
7515
7516 * image.el (imagemagick-enabled-types): Doc fix.
7517
7518 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7519
7520 * progmodes/which-func.el (which-func-current): The hash-table may have
7521 an explicit nil (bug#12338).
7522
7523 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7524
7525 * electric.el (electric-pair-delete-selection-self-insert-function):
7526 Rename to electric-pair-will-use-region, return a boolean.
7527 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7528
7529 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7530 (delete-selection-pre-hook): Use use-region-p.
7531 (delete-selection-self-insert-function): Remove.
7532 (self-insert-command): Obey self-insert-uses-region-functions.
7533 (self-insert-iso): Revert to previous setting, since we don't actually
7534 know what that command does.
7535 (delete-selection-self-insert-hooks): Remove.
7536
7537 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7538
7539 * delsel.el (delete-selection-helper): New function, extracted from
7540 delete-selection-pre-hook.
7541 (delete-selection-pre-hook): Use it.
7542 (delete-selection-self-insert-function): New function.
7543 (delete-selection-self-insert-hooks): New hook.
7544 (self-insert-command, self-insert-iso): Use it.
7545 * electric.el (electric-pair-syntax): New function, extracted from
7546 electric-pair-post-self-insert-function.
7547 (electric-pair-post-self-insert-function): Use it.
7548 (electric-pair-delete-selection-self-insert-function): New function.
7549 (electric-pair-mode): Require delsel and setup
7550 delete-selection-self-insert-hooks (bug#11520).
7551
7552 2012-10-20 Chong Yidong <cyd@gnu.org>
7553
7554 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7555 no changes to show (Bug#12586).
7556
7557 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7558 list explicitly (Bug#12571).
7559
7560 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7561
7562 * progmodes/flymake.el (flymake-create-temp-inplace):
7563 Use file-truename.
7564
7565 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7566
7567 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7568
7569 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7570
7571 * calc/calc-units.el (math-extract-units): Properly extract powers
7572 of units.
7573
7574 2012-10-20 Daniel Colascione <dancol@dancol.org>
7575
7576 * frame.el (make-frame): Set x-display-name as we used to in order
7577 to unbreak creating an X11 frame from an Emacs daemon started
7578 without a display.
7579
7580 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7581
7582 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7583 the same completion-field (bug#12221).
7584
7585 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7586
7587 * emacs-lisp/debug.el (debug): Record height of debugger window
7588 also when debugger will be back (Bug#8789).
7589
7590 2012-10-18 Chong Yidong <cyd@gnu.org>
7591
7592 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7593 Convert to defcustom.
7594 (gdb-get-source-file): Don't bind pop-up-windows.
7595
7596 * progmodes/gud.el (gud-display-line): Don't specially re-use
7597 other frames for the gdb-mi case (Bug#12648).
7598
7599 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7600
7601 * emacs-lisp/advice.el: Clean up commentary a bit.
7602 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7603 (byte-code-function-p): Never redefine.
7604
7605 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7606
7607 2012-10-18 Glenn Morris <rgm@gnu.org>
7608
7609 * dired.el (dired-sort-toggle): Some ls implementations only allow
7610 a single option string. (Bug#12666)
7611
7612 * minibuffer.el (completion-cycle-threshold): Doc fix.
7613
7614 2012-10-17 Kenichi Handa <handa@gnu.org>
7615
7616 * international/mule.el (set-keyboard-coding-system):
7617 Recover input meta mode when the new coding system doesn not use 8-bit.
7618 Supply TERMINAL arg to set-input-meta-mode.
7619
7620 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7621
7622 * wdired.el (wdired-old-marks): New variable.
7623 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7624 (wdired-do-renames): Move point with renamed file and don't lose
7625 mark status (Bug#11795).
7626
7627 2012-10-16 Juri Linkov <juri@jurta.org>
7628
7629 * replace.el (query-replace-help): Mention multi-buffer replacement
7630 keys in the Help message. (Bug#12655)
7631
7632 2012-10-15 Chong Yidong <cyd@gnu.org>
7633
7634 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7635
7636 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7637
7638 * window.el (display-buffer): Doc fix.
7639
7640 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7641 Adjust the msft regexp to the output of Studio 2010, and move msft
7642 before edg-1. See the discussion on emacs-devel,
7643 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7644 for the details.
7645
7646 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7647
7648 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7649 (oset): Move uses of object-class-fast macro after its definition.
7650
7651 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7652
7653 2012-10-13 Chong Yidong <cyd@gnu.org>
7654
7655 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7656 enabled, re-enable it (Bug#11963).
7657
7658 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7659
7660 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7661 non-nil, restore window configuration (Bug#12623).
7662
7663 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7664
7665 * help-fns.el (describe-variable, describe-function-1):
7666 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7667
7668 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7669
7670 2012-10-12 Glenn Morris <rgm@gnu.org>
7671
7672 * mail/rmailsum.el (rmail-header-summary):
7673 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7674
7675 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
7676
7677 * progmodes/python.el (python-mode-map):
7678 Replace subtitute-key-definition with proper command remapping.
7679 (python-nav--up-list): Fix behavior for blocks on the same level.
7680
7681 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7682
7683 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7684
7685 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7686 changes to the format of load-history.
7687
7688 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7689 completion-ignore-case in case that var is buffer-local (bug#12615).
7690
7691 2012-10-11 Kenichi Handa <handa@gnu.org>
7692
7693 * international/eucjp-ms.el: Re-generated.
7694
7695 2012-10-10 Kenichi Handa <handa@gnu.org>
7696
7697 * select.el (xselect--encode-string): If a coding is specified for
7698 selection, and that is compatible with COMPOUND_TEXT, use it.
7699
7700 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7701
7702 * window.el (switch-to-buffer-preserve-window-point): New option.
7703 (switch-to-buffer):
7704 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7705
7706 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7707
7708 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7709 Don't document nil as a useful value (bug#12583).
7710
7711 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7712
7713 * net/tramp.el (tramp-debug-message):
7714 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7715 (with-tramp-progress-reporter): Rename from
7716 `tramp-with-progress-reporter'.
7717 (with-tramp-file-property, with-tramp-connection-property):
7718 Move from tramp-cache.el, rename from `with-file-property' and
7719 `with-connection-property', respectively.
7720
7721 * net/tramp-cache.el: Remove `with-file-property' and
7722 `with-connection-property'.
7723
7724 * net/tramp.el:
7725 * net/tramp-gvfs.el:
7726 * net/tramp-sh.el:
7727 * net/tramp-smb.el: Adapt callees.
7728
7729 * net/trampver.el: Update release number.
7730
7731 2012-10-09 Glenn Morris <rgm@gnu.org>
7732
7733 * w32-fns.el (set-message-beep):
7734 * term/w32-win.el (set-message-beep): Update declarations.
7735
7736 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7737
7738 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7739 (mode-line-widen, mode-line-input-method-map)
7740 (mode-line-coding-system-map, mode-line-remote)
7741 (mode-line-unbury-buffer, mode-line-bury-buffer)
7742 (mode-line-next-buffer, mode-line-previous-buffer):
7743 Replace save-selected-window+select-window => with-selected-window.
7744
7745 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7746 * progmodes/cc-vars.el (bq-process): Remove, unused.
7747
7748 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7749
7750 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
7751
7752 Implemented `backward-up-list'-like navigation.
7753 * progmodes/python.el (python-nav-up-list)
7754 (python-nav-backward-up-list): New functions.
7755 (python-mode-map): Define substitute key for backward-up-list to
7756 python-nav-backward-up-list.
7757
7758 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7759
7760 * progmodes/python.el (python-fill-paragraph): Rename from
7761 python-fill-paragraph-function. Fixed fill-paragraph for
7762 decorators (Bug#12605).
7763
7764 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7765
7766 * progmodes/python.el (python-shell-output-filter): Handle extra
7767 carriage return in OSX (Bug#12409).
7768
7769 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7770
7771 Fix shell handling of unbalanced quotes and parens in output.
7772 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7773 (python-syntax-propertize-function): Use it.
7774 (python-shell-output-syntax-table): New var.
7775 (inferior-python-mode): Prevent unbalanced parens/quotes from
7776 previous output mess with current input context.
7777
7778 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7779
7780 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7781 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7782
7783 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7784
7785 * ffap.el (ffap-replace-file-component): Support Tramp file name
7786 syntax, not only ange-ftp's one.
7787
7788 2012-10-08 Glenn Morris <rgm@gnu.org>
7789
7790 * cus-start.el (message-log-max): Set :version.
7791
7792 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7793
7794 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7795
7796 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7797 the minibuffer window (Bug#10851).
7798
7799 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7800
7801 Enhancements on forward-sexp movement.
7802 * progmodes/python.el (python-nav-beginning-of-statement)
7803 (python-nav-end-of-statement): Return point-marker.
7804 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7805 (python-info-current-symbol)
7806 (python-info-statement-starts-block-p): Rename from
7807 python-info-beginning-of-block-p.
7808 (python-info-statement-ends-block-p): Rename from
7809 python-info-end-of-block-p.
7810 (python-info-beginning-of-statement-p)
7811 (python-info-end-of-statement-p)
7812 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7813 New functions.
7814
7815 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7816
7817 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7818 frame-selected-windows.
7819
7820 2012-10-08 Daniel Colascione <dancol@dancol.org>
7821
7822 * battery.el (battery-status-function): Check for
7823 w32-battery-status itself, not system-time windows-nt.
7824
7825 * frame.el: Require cl-lib.
7826 (display-format-alist): New variable mapping frame types to
7827 functions that initialize them.
7828 (window-system-for-display): New function: interprets
7829 display-format-alist.
7830 (make-frame-on-display): Remove existing display-selection logic
7831 and just forward to make-frame, which will now DTRT.
7832 (make-frame): Restructure to use window-system-for-display to
7833 figure out how to create a frame on a given display.
7834 (display-mouse-p): Look for frame-type w32, not a particular
7835 system-type.
7836
7837 * loadup.el: Load w32 lisp code when we have the w32 feature.
7838
7839 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7840 system-type windows-nt.
7841
7842 * server.el (server-create-window-system-frame): Look for window
7843 type.
7844 (server-proces-filter): Only force a window system when windows-nt
7845 _and_ w32. Explain why.
7846
7847 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7848 of window systems we configure for the mode.
7849
7850 * startup.el (command-line): Mark window system is initialized
7851 after we've done it.
7852
7853 * common-win.el (x-select-text): Look for w32, not windows-nt.
7854
7855 * ns-win.el: Require cl-lib. Add ourselves to
7856 display-format-alist.
7857 (ns-initialize-window-system): Assert we're not initialized twice.
7858
7859 * w32-win.el: Enable lexical binding; require cl-lib; add
7860 ourselves to display-format-alist.
7861 (w32-handle-dropped-file): Convert incoming dropped files from
7862 Windows paths to Cygwin ones before passing them on to the rest of
7863 Emacs.
7864 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7865 (w32-initialize-window-system): Assert we're not initialized twice.
7866
7867 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7868 (x-initialize-window-system): Assert we're not initialized twice.
7869
7870 * w32-common-fns.el: New File.
7871 (w32-version, w32-using-nt, w32-get-clipboard-data)
7872 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7873 (w32-charset-info-alist, x-last-selected, text)
7874 (x-get-selection-value, x-selection-value): Move here.
7875
7876 * w32-fns.el: Require w32-common-fns.
7877 (w32-version, w32-using-nt, w32-get-clipboard-data)
7878 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7879 (w32-charset-info-alist, x-last-selected, text)
7880 (x-get-selection-value, x-selection-value): Move to
7881 w32-common-fns.
7882
7883 * w32-vars.el:
7884 (w32-allow-system-shell, w32-system-shells): Define only in
7885 non-cygwin case.
7886
7887 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7888
7889 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7890 (read-passwd): Remove a few more potential sources of leaks.
7891
7892 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7893
7894 * progmodes/python.el (inferior-python-mode)
7895 (python-shell-make-comint): Fix initialization of local
7896 variables copied from parent buffer.
7897
7898 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7899
7900 * term/ns-win.el (ns-read-file-name): Update declaration to match
7901 nsfns.m.
7902 (ns-respond-to-change-font): Change fontsize separately so we are sure
7903 it is set when font is acted upon.
7904
7905 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7906
7907 Enhancements to indentation.
7908 * progmodes/python.el (python-indent-context): Give priority to
7909 inside-string context. Make comments indentation markers.
7910 (python-indent-region): Do not mess with strings, unless it's the
7911 enclosing set of quotes.
7912
7913 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7914
7915 * window.el (internal--before-save-selected-window)
7916 (internal--after-save-selected-window): New functions extracted from
7917 save-selected-window. Make sure we return the `alist' we construct.
7918 (save-selected-window): Use them.
7919
7920 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7921 Use with-selected-window.
7922
7923 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7924 forms that define macros (bug#12593).
7925
7926 2012-10-07 Kenichi Handa <handa@gnu.org>
7927
7928 * international/mule-conf.el (compound-text-with-extensions):
7929 Add :mime-charset property as x-ctext.
7930
7931 2012-10-07 Stefan Merten <smerten@oekonux.de>
7932
7933 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7934 (rst-indent-literal-normal, rst-indent-literal-minimized)
7935 (rst-indent-comment): Correct :version tag.
7936 (rst-official-cvs-rev): Correct version string.
7937
7938 2012-10-07 Glenn Morris <rgm@gnu.org>
7939
7940 * mail/rmailmm.el (rmail-mime-process-multipart):
7941 Do not confuse a multipart message with an epilogue
7942 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7943
7944 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7945
7946 Fix shell output retrieval and comint-prompt-regexp init.
7947 * progmodes/python.el (inferior-python-mode):
7948 (python-shell-make-comint): Fix initialization of
7949 comint-prompt-regexp from copied file local variables.
7950 (python-shell-fetched-lines): Remove var.
7951 (python-shell-output-filter-in-progress): Rename from
7952 python-shell-fetch-lines-in-progress.
7953 (python-shell-output-filter-buffer): Rename from
7954 python-shell-fetch-lines-string.
7955 (python-shell-fetch-lines-filter): Delete function.
7956 (python-shell-output-filter): New function.
7957 (python-shell-send-string-no-output): Use them.
7958
7959 2012-10-07 Glenn Morris <rgm@gnu.org>
7960
7961 * hi-lock.el (hi-lock-process-phrase):
7962 Try to make it less fragile. (Bug#7161)
7963
7964 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7965
7966 2012-10-06 Glenn Morris <rgm@gnu.org>
7967
7968 * ehelp.el (electric-help-mode): Use help-mode rather than
7969 non-existent mode `help'.
7970 (electric-help-map): Use button-buffer-map. (Bug#10917)
7971
7972 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7973 (reftex-create-bibtex-footer): Fix custom types.
7974
7975 * progmodes/sh-script.el (sh-indent-after-continuation):
7976 Add explicit :group.
7977
7978 * textmodes/rst.el (rst-preferred-decorations)
7979 (rst-shift-basic-offset): Clarify obsolescence versions.
7980
7981 * profiler.el (profiler): Add missing group :version tag.
7982 * avoid.el (mouse-avoidance-banish-position):
7983 * proced.el (proced-renice-command):
7984 * calc/calc.el (calc-ensure-consistent-units):
7985 * calendar/icalendar.el (icalendar-import-format-uid):
7986 * net/tramp.el (tramp-save-ad-hoc-proxies):
7987 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7988 * progmodes/flymake.el (flymake-error-bitmap)
7989 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7990 * progmodes/sh-script.el (sh-indent-after-continuation):
7991 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7992 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7993 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7994 (vhdl-array-index-record-field-in-sensitivity-list)
7995 (vhdl-indent-comment-like-next-code-line):
7996 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7997 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7998 (reftex-cite-key-separator, reftex-create-bibtex-header)
7999 (reftex-create-bibtex-footer):
8000 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8001 (rst-indent-literal-normal, rst-indent-literal-minimized)
8002 (rst-indent-comment): Add missing custom :version tags.
8003
8004 * calendar/timeclock.el (timeclock-modeline-display):
8005 Add missing obsolete alias for renamed user option.
8006
8007 * strokes.el (strokes-modeline-string):
8008 * emulation/crisp.el (crisp-mode-modeline-string):
8009 * eshell/esh-mode.el (eshell-status-in-modeline):
8010 Aliases to defcustoms must come before the defcustom.
8011
8012 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
8013 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8014 (cal-tex-cursor-week-monday): Doc fixes.
8015 (cal-tex-cursor-week2-summary): Doc fix.
8016 Rename from cal-tex-cursor-week-at-a-glance.
8017
8018 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
8019 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
8020
8021 * calendar/calendar.el (calendar-mode-map):
8022 Add cal-tex-cursor-week2-summary.
8023
8024 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
8025
8026 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
8027
8028 * subr.el (read-passwd-map): New var.
8029 (read-passwd): Use `read-string' again.
8030 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
8031
8032 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
8033
8034 * register.el (append-to-register, prepend-to-register):
8035 Deactivate mark, as does `copy-to-register' (bug#12389).
8036
8037 2012-10-06 Chong Yidong <cyd@gnu.org>
8038
8039 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
8040
8041 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
8042
8043 * international/characters.el: Fix simple mistake ((car chars) ->
8044 elt), delete duplicated code.
8045
8046 2012-10-06 Glenn Morris <rgm@gnu.org>
8047
8048 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
8049
8050 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
8051
8052 * color.el (color-hsl-to-rgb): Fix incorrect results for
8053 small and large hue values. (Bug#12559)
8054
8055 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
8056
8057 Enhancements to docstring formatting when filling paragraphs.
8058 * progmodes/python.el (python-fill-docstring-style): Rename from
8059 python-fill-string-style. Added new style.
8060 (python-fill-string): Use new style. Better checks for
8061 docstrings.
8062
8063 2012-10-05 Glenn Morris <rgm@gnu.org>
8064
8065 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
8066
8067 * color.el (color-name-to-rgb, color-rgb-to-hex)
8068 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
8069 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
8070 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8071 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
8072
8073 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
8074
8075 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
8076
8077 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
8078 to get the correct size across symlinks.
8079
8080 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
8081
8082 2012-10-04 Juri Linkov <juri@jurta.org>
8083
8084 * replace.el (query-replace-interactive): Declare obsolete.
8085 (query-replace-read-from): Add the last incremental search string
8086 to the list of default values accessible via M-n.
8087 (map-query-replace-regexp): Use `read-regexp'.
8088 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8089 (map-query-replace-regexp, replace-string, replace-regexp):
8090 Fix docstrings to replace mentions of `query-replace-interactive'
8091 with alternatives. (Bug#12526)
8092
8093 2012-10-04 Juri Linkov <juri@jurta.org>
8094
8095 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
8096 (dired-pop-to-buffer): Declare obsolete.
8097 (dired-mark-pop-up): Doc fix.
8098
8099 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
8100
8101 Allow user to set docstring style for fill-paragraph.
8102 * progmodes/python.el
8103 (python-fill-comment-function, python-fill-string-function)
8104 (python-fill-decorator-function, python-fill-paren-function):
8105 Remove :safe for defcustoms.
8106 (python-fill-string-style): New defcustom
8107 (python-fill-paragraph-function): Enhance context detection.
8108 (python-fill-string): Honor python-fill-string-style settings.
8109
8110 2012-10-04 Martin Rudalics <rudalics@gmx.at>
8111
8112 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
8113 after setting its buffer (Bug#10805).
8114
8115 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
8116
8117 Fix cornercase for string syntax.
8118 * progmodes/python.el (python-syntax-propertize-function):
8119 Simplify and enhance the regexp for unescaped quotes. Now it also
8120 matches quotes in weird situations like the single quote in
8121 "something\"'".
8122 (python-syntax-stringify): Simplify num-quotes detecting code.
8123
8124 2012-10-03 Glenn Morris <rgm@gnu.org>
8125
8126 * help-macro.el (three-step-help):
8127 Revert 2012-09-29 change. (Bug#12567)
8128
8129 2012-10-03 Martin Rudalics <rudalics@gmx.at>
8130
8131 * menu-bar.el (kill-this-buffer): Don't do anything when
8132 `menu-frame' is not alive or visible (Bug#8184).
8133
8134 * emacs-lisp/debug.el (debug): When quitting the debugger window
8135 restore current buffer (Bug#12502).
8136
8137 2012-10-02 Chong Yidong <cyd@gnu.org>
8138
8139 * progmodes/hideif.el (hif-lookup, hif-defined):
8140 Handle semantic-c-takeover-hideif.
8141
8142 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
8143
8144 Change sampling interval units from ms to ns.
8145 * profiler.el (profiler-sampling-interval): Change units
8146 from ms to ns, multiplying the default by 1000000 so that
8147 it remains 1 ms.
8148 (profiler-report-cpu-line-format): Give enough room for
8149 the maximum counters on 64-bit hosts.
8150 (profiler-report-render-calltree-1): Call them "CPU samples",
8151 not "Time (ms)", since they are not milliseconds now (and
8152 never really were).
8153
8154 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8155
8156 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
8157 Fix querying BBDB for entries without a last name (Bug#11580).
8158
8159 2012-10-02 Chong Yidong <cyd@gnu.org>
8160
8161 * emacs-lisp/eieio.el: Restore Version header.
8162
8163 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8164
8165 * vc/diff-mode.el (diff--auto-refine-data): New var.
8166 (diff-hunk): Use it to delay refinement.
8167 (diff-mode): Remove overlays when we turn off font-lock.
8168
8169 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
8170 (table-initialize-table-fixed-width-mode)
8171 (table-set-table-fixed-width-mode): Remove functions.
8172 (table-command-list): Move initialization into declaration.
8173 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
8174 (table-with-cache-buffer): Use `declare'.
8175 (table-span-cell): Simplify via CSE.
8176 (table-fixed-width-mode): Use define-minor-mode.
8177 (table-call-interactively, table-funcall, table-apply): Remove.
8178 (table-function): New function, to replace them.
8179
8180 * bookmark.el (bookmark-search-pattern): Remove var.
8181 (bookmark-read-search-input): Remove function.
8182 (bookmark-bmenu-search): Reimplement using a minibuffer.
8183
8184 * faces.el (modeline): Remove obsolete face name.
8185
8186 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
8187 and give a non-nil default value.
8188 (add-change-log-entry): Simplify accordingly.
8189
8190 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
8191
8192 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
8193 (vc-git-log-edit-toggle-amend): New function.
8194 (vc-git-log-edit-toggle-signoff): New function.
8195 (vc-git-log-edit-mode): New major mode.
8196 (vc-git-log-edit-mode-map): Keymap for it.
8197 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
8198
8199 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
8200 header names.
8201 (log-edit-toggle-header): New function.
8202 (log-edit-extract-headers): Accept function values in HEADERS alist.
8203
8204 2012-10-01 David Engster <deng@randomsample.de>
8205
8206 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
8207 from symbol property and change message to be more consistent with
8208 Emacs proper.
8209 (eieio-describe-generic): Add filename for each implementation.
8210 Fix indices for generic and normal methods.
8211 (eieio-method-def, eieio-class-def): New buttons.
8212 (eieio-help-find-method-definition)
8213 (eieio-help-find-class-definition): New functions.
8214 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
8215 class, constructor and method definitions.
8216
8217 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
8218 information in symbol property.
8219 (scoped-class): Remove.
8220 (eieio-slot-name-index, call-next-method): Check if it is bound.
8221
8222 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
8223
8224 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
8225 (eieio-custom-mode): New major mode.
8226 (eieio-customize-object): Use it.
8227
8228 2012-10-01 Eric Ludlam <zappo@gnu.org>
8229
8230 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
8231 specifying the expected class, and whether subclassing is allowed.
8232 (eieio-persistent-convert-list-to-object):
8233 (eieio-persistent-validate/fix-slot-value)
8234 (eieio-persistent-slot-type-is-class-p): New functions.
8235 (eieio-named::slot-missing): Doc fix.
8236
8237 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
8238 Stop using unused publd variable.
8239
8240 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8241 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
8242 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
8243 (eieio-speedbar-handle-click): Do not specify a class for the
8244 method. Fixes method invocation order problems with EDE.
8245
8246 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8247
8248 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
8249 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
8250
8251 2012-10-01 Karl Fogel <kfogel@red-bean.com>
8252
8253 * bookmark.el (bookmark-version-control): Give tags in the
8254 :type choices (Bug#12309), and improve doc string.
8255 (bookmark-write-file): Bind `print-circle' to `t' to allow
8256 circular custom bookmark types. (Bug#12503)
8257
8258 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
8259
8260 Revert the FOLLOW-SYMLINKS change for file-attributes.
8261 * files.el (remote-file-name-inhibit-cache, after-find-file):
8262 * time.el (display-time-file-nonempty-p): Undo last change.
8263
8264 * profiler.el (profiler-sampling-interval): Change default back to 1.
8265 See Stefan Monnier in
8266 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8267
8268 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
8269
8270 Shell output catching a la gud-gdb.
8271 * progmodes/python.el (python-shell-fetch-lines-in-progress)
8272 (python-shell-fetch-lines-string, python-shell-fetched-lines):
8273 New Vars.
8274 (python-shell-fetch-lines-filter): New function.
8275 (python-shell-send-string-no-output): Use them.
8276
8277 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
8278
8279 * profiler.el (profiler-sampling-interval): Rename from
8280 profiler-sample-interval.
8281 (profiler-sampling-interval): Default to 10.
8282 (profiler-find-profile): New command (was profiler-find-log).
8283 (profiler-find-profile-other-window): New command.
8284 (profiler-find-profile-other-frame): New command.
8285 (profiler-profile): Introduce API-level data structure.
8286
8287 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
8288
8289 file-attributes has a new optional arg FOLLOW-SYMLINKS.
8290 * files.el (remote-file-name-inhibit-cache):
8291 * time.el (display-time-file-nonempty-p): Use it.
8292 * files.el (after-find-file): Don't chase links before calling
8293 file-exists-p, as file-exists-p already does the right thing.
8294
8295 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
8296
8297 Merge from standalone RefTeX repository.
8298
8299 The following ChangeLog entries are shortened versions of the
8300 original ones with file paths adapted. A not so strongly edited
8301 version of the original ChangeLog can be found in the commit log.
8302
8303 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8304 (reftex-arg-cite): Use `reftex-cite-key-separator'.
8305 Correctly handle new value type returned by `reftex-citation'.
8306
8307 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8308 that entries with whitespace at various places are found.
8309 Doc fix. Include entries that are cross-referenced from cited entries.
8310 Include @String definitions in the resulting bib file. Add header
8311 and footer defined in `reftex-create-bibtex-header' and
8312 `reftex-create-bibtex-footer'.
8313 (reftex-do-citation): Make it possible again to insert
8314 non-existent entries. Save match data when asking for optional
8315 arguments. Return all keys, not just the first one.
8316 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8317 all citations in the same line.
8318 (reftex-parse-bibtex-entry): Accept additional optional argument
8319 `raw' and keep quotes or braces if it is non-nil. Match fields
8320 containing hyphens besides word constituents.
8321 (reftex-get-string-refs): New function.
8322 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8323 and ask if it should be reread in case it did.
8324 (reftex-pop-to-bibtex-entry)
8325 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8326 entries with spaces or tabs in front of arguments.
8327 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8328 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8329 Match entries containing numbers and symbol constituents.
8330 (reftex-do-citation, reftex-figure-out-cite-format):
8331 Use `reftex-cite-key-separator'.
8332
8333 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8334 (reftex-mouse-view-crossref): Explain why point is set.
8335
8336 * textmodes/reftex-global.el: Whitespace changes.
8337
8338 * textmodes/reftex-index.el: Move provide statement to end of
8339 file.
8340 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8341 (reftex-index-visit-phrases-buffer): Set marker when visiting
8342 buffer. This allows for returning from the phrases file to the
8343 file one was just editing instead of the file where the last
8344 phrases was added from.
8345 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8346 punctuation syntax as it usually is not used as string quote in
8347 TeX-related modes and may occur unmatched. The change also
8348 prevents fontification of quoted content.
8349 (reftex-index-phrases-mode): Use it.
8350
8351 * textmodes/reftex-parse.el (reftex-parse-from-file):
8352 Move backward one char if a `\' was matched after a section macro.
8353 (reftex-parse-from-file): Use beginning of match instead of end as
8354 bound.
8355
8356 * textmodes/reftex-ref.el: Adapt creation of
8357 `reftex-<package>-<macro>' functions to new structure of
8358 `reftex-ref-style-alist'.
8359 (reftex-reference): Use `reftex-ref-style-list' function.
8360 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8361 reference macro if `reftex-ref-macro-prompt' is non-nil.
8362 (reftex-reference): Pass refstyle to `reftex-format-special'.
8363 Determine reference macro by looking at
8364 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8365 Use only one special format function.
8366 (reftex-varioref-vref, reftex-fancyref-fref)
8367 (reftex-fancyref-Fref): Remove definitions. The functions are now
8368 generated from `reftex-ref-style-alist'.
8369 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8370 Remove.
8371 (reftex-format-special): New function.
8372
8373 * textmodes/reftex-sel.el
8374 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8375 of `reftex-ref-style-alist'. Remove code for testing macro type.
8376 (reftex-select-toggle-varioref)
8377 (reftex-select-toggle-fancyref): Remove.
8378 (reftex-select-cycle-ref-style-internal)
8379 (reftex-select-cycle-ref-style-forward)
8380 (reftex-select-cycle-ref-style-backward): New functions.
8381 (reftex-select-label-map): Use `v' and `V' for general cycling
8382 through reference styles. Add `p' for switching between number
8383 and page reference types.
8384
8385 * textmodes/reftex-toc.el (reftex-re-enlarge):
8386 Call `enlarge-window' only if there is something to do because in Emacs
8387 the horizontal version throws an error even if the parameter is 0.
8388
8389 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8390 (reftex-plug-into-AUCTeX): Doc fix.
8391 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8392 string. Adapt to new name.
8393 (reftex-ref-style-alist): Change structure so that it is not
8394 possible to use multiple different package names within a style.
8395 Remove the symbols for symbols for macro type distinction.
8396 Add characters for macro selection.
8397 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8398 (reftex-create-bibtex-footer): New variables.
8399 (reftex-format-ref-function): Mention third argument of special
8400 format function.
8401 (reftex-ref-style-alist, reftex-ref-style-default-list):
8402 New variables.
8403 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8404 to new implementation. Mark as obsolete. Add compatibility code
8405 for honoring the variable values in case they are set.
8406 (reftex-cite-format-builtin, reftex-bibliography-commands):
8407 Add support for ConTeXt.
8408 (reftex-format-ref-function, reftex-format-cite-function):
8409 Fix custom type.
8410 (reftex-cite-key-separator): New variable.
8411
8412 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8413 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8414 `reftex-syntax-table' because parens have to retain their paren
8415 syntax in order for parsing of BibTeX entries like @book(...) to
8416 work.
8417 (reftex-in-comment): Do not error out if `comment-start-skip' is
8418 not set. Deal correctly with escaped comment characters.
8419 (reftex-tie-multifile-symbols): Add doc string.
8420 Initialize `reftex-ref-style-list'.
8421 (reftex-untie-multifile-symbols): Add doc string.
8422 (reftex-add-index-macros): Doc fix.
8423 (reftex-ref-style-activate, reftex-ref-style-toggle)
8424 (reftex-ref-style-list): New functions.
8425 (reftex-mode-menu): Use them. Adapt to new structure of
8426 `reftex-ref-style-alist'.
8427 (reftex-select-with-char): Kill the RefTeX Select buffer when
8428 done.
8429 (reftex-remove-if): New function.
8430 (reftex-erase-all-selection-and-index-buffers)
8431 (reftex-mode-menu): Reference styles are now computed from
8432 `reftex-ref-style-alist'. Fix typo.
8433 (reftex-report-bug): New function.
8434 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8435 algorithms with O(n log n). Introduce optional argument SORT (not
8436 yet used).
8437
8438 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
8439
8440 Enhancements for triple-quote string syntax.
8441 * progmodes/python.el (python-syntax-propertize-function):
8442 Match both quote cases in one regexp.
8443 (python-syntax-stringify): Handle matches properly.
8444
8445 2012-09-30 Juri Linkov <juri@jurta.org>
8446
8447 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8448 to nil around the call to `insert' to prevent
8449 directory time modification by lock_file. (Bug#2295)
8450 * tar-mode.el (tar-summarize-buffer): Idem.
8451
8452 2012-09-30 Juri Linkov <juri@jurta.org>
8453
8454 * facemenu.el (list-colors-sort): Add option "Luminance".
8455 (list-colors-sort-key): Implement it.
8456
8457 * vc/diff-mode.el (diff-refine-removed):
8458 * vc/ediff-init.el (ediff-fine-diff-A):
8459 * vc/smerge-mode.el (smerge-refined-removed):
8460 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8461
8462 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8463
8464 * term/ns-win.el (x-file-dialog): New function.
8465
8466 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8467
8468 * ido.el (ido-max-directory-size): Default to nil; the current
8469 default is small for POSIX systems, and impractical on Windows 7
8470 now that lstat returns directory sizes for NTFS.
8471
8472 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8473
8474 In buffer display functions handle window-height/window-width
8475 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8476 * window.el (window--display-buffer): New argument ALIST.
8477 Obey window-height and window-width alist entries.
8478 (window--try-to-split-window): New argument ALIST.
8479 Bind window-combination-limit to t when the window's size shall be
8480 changed and window-combination-limit equals `window-size'.
8481 (display-buffer-in-atom-window)
8482 (display-buffer-in-major-side-window)
8483 (display-buffer-in-side-window, display-buffer-same-window)
8484 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8485 (display-buffer-pop-up-window, display-buffer-below-selected)
8486 (display-buffer-at-bottom, display-buffer-in-previous-window)
8487 (display-buffer-use-some-window): Adjust all callers of
8488 window--display-buffer and window--try-to-split-window.
8489 (fit-frame-to-buffer): New option.
8490 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8491 is non-nil.
8492 (display-buffer-in-major-side-window): Evaluate window-height /
8493 window-width alist entries.
8494
8495 * help.el (temp-buffer-resize-frames)
8496 (temp-buffer-resize-regexps): Remove options.
8497 (temp-buffer-resize-mode): Adjust doc-string.
8498 (resize-temp-buffer-window): Don't consult
8499 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8500 temp-buffer-resize-frames.
8501
8502 * dired.el (dired-mark-pop-up):
8503 Call display-buffer-below-selected with a fit-window-to-buffer alist
8504 entry.
8505
8506 2012-09-30 Chong Yidong <cyd@gnu.org>
8507
8508 * server.el (server-host): Document the security implications.
8509 (server-auth-key): Doc fix.
8510
8511 * startup.el (initial-buffer-choice): Doc fix.
8512
8513 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8514
8515 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8516 restriction change.
8517
8518 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8519
8520 * help-fns.el (help-fns--obsolete): Fix last change.
8521
8522 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8523
8524 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8525 (minor-mode-map-alist): Remove redundant code.
8526
8527 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8528 visited in a buffer.
8529 (cvs-insert-visited-file): New function.
8530 (find-file-hook): Use it.
8531
8532 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8533
8534 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8535 chose face.
8536 (log-edit-empty-buffer-p): Don't require a space after a header.
8537
8538 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8539
8540 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8541
8542 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8543 a proper minor-mode.
8544
8545 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8546
8547 2012-09-29 Glenn Morris <rgm@gnu.org>
8548
8549 * winner.el (winner-mode): Remove variable (let define-minor-mode
8550 handle it).
8551 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8552 Doc fixes.
8553 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8554 (winner-mode): Use define-minor-mode.
8555
8556 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8557 the full definition in loaddefs, rather than duplicating it.
8558
8559 * help-macro.el (three-step-help): No need to autoload defcustom.
8560
8561 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8562 (inferior-lisp-program, inferior-lisp-load-command)
8563 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8564 No need to autoload defcustoms.
8565
8566 * hippie-exp.el (hippie-expand-try-functions-list)
8567 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8568 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8569 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8570 (hippie-expand-only-buffers): No need to autoload defcustoms.
8571 * progmodes/vhdl-mode.el (vhdl-line-expand):
8572 Explicitly load hippie-exp, so it does not get autoloaded
8573 while hippie-expand-try-functions-list is let-bound.
8574
8575 2012-09-28 Glenn Morris <rgm@gnu.org>
8576
8577 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8578
8579 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8580 Only "cl.el" counts as cl these days.
8581
8582 2012-09-28 Juri Linkov <juri@jurta.org>
8583
8584 Display archive errors in the echo area instead of inserting
8585 to the file buffer.
8586
8587 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8588 to STDERR-TEST that can be a regexp matching a successful output.
8589 Create a temporary file and redirect stderr to it. Search for
8590 STDERR-TEST in the stderr output and display it in the echo area
8591 if no match is found.
8592 (archive-extract-by-file): New function like
8593 `archive-extract-by-stdout' but extracting archives to files
8594 and looking for successful matches in stdout. Function body is
8595 mostly copied from `archive-rar-extract'.
8596 (archive-rar-extract): Use `archive-extract-by-file'.
8597 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8598
8599 2012-09-28 Leo Liu <sdl.web@gmail.com>
8600
8601 * pcomplete.el (pcomplete-show-completions):
8602 Use minibuffer-message to make pcomplete usable in minibuffer.
8603
8604 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8605
8606 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8607
8608 * type-break.el: Use lexical-binding.
8609 (type-break-mode): Use define-minor-mode.
8610
8611 * emacs-lisp/pcase.el (pcase--mark-used): New.
8612 (pcase--u1): Use it (bug#12512).
8613
8614 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8615 in load-history with the right file name.
8616
8617 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8618
8619 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8620 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8621 (doc-view-get-bounding-box): Make bounding box slicing work for
8622 ODF and DVI documents.
8623
8624 2012-09-28 Glenn Morris <rgm@gnu.org>
8625
8626 * type-break.el (type-break-mode, type-break-interval)
8627 (type-break-good-rest-interval, type-break-keystroke-threshold):
8628 No need to autoload.
8629 (type-break-good-rest-interval, type-break-keystroke-threshold):
8630 Add :set-after.
8631
8632 2012-09-28 Chong Yidong <cyd@gnu.org>
8633
8634 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8635 Add :version tag.
8636
8637 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8638
8639 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8640
8641 2012-09-27 Glenn Morris <rgm@gnu.org>
8642
8643 * faces.el (x-display-name): Declare (for without-x builds).
8644
8645 * linum.el (linum-format): Don't autoload it. Improve :type.
8646
8647 * progmodes/tcl.el: Don't require outline when compiling.
8648 (outline-regexp, outline-level): Declare.
8649 * textmodes/sgml-mode.el: Don't require outline when compiling.
8650 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8651
8652 * term.el (term-ansi-reset):
8653 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8654
8655 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8656 files for RCS and SCCS. (Bug#9781)
8657
8658 2012-09-27 Chong Yidong <cyd@gnu.org>
8659
8660 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8661 change; value should be t.
8662
8663 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8664
8665 * image-mode.el: Use lexical-binding.
8666 (image-mode-winprops): Use t to stand for the window of
8667 a buffer that's not displayed.
8668 * doc-view.el (doc-view-new-window-function): Handle the new
8669 t in winprops.
8670 (doc-view-enlarge): Make it a real nop if the size is not changed.
8671 (doc-view-display): Handle the case where the buffer is not (yet?)
8672 displayed in any window.
8673 (doc-view-saved-settings): New var.
8674 (doc-view-mode): Use it.
8675 (doc-view-fallback-mode): Set it.
8676
8677 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8678 Set lexical-binding.
8679 (minibuffer-eldef-shorten-default): New var.
8680 (minibuffer-default-in-prompt-regexps): Use it for new default.
8681 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8682
8683 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8684
8685 * international/uni-bidi.el:
8686 * international/uni-category.el:
8687 * international/uni-name.el:
8688 * international/uni-numeric.el: Regenerate.
8689
8690 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8691 Stefan Monnier <monnier@iro.umontreal.ca>
8692
8693 * profiler.el: New file.
8694
8695 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8696
8697 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8698 (testcover-reinstrument): Simplify with CSE.
8699
8700 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8701
8702 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8703
8704 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8705
8706 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8707 (verilog-auto-input, verilog-auto-insert-lisp)
8708 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8709 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8710 (verilog-auto-unused, verilog-auto-wire)
8711 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8712 newline. Reported by Andrew Jones.
8713 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8714 Reported by Brad Dobbie.
8715 (verilog-batch-delete-trailing-whitespace):
8716 Create verilog-batch-delete-trailing-whitespace.
8717 Reported by Brad Dobbie.
8718 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8719 parameters from another module. Reported by Dan Katz.
8720 (verilog-auto, verilog-auto-assign-modport)
8721 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8722 AUTOINOUTMODPORT for UVM interface module shell generation.
8723 Reported by Brad Dobbie.
8724 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8725 standard behavior.
8726 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8727 Reported by Matt Martin.
8728
8729 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8730
8731 * window.el (window--resize-child-windows): When resizing child
8732 windows proportionally, process them in reverse order to
8733 preserve the "when splitting a window the new one gets the odd
8734 line" behavior.
8735 (window--resize-root-window-vertically): When resizing the
8736 minibuffer window try to affect only windows at the bottom of the
8737 frame. (Bug#12419)
8738
8739 2012-09-25 Chong Yidong <cyd@gnu.org>
8740
8741 * subr.el (declare): Doc fix.
8742
8743 * help-fns.el (help-fns--obsolete): Handle macros properly.
8744
8745 2012-09-25 Chong Yidong <cyd@gnu.org>
8746
8747 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8748 this function obsolete.
8749
8750 * calendar/cal-x.el (calendar-two-frame-setup)
8751 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8752 * calendar/calendar.el (american-calendar, european-calendar)
8753 (calendar-for-loop):
8754 * comint.el (comint-dynamic-simple-complete)
8755 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8756 * desktop.el (desktop-load-default):
8757 * dired-x.el (dired-omit-here-always)
8758 (dired-hack-local-variables, dired-default-directory):
8759 * emacs-lisp/derived.el (derived-mode-class):
8760 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8761 * emacs-lock.el (toggle-emacs-lock):
8762 * epa.el (epa-display-verify-result):
8763 * epg.el (epg-sign-keys, epg-start-sign-keys)
8764 (epg-passphrase-callback-function):
8765 * eshell/esh-util.el (eshell-for):
8766 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8767 (eshell-add-to-window-buffer-names):
8768 * files.el (locate-file-completion):
8769 * imenu.el (imenu-example--create-c-index)
8770 (imenu-example--create-lisp-index)
8771 (imenu-example--lisp-extract-index-name)
8772 (imenu-example--name-and-position):
8773 * international/mule-cmds.el (princ-list):
8774 * international/mule-diag.el (decode-codepage-char):
8775 * international/mule-util.el (detect-coding-with-priority):
8776 * iswitchb.el (iswitchb-read-buffer):
8777 * mail/mailalias.el (mail-complete):
8778 * mail/sendmail.el (mail-sent-via):
8779 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8780 (mouse-major-mode-menu):
8781 * password-cache.el (password-read-and-add):
8782 * pcomplete.el (pcomplete-parse-comint-arguments):
8783 * progmodes/sh-script.el (sh-maybe-here-document):
8784 * replace.el (query-replace-regexp-eval):
8785 * savehist.el (savehist-load):
8786 * simple.el (choose-completion-delete-max-match):
8787 * term.el (term-dynamic-simple-complete):
8788 * vc/ediff-init.el (ediff-check-version):
8789 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8790 * vc/vc.el (vc-diff-switches-list):
8791 * view.el (view-return-to-alist-update): Likewise.
8792
8793 * subr.el (eval-next-after-load, makehash, insert-string)
8794 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8795 mark obsolete.
8796 (mode-line-inverse-video): Variable deleted.
8797
8798 * international/mule-util.el (string-to-sequence): Remove.
8799
8800 * calendar/calendar.el (calendar-version):
8801 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8802 (icalendar-convert-diary-to-ical):
8803 * cus-edit.el (custom-mode):
8804 * ansi-color.el (ansi-color-unfontify-region):
8805 * international/latin1-disp.el (latin1-char-displayable-p):
8806 * progmodes/cwarn.el (turn-on-cwarn-mode):
8807 * progmodes/which-func.el (which-func-update-1):
8808 Use define-obsolete-function-alias.
8809
8810 * net/newst-backend.el (newsticker-cache-filename):
8811 * net/newst-treeview.el (newsticker-groups-filename):
8812 Fix incorrect obsolescence declaration.
8813
8814 * allout.el (allout-passphrase-hint-string): Likewise.
8815 (allout-init): Use a declare form to mark obsolete.
8816
8817 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8818 this applies to functions.
8819
8820 * iswitchb.el (iswitchb-read-buffer): Move code of
8821 iswitchb-define-mode-map here, and delete that obsolete function.
8822
8823 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8824 font-lock-reference-face.
8825
8826 2012-09-25 Glenn Morris <rgm@gnu.org>
8827
8828 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8829 Doc fixes.
8830
8831 * eshell/em-term.el (eshell-term-name):
8832 Default to term-term-name. (Bug#12485)
8833
8834 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
8835
8836 * progmodes/python.el (python-shell-send-buffer): Better handling
8837 of "if __name__ == '__main__':" conditionals when sending the buffer.
8838
8839 2012-09-24 Glenn Morris <rgm@gnu.org>
8840
8841 * eshell/esh-cmd.el (eshell-find-alias-function):
8842 Tighten up file-name regexp. (Bug#12499)
8843
8844 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
8845
8846 Enhancements for triple-quote string syntax.
8847 * progmodes/python.el (python-quote-syntax): Remove.
8848 (python-syntax-propertize-function): New value.
8849 (python-syntax-count-quotes, python-syntax-stringify):
8850 New functions.
8851
8852 2012-09-24 Chong Yidong <cyd@gnu.org>
8853
8854 * mail/supercite.el (sc-version): Remove obsolete function.
8855 (sc-describe): Don't mark as obsolete, since it is bound.
8856 (sc-submit-bug-report): Remove.
8857
8858 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8859 (cvs-commit-buffer-require-final-newline): Remove.
8860 (log-edit-require-final-newline)
8861 (log-edit-changelog-full-paragraphs): Default to t.
8862
8863 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8864 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8865 * vc/vc.el (vc-checkout-carefully): Likewise.
8866
8867 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8868 (emerge-version): Remove.
8869
8870 * progmodes/compile.el (compile-internal): Remove.
8871 (compilation-parse-errors-function): Fix typo.
8872
8873 * international/mule.el (set-char-table-default): Remove.
8874 (set-coding-priority, make-coding-system, generic-char-p)
8875 (charset-list, charset-bytes, charset-id): Use declare to mark
8876 functions as obsolete.
8877
8878 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8879 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8880 * vc/vc-hooks.el (vc-default-registered): Don't use
8881 vc-master-templates.
8882
8883 * font-lock.el (font-lock-reference-face):
8884 Use define-obsolete-variable-alias.
8885
8886 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8887 * calendar/calendar.el (calendar-font-lock-keywords):
8888 * calendar/diary-lib.el (diary-font-lock-keywords)
8889 (diary-fancy-font-lock-keywords):
8890 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8891 * textmodes/reftex-index.el (reftex-insert-index):
8892 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8893 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8894 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8895 * progmodes/prolog.el (prolog-font-lock-keywords):
8896 * progmodes/idlwave.el (idlwave-idl-keywords):
8897 * progmodes/ada-mode.el (ada-font-lock-keywords):
8898 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8899
8900 2012-09-24 Glenn Morris <rgm@gnu.org>
8901
8902 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8903
8904 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
8905
8906 * progmodes/python.el (python-indent-line): More consistent cursor
8907 movement behavior.
8908
8909 2012-09-23 Stefan Merten <smerten@oekonux.de>
8910
8911 * textmodes/rst.el: Fix compiler warning.
8912
8913 2012-09-23 Roland Winkler <winkler@gnu.org>
8914
8915 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8916 Transcribe also LaTeX hyphenation.
8917 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8918 bibtex-reformat-previous-options.
8919
8920 2012-09-23 Roland Winkler <winkler@gnu.org>
8921
8922 * proced.el (proced-renice-command): New variable.
8923 (proced-marked-processes): New function.
8924 (proced-with-processes-buffer): New macro.
8925 (proced-send-signal): Use them.
8926 (proced-renice): New command bound to r.
8927
8928 2012-09-23 Roland Winkler <winkler@gnu.org>
8929
8930 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8931 ibuffer-saved-filter-groups has one element, shortcut the call of
8932 completing-read. (Bug#12331)
8933
8934 2012-09-23 Chong Yidong <cyd@gnu.org>
8935
8936 * bindings.el (mode-line-toggle-read-only):
8937 * bs.el (bs-toggle-readonly):
8938 * buff-menu.el (Buffer-menu-toggle-read-only):
8939 * dired.el (dired-toggle-read-only):
8940 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8941
8942 2012-09-23 Chong Yidong <cyd@gnu.org>
8943
8944 * image.el (image-type-available-p): Adapt to init-image-library
8945 argument changes.
8946
8947 2012-09-22 Juri Linkov <juri@jurta.org>
8948
8949 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8950 `dired-toggle-read-only'. (Bug#12462)
8951
8952 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8953
8954 * subr.el (temp-output-buffer-show): New function.
8955 (with-output-to-temp-buffer): Call temp-output-buffer-show
8956 instead of internal-temp-output-buffer-show.
8957
8958 2012-09-22 Chong Yidong <cyd@gnu.org>
8959
8960 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8961 (Bug#12462).
8962
8963 * repeat.el (repeat): Doc fix (Bug#12348).
8964
8965 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8966 (Bug#10909).
8967
8968 * simple.el (shell-command-on-region): Doc fix.
8969 (read-only-mode): Doc fix.
8970
8971 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8972
8973 * emacs-lisp/timer.el (run-with-idle-timer)
8974 (timer-activate-when-idle): Warn against reinvoking an idle timer
8975 from within its own timer action. (Bug#12447)
8976
8977 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8978
8979 * cus-start.el (window-combination-limit): Add new optional
8980 values.
8981 * window.el (temp-buffer-window-show)
8982 (window--try-to-split-window): Handle new values of
8983 window-combination-limit (Bug#1806).
8984 (split-window): Test window-combination-limit for t instead of
8985 non-nil.
8986 (display-buffer-at-bottom): New buffer display action function.
8987 * help.el (temp-buffer-resize-regexps): New option.
8988 (temp-buffer-resize-mode): Rewrite doc-string.
8989 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8990 Don't resize reused window. Suggested by Glenn Morris.
8991
8992 2012-09-22 Stefan Merten <smerten@oekonux.de>
8993
8994 * textmodes/rst.el: Revamp section title faces.
8995 (rst-official-version)
8996 (rst-package-emacs-version-alist): Sync with official version
8997 V1.4.0.
8998 (rst-faces-defaults, rst-set-level-default)
8999 (rst-level-face-max, rst-level-face-base-color)
9000 (rst-level-face-base-light, rst-level-face-format-light)
9001 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
9002 (rst-adornment-faces-alist): Match new setup.
9003 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
9004 (rst-level-5, rst-level-6): New faces.
9005
9006 2012-09-22 Chong Yidong <cyd@gnu.org>
9007
9008 * simple.el (undo): Handle indirect buffers (Bug#8207).
9009
9010 2012-09-21 Leo Liu <sdl.web@gmail.com>
9011
9012 IDO: Disable match re-ordering for buffer switching.
9013 * ido.el (ido-buffer-disable-smart-matches): New variable.
9014 (ido-set-matches-1): Use it. (Bug#2042)
9015
9016 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
9017
9018 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9019 Fix 2011-05-17 change. (Bug#12418)
9020
9021 2012-09-21 Leo Liu <sdl.web@gmail.com>
9022
9023 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
9024
9025 2012-09-21 Glenn Morris <rgm@gnu.org>
9026
9027 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
9028 Be more robust about locating simple.el.
9029
9030 2012-09-21 Glenn Morris <rgm@gnu.org>
9031
9032 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
9033
9034 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
9035
9036 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
9037
9038 2012-09-20 Juri Linkov <juri@jurta.org>
9039
9040 * replace.el (query-replace-read-from): Use `read-regexp' instead
9041 of `read-from-minibuffer' when `regexp-flag' is non-nil.
9042 (occur-read-primary-args): Use `read-regexp' instead of
9043 `read-string'.
9044 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
9045 `read-from-minibuffer'.
9046 * isearch.el (isearch-occur): Use `read-regexp' instead of
9047 `read-string'.
9048 * dired.el (dired-read-regexp): Use `read-regexp' instead of
9049 `read-from-minibuffer'.
9050 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
9051 of `read-string'. (Bug#7567)
9052
9053 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
9054 and allow accepting a list of strings prepended to a list of
9055 standard default values. Doc fix. (Bug#12321)
9056
9057 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
9058
9059 * replace.el (read-regexp): Don't add ": " when PROMPT already
9060 ends with a colon and space. (Bug#12321)
9061
9062 2012-09-20 Tassilo Horn <tsdh@gnu.org>
9063
9064 * doc-view.el (doc-view-display): Better fix for the cl-assertion
9065 error.
9066
9067 2012-09-20 Stefan Merten <smerten@oekonux.de>
9068
9069 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
9070 Fixes feature request bug#11711.
9071 (rst-mode): Create `imenu-create-index-function'.
9072 (rst-get-stripped-line): Delete after refactoring.
9073 (rst-section-tree, rst-section-tree-rec)
9074 (rst-section-tree-point): Refactor and document properly.
9075 (rst-imenu-find-adornments-for-position)
9076 (rst-imenu-convert-cell, rst-imenu-create-index):
9077 New function.
9078
9079 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9080
9081 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
9082 (macroexp--expand-all): Use it.
9083 (macroexp--funcall-and-return): Remove by folding it into its sole
9084 caller (macroexp--warn-and-return).
9085 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
9086 Use macroexp--obsolete-warning.
9087
9088 * calc/calc.el: Fix last change by removing the whole chunk, since it
9089 was only needed back when Calc was not bundled.
9090
9091 2012-09-20 Martin Rudalics <rudalics@gmx.at>
9092
9093 * emacs-lisp/debug.el (debug): Restore assignment to
9094 debugger-old-buffer removed on 2012-09-08.
9095
9096 2012-09-20 Juri Linkov <juri@jurta.org>
9097
9098 * dired-aux.el (dired-diff): Remove (require 'diff) since
9099 `diff-latest-backup-file' is now autoloaded.
9100
9101 2012-09-20 Chong Yidong <cyd@gnu.org>
9102
9103 * vc/diff.el (diff-latest-backup-file): Autoload.
9104
9105 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9106
9107 * calc/calc.el: Remove redundant autoload shape check.
9108 (sel-mode): Don't defvar.
9109 (calc-get-stack-element): Add `sel-mode' arg instead.
9110 (calc-top, calc-top-list): Pass it this additional argument.
9111 * calc/calc-store.el (calc-store-map):
9112 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
9113 (calc-map-equation, calc-outer-product, calc-inner-product):
9114 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
9115
9116 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
9117
9118 2012-09-19 Juri Linkov <juri@jurta.org>
9119
9120 * dired-aux.el (dired-diff): Add (require 'diff) because
9121 `diff-latest-backup-file' is not autoloaded.
9122 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
9123 of `dired-get-filename' to t to not report error when there is
9124 no default file on the current line.
9125
9126 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9127
9128 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
9129 macroexp--eval-if-compile.
9130 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
9131 (macroexp--expand-all): Use them (bug#12371).
9132
9133 * doc-view.el (doc-view-guess-paper-size)
9134 (doc-view-scale-bounding-box): Fix unbound `caddr'.
9135
9136 2012-09-19 Tassilo Horn <tsdh@gnu.org>
9137
9138 New feature: set optimal slice from BoundingBox information.
9139 * doc-view.el (doc-view-mode-map): Add keybinding.
9140 (doc-view-menu): Add menu entry.
9141 (doc-view-set-slice): Adapt docstring.
9142 (doc-view-get-bounding-box, doc-view-guess-paper-size)
9143 (doc-view-scale-bounding-box)
9144 (doc-view-set-slice-from-bounding-box): New functions.
9145 (doc-view-paper-sizes): New defvar.
9146
9147 2012-09-19 Glenn Morris <rgm@gnu.org>
9148
9149 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
9150 (byte-compile-log-warning): Autoload. (Bug#12371)
9151
9152 * calendar/calendar.el (calendar-american-month-header)
9153 (calendar-european-month-header, calendar-iso-month-header)
9154 (calendar-month-header): New options.
9155 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
9156 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
9157
9158 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
9159
9160 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
9161
9162 2012-09-18 Juri Linkov <juri@jurta.org>
9163
9164 * dired-aux.el (dired-diff): Restore original functionality of
9165 getting the default value, but keep new feature of using the
9166 latest existing backup file (`diff-latest-backup-file').
9167
9168 2012-09-18 Juri Linkov <juri@jurta.org>
9169
9170 * dired.el (dired-mark): If the region is active in Transient Mark
9171 mode, mark all files in the active region. Doc fix.
9172 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
9173 Doc fix. (Bug#10624)
9174
9175 2012-09-18 Juri Linkov <juri@jurta.org>
9176
9177 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
9178 attributes for M-n are pulled from the file at point.
9179 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
9180 Suggested by Drew Adams. (Bug#10624)
9181
9182 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
9183
9184 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
9185 whitespace after "end".
9186 (ruby-do-end-to-brace): Collapse block to one line if it fits
9187 within fill-column.
9188
9189 2012-09-18 Martin Rudalics <rudalics@gmx.at>
9190
9191 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
9192 value.
9193 (debug): Don't remove debugger window when debugger is expected
9194 to be back.
9195
9196 2012-09-18 Chong Yidong <cyd@gnu.org>
9197
9198 * custom.el (defface): Doc fix.
9199
9200 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
9201
9202 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
9203
9204 * progmodes/compile.el (compilation-start): Use compilation-always-kill
9205 to initialize query-on-exit; then test that instead (bug#12288).
9206
9207 2012-09-17 Stefan Merten <smerten@oekonux.de>
9208
9209 * textmodes/rst.el: Add support for `testcover'.
9210 (rst-defcustom-testcover, rst-testcover-add-compose)
9211 (rst-testcover-add-1value): New functions.
9212 (rst-portable-mark-active-p): Replace by `use-region-p'.
9213 (rst-update-section, rst-classify-adornment)
9214 (rst-find-title-line): Mark `1value' forms.
9215 (rst-classify-adornment): Remove superfluous form.
9216 (rst-update-section, rst-get-adornments-around)
9217 (rst-adornment-complete-p, rst-get-next-adornment)
9218 (rst-adjust, rst-promote-region)
9219 (rst-display-adornments-hierarchy, rst-straighten-adornments)
9220 (rst-find-pfx-in-region, rst-section-tree-rec)
9221 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
9222 (rst-toc-node, rst-toc, rst-forward-section)
9223 (rst-iterate-leftmost-paragraphs)
9224 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
9225 (rst-bullet-list-region)
9226 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
9227 (rst-compile-find-conf, rst-compile)
9228 (rst-repeat-last-character): Fix style.
9229
9230 2012-09-17 Chong Yidong <cyd@gnu.org>
9231
9232 * comint.el (comint--complete-file-name-data): Don't add a space
9233 if the status is `sole'; that adds a gratuitous space in the
9234 completion-cycling case (Bug#12092).
9235
9236 * pcomplete.el (pcomplete-completions-at-point): Likewise.
9237
9238 2012-09-17 Richard Stallman <rms@gnu.org>
9239
9240 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
9241 only in the mime-shown mode, not in raw mode.
9242 (rmail-mime): Toggle off mime by displaying the message without
9243 mime processing. (Bug#12305)
9244
9245 * mail/rmail.el (rmail-retry-failure):
9246 Turn off mime processing first. (Bug#12037)
9247
9248 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
9249
9250 2012-09-17 Chong Yidong <cyd@gnu.org>
9251
9252 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
9253 (shell-dynamic-complete-functions): Convert to defcustom.
9254 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
9255
9256 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
9257 * comint.el (comint-prompt-read-only):
9258 * custom.el (defcustom):
9259 * hi-lock.el (hi-lock-mode):
9260 * ibuffer.el (ibuffer-formats):
9261 * ielm.el (ielm-prompt-read-only):
9262 * novice.el (disable-command):
9263 * saveplace.el (toggle-save-place):
9264 * speedbar.el (speedbar-supported-extension-expressions):
9265 * startup.el (auto-save-list-file-prefix, init-file-user)
9266 (after-init-hook, inhibit-startup-echo-area-message):
9267 * strokes.el (strokes-help):
9268 * time-stamp.el (time-stamp):
9269 * calendar/calendar.el (calendar, diary-file):
9270 * calendar/diary-lib.el (diary-mail-entries, diary)
9271 (diary-list-entries-hook):
9272 * calendar/holidays.el (holidays, calendar-holidays):
9273 * calendar/lunar.el (lunar-phases):
9274 * calendar/solar.el (sunrise-sunset):
9275 * emulation/edt.el (edt-load-keys):
9276 * emulation/viper.el (viper-mode):
9277 * eshell/em-alias.el (eshell-command-aliases-list):
9278 * eshell/esh-util.el (eshell-convert-numeric-arguments):
9279 * international/ogonek.el (ogonek-information):
9280 * net/tramp-cmds.el (tramp-bug):
9281 * net/quickurl.el (quickurl-reread-hook-postfix):
9282 * play/decipher.el (decipher-font-lock-keywords):
9283 * progmodes/cc-styles.el (c-set-style):
9284 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9285 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9286 * progmodes/octave-mod.el (octave-mode):
9287 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9288 * progmodes/verilog-mode.el (verilog-read-defines):
9289 * textmodes/two-column.el (2C-mode): Likewise.
9290
9291 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
9292
9293 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9294 that holds many addresses.
9295
9296 2012-09-16 Chong Yidong <cyd@gnu.org>
9297
9298 * align.el (align-areas): Call the indication function with
9299 positions instead of markers for arguments (Bug#12343).
9300
9301 * files.el (parse-colon-path): Use split-string (Bug#12351).
9302
9303 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9304 (display-buffer-function): Mark as obsolete.
9305
9306 * progmodes/compile.el (compilation-parse-errors): Accept list
9307 values similar to font-lock-keywords (Bug#12136).
9308 Suggested by Oleksandr Manzyuk.
9309 (compilation-error-regexp-alist): Doc fix.
9310
9311 2012-09-15 Glenn Morris <rgm@gnu.org>
9312
9313 * version.el (emacs-bzr-version-bzr): New function.
9314 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9315
9316 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9317 checkouts, check the parent dirstate matches the branch.
9318 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9319 empty string.
9320
9321 * version.el (emacs-bzr-version): Doc fix.
9322 (emacs-bzr-version-dirstate): New function.
9323 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9324 is local try and check that it matches the branch. If not, just
9325 use dirstate information. (Bug#12441)
9326
9327 2012-09-14 Juri Linkov <juri@jurta.org>
9328
9329 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9330 (Bug#12399)
9331
9332 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9333
9334 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9335
9336 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9337 Remove obsolete byte-compiler hack that tried to silence some warnings.
9338 (edebug-submit-bug-report): Remove.
9339 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9340 Remove aliases, use the un-prefixed name instead.
9341 (edebug-pop-to-buffer): Consider other frames.
9342 (edebug-original-read):: Make it more obvious that it's always defined.
9343 (edebug--make-form-data-entry, edebug--form-data-name)
9344 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9345 single-dashed name, and implement with cl-defstruct.
9346 (edebug-set-form-data-entry): Use the standard accessors.
9347 (edebug-make-top-form-data-entry): Use push.
9348 (edebug-no-match): Drop useless `funcall'.
9349 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9350 to functions.
9351 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9352 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9353 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9354 (easy-menu-define, with-custom-print): Remove redundant specs.
9355 (edebug-outside-overriding-local-map)
9356 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9357 (edebug--display): Bind unread-command-events directly to nil rather
9358 than binding it to unread-command-events and later setting it to nil.
9359 (edebug--display): Kill edebug-eval-buffer here...
9360 (edebug--recursive-edit): ...rather than here.
9361 Bind standard-output and standard-input.
9362 (edebug-eval): Check cl-macroexpand-all is fboundp.
9363 (edebug-temp-display-freq-count): Fix last change.
9364
9365 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9366 * subr.el (noreturn, 1value): Add `debug' spec.
9367 * emacs-lisp/advice.el: Require cl-lib.
9368 (ad-copy-tree): Remove, use copy-tree instead.
9369 (ad-dolist): Remove use dolist or cl-dolist instead.
9370 (ad-do-return): Remove, use cl-return instead.
9371 (defadvice): Add `debug' spec.
9372
9373 2012-09-13 Juri Linkov <juri@jurta.org>
9374
9375 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9376 (Bug#12399)
9377
9378 2012-09-13 Glenn Morris <rgm@gnu.org>
9379
9380 * calc/calc.el (math-compose-expr):
9381 * calc/calc-ext.el (math-compose-expr):
9382 * progmodes/cc-defs.el (cl-macroexpand-all):
9383 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9384 (cl-macroexpand-all): Update declarations.
9385
9386 * vc/vc.el: No need to require ediff.
9387 (ediff-load-version-control): Declare.
9388 (ediff-vc-internal): Fix declaration.
9389 (vc-version-ediff): Require ediff.
9390
9391 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9392
9393 Use a more backwards-compatible timer format (Bug#12430).
9394 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9395 being right after USECS, as that better supports old code that
9396 inadvisedly looked directly at the timer vector.
9397
9398 2012-09-13 Kenichi Handa <handa@gnu.org>
9399
9400 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9401 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9402 `coding-priority' property of these language environment.
9403
9404 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9405
9406 Fix glitches caused by addition of psec to timers (Bug#12430).
9407 * image.el (image-animate-timer):
9408 * time.el (display-time-world-timer):
9409 Use timer--function and timer--args rather than raw access to
9410 timer vector.
9411
9412 2012-09-13 Glenn Morris <rgm@gnu.org>
9413
9414 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9415 If not compiling a file, try using load-file-name.
9416
9417 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9418
9419 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9420 Fix last change.
9421 (edebug-update-eval-list): Use `push'.
9422
9423 * emacs-lisp/edebug.el: Use lexical-binding.
9424 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9425 Mark unused args with underscore.
9426 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9427 (edebug-form-data): Use defvar-local.
9428 (edebug-make-before-and-after-form, edebug-make-after-form):
9429 Use backquote.
9430 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9431 Not dynamically scoped any more.
9432 (edebug--enter-trace): Add arguments `function' and `args'.
9433 Rename from edebug-enter-trace.
9434 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9435 (edebug--update-coverage): Add `after-index' and `value' args.
9436 Rename from edebug-update-coverage.
9437 (edebug-slow-after): Call it accordingly.
9438 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9439 edebug-recursive-edit.
9440 (edebug--display): Call it accordingly. Add args `value',
9441 `offset-index', and `arg-mode'. Rename from edebug-display.
9442 (edebug-debugger, edebug): Call it accordingly.
9443 (edebug-eval-display-list): Use dolist.
9444
9445 2012-09-12 Juri Linkov <juri@jurta.org>
9446
9447 * info.el (Info-search): Don't check for isearch-mode and
9448 isearch-regexp before let-binding search-spaces-regexp to
9449 Info-search-whitespace-regexp.
9450 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9451 search-whitespace-regexp if isearch-lax-whitespace or
9452 isearch-regexp-lax-whitespace is non-nil.
9453 (Info-mode): Don't set local variable search-whitespace-regexp.
9454 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9455
9456 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9457
9458 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9459 (debugger-env-macro): Remove support for unread-command-char.
9460
9461 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9462 the temporary map re-appearing on emulation-mode-map-alists.
9463
9464 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9465 since 22.1.
9466
9467 * ehelp.el (with-electric-help): Accept functions in
9468 electric-help-form-to-execute.
9469 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9470 And replace unread-command-char -> unread-command-events.
9471
9472 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9473
9474 Sync with Tramp 2.2.6.
9475
9476 * net/tramp.el (tramp-accept-process-output): Don't use
9477 JUST-THIS-ONE in the XEmacs case.
9478
9479 * net/trampver.el: Update release number.
9480
9481 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9482
9483 * emacs-lisp/debug.el (debugger-previous-window-height):
9484 New variable.
9485 (debug): When debugger-jumping-flag is non-nil try to restore
9486 height of debugger window. (Bug#8789)
9487
9488 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9489
9490 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9491 overriding-local-map and pre/post-command-hook here.
9492 (edebug-recursive-edit): Do it here instead (bug#12345).
9493 (edebug-outside-unread-command-char): Remove all uses of
9494 unread-command-char.
9495
9496 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9497 inhibit-debugger is bound instead.
9498
9499 2012-09-11 Bastien Guerry <bzg@gnu.org>
9500
9501 * subr.el (set-temporary-overlay-map): Add a docstring.
9502 (Bug#12346)
9503
9504 2012-09-11 Bastien Guerry <bzg@gnu.org>
9505
9506 * minibuffer.el (completion-table-subvert): Fix docstring.
9507 (Bug#12347)
9508
9509 2012-09-11 Bastien Guerry <bzg@gnu.org>
9510
9511 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9512
9513 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9514
9515 * progmodes/sql.el: Version 3.1
9516 (sql-db2-escape-newlines): New variable.
9517 (sql-escape-newlines-filter): Use it.
9518
9519 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9520
9521 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9522
9523 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9524
9525 * vc/diff-mode.el (diff-mode-menu):
9526 Bind diff-remove-trailing-whitespace.
9527
9528 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9529
9530 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9531 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9532 (emacs-lisp-byte-code-mode): New functions.
9533 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9534 (eval-defun-2): Remove bogus interactive spec.
9535 (lisp-indent-line): Remove redundant whole-exp code, now done in
9536 indent-according-to-mode.
9537 (save-match-data): Remove redundant indent data.
9538
9539 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9540 Use `declare'.
9541
9542 2012-09-09 Juri Linkov <juri@jurta.org>
9543
9544 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9545 (replace-lax-whitespace, query-replace-regexp)
9546 (query-replace-regexp-eval, replace-regexp): Doc fix.
9547 (perform-replace, replace-highlight): Let-bind
9548 isearch-lax-whitespace to replace-lax-whitespace and
9549 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9550
9551 * isearch.el (isearch-query-replace): Let-bind
9552 replace-lax-whitespace to isearch-lax-whitespace and
9553 replace-regexp-lax-whitespace to
9554 isearch-regexp-lax-whitespace. (Bug#10885)
9555
9556 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9557
9558 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9559
9560 2012-09-09 Alan Mackenzie <acm@muc.de>
9561
9562 * progmodes/cc-engine.el (c-state-cache-init):
9563 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9564 (c-record-parse-state-state):
9565 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9566
9567 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9568
9569 * register.el (register-separator): Rename from
9570 separator-register. All uses changed. Doc fix.
9571 (register): Fix version.
9572
9573 2012-09-09 Chong Yidong <cyd@gnu.org>
9574
9575 * replace.el (query-replace-map): Bind four new symbols for
9576 requesting window scrolling.
9577
9578 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9579 query-replace-map (Bug#8948).
9580
9581 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9582
9583 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9584 since they are now in query-replace-map.
9585
9586 * window.el (scroll-other-window-down): Make the arg optional.
9587
9588 2012-09-09 Chong Yidong <cyd@gnu.org>
9589
9590 * files.el (hack-local-variables-confirm): Use quit-window to kill
9591 the *Local Variables* buffer.
9592
9593 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9594
9595 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9596 not just expect to be at its beginning. Adjust callees.
9597 Succeed when do-end block has no space before the pipe character.
9598 (ruby-brace-to-do-end): When the original block is one-liner,
9599 convert to multiline. Reindent the result.
9600
9601 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9602
9603 * register.el (register): New group.
9604 (separator-register): New user option.
9605 (increment-register): Route it to `append-to-register', if
9606 register contains text. Implication is that `C-x r +' can now be
9607 used for appending to a text register (bug#12217).
9608 (append-to-register, prepend-to-register): Add separator based on
9609 `separator-register'.
9610
9611 2012-09-08 Alan Mackenzie <acm@muc.de>
9612
9613 AWK Mode: make auto-newline work when there's "==" in the pattern.
9614 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9615 correctly.
9616 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9617 Test more rigorously for "=" token.
9618
9619 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9620
9621 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9622 Only fail when reached LIMIT.
9623
9624 2012-09-08 Chong Yidong <cyd@gnu.org>
9625
9626 * dired.el (dired-mode-map): Don't bind M-=.
9627
9628 * dired-aux.el (dired-diff): Use backup file as default.
9629
9630 2012-09-08 Drew Adams <drew.adams@oracle.com>
9631
9632 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9633
9634 2012-09-08 Chong Yidong <cyd@gnu.org>
9635
9636 * subr.el (syntax-after, syntax-class): Doc fix.
9637
9638 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9639
9640 * window.el (display-buffer-in-previous-window): New buffer
9641 display action function.
9642
9643 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9644 (debugger-previous-window): New variable.
9645 (debug): Rewrite using display-buffer-in-previous-window,
9646 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9647
9648 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9649
9650 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9651
9652 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9653
9654 * progmodes/python.el (python-shell-send-string):
9655 When default-directory is remote, create temp file on remote
9656 filesystem.
9657 (python-shell-send-file): When file is remote, pass local view of
9658 file paths to remote Python interpreter. (Bug#12340)
9659
9660 2012-09-07 Chong Yidong <cyd@gnu.org>
9661
9662 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9663
9664 * files.el (after-find-file): Don't fail on a read-only buffer if
9665 require-final-newline is `visit' or `visit-save' (Bug#11156).
9666
9667 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9668
9669 * userlock.el (ask-user-about-supersession-threat):
9670 Use read-char-choice (Bug#12093).
9671
9672 2012-09-07 Chong Yidong <cyd@gnu.org>
9673
9674 * subr.el (buffer-narrowed-p): New function.
9675
9676 * ses.el (ses-widen):
9677 * simple.el (count-words--buffer-message):
9678 * net/browse-url.el (browse-url-of-buffer): Use it.
9679
9680 * simple.el (count-words-region): Don't signal an error if there
9681 is a non-nil prefix arg and the mark is not set.
9682
9683 * help.el (describe-key-briefly): Allow the message to be seen
9684 when invoked from the minibuffer (Bug#7014).
9685
9686 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9687
9688 * progmodes/ruby-mode.el (ruby-end-of-defun)
9689 (ruby-beginning-of-defun): Simplify, allow indentation before
9690 block beginning and end keywords.
9691 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9692 (ruby-end-of-defun): Expect that the point is at the beginning of
9693 the defun.
9694
9695 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9696
9697 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9698 (bug#12367).
9699 (cl--make-usage-args): Strip _ from argument names.
9700
9701 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9702
9703 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9704 obsolete alias speedbar-key-map.
9705 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9706 (vhdl-index-menu-init): Don't use obsolete variable
9707 font-lock-maximum-size.
9708
9709 2012-09-06 Chong Yidong <cyd@gnu.org>
9710
9711 * frame.el (window-system-version): Mark as obsolete.
9712
9713 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9714 of obsolete variable speedbar-key-map.
9715
9716 2012-09-06 Juri Linkov <juri@jurta.org>
9717
9718 * replace.el (replace-lax-whitespace): New defcustom.
9719 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9720 (replace-string, replace-regexp): Mention it in docstrings.
9721 (perform-replace, replace-highlight): Let-bind
9722 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9723 to the values of replace-lax-whitespace and regexp-flag.
9724 Don't let-bind search-whitespace-regexp. (Bug#10885)
9725
9726 * isearch.el (isearch-query-replace): Let-bind
9727 replace-lax-whitespace instead of let-binding
9728 replace-search-function and replace-re-search-function.
9729 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9730 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9731 (isearch-toggle-symbol): Set isearch-regexp to nil
9732 in isearch-word mode (like in isearch-toggle-word).
9733
9734 2012-09-06 Juri Linkov <juri@jurta.org>
9735
9736 * replace.el (replace-search-function)
9737 (replace-re-search-function): Set default values to nil.
9738 (perform-replace): Let-bind isearch-related variables based on
9739 replace-related values, call `isearch-search-fun' and let-bind
9740 the result to `search-function'. Remove code that sets
9741 `search-function' and `search-string' separately for
9742 `delimited-flag'.
9743 (replace-highlight): Add new argument `delimited-flag' and
9744 rename other arguments to the names used in `perform-replace'.
9745 Let-bind `isearch-word' to the argument `delimited-flag'.
9746 (Bug#10885, bug#10887)
9747
9748 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9749
9750 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9751 ruby-beginning-of-indent, simplify, allow all keywords to have
9752 indentation before them.
9753 (ruby-beginning-of-indent): Adjust for above. Search until the
9754 found point is not inside a string or comment.
9755 (ruby-font-lock-keywords): Allow symbols to start with "@"
9756 character, give them higher priority than variables.
9757 (ruby-syntax-propertize-function)
9758 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9759 matchers. Expression expansions are not comments when inside a
9760 string, and there comment syntax status is irrelevant.
9761 (ruby-match-expression-expansion): New function. Check that
9762 expression expansion is inside a string, and it's not escaped.
9763 (ruby-font-lock-keywords): Use it.
9764
9765 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9766
9767 * help.el (temp-buffer-max-height): New default value.
9768 (temp-buffer-resize-frames): New option.
9769 (resize-temp-buffer-window): Optionally resize frame.
9770
9771 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9772 (fit-frame-to-buffer): New function.
9773
9774 2012-09-05 Glenn Morris <rgm@gnu.org>
9775
9776 * emulation/cua-rect.el (cua--init-rectangles):
9777 * textmodes/picture.el (picture-mode-map):
9778 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9779 like forward-char and backward-char. (Bug#12317)
9780
9781 2012-09-05 Leo Liu <sdl.web@gmail.com>
9782
9783 * progmodes/flymake.el (flymake-warning-re): New variable.
9784 (flymake-parse-line): Use it.
9785
9786 2012-09-05 Glenn Morris <rgm@gnu.org>
9787
9788 * calendar/holidays.el (holiday-christian-holidays):
9789 Rename an entry. (Bug#12289)
9790
9791 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9792
9793 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9794 (bug#12222).
9795
9796 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9797
9798 * loadup.el: Load macroexp. Remove hack.
9799 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9800 (macroexp--expand-all): Use it to get better warnings.
9801 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9802 (internal-macroexpand-for-load): New functions.
9803 (macroexp--pending-eager-loads): New var.
9804 (emacs-startup-hook): New hack to replace one in loadup.el.
9805 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9806 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9807 (cl-psetf): Simplify.
9808 (cl-defstruct): Add indent rule.
9809
9810 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9811
9812 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9813 over `user-mail-address' for the SMTP MAIL FROM envelope.
9814 (smtpmail-via-smtp): Ditto.
9815
9816 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9817
9818 * progmodes/ruby-mode.el: Clean up keybindings.
9819 (ruby-mode-map): Don't bind ruby-electric-brace,
9820 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9821 backward-kill-word, reindent-then-newline-and-indent.
9822 (ruby-mark-defun): Remove.
9823 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9824 (ruby-mode): Set local beginning-of-defun-function and
9825 end-of-defun-function values.
9826
9827 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9828
9829 * window.el (temp-buffer-window-setup-hook)
9830 (temp-buffer-window-show-hook): New hooks.
9831 (temp-buffer-window-setup, temp-buffer-window-show)
9832 (with-temp-buffer-window): New functions.
9833 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9834 (special-display-popup-frame): Make sure the window used shows BUFFER.
9835
9836 * help.el (temp-buffer-resize-mode): Fix doc-string.
9837 (resize-temp-buffer-window): New optional argument WINDOW.
9838
9839 * files.el (recover-file, save-buffers-kill-emacs):
9840 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9841
9842 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9843
9844 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9845 remote definition of `default-directory', ensure we can connect.
9846
9847 2012-09-02 Juri Linkov <juri@jurta.org>
9848
9849 Toggle whitespace matching mode with M-s SPC.
9850 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9851
9852 * isearch.el (search-whitespace-regexp): Doc fix.
9853 Remove cons cell customization.
9854 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9855 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9856 New variables.
9857 (isearch-forward, isearch-forward-regexp): Doc fix.
9858 (isearch-toggle-lax-whitespace): New command.
9859 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9860 (re-search-forward-lax-whitespace)
9861 (re-search-backward-lax-whitespace): New functions.
9862 (isearch-whitespace-regexp): Remove function.
9863 (isearch-query-replace): Let-bind replace-search-function and
9864 replace-re-search-function.
9865 (isearch-occur): Let-bind search-spaces-regexp according to the
9866 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9867 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9868 condition for C-q SPC.
9869 (isearch-search-fun-default): Use new functions mentioned above.
9870 (isearch-search-forward, isearch-search-backward): Remove functions.
9871 (isearch-search): Don't let-bind search-spaces-regexp.
9872 (isearch-lazy-highlight-space-regexp): Remove variable.
9873 (isearch-lazy-highlight-lax-whitespace)
9874 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9875 (isearch-lazy-highlight-new-loop): Use them.
9876 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9877
9878 2012-09-02 Chong Yidong <cyd@gnu.org>
9879
9880 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9881
9882 2012-09-02 Glenn Morris <rgm@gnu.org>
9883
9884 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9885
9886 2012-09-01 Glenn Morris <rgm@gnu.org>
9887
9888 * term.el: Tidy up menu definitions.
9889 (term-mode-map): Use easymenu for In/Out, Complete menus.
9890 (term-pager-break-map): Initialize in the defvar.
9891 (term-terminal-menu, term-signals-menu): Define with easymenu.
9892 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9893 (term-pager-menu): New, extracted from term-process-pager.
9894 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9895 (term-update-mode-line): Propertize line/char and page items.
9896 (term-process-pager): Move keymap initialization elsewhere.
9897
9898 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9899
9900 * window.el (switch-to-prev-buffer): Handle additional values of
9901 BURY-OR-KILL argument. Don't switch in minibuffer window.
9902 (switch-to-next-buffer): Don't switch in minibuffer window.
9903 (quit-restore-window): New function based on quit-window.
9904 Handle additional values of former KILL argument.
9905 (quit-window): Call quit-restore-window with appropriate
9906 interpretation of KILL argument.
9907 (display-buffer-below-selected): New buffer display action
9908 function.
9909
9910 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9911
9912 * minibuffer.el (completion-at-point-functions): Complete docstring
9913 (bug#12254).
9914
9915 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9916
9917 Better seed support for (random).
9918 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9919 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9920 * play/mpuz.el, play/tetris.el, play/zone.el:
9921 * calc/calc-comb.el (math-init-random-base):
9922 * play/blackbox.el (bb-init-board):
9923 * play/life.el (life):
9924 * server.el (server-use-tcp):
9925 * type-break.el (type-break):
9926 Remove unnecessary call to (random t).
9927 * net/sasl.el (sasl-unique-id-function):
9928 Change (random t) to (random), now that the latter is more random.
9929 * play/life.el (life-initialized): Remove no-longer-needed var.
9930
9931 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9932
9933 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9934 Consider frame's buffer predicate when choosing the buffer.
9935 (Bug#12081)
9936
9937 2012-08-30 Richard Stallman <rms@gnu.org>
9938
9939 * simple.el (special-mode-map): Delete binding for `z'.
9940
9941 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9942
9943 * progmodes/compile.el (compilation-always-kill): Doc fix.
9944
9945 2012-08-30 Chong Yidong <cyd@gnu.org>
9946
9947 * window.el (display-buffer-reuse-frames): Make the obsolescence
9948 message more informative.
9949
9950 2012-08-30 Glenn Morris <rgm@gnu.org>
9951
9952 * paren.el (show-paren-delay):
9953 Add a :set function. Doc fix. (Bug#12297)
9954
9955 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9956
9957 * progmodes/compile.el (compilation-always-kill): New var.
9958 (compilation-start): Use it.
9959
9960 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9961
9962 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9963 * files.el (read-only-mode): Move to simple.el.
9964
9965 * files.el (read-only-mode): New minor mode.
9966 (toggle-read-only): Use it and mark obsolete.
9967 (find-file--read-only):
9968 * vc/vc.el (vc-next-action, vc-checkout):
9969 * vc/vc-cvs.el (vc-cvs-checkout):
9970 * obsolete/vc-mcvs.el (vc-mcvs-update):
9971 * ffap.el (ffap--toggle-read-only): Update callers.
9972
9973 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9974
9975 * eshell/esh-ext.el (eshell-external-command): Do not examine
9976 remote shell scripts.
9977 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9978
9979 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9980 "/usr/local/sbin".
9981
9982 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9983
9984 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9985
9986 2012-08-28 Leo Liu <sdl.web@gmail.com>
9987
9988 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9989 completion-at-point. (Bug#12220)
9990
9991 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9992
9993 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9994
9995 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9996
9997 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9998 be buffer-local; add delete-trailing-whitespace (bug#12259).
9999
10000 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
10001
10002 * progmodes/hideif.el (hif-compress-define-list):
10003 Fix typo. (Bug#11951)
10004
10005 2012-08-28 Dan Nicolaescu <dann@gnu.org>
10006
10007 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
10008 buffer local setting.
10009
10010 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
10011 rcirc-encode-coding-system.
10012
10013 2012-08-28 Leo Liu <sdl.web@gmail.com>
10014
10015 * net/rcirc.el (rcirc-split-message): New function.
10016 (rcirc-send-message): Use it. (Bug#12051)
10017
10018 2012-08-28 Juri Linkov <juri@jurta.org>
10019
10020 * info.el (Info-fontify-node): Hide empty lines at the end of
10021 the node. (Bug#12272)
10022
10023 2012-08-27 Drew Adams <drew.adams@oracle.com>
10024
10025 * dired.el (dired-pop-to-buffer): Make window start at beginning
10026 of buffer (Bug#12281).
10027
10028 2012-08-26 Chong Yidong <cyd@gnu.org>
10029
10030 * window.el (special-display-regexps, special-display-frame-alist)
10031 (special-display-buffer-names, special-display-function)
10032 (display-buffer-reuse-frames): Mark as obsolete.
10033
10034 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
10035
10036 * help.el (help-print-return-message): Don't treat
10037 display-buffer-reuse-frames specially.
10038
10039 2012-08-26 Chong Yidong <cyd@gnu.org>
10040
10041 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
10042 New variable, replacing gdb-frame-parameters.
10043 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
10044 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
10045 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
10046 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
10047 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
10048 the functions directly with gdb-display-buffer-other-frame-action.
10049 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
10050 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
10051 (gdb-display-stack-buffer, gdb-display-locals-buffer)
10052 (gdb-display-registers-buffer): Define directly.
10053 (def-gdb-display-buffer): Macro deleted.
10054 (gdb-display-buffer): Remove second and third args, callers don't
10055 use them. Defer to the default display-buffer behavior, apart
10056 from making windows dedicated.
10057 (gdb-setup-windows): Don't call display-buffer unnecessarily.
10058
10059 * progmodes/gud.el (gud-display-line): Just use display-buffer.
10060
10061 * window.el (display-buffer-pop-up-frame): Handle a
10062 pop-up-frame-parameters alist entry.
10063 (display-buffer): Document it.
10064
10065 2012-08-26 Chong Yidong <cyd@gnu.org>
10066
10067 * isearch.el (search-whitespace-regexp): Make string and nil
10068 values apply to both ordinary and regexp search. Allow a cons
10069 cell value to distinguish between the two.
10070 (isearch-whitespace-regexp, isearch-search-forward)
10071 (isearch-search-backward): New functions.
10072 (isearch-occur, isearch-search-fun-default, isearch-search)
10073 (isearch-lazy-highlight-new-loop): Use them.
10074 (isearch-forward, isearch-forward-regexp): Doc fix.
10075
10076 2012-08-26 Chong Yidong <cyd@gnu.org>
10077
10078 * faces.el (help-argument-name): Always inherit from italic
10079 (Bug#12213).
10080
10081 2012-08-25 Martin Rudalics <rudalics@gmx.at>
10082
10083 * window.el (window--even-window-heights): Even heights when
10084 WINDOW and the selected window form a vertical combination.
10085 (display-buffer-use-some-window): Provide that window used gets
10086 sized back by quit-window. (Bug#11880) and (Bug#12091)
10087
10088 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
10089
10090 Fix file time stamp problem with bzr and CVS (Bug#12001).
10091 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
10092 in the file's time stamp, since the version control system loses
10093 that information.
10094
10095 2012-08-22 Juri Linkov <juri@jurta.org>
10096
10097 * info.el (Info-fontify-node): Hide the suffix of the
10098 Info file name in the header line. (Bug#12187)
10099
10100 2012-08-22 Glenn Morris <rgm@gnu.org>
10101
10102 * calendar/cal-tex.el (cal-tex-weekly-common):
10103 Restore leading blank page.
10104
10105 2012-08-22 Le Wang <l26wang@gmail.com>
10106
10107 * misc.el (forward-to-word, backward-to-word): Activate or extend
10108 the region under `shift-select-mode'. (Bug#12231)
10109
10110 2012-08-22 Bastien Guerry <bzg@gnu.org>
10111
10112 * progmodes/executable.el (executable-prefix): Set to "#!" instead
10113 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
10114 gives details on why the space is never needed.
10115
10116 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10117
10118 * window.el (walk-window-tree, window-with-parameter):
10119 New optional argument MINIBUF to control whether these functions
10120 should run on the minibuffer window.
10121 (window-at-side-list): Don't operate on minibuffer window.
10122 (window-in-direction): Simplify and rewrite doc-string.
10123 (window--size-ignore): Rename to window--size-ignore-p.
10124 Update callers.
10125 (display-buffer-in-atom-window, window--major-non-side-window)
10126 (window--major-side-window, display-buffer-in-major-side-window)
10127 (delete-side-window, display-buffer-in-side-window):
10128 New functions.
10129 (window--side-check, window-deletable-p, delete-window)
10130 (delete-other-windows, split-window): Handle side windows and
10131 atomic windows appropriately.
10132 (window--display-buffer): Call display-buffer-record-window also
10133 when the window buffer did not change.
10134
10135 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
10136
10137 * help-fns.el (help-fns--key-bindings):
10138 Abbreviate non-symbol remap targets. (Bug#12174)
10139
10140 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10141
10142 * dired.el (dired-mark-remembered): Don't clobber point.
10143 (Bug#11795)
10144
10145 2012-08-22 Glenn Morris <rgm@gnu.org>
10146
10147 * progmodes/bug-reference.el (bug-reference): New custom group.
10148 (bug-reference-bug-regexp): Make it a defcustom.
10149
10150 2012-08-22 Daiki Ueno <ueno@unixuser.org>
10151
10152 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
10153 (js-paren-indent-offset, js-square-indent-offset)
10154 (js-curly-indent-offset): Add :safe (Bug#12257).
10155
10156 2012-08-22 Edward O'Connor <hober0@gmail.com>
10157
10158 * json.el (json-key-format): Add error properties.
10159 (json-encode-key): New function.
10160 (json-encode-hash-table, json-encode-alist, json-encode-plist):
10161 Use json-encode-key.
10162
10163 2012-08-22 Glenn Morris <rgm@gnu.org>
10164
10165 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
10166 (cal-tex-leftday, cal-tex-rightday): Remove functions.
10167 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
10168 Update for above change.
10169
10170 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
10171
10172 * cus-face.el (custom-face-attributes): Fix customize type for the
10173 :underline attribute. (Bug#11805)
10174
10175 2012-08-21 Martin Rudalics <rudalics@gmx.at>
10176
10177 * window.el (window-point-1, set-window-point-1): Remove.
10178 (window-in-direction, record-window-buffer)
10179 (set-window-buffer-start-and-point, split-window-below)
10180 (window--state-get-1, display-buffer-record-window):
10181 Replace calls to window-point-1 and set-window-point-1 by calls to
10182 window-point and set-window-point respectively.
10183
10184 2012-08-21 Glenn Morris <rgm@gnu.org>
10185
10186 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
10187 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
10188 Use it.
10189
10190 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
10191 (cal-tex-shortday): New function.
10192 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
10193 (cal-tex-cursor-filofax-daily): Use the above.
10194
10195 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
10196 New functions.
10197 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10198 (cal-tex-cursor-filofax-week): Use them.
10199
10200 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
10201 New constants.
10202 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10203 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
10204
10205 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
10206 (cal-tex-end-document): Don't rely on buffer name.
10207
10208 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
10209 Use cal-tex-vspace.
10210 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
10211 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
10212 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
10213 Use cal-tex-arg.
10214
10215 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
10216 (cal-tex-cursor-week, cal-tex-cursor-week2)
10217 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
10218 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10219 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
10220 (cal-tex-insert-preamble, cal-tex-b-document)
10221 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
10222 Improve cal-tex-cmd usage.
10223
10224 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
10225 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
10226 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
10227 (cal-tex-weekly-paper): New function.
10228 (cal-tex-cursor-week, cal-tex-cursor-week2)
10229 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
10230 (cal-tex-cursor-day): Use it.
10231
10232 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
10233 (cal-tex-cursor-filofax-week): Remove leading blank page.
10234
10235 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10236 Add autoload cookie. For now at least, don't use color, since
10237 no other cal-tex function does.
10238
10239 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
10240 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10241 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
10242
10243 2012-08-21 Juri Linkov <juri@jurta.org>
10244
10245 * info.el (Info-file-attributes): New variable.
10246 (info-insert-file-contents): Add file attributes to
10247 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
10248 `Info-toc-nodes' when previous modtime of the Info file is less
10249 than new modtime.
10250 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
10251 of info.el. (Bug#12230)
10252
10253 2012-08-20 Glenn Morris <rgm@gnu.org>
10254
10255 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
10256 * calendar/holidays.el (calendar-holiday-list):
10257 Report errors with display-warning rather than beep'n'sleep.
10258
10259 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
10260
10261 * net/tramp.el (tramp-accept-process-output): Accept only output
10262 from PROC. Otherwise, process filters and sentinels might be
10263 confused. (Bug#12145)
10264
10265 2012-08-20 Chong Yidong <cyd@gnu.org>
10266
10267 * descr-text.el (describe-text-properties-1): Use overlays-in to
10268 report on empty overlays (Bug#3322).
10269
10270 2012-08-20 Glenn Morris <rgm@gnu.org>
10271
10272 * mail/rmailout.el (rmail-output-read-file-name):
10273 Trap and report errors in rmail-output-file-alist elements.
10274
10275 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10276 since most non-font-lock faces are not also variables).
10277
10278 2012-08-20 Edward Reingold <reingold@iit.edu>
10279
10280 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10281 New function. (Bug12160)
10282
10283 2012-08-19 Glenn Morris <rgm@gnu.org>
10284
10285 * mail/rmailout.el (rmail-output-read-file-name):
10286 Fix previous change (when the alist is nil or does not match).
10287
10288 2012-08-19 Chong Yidong <cyd@gnu.org>
10289
10290 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10291 (Bug#12228).
10292
10293 2012-08-18 Chong Yidong <cyd@gnu.org>
10294
10295 * simple.el (yank-handled-properties): New defcustom.
10296 (yank-excluded-properties): Add font-lock-face and category.
10297 (yank): Doc fix.
10298
10299 * subr.el (remove-yank-excluded-properties):
10300 Obey yank-handled-properties. The special handling of font-lock-face
10301 and category is now done this way, instead of being hard-coded.
10302 (insert-for-yank-1): Remove font-lock-face handling.
10303 (yank-handle-font-lock-face-property)
10304 (yank-handle-category-property): New function.
10305
10306 2012-08-17 Glenn Morris <rgm@gnu.org>
10307
10308 * mail/rmailout.el (rmail-output-read-file-name):
10309 Check rmail-output-file-alist against the full message body
10310 in the correct rmail buffer. (Bug#12214)
10311
10312 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10313
10314 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10315 Eliminate superfluous prompt. (Bug#12203)
10316
10317 2012-08-17 Chong Yidong <cyd@gnu.org>
10318
10319 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10320 font spec, set the font directly (Bug#3228).
10321
10322 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10323
10324 * window.el (delete-window): Fix last fix.
10325
10326 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10327
10328 * window.el (window-valid-p): Move to window.c.
10329 (window-child, window-child-count, window-last-child)
10330 (window-normalize-window, window-combined-p)
10331 (window-combinations, window-atom-root, window-min-size)
10332 (window-sizable, window-sizable-p, window-size-fixed-p)
10333 (window-min-delta, window-max-delta, window--resizable)
10334 (window--resizable-p, window-resizable, window-total-size)
10335 (window-full-height-p, window-full-width-p, window-body-size)
10336 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10337 (minimize-window, window-deletable-p, delete-window)
10338 (delete-other-windows, set-window-buffer-start-and-point)
10339 (next-buffer, previous-buffer, split-window, balance-windows-2)
10340 (set-window-text-height, window-buffer-height)
10341 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10342 (truncated-partial-width-window-p): Minor code adjustments.
10343 In doc-strings state whether the argument window has to denote a
10344 live, valid or any window.
10345
10346 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10347
10348 * progmodes/subword.el (subword-forward-function)
10349 (subword-backward-function, subword-forward-regexp)
10350 (subword-backward-regexp): New variables.
10351 (subword-forward, subword-forward-internal, subword-backward-internal):
10352 Use new variables, eg so that different "word" definitions
10353 can be easily used. (Bug#11411)
10354
10355 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10356
10357 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10358 for composite selectors.
10359 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10360 operation just because we can't find a previous revision.
10361
10362 2012-08-15 Chong Yidong <cyd@gnu.org>
10363
10364 * frame.el (set-frame-font): Accept font objects.
10365
10366 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10367
10368 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10369
10370 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10371
10372 * man.el (Man-overstrike-face, Man-underline-face)
10373 (Man-reverse-face): Remove variables.
10374 (Man-overstrike, Man-underline, Man-reverse): New faces.
10375 (Man-fontify-manpage): Use them instead of the variables.
10376 (Man-cleanup-manpage): Comment change.
10377 (Man-ansi-color-map): New variable.
10378 (Man-fontify-manpage): Use it.
10379 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10380
10381 Implement ANSI SGR parameters 22-27 (bug#12146).
10382 * ansi-color.el (ansi-colors): Doc fix.
10383 (ansi-color-context, ansi-color-context-region): Doc fix.
10384 (ansi-color--find-face): New function.
10385 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10386 Rename the local variable `face' to `codes' since it is now a list of
10387 ansi codes. Doc fix.
10388 (ansi-color-get-face): Remove.
10389 (ansi-color-parse-sequence): New function, derived from
10390 ansi-color-get-face.
10391 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10392 codes 22-27.
10393
10394 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10395
10396 * subr.el (read-passwd): Allow use from a minibuffer.
10397
10398 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10399
10400 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10401 inside comments and strings as identifiers.
10402
10403 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10404 expression to evaluate. This allows to evaluate expressions with
10405 embedded whitespace.
10406 (gud-tooltip-tips): Add a blank before the newline in the
10407 message-box text, for the benefit of message-box emulation on
10408 MS-Windows.
10409
10410 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10411 messages from GDB, pop them up in a tooltip to give feedback to
10412 user.
10413 (gdb-tooltip-print-1): Quote the expression to evaluate.
10414 This allows to evaluate expressions with embedded whitespace.
10415 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10416 if the TTY name is nil or empty (which happens when communicating
10417 with the inferior via pipes, e.g. on MS-Windows).
10418 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10419 don't send that to the GUD buffer.
10420
10421 2012-08-14 Glenn Morris <rgm@gnu.org>
10422
10423 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10424 Optimize away setq-default with no args, as for setq. (Bug#12195)
10425
10426 2012-08-14 Chong Yidong <cyd@gnu.org>
10427
10428 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10429
10430 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10431 (Bug#12085).
10432
10433 2012-08-14 Glenn Morris <rgm@gnu.org>
10434
10435 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10436
10437 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10438
10439 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10440 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10441 Use cached shell name.
10442
10443 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
10444
10445 * progmodes/python.el (python-shell-send-string):
10446 (python-shell-send-setup-code): Do not use `format' with `message'.
10447
10448 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10449
10450 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10451 (ruby-percent-literal-beg-re): New constant.
10452 (ruby-syntax-general-delimiters-goto-beg): Rename to
10453 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10454 (ruby-syntax-propertize-general-delimiters): Rename to
10455 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10456 popular term. Adjust comments everywhere.
10457 (ruby-syntax-propertize-percent-literal): Only propertize when not
10458 inside a simple string or comment. When the literal is unclosed,
10459 leave the text after it unpropertized.
10460 (ruby-syntax-methods-before-regexp): New constant.
10461 (ruby-syntax-propertize-function): Use it to recognize regexps.
10462 Don't look at the text after regexp, just use the whitelist.
10463
10464 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10465
10466 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10467 non-nil always load the compiled file if it exists. (Bug#12197)
10468
10469 2012-08-14 Chong Yidong <cyd@gnu.org>
10470
10471 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10472 (hi-lock-set-pattern): When deciding whether to use font lock or
10473 overlays, look at font-lock-mode instead of font-lock-fontified
10474 (Bug#12168).
10475 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10476 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10477
10478 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10479
10480 * subr.el (internal--after-with-selected-window): Fix typo
10481 (Bug#12193).
10482
10483 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
10484
10485 Use `completion-table-dynamic' for completion functions.
10486 * progmodes/python.el
10487 (python-shell-completion--do-completion-at-point)
10488 (python-shell-completion--get-completions):
10489 Remove functions.
10490 (python-shell-completion-complete-at-point): New function.
10491 (python-completion-complete-at-point): Use it.
10492
10493 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10494
10495 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10496 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10497
10498 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10499
10500 * subr.el (function-get): Refine `autoload' arg so it can also
10501 autoload functions for gv.el (bug#12191).
10502 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10503 autoloads macros.
10504
10505 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10506 Prefer pcase-let over destructuring-bind.
10507 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10508 Also, remove whitespace as we go, rather than after accumulating the
10509 various places.
10510
10511 * subr.el (internal--before-with-selected-window)
10512 (internal--after-with-selected-window): Fix typo seleted->selected.
10513 (with-selected-window): Adjust callers.
10514 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10515
10516 2012-08-13 Bastien Guerry <bzg@gnu.org>
10517
10518 * window.el (special-display-popup-frame): Minor docstring
10519 enhancement. (Bug#12172)
10520
10521 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10522
10523 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10524 type 1-6.
10525 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10526 extended headers.
10527
10528 * files.el (hack-local-variables-filter): Remove useless eval.
10529
10530 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10531
10532 * subr.el (with-selected-window): Fix last change.
10533
10534 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10535
10536 * subr.el (internal--before-with-seleted-window)
10537 (internal--after-with-seleted-window): New functions.
10538 (with-selected-window): Use them, to replace dependency on
10539 tty-top-frame.
10540
10541 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10542
10543 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10544 binding for `newline'.
10545 (ruby-move-to-block): When moving backward, stop at block opening,
10546 not indentation.
10547 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10548 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10549 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10550 `ruby-toggle-block'.
10551
10552 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10553
10554 * ibuffer.el (ibuffer-do-toggle-read-only):
10555 * dired.el (dired-toggle-read-only):
10556 * buff-menu.el (Buffer-menu-toggle-read-only):
10557 * bindings.el (mode-line-toggle-read-only):
10558 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10559
10560 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10561
10562 * descr-text.el (describe-char): Put the overlays over the
10563 "displayed as" character.
10564
10565 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10566
10567 * calc/calc-units.el (math-default-units-table): Give an
10568 initial value.
10569 (math-put-default-units): Add options to put composite units and
10570 unit systems in the default units table.
10571 (calc-convert-units): Send composite units to
10572 `math-put-default-units' when appropriate.
10573
10574 2012-08-11 Glenn Morris <rgm@gnu.org>
10575
10576 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10577
10578 * tutorial.el (help-with-tutorial):
10579 * emacs-lisp/copyright.el (copyright-update-directory):
10580 * emacs-lisp/autoload.el (autoload-find-generated-file)
10581 (autoload-find-file): Disable local eval: (for insurance).
10582
10583 * files.el (hack-local-variables-filter): If an eval: form is not
10584 known to be safe, and enable-local-variables is :safe, then ignore
10585 the form totally, as is done for non-eval forms. (Bug#12155)
10586 This is CVE-2012-3479.
10587
10588 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10589
10590 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10591 (rx-form): Simplify.
10592
10593 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10594
10595 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10596 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10597 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10598 (ruby-syntax-propertize-function): Adjust for changes in
10599 `ruby-syntax-propertize-heredoc'.
10600
10601 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10602
10603 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10604 binding (use `M-;' instead).
10605 (ruby-singleton-class-p): New function.
10606 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10607
10608 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10609
10610 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10611
10612 2012-08-10 Chong Yidong <cyd@gnu.org>
10613
10614 * progmodes/python.el (python-shell-get-process-name): Don't mess
10615 with same-window-buffer-names.
10616
10617 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10618 (eshell-remove-from-window-buffer-names): Make obsolete.
10619 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10620 (eshell): Just use pop-to-buffer-same-window instead.
10621
10622 2012-08-10 Chong Yidong <cyd@gnu.org>
10623
10624 * bindings.el: Bind M-= back to count-words-region.
10625
10626 * simple.el (count-words-region): Accept a prefix arg for acting
10627 on the entire buffer.
10628 (count-words--buffer-message): New helper function.
10629
10630 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10631
10632 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10633 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10634 (event-start, event-end): Use posn-at-point to return a more
10635 informative posn.
10636 (posnp): New function.
10637 * mouse.el (popup-menu-normalize-position): Use it.
10638
10639 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10640
10641 * mouse.el (popup-menu-normalize-position): New function.
10642 (popup-menu): Use `popup-menu-normalize-position' to normalize
10643 the form for POSITION argument.
10644
10645 * term/x-win.el (x-menu-bar-open):
10646 Use the value returend from (posn-at-point) as position
10647 passed to `popup-menu'.
10648
10649 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10650
10651 * calc/calccomp.el (math-compose-expr): Add extra argument
10652 indicating that parentheses should be put around products in
10653 denominators. Give multiplication precedence over division during
10654 composition.
10655
10656 2012-08-09 Chong Yidong <cyd@gnu.org>
10657
10658 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10659 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10660 (Man-untabify-command, manual-program): Convert to defcustom
10661 (Bug#10429).
10662
10663 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10664
10665 * descr-text.el (describe-char): Don't insert extra newlines
10666 (Bug#10127).
10667
10668 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10669 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10670
10671 * align.el (align-region): Delete temporary markers (Bug#10047).
10672 Plus some code cleanups.
10673
10674 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
10675
10676 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10677 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10678 (python-shell-internal-last-output): Use make-local-variable
10679 instead of make-variable-buffer-local.
10680
10681 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
10682
10683 * progmodes/python.el: Enhancements to forward-sexp.
10684 (python-nav-forward-sexp): Rename from
10685 python-nav-forward-sexp-function.
10686 (python-nav--forward-sexp, python-nav--backward-sexp):
10687 New functions.
10688
10689 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10690
10691 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10692 modes and simplification modes.
10693
10694 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10695
10696 * delsel.el (delete-selection-pre-hook): Don't propagate the
10697 file-supersession signals (bug#12161).
10698
10699 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10700
10701 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10702 (cl-map-extents): Add compatibility aliases (bug#12135).
10703
10704 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10705
10706 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10707 tests by `ignore-error'.
10708 (tramp-find-shell): Open also a new shell, when cache is already
10709 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10710
10711 2012-08-08 Juri Linkov <juri@jurta.org>
10712
10713 * bookmark.el: Add `defaults' property to the bookmark record.
10714 (bookmark-current-buffer): Doc fix.
10715 (bookmark-make-record): Add `defaults' property with default values
10716 to the bookmark record.
10717 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10718 with `bookmark-insert-current-bookmark'.
10719 (bookmark-set): Get `defaults' property from the bookmark record
10720 and use it in `read-from-minibuffer'.
10721 (bookmark-insert-current-bookmark): Remove function.
10722
10723 * info.el (Info-bookmark-make-record): Add `defaults' property
10724 with values of canonical Info node name, the current Info file
10725 name and the current Info node name. (Bug#12107)
10726
10727 2012-08-08 Juri Linkov <juri@jurta.org>
10728
10729 * files.el (basic-save-buffer): Use `buffer-name' as the default
10730 of `read-file-name' when buffer is not visiting a file (bug#12128).
10731
10732 2012-08-08 Juri Linkov <juri@jurta.org>
10733
10734 * info.el (Info-isearch-search): Doc fix.
10735 (Info-search): Change search-failed message from "initial node" to
10736 "end of node" (bug#12078).
10737 (Info-isearch-search): Change `isearch-string-state' to
10738 `isearch--state-string'.
10739
10740 2012-08-08 Glenn Morris <rgm@gnu.org>
10741
10742 * language/persian.el: Remove file.
10743 * language/misc-lang.el: Move unique part of persian.el here.
10744 * loadup.el: Remove language/persian.
10745
10746 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
10747
10748 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10749
10750 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
10751
10752 * progmodes/python.el: Fix defsubst warning.
10753 (python-syntax-context) Rename from python-info-ppss-context.
10754 (python-syntax-context-type): Rename from
10755 python-info-ppss-context-type.
10756 (python-syntax-comment-or-string-p): Rename from
10757 python-info-ppss-comment-or-string-p.
10758
10759 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10760
10761 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10762
10763 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10764
10765 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10766 a defcustom that is quoted with backquote.
10767
10768 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10769 Fix handling of interactive spec when the body uses return.
10770 (math-do-arg-check, math-define-function-body): Use backquote forms.
10771 * calc/calc-ext.el (math-defcache): Likewise.
10772 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10773 * allout.el (allout-new-exposure): Likewise.
10774 * calc/calcalg2.el (math-tracing-integral): Likewise.
10775 * info.el (Info-last-menu-item): Likewise.
10776 * emulation/vip.el (vip-loop): Likewise.
10777 * textmodes/artist.el (artist-funcall): Likewise.
10778 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10779 Construct menu-item directly.
10780
10781 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10782 Don't declare.
10783
10784 2012-08-07 Chong Yidong <cyd@gnu.org>
10785
10786 * simple.el (deactivate-mark): Preserve text properties when
10787 saving the primary selection (Bug#8384).
10788
10789 2012-08-07 Kevin Ryde <user42@zip.com.au>
10790
10791 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10792 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10793 and continue processing (Bug#12110).
10794
10795 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10796
10797 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10798 syntax-propertize-function (bug#10095).
10799
10800 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10801
10802 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10803 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10804 describe-function-1.
10805 (describe-function-1): Use them. Move compiler macro after sig.
10806 (help-fns--compiler-macro): Use function-get. Assume we're already in
10807 standard-output. Adjust layout to new call order.
10808
10809 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10810 re-binding a symbol that has a symbol-macro (bug#12119).
10811
10812 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10813
10814 * language/persian.el: New file. (Bug#11812)
10815 * loadup.el: Add language/persian.el.
10816
10817 2012-08-06 Chong Yidong <cyd@gnu.org>
10818
10819 * window.el (window--maybe-raise-frame): New function.
10820 (window--display-buffer): Split off from here.
10821 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10822 (display-buffer-pop-up-window, display-buffer-use-some-window):
10823 Obey an inhibit-switch-frame action alist entry.
10824 (display-buffer): Update doc.
10825
10826 * replace.el (occur-after-change-function): Avoid losing focus by
10827 using the inhibit-switch-frame display parameter (Bug#12139).
10828
10829 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
10830
10831 Make internal shell process buffer names start with space.
10832 * progmodes/python.el (python-shell-make-comint): Add optional
10833 argument INTERNAL.
10834 (run-python-internal): Use it.
10835 (python-shell-internal-get-or-create-process): Check for new
10836 internal buffer names.
10837
10838 2012-08-06 Glenn Morris <rgm@gnu.org>
10839
10840 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10841 Do less getting and setting of environment variables.
10842
10843 2012-08-05 Chong Yidong <cyd@gnu.org>
10844
10845 * proced.el (proced): Add substitution string to docstring to
10846 trigger autoloading of the proced library on C-h f (Bug#1768).
10847
10848 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10849 Don't show defvars which have no second argument (Bug#8638).
10850
10851 * imenu.el (imenu-generic-expression): Move documentation here
10852 from imenu--generic-function.
10853 (imenu--generic-function): Refer to imenu-generic-expression.
10854
10855 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
10856
10857 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10858 indentation declaration.
10859 (viper-loop): Add indentation declaration (Bug#7025).
10860
10861 2012-08-05 Chong Yidong <cyd@gnu.org>
10862
10863 * help-fns.el (describe-variable): Add hyperlink for
10864 directory-local variables files. Improve buffer-local and
10865 permanent-local reporting; suggested by MON KEY (Bug#6644).
10866
10867 * help-mode.el (help-dir-local-var-def): New button type.
10868
10869 * files.el (kill-buffer-hook): Provide a defvar.
10870
10871 2012-08-05 Glenn Morris <rgm@gnu.org>
10872
10873 * eshell/esh-ext.el (eshell/addpath):
10874 Also update eshell-path-env. (Bug#12013)
10875
10876 2012-08-05 Chong Yidong <cyd@gnu.org>
10877
10878 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10879
10880 * fringe.el (fringe-styles): Add docstring.
10881 (fringe--check-mode): New function.
10882 (set-fringe-mode, set-fringe-style): Use it.
10883 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10884
10885 * files.el (set-auto-mode): Fix invalid setq call.
10886
10887 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10888
10889 * isearch.el: Misc simplification; use defstruct.
10890 (isearch-mode-map): Dense maps now work like sparse ones.
10891 (isearch--state): New defstruct.
10892 (isearch-string-state, isearch-message-state, isearch-point-state)
10893 (isearch-success-state, isearch-forward-state)
10894 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10895 (isearch-wrapped-state, isearch-barrier-state)
10896 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10897 replaced by defstruct's accessors.
10898 (isearch--set-state): Rename from isearch-top-state and change
10899 calling convention.
10900 (isearch-push-state): Use new isearch--get-state.
10901 (isearch-toggle-word): Disable regexp when enabling word.
10902 (isearch-message-prefix): Remove unused arg _c-q-hack.
10903 (isearch-message-suffix): Remove unused arg _ellipsis.
10904
10905 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10906
10907 * simple.el (list-processes--refresh): For a server use :host or
10908 :local as the address.
10909 (list-processes): Doc fix.
10910
10911 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10912
10913 * lisp/mpc.el: Support password in host argument.
10914 (mpc--proc-connect): Parse and use new password element.
10915 Set mpc-proc variable instead of returning process.
10916 (mpc-proc): Adjust accordingly.
10917
10918 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10919
10920 * whitespace.el (whitespace-display-mappings): Use Unicode
10921 codepoints, instead of emacs-mule codepoints. See
10922 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10923 for the details.
10924
10925 * files.el (file-truename): Don't skip symlink-chasing part on
10926 windows-nt. Incorporate the resolution of 8+3 short aliases on
10927 Windows into the loop that recursively chases symlinks.
10928 Compare directory and its parent case-insensitively on MS-Windows and
10929 MS-DOS.
10930
10931 2012-08-03 Chong Yidong <cyd@gnu.org>
10932
10933 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10934
10935 * sort.el (sort-regexp-fields): Doc fix.
10936
10937 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10938
10939 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10940 labels regex position point at the expected place.
10941
10942 2012-08-03 MON KEY <monkey@sandpframing.com>
10943
10944 * net/imap.el (imap-interactive-login, imap-authenticate)
10945 (imap-mailbox-lsub, imap-mailbox-list)
10946 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10947 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10948 (imap-parse-response): Doc fix.
10949
10950 2012-08-03 João Távora <joaotavora@gmail.com>
10951
10952 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10953 if sexp scanning does not move point (Bug#5734).
10954
10955 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10956
10957 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10958 Add listings, minted, and ctable packages.
10959 (reftex-label-alist-builtin): Move listings, minted, and ctable
10960 entries before LaTeX.
10961 (reftex-label-alist): Docfix.
10962
10963 2012-08-02 Bastien Guerry <bzg@gnu.org>
10964
10965 * replace.el (occur): Fix docstring (bug#12122).
10966
10967 2012-08-02 Glenn Morris <rgm@gnu.org>
10968
10969 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10970
10971 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10972
10973 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10974 * international/mule-cmds.el: Create
10975 inactivate-current-input-method-function as an obsolete alias for
10976 deactivate-current-input-method-function. See Katsumi Yamaoka in
10977 <http://bugs.gnu.org/10150#46>.
10978
10979 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10980
10981 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10982 of nested `if's.
10983
10984 2012-08-01 Glenn Morris <rgm@gnu.org>
10985
10986 * progmodes/autoconf.el (autoconf-definition-regexp):
10987 Add AH_TEMPLATE, adjust submatch numbering.
10988 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10989 (autoconf-current-defun-function): Update for above change.
10990 (autoconf-current-defun-function): First skip to end of current word.
10991
10992 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10993
10994 * calendar/cal-html.el (cal-html-insert-agenda-days):
10995 Fix typo. (Bug#12018)
10996
10997 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
10998
10999 Shell processes: enhancements to startup and CEDET compatibility.
11000 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
11001 (python-shell-make-comint): accept-process-output at startup.
11002 (run-python-internal): Set inferior-python-mode-hook to nil.
11003 (python-shell-internal-get-or-create-process): call sit-for.
11004 (python-preoutput-result): Add obsolete alias.
11005 (python-shell-internal-send-string): Use it.
11006 (python-shell-send-setup-code): Remove call to
11007 accept-process-output.
11008
11009 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
11010
11011 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
11012 (Bug#12108)
11013
11014 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
11015
11016 * calc-mode.el (calc-basic-simplification-mode): Rename from
11017 `calc-limited-simplification-mode'.
11018 (calc-alg-simplification-mode): New function.
11019 (calc-set-simplify-mode): Adjust message.
11020
11021 * calc.el (calc-set-mode-line): Adjust mode line display for
11022 basic simplification mode.
11023
11024 * calc-help.el (calc-m-prefix-help): Update help message.
11025
11026 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
11027 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
11028
11029 2012-07-31 Bastien Guerry <bzg@gnu.org>
11030
11031 * man.el (man): Fix comment. (bug#12101)
11032
11033 2012-07-31 Martin Rudalics <rudalics@gmx.at>
11034
11035 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
11036 Don't return a non-nil value when no suitable buffer was found.
11037
11038 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
11039
11040 * progmodes/python.el (run-python-internal): Disable font lock for
11041 internal shells.
11042
11043 2012-07-30 Stefan Merten <smerten@oekonux.de>
11044
11045 * textmodes/rst.el: Silence `checkdoc-ispell'.
11046 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11047 (rst-official-version, rst-official-cvs-rev)
11048 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
11049 (rst-mode-map): New key binding.
11050
11051 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
11052
11053 Update .PHONY listings in makefiles.
11054 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
11055 autoloads, update-subdirs, updates, bzr-update, update-authors,
11056 compile-onefile, compile-calc, backup-compiled-files,
11057 compile-after-backup, compile-one-process, mh-autoloads,
11058 bootstrap-clean, distclean, maintainer-clean.
11059
11060 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
11061
11062 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
11063 (calc-set-mode-line): Don't display "AlgSimp ".
11064
11065 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
11066 (calc-lim-simplify-mode): New function.
11067 (calc-set-simplify-mode): Default to 'alg.
11068 (calc-default-simplify-mode): Make algebraic simplifications
11069 the default.
11070
11071 * calc/calc-ext.el (calc-init-extensions): Remove binding for
11072 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
11073
11074 * calc/calc-help.el (calc-m-prefix-help): Change messages to
11075 indicate new simplification modes.
11076
11077 * calc/README: Mention new default simplification mode.
11078
11079 * calc/calc.el (math-normalize-error): New variable.
11080 (math-normalize): Set `math-normalize-error' to t
11081 when there's an error.
11082
11083 * calc/calc-alg.el (math-simplify): Don't simplify when
11084 `math-normalize' returns an error.
11085
11086 2012-07-29 Eli Zaretskii <eliz@gnu.org>
11087
11088 * international/mule-cmds.el (set-locale-environment): Revert last
11089 change, since display-graphic-p returns nil when this function is
11090 called during startup. Instead...
11091
11092 * term/w32console.el (terminal-init-w32console): ...setup the
11093 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
11094
11095 2012-07-29 Juri Linkov <juri@jurta.org>
11096
11097 * simple.el (goto-line): Don't display default line number in the
11098 prompt because it should be displayed by `read-number' (bug#9952).
11099 Add the current line number to the defaults of `goto-line' to
11100 allow its easier modification by users with `M-n' (bug#9201).
11101
11102 * subr.el (read-number): Support multiple default values like in
11103 other minibuffer reading functions. Replace `read' with
11104 `string-to-number' for consistency with `number-to-string'.
11105
11106 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
11107
11108 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
11109 * emulation/viper-init.el (viper-deactivate-input-method-action):
11110 Rename from viper-inactivate-input-method-action.
11111 (viper-deactivate-input-method):
11112 Rename from viper-inactivate-input-method.
11113 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
11114 * international/mule-cmds.el (deactivate-input-method):
11115 Rename from inactivate-input-method.
11116 Also run input-method-deactivate-hook.
11117 (deactivate-current-input-method-function):
11118 Rename from inactivate-current-input-method-function.
11119 (input-method-deactivate-hook): New hook.
11120 (input-method-inactivate-hook): Mark obsolete.
11121 (inactivate-input-method): Mark obsolete.
11122
11123 * international/quail.el (quail-activate):
11124 Also run quail-deactivate-hook.
11125 (quail-deactivate): Rename from quail-inactivate.
11126 * international/robin.el (robin-activate):
11127 Also run robin-deactivate-hook.
11128 (robin-deactivate): Rename from robin-inactivate.
11129
11130 2012-07-29 Chong Yidong <cyd@gnu.org>
11131
11132 * simple.el (indicate-copied-region): New function.
11133 (kill-ring-save): Split off from here.
11134
11135 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
11136 (kill-rectangle): Set deactivate-mark to t on read-only error.
11137
11138 * register.el (copy-to-register, copy-rectangle-to-register):
11139 Deactivate the mark, and use indicate-copied-region (Bug#10056).
11140 (append-to-register, prepend-to-register): Call indicate-copied-region.
11141
11142 2012-07-29 Juri Linkov <juri@jurta.org>
11143
11144 * simple.el (async-shell-command-buffer): New defcustom.
11145 (shell-command): Use it. (Bug#4719)
11146
11147 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11148
11149 * international/mule-cmds.el (set-locale-environment): In a
11150 console session on MS-Windows, set up keyboard and terminal
11151 encoding from the OEM codepage, not the ANSI codepage.
11152 (Bug#12055)
11153
11154 2012-07-28 Chong Yidong <cyd@gnu.org>
11155
11156 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
11157 gdb-get-location.
11158
11159 2012-07-28 Leo Liu <sdl.web@gmail.com>
11160
11161 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
11162 the alist (bug#12029).
11163
11164 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11165
11166 * makefile.w32-in (custom-deps, finder-data, updates, compile)
11167 (compile-always, compile-first)
11168 ($(lisp)/calendar/cal-loaddefs.el)
11169 ($(lisp)/calendar/diary-loaddefs.el)
11170 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11171 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
11172 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
11173 instead of on update-subdirs.
11174 (bootstrap-clean): Delete $(lisp)/subdirs.el.
11175
11176 2012-07-28 Chong Yidong <cyd@gnu.org>
11177
11178 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
11179 directory if vc-deduce-backend returns nil (Bug#7350).
11180
11181 * simple.el (delete-trailing-lines): New option.
11182 (delete-trailing-whitespace): Obey it (Bug#11879).
11183
11184 2012-07-28 David Engster <deng@randomsample.de>
11185
11186 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
11187 Explanation of new 'symbol-qnames feature in doc-strings.
11188 (xml-maybe-do-ns): Return expanded names as plain symbols if
11189 'symbol-qnames was provided in XML-NS argument (Bug#11916).
11190 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
11191
11192 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11193
11194 Consistent completion in inferior python with emacs -nw.
11195 * progmodes/python.el (inferior-python-mode): replace "<tab>"
11196 binding in inferior-python-mode-map with "\t".
11197 (python-shell-completion-complete-at-point)
11198 (python-completion-complete-at-point): Remove interactive spec.
11199
11200 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11201
11202 * calc/calccomp.el (math-compose-expr): Undo previous change.
11203
11204 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11205
11206 * progmodes/python.el (python-mode-map): Add keybinding for
11207 run-python.
11208 (python-shell-make-comint): Fix pop-to-buffer call.
11209 (run-python): Autoload. New arg SHOW.
11210 (python-shell-get-or-create-process): Do not pop python process
11211 buffer.
11212
11213 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
11214
11215 * notifications.el (notifications-on-action-signal)
11216 (notifications-on-closed-signal): Use also the bus address for the map.
11217 (notifications-notify, notifications-close-notification)
11218 (notifications-get-capabilities): Add optional argument BUS.
11219
11220 2012-07-27 Tassilo Horn <tsdh@gnu.org>
11221
11222 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11223 Add support for the lstlisting and minted environments, and for the
11224 ctable macro.
11225 * textmodes/reftex.el (reftex-compile-variables): Also recognize
11226 labels written in keyvals syntax.
11227
11228 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11229
11230 * calc/calccomp.el (math-compose-expr): Use parentheses when
11231 there is a product in the denominator of a fraction.
11232
11233 2012-07-26 Eli Zaretskii <eliz@gnu.org>
11234
11235 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
11236 ($(lisp)/calendar/diary-loaddefs.el)
11237 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11238 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
11239 Fixes failures in parallel bootstrap because subdirs.el is being
11240 rewritten while the autoload files are built at the same time,
11241 which needs to load subdirs.el.
11242
11243 2012-07-26 Martin Rudalics <rudalics@gmx.at>
11244
11245 * mouse.el (popup-menu): Fix doc-string and re-indent code.
11246 (mouse-drag-line): Don't exit tracking when a switch-frame or
11247 switch-window event occurs (Bug#12006).
11248
11249 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11250
11251 * mouse.el (popup-menu): Fix last change.
11252
11253 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11254
11255 Autoload from Lisp with more care. Follow aliases when looking for
11256 function properties.
11257 * subr.el (autoloadp): New function.
11258 (symbol-file): Use it.
11259 (function-get): New function.
11260 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
11261 autoload-do-load.
11262 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
11263 (lisp-indent-function):
11264 * emacs-lisp/gv.el (gv-get):
11265 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
11266 * emacs-lisp/byte-opt.el (byte-optimize-form):
11267 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11268 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11269 Use function-get.
11270 * emacs-lisp/cl.el: Don't propagate function properties any more.
11271
11272 * speedbar.el (speedbar-add-localized-speedbar-support):
11273 * emacs-lisp/disass.el (disassemble-internal):
11274 * desktop.el (desktop-load-file):
11275 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11276 (describe-function-1):
11277 * emacs-lisp/find-func.el (find-function-noselect):
11278 * emacs-lisp/elp.el (elp-instrument-function):
11279 * emacs-lisp/advice.el (ad-has-proper-definition):
11280 * apropos.el (apropos-safe-documentation, apropos-macrop):
11281 * emacs-lisp/debug.el (debug-on-entry):
11282 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11283 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11284 * calc/calc.el (name): Use autoloadp & autoload-do-load.
11285
11286 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
11287
11288 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11289 function, not an obsolete variable (Bug#12046).
11290
11291 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11292
11293 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
11294
11295 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11296
11297 * emacs-lisp/pp.el (pp-display-expression): Select old selected
11298 window only if it is still live (Bug#12034).
11299
11300 2012-07-25 Martin Rudalics <rudalics@gmx.at>
11301
11302 * subr.el (redirect-frame-focus): Add advertised calling
11303 convention (Bug#12030).
11304
11305 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
11306
11307 Prefer typical American spelling for "acknowledgment".
11308 * vc/add-log.el (change-log-acknowledgment): Rename from
11309 change-log-acknowledgement, with an alias for the old name.
11310
11311 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11312
11313 * calc-alg.el (math-simplify-divide): Don't cross multiply
11314 in an equation when the lhs is a variable.
11315
11316 2012-07-24 Julien Danjou <julien@danjou.info>
11317
11318 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11319 Remove, unused.
11320
11321 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11322
11323 * startup.el (command-line): Don't display an empty user name in
11324 the error message about non-existent home directory, when
11325 init-file-user was set to an empty string. See
11326 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11327 for the details and context.
11328
11329 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
11330
11331 * ses.el (ses-cell-formula-aset): New macro.
11332 (ses-cell-references-aset): New macro.
11333 (ses-cell-p): New function.
11334 (ses-rename-cell): Do no longer rely on complex operations like
11335 ses-cell-set-formula or ses-set-cell to change the cell and handle
11336 the undo at the same time, but rather use lower level new macros
11337 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11338 the undo directly. Refresh the mode line.
11339
11340 2012-07-21 Leo Liu <sdl.web@gmail.com>
11341
11342 * progmodes/cc-cmds.el (c-defun-name):
11343 Use match-string-no-properties instead for consistency.
11344
11345 2012-07-20 Leo Liu <sdl.web@gmail.com>
11346
11347 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11348 (Bug#7879)
11349
11350 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11351
11352 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11353
11354 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11355 * progmodes/bug-reference.el, misearch.el: Provide themselves
11356 (bug#11915).
11357
11358 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11359 of narrowed buffer (bug#11966).
11360
11361 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
11362
11363 * ses.el (ses-rename-cell): Set new name also in reference list of
11364 cells of which the renamed cell depends.
11365
11366 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11367
11368 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11369 to check whether menu-bar is shown or not. If not shown,
11370 show the menu-bar as a popup menu instead of using tmm.
11371 * mouse.el (popup-menu): Accept `point' as `position' argument.
11372
11373 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11374
11375 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11376 up inside string symbol literal (bug#11923).
11377
11378 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11379
11380 * startup.el (fancy-startup-text): Read the whole tutorial, not
11381 just its first 256 bytes. Prevents gibberish in display of the
11382 tutorial title.
11383
11384 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11385
11386 Drop idle buffer compaction due to an absence of the
11387 proved efficiency.
11388 * compact.el: Remove.
11389
11390 2012-07-19 Sam Steingold <sds@gnu.org>
11391
11392 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11393 vc-bzr-pull & vc-bzr-merge-branch.
11394 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11395 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11396 for consistency with compilation-error-regexp-alist.
11397 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11398 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11399 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11400 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11401
11402 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11403
11404 * emacs-lisp/chart.el: Use lexical-binding.
11405 (chart-emacs-storage): Don't hardcode the list of entries.
11406
11407 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11408
11409 Next round of tweaks caused by Fgarbage_collect changes.
11410 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11411
11412 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11413
11414 Compact buffers when idle.
11415 * compact.el: New file.
11416
11417 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11418
11419 * subr.el (eventp): Presume that if it looks vaguely like an event,
11420 it's an event (bug#10190).
11421
11422 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
11423
11424 Enhancements to ppss related code (thanks Stefan).
11425 * progmodes/python.el (python-indent-context)
11426 (python-indent-calculate-indentation, python-indent-dedent-line)
11427 (python-indent-electric-colon, python-nav-forward-block)
11428 (python-mode-abbrev-table)
11429 (python-info-assignment-continuation-line-p): Simplify checks
11430 for ppss context.
11431 (python-info-continuation-line-p): Cleanup.
11432 (python-info-ppss-context): Do not catch 'quote.
11433 (python-info-ppss-context-type)
11434 (python-info-ppss-comment-or-string-p): Simplify.
11435
11436 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
11437
11438 * progmodes/python.el: Enhancements to eldoc support.
11439 (python-info-current-symbol): New function.
11440 (python-eldoc-at-point): Use python-info-current-symbol.
11441 (python-info-current-defun): Fix cornercase on first defun scan.
11442 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11443 and signal error when no inferior python process is available.
11444
11445 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11446
11447 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11448 assume it's always t.
11449 (vc-git-registered): Remove caching, the function is only called
11450 once.
11451 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11452
11453 2012-07-18 Chong Yidong <cyd@gnu.org>
11454
11455 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11456
11457 * simple.el (count-words): Report on narrowing (Bug#9959).
11458
11459 * bindings.el: Bind M-= to count-words.
11460
11461 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11462
11463 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11464
11465 * progmodes/sh-script.el (sh-imenu-generic-expression):
11466 Capture a function with `function' keyword and without parentheses
11467 like "function FOO" (bug#11856).
11468
11469 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11470
11471 * window.el (split-window-sensibly): Make WINDOW argument
11472 optional.
11473
11474 2012-07-18 Chong Yidong <cyd@gnu.org>
11475
11476 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11477
11478 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11479 and make C-x 8 RET exit isearch (Bug#11439).
11480
11481 * international/iso-transl.el: Move isearch-mode-map key
11482 definitions to isearch.el.
11483
11484 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11485
11486 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11487 (eieio-defclass): Use gv-define-setter when possible.
11488
11489 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11490
11491 Reflect recent changes in Fgarbage_collect.
11492 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11493 reflect new format of data returned by Fgarbage_collect.
11494
11495 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11496
11497 New utility functions + python-info-ppss-context fix (Bug#11910).
11498 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11499 (python-info-ppss-comment-or-string-p): New functions.
11500 (python-info-ppss-context): Small fix for string check.
11501
11502 2012-07-17 Juri Linkov <juri@jurta.org>
11503
11504 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11505 (dired-do-async-shell-command): Don't add `*' at the end of the
11506 command (Bug#11815).
11507 (dired-do-shell-command): Doc fix.
11508 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11509 Join the individual commands using either "&" or ";" as the
11510 separator depending on the values of these trailing characters.
11511 At the end re-add the trailing "&". (Bug#10598)
11512
11513 * simple.el (async-shell-command): Sync the interactive spec with
11514 `shell-command'. Doc fix.
11515 (shell-command): Doc fix.
11516
11517 2012-07-17 Juri Linkov <juri@jurta.org>
11518
11519 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11520
11521 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11522
11523 Final renames and doc fixes for movement commands (bug#11899).
11524 * progmodes/python.el (python-nav-beginning-of-statement):
11525 Rename from python-nav-statement-start.
11526 (python-nav-end-of-statement): Rename from
11527 python-nav-statement-end.
11528 (python-nav-beginning-of-block): Rename from
11529 python-nav-block-start.
11530 (python-nav-end-of-block): Rename from python-nav-block-end.
11531
11532 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11533
11534 * progmodes/python.el (python-shell-send-string-no-output):
11535 Allow accept-process-output to quit, keeping shell process ready for
11536 future interactions (Bug#11868).
11537
11538 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11539
11540 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11541
11542 * emacs-lisp/elint.el (elint-find-args-in-code):
11543 Use help-function-arglist, so as to handle lexical byte-code.
11544
11545 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11546 change (bug#11826).
11547
11548 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11549
11550 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11551 Avoid spuriously marking the buffer as modified because of c-is-sws.
11552
11553 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11554 as not-a-comment (bug#11946).
11555
11556 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11557 for uninterned vars.
11558
11559 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11560 Use read-event since we don't really want to read chars but bytes.
11561
11562 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11563 $$..$$ but also $..$ using regexps (bug#11953).
11564 Use tex-verbatim for \url and \path.
11565 (tex-font-lock-keywords): Define as defconst like the others.
11566 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11567
11568 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11569
11570 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11571 alias for insert-char.
11572
11573 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
11574
11575 * progmodes/python.el: Simplified imenu implementation.
11576 (python-nav-jump-to-defun): Remove command.
11577 (python-mode-map): Use `imenu' instead.
11578 (python-nav-list-defun-positions-cache)
11579 (python-imenu-include-defun-type, python-imenu-make-tree)
11580 (python-imenu-subtree-root-label, python-imenu-index-alist):
11581 Remove vars.
11582 (python-nav-list-defun-positions, python-nav-read-defun)
11583 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11584 (python-imenu-make-tree, python-imenu-create-index):
11585 Remove functions.
11586 (python-mode): Update to interact with imenu by setting
11587 `imenu-extract-index-name-function' only.
11588
11589 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
11590
11591 * progmodes/python.el: Enhancements to navigation commands.
11592 (python-nav-backward-sentence)
11593 (python-nav-forward-sentence): Remove.
11594 (python-nav-backward-statement, python-nav-forward-statement)
11595 (python-nav-statement-start, python-nav-statement-end)
11596 (python-nav-backward-block, python-nav-forward-block)
11597 (python-nav-block-start, python-nav-block-end)
11598 (python-nav-forward-sexp-function)
11599 (python-info-current-line-comment-p)
11600 (python-info-current-line-empty-p): New functions.
11601 (python-indent-context): Use `python-nav-statement-start'.
11602
11603 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11604
11605 * eshell/em-ls.el (eshell/ls): Use `apply'.
11606
11607 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11608 multi-hops, instead of Tramp internals.
11609
11610 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11611
11612 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11613 when F1 and F2 are located on different hosts.
11614
11615 2012-07-14 Chong Yidong <cyd@gnu.org>
11616
11617 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11618 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11619 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11620 (xterm-mouse--read-event-sequence-1000)
11621 (xterm-mouse--read-event-sequence-1006): New functions. For old
11622 mouse protocol, handle M-mouse-X events correctly.
11623 (xterm-mouse-event): New arg specifying mouse protocol.
11624 (turn-on-xterm-mouse-tracking-on-terminal)
11625 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11626 sequence to toggle extended coordinates on newer XTerms.
11627 This appears to be harmless on terminals which do not support this.
11628
11629 2012-07-14 Leo Liu <sdl.web@gmail.com>
11630
11631 Add fringe bitmap indicators for flymake. (Bug#11253)
11632 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11633 (flymake-make-overlay): New arg BITMAP.
11634 (flymake-error-bitmap, flymake-warning-bitmap)
11635 (flymake-fringe-indicator-position): New user variables.
11636
11637 * fringe.el: New bitmap exclamation-mark.
11638
11639 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11640
11641 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11642 also (Bug#7879).
11643
11644 2012-07-14 Chong Yidong <cyd@gnu.org>
11645
11646 * electric.el (electric-pair-post-self-insert-function): Fix pair
11647 insertion in empty-region case (Bug#11520).
11648
11649 2012-07-14 Chong Yidong <cyd@gnu.org>
11650
11651 * bindings.el: Consolidate ctl-x-r-map bindings.
11652 Bind copy-rectangle-as-kill to C-x r w.
11653
11654 * rect.el, register.el: Move bindings to bindings.el.
11655
11656 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11657
11658 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11659
11660 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11661
11662 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11663
11664 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11665
11666 * bindings.el (top): Use `mapc' instead of `mapcar'.
11667
11668 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11669
11670 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11671
11672 * progmodes/sql.el (sql-comint): Suppress the check for program on
11673 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11674 (Bug#11908)
11675
11676 2012-07-13 Chong Yidong <cyd@gnu.org>
11677
11678 * bindings.el: Assign a non-nil permanent-local property to
11679 per-buffer variables which lack a default value (Bug#11930).
11680
11681 * help-fns.el (describe-variable): In the "automatically becomes
11682 local" notice, take note of permanent-local variables.
11683
11684 2012-07-13 Chong Yidong <cyd@gnu.org>
11685
11686 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11687 to allow printing the message when called from Lisp.
11688
11689 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11690 Remove toggle-read-only.
11691
11692 * bs.el (bs-toggle-readonly):
11693 * buff-menu.el (Buffer-menu-toggle-read-only):
11694 Remove with-no-warnings around toggle-read-only.
11695
11696 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11697 Remove with-no-warnings around toggle-read-only.
11698 (ffap-read-only, ffap-read-only-other-window)
11699 (ffap-read-only-other-frame): Callers changed.
11700
11701 * help-mode.el: Don't require view package.
11702 (help-mode-finish): Set buffer-read-only instead of calling
11703 toggle-read-only.
11704
11705 * bindings.el (mode-line-toggle-read-only):
11706 * dired.el (dired-toggle-read-only):
11707 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11708 with non-nil second arg.
11709
11710 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11711 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11712 directly.
11713
11714 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11715
11716 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11717 not incf.
11718
11719 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11720
11721 More CL cleanups and reduction of use of cl.el.
11722 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11723 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11724 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11725 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11726 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11727 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11728 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11729 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11730 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11731 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11732 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11733 * eshell/em-cmpl.el, eshell/em-banner.el:
11734 * calendar/parse-time.el: Use cl-lib.
11735 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11736 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11737 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11738 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11739 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11740 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11741 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11742 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11743 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11744 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11745 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11746 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11747 `lambda' rather than with `quote'.
11748 (eshell-do-opt): Adjust accordingly.
11749 (eshell-process-option): Simplify.
11750 * eshell/esh-var.el:
11751 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11752 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11753 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11754 to `pcase--dontcare'.
11755 * emacs-lisp/cl.el (labels): Mark obsolete.
11756 (cl--letf, letf): Move to cl-lib.
11757 (cl--letf*, letf*): Remove.
11758 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11759 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11760 (cl-progv): Rewrite.
11761 (cl--letf, cl-letf): Move from cl.el.
11762 (cl-letf*): New macro.
11763 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11764
11765 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11766
11767 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11768
11769 2012-07-11 Chong Yidong <cyd@gnu.org>
11770
11771 * vc/log-edit.el (log-edit-vc-backend): New variable.
11772 (log-edit): Doc fix.
11773
11774 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11775 argument of log-edit to set up all local variables.
11776 (vc-start-logentry): New optional arg specifying VC backend.
11777
11778 * vc/vc.el (vc-checkin): Use it.
11779 (vc-deduce-fileset): Handle Log Edit buffers.
11780 (vc-diff): Make first argument optional too.
11781
11782 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11783
11784 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11785
11786 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11787 command, just in case. The function is not needed anymore.
11788 (eshell-external-command): Do not call `eshell-remote-command'.
11789
11790 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11791
11792 Reduce use of (require 'cl).
11793 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11794 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11795 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11796 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11797 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11798 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11799 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11800 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11801 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11802 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11803 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11804 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11805 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11806 (byte-compile-unfold-bcf, byte-compile-check-variable):
11807 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11808 (byte-compile-nilconstp):
11809 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11810 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11811
11812 * emacs-lisp/gv.el (cond): Make it a valid place.
11813 (if): Simplify slightly.
11814
11815 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11816 (pcase--self-quoting-p): New function.
11817 (pcase--u1): Use it.
11818
11819 2012-07-10 Glenn Morris <rgm@gnu.org>
11820
11821 * emacs-lisp/authors.el (authors-fixed-entries):
11822 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11823
11824 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11825
11826 Rename configure.in to configure.ac (Bug#11603).
11827 * emacs-lisp/authors.el (authors-canonical-file-name):
11828 * progmodes/autoconf.el (autoconf-mode):
11829 Prefer configure.ac to configure.in.
11830
11831 2012-07-08 Chong Yidong <cyd@gnu.org>
11832
11833 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11834 Implement the mouse-1-click-follows-link handling properly.
11835
11836 * info.el (Info-link-keymap): Use follow-link mechanism for
11837 header-line links (Bug#374).
11838
11839 * simple.el (deactivate-mark): Do not set the primary selection
11840 if another program has acquired it (Bug#11772).
11841
11842 2012-07-07 Kevin Ryde <user42@zip.com.au>
11843
11844 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11845 (woman-decode-region): Replace escaped-escapes without destroying
11846 bold or underline (Bug#11552).
11847 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11848
11849 2012-07-07 Chong Yidong <cyd@gnu.org>
11850
11851 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11852 (interprogram-cut-function, interprogram-paste-function):
11853 Mention that we typically mean the clipboard.
11854
11855 2012-07-06 Glenn Morris <rgm@gnu.org>
11856
11857 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11858
11859 * files.el (toggle-read-only): Restrict message to interactive use.
11860
11861 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11862
11863 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11864
11865 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11866
11867 2012-07-06 Glenn Morris <rgm@gnu.org>
11868
11869 * Makefile.in (compile-one-process): Rename from "recompile".
11870
11871 * Makefile.in (bzr-update): "compile" is the same as "recompile
11872 autoloads", but parallelizable, so use that instead.
11873
11874 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11875
11876 * window.el (quit-window): Always restore window height when
11877 it's saved in quit-restore parameter (Bug#11810).
11878
11879 2012-07-06 Glenn Morris <rgm@gnu.org>
11880
11881 * simple.el (kill-whole-line): Doc tweak.
11882
11883 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11884
11885 * files.el (file-relative-name): Compare file names
11886 case-insensitively if on MS-Windows or MS-DOS, or if
11887 read-file-name-completion-ignore-case is non-nil. Don't use
11888 case-fold-search for this purpose. (Bug#11827)
11889
11890 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11891
11892 * calendar/cal-dst.el (calendar-current-time-zone):
11893 Return calendar-current-time-zone-cache if non-nil.
11894
11895 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11896 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11897
11898 * calendar/cal-dst.el (calendar-current-time-zone):
11899 Return calendar-current-time-zone-cache if non-nil.
11900
11901 2012-07-06 Glenn Morris <rgm@gnu.org>
11902
11903 * Makefile.in (cvs-update): Remove old alias.
11904
11905 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11906
11907 Sync with Tramp 2.2.6-pre.
11908
11909 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11910 compatible declaration.
11911
11912 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11913 Protect `list-load-path-shadows' call.
11914
11915 * net/tramp-compat.el (top): Require packages, which aren't
11916 autoloaded anymore for XEmacs. Protect call of
11917 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11918 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11919 it hurts at least for SXEmacs.
11920 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11921 standard-value for `temporary-file-directory'.
11922
11923 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11924 Redirect stderr to /dev/null.
11925 (tramp-sh-handle-write-region): uid and gid can be floats.
11926 Reported by Russell Sim <russell.sim@gmail.com>.
11927 (tramp-sh-handle-vc-registered): Hide errors.
11928 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11929 and `start-file-process'.
11930 (tramp-maybe-open-connection): Check also whether `non-essential'
11931 is bound.
11932
11933 2012-07-04 Chong Yidong <cyd@gnu.org>
11934
11935 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11936 (xml-parse-tag): Likewise, and avoid changing entity tables.
11937 (xml-syntax-table): Define from scratch, making sure not to give
11938 x2000 and other Unicode spaces whitespace syntax, since those are
11939 not spaces in XML.
11940 (xml-parse-fragment): Delete unused function.
11941 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11942 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11943 (xml-entity-ref, xml-pe-reference-re)
11944 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11945 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11946 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11947 (xml-entity-value-re): Use syntax references in regexps where
11948 possible; no need to define inside a let-binding.
11949 (xml-parse-dtd): Use xml-pe-reference-re.
11950 (xml-entity-or-char-ref-re): New defconst.
11951 (xml-parse-string, xml-substitute-special): Use it.
11952
11953 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11954
11955 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11956 (find-file--read-only): New function.
11957 (find-file-read-only, find-file-read-only-other-window)
11958 (find-file-read-only-other-frame): Use it.
11959 (insert-file-contents-literally): Don't `fset'.
11960 (get-free-disk-space): Use locate-dominating-file.
11961
11962 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11963 function is already compiled.
11964
11965 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11966
11967 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11968
11969 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11970 files on the same host.
11971
11972 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11973
11974 * help-fns.el (describe-function-1): Only call
11975 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11976
11977 2012-07-03 Chong Yidong <cyd@gnu.org>
11978
11979 * xml.el: Protect parser against XML bombs.
11980 (xml-entity-expansion-limit): New variable.
11981 (xml-parse-string, xml-substitute-special): Use it.
11982 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11983
11984 2012-07-03 Glenn Morris <rgm@gnu.org>
11985
11986 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11987 Allow linking to specific messages in debbugs reports (eg 123#5).
11988
11989 2012-07-02 Chong Yidong <cyd@gnu.org>
11990
11991 * xml.el: Fix entity and character reference expansion, allowing
11992 them to expand into markup as per XML spec.
11993 (xml-default-ns): New variable.
11994 (xml-entity-alist): Use XML spec definitions for lt and amp.
11995 (xml-parse-region): Make first two arguments optional.
11996 Discard text properties.
11997 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11998 All callers changed.
11999 (xml-parse-tag): Call xml-parse-tag-1. For backward
12000 compatibility, this function should not modify buffer contents.
12001 (xml-parse-tag-1): Fix opening-tag regexp.
12002 (xml-parse-string): Rewrite, handling entity and character
12003 references properly.
12004 (xml--entity-replacement-text): Signal an error if a parameter
12005 entity is undefined.
12006
12007 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12008
12009 * comint.el (comint-output-filter): Filter out repeated prompts.
12010
12011 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
12012 and file-name-absolute-p.
12013 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
12014 internal calls.
12015
12016 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
12017
12018 Spelling fixes.
12019 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
12020 Rename from byte-compile--refiy-function. All uses changed.
12021
12022 2012-07-01 Chong Yidong <cyd@gnu.org>
12023
12024 * xml.el (xml--parse-buffer): New function. Move most of
12025 xml-parse-region here.
12026 (xml-parse-region): Copy region into a temporary buffer, since
12027 parameter entity substitution requires changing buffer contents.
12028 Use xml--parse-buffer.
12029 (xml-parse-file): Use xml--parse-buffer.
12030 (xml-parse-dtd): Make parameter entity substitution work right.
12031 Use proper regexps for ELEMENT declarations (Bug#7172).
12032
12033 2012-06-30 Glenn Morris <rgm@gnu.org>
12034
12035 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
12036
12037 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
12038 Remove outdated and unnecessary dbus declarations.
12039
12040 2012-06-30 Eli Zaretskii <eliz@gnu.org>
12041
12042 * emacs-lisp/timer.el (timer-until): Subtract results of
12043 float-time, instead of taking float-time of the result of
12044 time-subtract, since float-time signals an error for negative time
12045 arguments.
12046
12047 2012-06-30 Chong Yidong <cyd@gnu.org>
12048
12049 * xml.el (xml-*-re): Convert defvars into defconsts, and
12050 eval-and-compile them so eval-and-compile works on derivatives.
12051 (xml--entity-replacement-text): Use eval-and-comple.
12052
12053 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
12054
12055 * vc/vc-git.el (vc-git-registered): Use cache property
12056 `git-registered'.
12057 (vc-git-mode-line-string): Call `vc-working-revision' instead of
12058 `vc-git-working-revision' in order to benefit from the cache.
12059 (vc-git-root): Use cache property `git-root'. (Bug#11757)
12060
12061 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
12062
12063 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
12064 removed (likely outside Emacs). (Bug#11757)
12065
12066 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12067
12068 * emacs-lisp/cl-lib.el: Require macroexp.
12069
12070 2012-06-30 Chong Yidong <cyd@gnu.org>
12071
12072 * xml.el: Implement XML parameter entities.
12073 (xml-parameter-entity-alist): New variable.
12074 (xml-parse-region, xml-parse-fragment): Preserve previous values
12075 of xml-entity-alist and xml-parameter-entity-alist, so that
12076 repeated calls on different documents do not change them.
12077 (xml-parse-tag): Fix doctype regexp.
12078 (xml--entity-replacement-text): New function.
12079 (xml-parse-dtd): Use it. Don't handle system entities; doing that
12080 properly requires url retrieval which is unimplemented.
12081 (xml-escape-string): Doc fix.
12082
12083 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12084
12085 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
12086
12087 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
12088
12089 * fringe.el (fringe-mode): Doc fix.
12090
12091 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
12092
12093 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
12094 is non-nil.
12095 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
12096 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
12097
12098 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
12099
12100 * calendar/cal-dst.el (calendar-current-time-zone):
12101 Return calendar-current-time-zone-cache if non-nil.
12102
12103 2012-06-29 Masatake YAMATO <yamato@redhat.com>
12104
12105 * progmodes/which-func.el (which-func-format):
12106 Add mouse-face. (Bug#11698)
12107
12108 2012-06-29 Leo Liu <sdl.web@gmail.com>
12109
12110 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
12111
12112 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12113
12114 * minibuffer.el (minibuffer-confirm-exit-commands):
12115 Add completion-at-point (bug#11725).
12116
12117 2012-06-29 Glenn Morris <rgm@gnu.org>
12118
12119 * progmodes/f90.el (f90-font-lock-keywords-2):
12120 Add some preprocessor elements. (Bug#10499)
12121
12122 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12123
12124 * progmodes/cperl-mode.el (cperl-update-syntaxification):
12125 Use syntax-propertize (bug#11739).
12126
12127 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
12128
12129 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
12130
12131 2012-06-28 Julien Danjou <julien@danjou.info>
12132
12133 * term.el (term-handle-colors-array): Use a set of new faces to
12134 color the terminal. Also uses :inverse-video property.
12135 (term-default-fg-color): Set to nil by default, deprecate in favor
12136 of `term-face'.
12137 (term-default-bg-color): Set to nil by default, deprecate in favor
12138 of `term-face'.
12139 (term-current-face): Use `term-face' by default.
12140 (term-bold-attribute): Variable deleted.
12141
12142 2012-06-28 Glenn Morris <rgm@gnu.org>
12143
12144 * simple.el (completion-list-mode-finish):
12145 Don't use toggle-read-only. (Since completion-list-mode has
12146 a special mode-class, it wasn't doing anything extra anyway.)
12147
12148 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
12149
12150 Make inlining of other-mode interpreted functions work (bug#11799).
12151 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
12152 (byte-compile): Use it to fix compilation of lexical-binding closures.
12153 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
12154 function, if needed.
12155
12156 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12157
12158 * help-mode.el (help-make-xrefs): Don't just withstand
12159 cyclic-variable-indirection but any error in documentation-property.
12160
12161 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
12162 memory use.
12163 * bindings.el (bindings--define-key): New function.
12164 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
12165 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
12166 * bindings.el: Use it to purecopy define-key bindings.
12167
12168 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
12169
12170 * emacs-lisp/cl.el (flet): Mark obsolete.
12171 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
12172 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
12173 * progmodes/js.el (js-c-fill-paragraph):
12174 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
12175 (ebrowse-switch-member-buffer-to-derived-class):
12176 * play/5x5.el (5x5-solver): Use cl-flet.
12177
12178 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
12179 (cl--symbol-function): New macro.
12180 (cl--letf, cl--letf*): Use it.
12181
12182 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
12183 Strip "toggle-" if any.
12184
12185 2012-06-27 Glenn Morris <rgm@gnu.org>
12186
12187 * info.el (Info-default-directory-list): Move here from paths.el.
12188 * paths.el: Remove file, which is now empty.
12189 * loadup.el: No longer load "paths".
12190
12191 * custom.el (custom-initialize-delay): Doc fix.
12192
12193 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12194 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
12195 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
12196 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
12197 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
12198 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
12199 * eshell/eshell.el (eshell-defgroup): Remove alias.
12200
12201 2012-06-27 Chong Yidong <cyd@gnu.org>
12202
12203 * help.el (help-enable-auto-load): New variable.
12204
12205 * help-fns.el (help-fns--autoloaded-p): New function.
12206 (describe-function-1): Refer to a function as "autoloaded" if it
12207 was autoloaded at any time in the past. Perform autoloading if
12208 help-enable-auto-load is non-nil.
12209
12210 2012-06-26 Eli Zaretskii <eliz@gnu.org>
12211
12212 * makefile.w32-in (compile, compile-always): Depend on
12213 update-subdirs, not on subdirs.el. Otherwise, several different
12214 sub-targets of 'bootstrap' running in parallel could
12215 simultaneously write to subdirs.el, producing a garbled file.
12216
12217 2012-06-26 Sam Steingold <sds@gnu.org>
12218
12219 * files.el (file-name-base): New convenience function.
12220 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
12221 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
12222 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
12223 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
12224 * textmodes/ispell.el, textmodes/reftex-ref.el:
12225 * textmodes/tex-mode.el: Use it.
12226 Did not touch cedet and org because they are maintained elsewhere.
12227
12228 2012-06-26 Martin Rudalics <rudalics@gmx.at>
12229
12230 * calendar/calendar.el (calendar-exit): Don't try to delete or
12231 iconify last frame. See:
12232 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
12233
12234 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
12235
12236 * server.el (server-process-filter): Remember dir in the
12237 process's `server-client-directory' properties.
12238
12239 2012-06-24 Chong Yidong <cyd@gnu.org>
12240
12241 * xml.el (xml-parse-tag): Correctly handle comment embedded in
12242 non-tag text.
12243
12244 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
12245
12246 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
12247
12248 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12249
12250 * help-fns.el (describe-variable): Don't croak when doc is not found.
12251 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
12252 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
12253 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
12254 * emacs-lisp/smie.el (smie-next-sexp): CSE.
12255 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
12256 ((lambda ..) ..).
12257 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
12258
12259 2012-06-23 Chong Yidong <cyd@gnu.org>
12260
12261 * info.el (Info-mouse-follow-link): Accept symbol values of
12262 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
12263 (Info-fontify-node): Use Info-link-keymap for all navigation
12264 buttons, with link-args property to perform the desired action.
12265 (Info-link-keymap): Doc fix.
12266 (Info-next-link-keymap, Info-prev-link-keymap)
12267 (Info-up-link-keymap): Delete now-unused keymaps.
12268
12269 2012-06-23 Chong Yidong <cyd@gnu.org>
12270
12271 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12272
12273 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12274 system abbrevs.
12275
12276 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12277
12278 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12279
12280 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12281 (bug#11719).
12282
12283 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12284 the requote function doesn't work properly (bug#11714).
12285
12286 2012-06-23 Glenn Morris <rgm@gnu.org>
12287
12288 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12289
12290 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12291
12292 Further GV/CL cleanups.
12293 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12294 gv-expander.
12295 (gv--defun-declaration): New function.
12296 (defun-declarations-alist): Use it.
12297 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12298 (gv-place): Autoload.
12299 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12300 original definition of dotimes and dolist.
12301 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12302 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
12303 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12304 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12305 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12306 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12307 to the function's definition.
12308 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12309 * window.el:
12310 * files.el:
12311 * faces.el:
12312 * env.el: Don't use CL.
12313
12314 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12315
12316 Support higher-resolution time stamps (Bug#9000).
12317
12318 * calendar/time-date.el (with-decoded-time-value): New arg
12319 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12320 (encode-time-value): New optional arg PICO. New type 3.
12321 (time-to-seconds) [!float-time]: Support the new picoseconds
12322 component if it's used.
12323 (seconds-to-time, time-subtract, time-add):
12324 Support ps-resolution time stamps as well.
12325
12326 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12327 (timerp): Timer vectors now have length 9, not 8.
12328 (timer--time): Support new-style (4-part) time stamps.
12329 (timer-next-integral-multiple-of-time): Time stamps now have
12330 picosecond resolution, so take a bit more care about rounding.
12331 (timer-relative-time, timer-inc-time): New optional arg psecs.
12332 (timer-set-time-with-usecs): Set psecs to 0.
12333 (timer--activate): Check psecs component, too.
12334
12335 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12336
12337 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12338
12339 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12340 Move the non-essential binding to the post/pre-command-hook where it is
12341 more obviously correct.
12342
12343 * subr.el (read-passwd): Don't use a history at all.
12344 * savehist.el (savehist-save): Remove password saved accidentally
12345 because of the above bug.
12346
12347 2012-06-22 Bastien Guerry <bzg@gnu.org>
12348
12349 * files.el (toggle-read-only): Display a message telling whether
12350 the buffer is read-only or not (bug#11726).
12351
12352 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12353
12354 * emacs-lisp/gv.el: New file.
12355 * subr.el (push, pop): Extend to generalized variables.
12356 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12357 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12358 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12359 gv-define-simple-setter, and gv-define-expander.
12360 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12361 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12362 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12363 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12364 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12365 gv-letplace.
12366 (cl-defstruct): Don't define setf-method any more.
12367 * emacs-lisp/cl.el (flet): Don't autoload.
12368 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12369 (define-setf-expander, defsetf, define-modify-macro)
12370 (cl-struct-setf-expander): Move from cl-lib.el.
12371 * emacs-lisp/syntax.el:
12372 * emacs-lisp/ewoc.el:
12373 * emacs-lisp/smie.el:
12374 * emacs-lisp/cconv.el:
12375 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12376 (timer--time): Use gv-define-simple-setter.
12377 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12378 to avoid coding-system problems in subr.el. Adjust all users.
12379 (macroexp--maxsize, macroexp-small-p): New functions.
12380 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12381 * scroll-bar.el (scroll-bar-mode):
12382 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12383 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12384 * winner.el (winner-configuration, winner-make-point-alist)
12385 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12386 * files.el (locate-file-completion-table): Avoid list*.
12387
12388 2012-06-22 Chong Yidong <cyd@gnu.org>
12389
12390 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12391 (dired-create-files): Doc fix (Bug#11329).
12392 (dired-do-copy): Doc fix (Bug#11334).
12393 (dired-mark-read-string): Doc fix (Bug#11553).
12394
12395 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12396 Doc fix (Bug#11326).
12397 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12398 (dired-dwim-target): Doc fix.
12399
12400 * wdired.el (wdired-mode): Doc fix.
12401
12402 2012-06-22 Glenn Morris <rgm@gnu.org>
12403
12404 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12405 (pcmpl-rpm-cache-stamp-file): New constant.
12406 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12407 (pcmpl-rpm-packages): Optionally cache list of packages.
12408
12409 * pcmpl-rpm.el (pcmpl-rpm): New group.
12410 (pcmpl-rpm-query-options): New option.
12411 (pcmpl-rpm-packages): No need to inline it.
12412 Use pcmpl-rpm-query-options.
12413
12414 * calendar/calendar.el (calendar-in-read-only-buffer):
12415 Avoid some needless mode changes.
12416
12417 2012-06-21 Chong Yidong <cyd@gnu.org>
12418
12419 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12420 (desktop-path): Remove . from the default value (Bug#10977).
12421 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12422
12423 2012-06-20 Chong Yidong <cyd@gnu.org>
12424
12425 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12426
12427 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12428
12429 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12430 (bug#11201).
12431
12432 2012-06-20 Chong Yidong <cyd@gnu.org>
12433
12434 * term.el (term-window-width): Handle the case of a missing right
12435 fringe (Bug#8837).
12436 (term-check-size): Use window-text-height (Bug#5445).
12437 (term-mode): Use define-derived-mode. Minor cleanups.
12438 Set font-lock-defaults (Bug#7692).
12439 (term-move-columns, term-insert-char, term-emulate-terminal)
12440 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12441
12442 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12443
12444 * net/ange-ftp.el (ange-ftp-get-passwd):
12445 Bind `enable-recursive-minibuffers'.
12446 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12447
12448 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12449
12450 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12451
12452 2012-06-19 Glenn Morris <rgm@gnu.org>
12453
12454 * progmodes/python.el (python-mode): Derive from prog-mode.
12455
12456 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12457
12458 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12459 (edt-user-menu-bar-update-buffers): New functions.
12460 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12461
12462 2012-06-19 Chong Yidong <cyd@gnu.org>
12463
12464 * subr.el (with-selected-window): Preserve the selected window's
12465 terminal's top-frame (Bug#4702).
12466
12467 * window.el (save-selected-window): Likewise.
12468
12469 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12470
12471 * progmodes/python.el (python-rx-constituents): Move backquote.
12472 (python-skeleton-define, python-define-auxiliary-skeleton):
12473 Use `declare'.
12474
12475 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12476
12477 * minibuffer.el (read-file-name-default): Revert the patch from
12478 2012-06-17.
12479
12480 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12481
12482 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12483 (pcase--u1, pcase--q1): Don't use apply-partially.
12484
12485 2012-06-18 Glenn Morris <rgm@gnu.org>
12486
12487 * progmodes/python.el (python-proc, python-buffer)
12488 (python-send-receive, python-send-string): Fix obsolete versions.
12489
12490 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12491
12492 * window.el (special-display-p): Completely remove stringp
12493 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12494
12495 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12496
12497 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12498
12499 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12500
12501 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12502 * net/tramp-sh.el (tramp-maybe-open-connection):
12503 Throw if `non-essential' is non-nil.
12504
12505 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12506
12507 * window.el (special-display-p): Signal an error if BUFFER-NAME
12508 is not a string (Bug#11713).
12509
12510 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12511
12512 * progmodes/python.el (python-info-beginning-of-backslash):
12513 Rename from python-info-beginning-of-backlash, as a spelling fix.
12514
12515 2012-06-17 Chong Yidong <cyd@gnu.org>
12516
12517 * term.el (term-emulate-terminal): If term-check-size is called,
12518 move point to the process mark without resetting point (Bug#4635).
12519
12520 2012-06-17 Glenn Morris <rgm@gnu.org>
12521
12522 * international/mule-cmds.el (mule-menu-keymap)
12523 (set-language-environment, set-locale-environment): Doc tweaks.
12524
12525 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12526
12527 * cus-face.el (custom-face-attributes): Add wave-style underline
12528 attribute.
12529 * faces.el (set-face-attribute): Update docstring to describe
12530 wave-style underline attribute.
12531
12532 2012-06-16 Chong Yidong <cyd@gnu.org>
12533
12534 * term/xterm.el (terminal-init-xterm): Discard input before
12535 querying background mode (Bug#10959).
12536
12537 2012-06-16 Stefan Merten <smerten@oekonux.de>
12538
12539 * textmodes/rst.el: Added and corrected some comments.
12540 (rst-re-alist-def): Improve symbol syntax.
12541 (rst-mode-syntax-table): Correct syntax entries.
12542 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12543 (rst-official-version, rst-official-cvs-rev): Update version
12544 information.
12545
12546 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12547
12548 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12549 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12550
12551 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
12552
12553 * progmodes/python.el: New python.el merge.
12554 (python-guess-indent): Obsolete var.
12555 (python-indent-guess-indent-offset): New defcustom.
12556 (python-indent): Obsolete var.
12557 (python-indent-offset): New defcustom.
12558 (python-python-command, python-jython-command): Delete var.
12559 (python-shell-interpreter): New defcustom.
12560 (python-pdbtrack-do-tracking-p): Delete var.
12561 (python-pdbtrack-activate): New defcustom.
12562 (python-use-skeletons): Obsolete var.
12563 (python-skeleton-autoinsert): New defcustom.
12564 (inferior-python-filter-regexp, python-continuation-offset)
12565 (python-honour-comment-indentation, python-indent-string-contents)
12566 (python-jython-packages, python-mode-hook)
12567 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12568 (python-shell-prompt-alist)
12569 (python-source-modes): Delete defcustoms.
12570 (python-check-buffer-name, python-eldoc-setup-code)
12571 (python-eldoc-string-code, python-ffap-setup-code)
12572 (python-ffap-string-code, python-fill-comment-function)
12573 (python-fill-decorator-function, python-fill-paren-function)
12574 (python-fill-string-function, python-imenu-include-defun-type)
12575 (python-imenu-make-tree, python-imenu-subtree-root-label)
12576 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12577 (python-shell-compilation-regexp-alist)
12578 (python-shell-completion-module-string-code)
12579 (python-shell-completion-pdb-string-code)
12580 (python-shell-completion-setup-code)
12581 (python-shell-completion-string-code)
12582 (python-shell-enable-font-lock, python-shell-exec-path)
12583 (python-shell-extra-pythonpaths)
12584 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12585 (python-shell-process-environment)
12586 (python-shell-prompt-block-regexp)
12587 (python-shell-prompt-output-regexp)
12588 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12589 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12590 (python-shell-virtualenv-path): New defcustoms.
12591 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12592 (inferior-python-mode-syntax-table, python--prompt-regexp)
12593 (python-buffer, python-command python-python-command)
12594 (python-default-template, python-imports, python-indent-index)
12595 (python-indent-list, python-indent-list-length)
12596 (python-mode-running, python-pdbtrack-is-tracking-p)
12597 (python-preoutput-continuation, python-preoutput-leftover)
12598 (python-preoutput-result, python-preoutput-skip-next-prompt)
12599 (python-prev-dir/file, python-recursing)
12600 (python-saved-check-command, python-version-checked)
12601 (python-which-func-length-limit)
12602 (view-return-to-alist): Delete vars.
12603 (python-check-custom-command, python-dotty-syntax-table)
12604 (python-imenu-index-alist, python-indent-current-level)
12605 (python-indent-dedenters, python-indent-levels)
12606 (python-nav-beginning-of-defun-regexp)
12607 (python-nav-list-defun-positions-cache)
12608 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12609 (python-shell-internal-buffer)
12610 (python-skeleton-available): New vars.
12611 (def-python-skeleton): Delete macro.
12612 (python-skeleton-define): New macro.
12613 (python-define-auxiliary-skeleton, python-rx): New macros.
12614 (python-insert-class): Delete command.
12615 (python-skeleton-class): New command.
12616 (python-insert-def): Delete command.
12617 (python-skeleton-def): New command.
12618 (python-insert-for): Delete command.
12619 (python-skeleton-for): New command.
12620 (python-insert-if): Delete command.
12621 (python-skeleton-if): New command.
12622 (python-insert-try/except, python-insert-try/finally): Delete commands.
12623 (python-skeleton-try): New command.
12624 (python-insert-while): Delete command.
12625 (python-skeleton-while): New command.
12626 (python-backspace): Delete command.
12627 (python-indent-dedent-line-backspace): New command.
12628 (python-electric-colon): Delete command.
12629 (python-indent-electric-colon): New command.
12630 (python-guess-indent): Delete command.
12631 (python-indent-guess-indent-offset): New command.
12632 (python-shift-left): Delete command.
12633 (python-indent-shift-left): New command.
12634 (python-shift-right): Delete command.
12635 (python-indent-shift-right): New command.
12636 (python-find-function): Delete command.
12637 (python-nav-jump-to-defun): New command.
12638 (python-next-statement): Delete command.
12639 (python-nav-forward-sentence): New command.
12640 (python-previous-statement): Delete command.
12641 (python-nav-backward-sentence): New command.
12642 (python-fill-paragraph): Delete command.
12643 (python-fill-paragraph-function): New command.
12644 (python-send-buffer): Delete command.
12645 (python-shell-send-buffer): New command.
12646 (python-send-defun): Delete command.
12647 (python-shell-send-defun): New command.
12648 (python-send-region, python-send-region-and-go): Delete commands.
12649 (python-shell-send-region)
12650 (python-shell-switch-to-shell): New commands.
12651 (python-send-string): Delete command.
12652 (python-shell-send-string): New command.
12653 (python-switch-to-python): Delete command.
12654 (python-shell-switch-to-shell): New command.
12655 (python-describe-symbol): Delete command.
12656 (python-eldoc-at-point): New command.
12657 (python--set-prompt-regexp, python-args-to-list)
12658 (python-after-info-look, python-check-version)
12659 (python-check-comint-prompt, python-find-imports)
12660 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12661 (python-unload-function, python-expand-template)
12662 (python-maybe-jython, python-preoutput-filter)
12663 (python-pdbtrack-get-source-buffer)
12664 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12665 (python-pdbtrack-toggle-stack-tracking)
12666 (python-pdbtrack-track-stack-file, python-initial-text)
12667 (python-first-word, python-comment-line-p, python-send-command)
12668 (python-setup-brm, python-sentinel, python-set-proc)
12669 (python-skip-out, python-input-filter, python-outdent-p)
12670 (python-outline-level, python-backslash-continuation-line-p)
12671 (python-end-of-block, python-end-of-statement, python-mark-block)
12672 (python-beginning-of-block, python-beginning-of-statement)
12673 (python-blank-line-p, python-beginning-of-string)
12674 (python-open-block-statement-p): Delete functions.
12675 (python-indent-line, python-indent-line-1): Delete functions.
12676 (python-indent-line): New function.
12677 (python-indentation-levels): Delete function.
12678 (python-indent-calculate-levels): New function.
12679 (python-proc): Delete function.
12680 (python-shell-get-process): New function.
12681 (python-send-receive): Delete function.
12682 (python-shell-send-string-no-output): New function.
12683 (python-module-path): Delete function.
12684 (python-ffap-module-path): New function.
12685 (python-completion-at-point)
12686 (python-symbol-completions): Delete functions.
12687 (python-completion-complete-at-point): New function.
12688 (python-load-file): Delete function.
12689 (python-shell-send-file): New function.
12690 (python-calculate-indentation): Delete function.
12691 (python-indent-calculate-indentation): New function.
12692 (python-skip-comments/blanks): Delete function.
12693 (python-util-forward-comment): New function.
12694 (python-continuation-line-p): Delete function.
12695 (python-info-continuation-line-p): New function.
12696 (python-which-func, python-current-defun): Delete function.
12697 (python-info-current-defun): New function.
12698 (python-beginning-of-defun): Delete function.
12699 (python-nav-beginning-of-defun): New function.
12700 (python-close-block-statement-p)
12701 (python-block-end-p): Delete function.
12702 (python-info-closing-block): New function.
12703 (python-comint-output-filter-function)
12704 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12705 (python-fill-comment, python-fill-decorator, python-fill-paren)
12706 (python-fill-string, python-imenu-make-element-tree)
12707 (python-imenu-make-tree, python-imenu-tree-assoc)
12708 (python-indent-context, python-indent-dedent-line)
12709 (python-indent-line-function)
12710 (python-indent-post-self-insert-function)
12711 (python-indent-toggle-levels)
12712 (python-info-assignment-continuation-line-p)
12713 (python-info-beginning-of-backlash)
12714 (python-info-block-continuation-line-p)
12715 (python-info-closing-block-message)
12716 (python-info-line-ends-backslash-p)
12717 (python-info-looking-at-beginning-of-defun)
12718 (python-info-ppss-context, python-info-ppss-context-type)
12719 (python-nav-list-defun-positions, python-nav-read-defun)
12720 (python-nav-sentence-end, python-nav-sentence-start)
12721 (python-pdbtrack-comint-output-filter-function)
12722 (python-pdbtrack-set-tracked-buffer)
12723 (python-shell-calculate-exec-path)
12724 (python-shell-calculate-process-environment)
12725 (python-shell-completion--do-completion-at-point)
12726 (python-shell-completion--get-completions)
12727 (python-shell-completion-complete-at-point)
12728 (python-shell-completion-complete-or-indent)
12729 (python-shell-get-or-create-process)
12730 (python-shell-get-process-name)
12731 (python-shell-internal-get-or-create-process)
12732 (python-shell-internal-get-process-name)
12733 (python-shell-internal-send-string, python-shell-make-comint)
12734 (python-shell-parse-command, python-shell-send-setup-code)
12735 (python-skeleton-add-menu-items)
12736 (python-util-clone-local-variables, python-util-position)
12737 (run-python-internal, python-indentation-levels)
12738 (python-nav-beginning-of-defun)
12739 (python-completion-complete-at-point): New functions.
12740 (run-python): Change arguments. New API requirements.
12741
12742 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12743
12744 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12745 (bug#11649).
12746
12747 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12748 (macroexp--expand-all): Use it.
12749
12750 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12751 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12752 Use `cl-function' instead.
12753
12754 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12755
12756 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12757 Suggested by Stefan Monnier while discussing bug#11657.
12758
12759 2012-06-14 Sam Steingold <sds@gnu.org>
12760
12761 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12762
12763 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12764
12765 * play/doctor.el (doctor-doc): Remove parameter and use
12766 doctor-sent instead of sent.
12767 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12768
12769 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12770
12771 * files.el: Require cl-lib.
12772 (file-name-non-special): Replace case -> cl-case.
12773
12774 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12775
12776 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12777 mapping from #' to function*.
12778
12779 2012-06-13 Chong Yidong <cyd@gnu.org>
12780
12781 * mouse.el (mouse-drag-track): Do not set the mark if the user
12782 releases the mouse without selecting anything (Bug#11588).
12783
12784 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12785
12786 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12787 as well (bug#11646).
12788
12789 * loadup.el: Count byte-code functions as well.
12790
12791 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12792 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12793
12794 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12795 (bug#11649). Add cl-defun and cl-defmacro.
12796
12797 2012-06-13 Drew Adams <drew.adams@oracle.com>
12798
12799 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12800 Fix last change.
12801
12802 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12803
12804 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12805 Otherwise, it blocks in batch mode.
12806
12807 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12808
12809 * help-mode.el (bookmark-make-record-default): Declare.
12810
12811 2012-06-13 Chong Yidong <cyd@gnu.org>
12812
12813 * emacs-lisp/package.el (list-packages): Compute a list of
12814 packages that are newly-available since the last list-packages
12815 invocation.
12816 (package-menu--new-package-list): New var.
12817 (package-menu--generate, package-menu--print-info)
12818 (package-menu--status-predicate, package-menu-mark-install):
12819 Handle new status label "new".
12820
12821 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12822
12823 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12824 conversion to backquotes.
12825
12826 2012-06-12 Chong Yidong <cyd@gnu.org>
12827
12828 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12829 Rename from gud-inhibit-global-bindings.
12830
12831 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12832
12833 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12834 hook from nxml-glyph-set-hook.
12835
12836 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12837 declaration.
12838
12839 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12840
12841 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12842 Convert to defcustom.
12843
12844 2012-06-12 Drew Adams <drew.adams@oracle.com>
12845
12846 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12847 New functions.
12848 (help-mode): Use them.
12849
12850 2012-06-11 Glenn Morris <rgm@gnu.org>
12851
12852 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12853 Use preprocessor face for directives.
12854 (fortran-directive-re): Doc fix.
12855
12856 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12857
12858 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12859 conversion to backquotes (bug#11652).
12860
12861 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12862 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12863 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12864 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12865 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12866 (cl-ninth, cl-tenth): Mark them as inlinable.
12867 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12868 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12869 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12870 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12871 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12872 (cl-list*, cl-adjoin): Don't put an autoload manually.
12873 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12874 (cl--compiler-macro-list*): Add autoload cookie.
12875 (cl--compiler-macro-cXXr): New function.
12876
12877 * help-fns.el (help-fns--compiler-macro): New function extracted from
12878 describe-function-1; follow aliases and use `compiler-macro' property.
12879 (describe-function-1): Use it.
12880
12881 2012-06-11 Chong Yidong <cyd@gnu.org>
12882
12883 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12884 is uninstalled, if imagemagick is installed.
12885
12886 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12887
12888 * emacs-lisp/cl-lib.el: Use lexical-binding.
12889 (cl-map-extents, cl-maclisp-member): Remove.
12890 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12891 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12892 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12893 * emacs-lisp/cl-extra.el: Use lexical-binding.
12894 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12895 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12896 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12897 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12898 * emacs-lisp/cl-seq.el: Use lexical-binding.
12899 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12900 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12901 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12902 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12903 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12904 CL's internals.
12905
12906 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12907
12908 Sync with Tramp 2.2.6-pre.
12909
12910 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12911 `print-length' and `print-level' to nil, in order to avoid
12912 truncation. Reported by Christopher Schmidt
12913 <christopher@ristopher.com>.
12914
12915 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12916
12917 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12918 New defmacro.
12919 (tramp-compat-copy-directory): Add optional argument
12920 COPY-CONTENTS. It is not handled yet.
12921
12922 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12923 (tramp-ftp-file-name-p): Simplify.
12924
12925 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12926 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12927 connection vector.
12928
12929 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12930 (tramp-methods): Do not use `tramp-password-end-of-line'.
12931 (tramp-completion-function-alist-putty): Handle UNIX case.
12932 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12933 (tramp-do-file-attributes-with-stat)
12934 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12935 gid as real numbers. They could run out of integer range on cygwin.
12936 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12937 (tramp-sh-handle-expand-file-name): Handle hops.
12938 (tramp-open-connection-setup-interactive-shell):
12939 Use `tramp-cleanup'. Move check for busyboxes ...
12940 (tramp-find-shell): ... here. Simplify implementation.
12941 Set "remote-shell" property also for alternative shells.
12942 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12943 If failing, a regular file would be written otherwise.
12944 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12945 (tramp-find-inline-encoding): Cache the coding commands in the
12946 process cache. Apply test command on the remote side, if defined.
12947 (tramp-find-inline-compress): Cache the compress commands in the
12948 process cache.
12949 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12950 when requested. Handle hops.
12951 (tramp-current-connection): New defvar.
12952 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12953 Throw `suppress', if there was a failed connection shortly before.
12954 Handle user interrupt. (Bug#10187)
12955 (tramp-get-inline-compress, tramp-get-inline-coding):
12956 Read connection properties from the process cache.
12957
12958 * net/tramp-smb.el (tramp-smb-server-version)
12959 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12960 New defconsts.
12961 (tramp-smb-prompt): Extend for powershell prompt.
12962 (tramp-smb-file-name-handler-alist): Add handlers for
12963 `process-file', `shell-command' and `start-file-process'.
12964 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12965 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12966 (tramp-smb-file-name-p): Simplify.
12967 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12968 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12969 (tramp-smb-shell-quote-argument): New defuns.
12970 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12971 Implement using "tar". By this, time-stamps are preserved.
12972 (tramp-smb-handle-copy-file): Handle also the case of directories.
12973 (tramp-smb-do-file-attributes-with-stat)
12974 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12975 Use `tramp-get-connection-buffer').
12976 (tramp-smb-handle-rename-file): Use "rename", when source and
12977 target are on the same share.
12978 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12979 Use `tramp-smb-server-version'.
12980 (tramp-smb-wait-for-output): Remove prompt.
12981
12982 * net/tramp.el (top): Require 'cl.
12983 (tramp-methods, tramp-rsh-end-of-line):
12984 Remove `tramp-password-end-of-line' from docstring.
12985 (tramp-save-ad-hoc-proxies): New defcustom.
12986 (tramp-completion-function-alist): Adapt docstring.
12987 (tramp-default-password-end-of-line): Remove defcustom.
12988 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12989 (tramp-user-regexp, tramp-file-name-regexp-unified)
12990 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12991 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12992 (tramp-remote-file-name-spec-regexp): New defconst.
12993 (tramp-file-name-structure): Extend structure for hops.
12994 (tramp-get-method-parameter): Move up.
12995 (tramp-file-name-p, tramp-dissect-file-name)
12996 (with-parsed-tramp-file-name): Handle hops.
12997 (tramp-file-name-hop): New defun.
12998 (tramp-make-tramp-file-name): New optional arg HOP.
12999 (tramp-message-show-progress-reporter-message): New defvar.
13000 (tramp-with-progress-reporter): Use it. We cannot use
13001 `tramp-message-show-message' here, because this suppresses also
13002 error buffers.
13003 (tramp-error-with-buffer): Suppress buffer view, if
13004 `tramp-message-show-message' is nil.
13005 Use `tramp-get-connection-buffer'.
13006 (tramp-cleanup): New defun.
13007 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
13008 (tramp-file-name-handler): If `debug-on-error' is set, propagate
13009 an error unchanged.
13010 (tramp-completion-handle-file-name-all-completions): Handle hops.
13011 Fix an error when called from ido.
13012 (tramp-completion-dissect-file-name): Use better local variable
13013 name. Add hop to the vector.
13014 (tramp-handle-insert-file-contents): Use progress-reporter for the
13015 whole scenario.
13016 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
13017 to `t'.
13018 (tramp-check-for-regexp): Simplify search.
13019 (tramp-enter-password): Remove it. Move implementation ...
13020 (tramp-action-password): ... here.
13021 (tramp-mode-string-to-int, tramp-local-host-p)
13022 (tramp-make-tramp-temp-file, tramp-read-passwd)
13023 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
13024 Set tramp-autoload cookie.
13025
13026 * net/trampver.el: Update release number.
13027
13028 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13029 Michael Albinus <michael.albinus@gmx.de>
13030
13031 * net/tramp.el (tramp-set-completion-function): Fix docstring.
13032 (tramp-parse-group, tramp-parse-file)
13033 (tramp-parse-shostkeys-sknownhosts): New defuns.
13034 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
13035 (tramp-parse-shosts-group, tramp-parse-sconfig)
13036 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
13037 (tramp-parse-sknownhosts, tramp-parse-hosts)
13038 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
13039 Use them.
13040 (tramp-parse-passwd-group, tramp-parse-netrc-group)
13041 (tramp-parse-putty-group): Don't narrow.
13042 (tramp-parse-putty): Make a loop.
13043 (tramp-file-name-handler): Catch the `suppress' signal.
13044
13045 2012-06-11 Chong Yidong <cyd@gnu.org>
13046
13047 * image.el (imagemagick-register-types): Put the ImageMagick entry
13048 at the end of image-type-file-name-regexps.
13049
13050 2012-06-11 Johan Bockgård <bojohan@gnu.org>
13051
13052 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
13053 (pcase, pcase-let*, pcase-dolist): Use them.
13054
13055 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13056
13057 * emacs-lisp/pcase.el (pcase--let*): New function.
13058 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
13059 (pcase--expand): Use macroexp-let².
13060
13061 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
13062
13063 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
13064 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
13065 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
13066 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
13067 * emacs-lisp/derived.el: Use pcase instead of `cl'.
13068 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
13069
13070 2012-06-10 Glenn Morris <rgm@gnu.org>
13071
13072 * mail/rmail.el (rmail-yank-current-message): Leave point at
13073 correct position. (Bug#11660)
13074
13075 2012-06-10 Chong Yidong <cyd@gnu.org>
13076
13077 * allout-widgets.el: Fix code header.
13078
13079 2012-06-10 Chong Yidong <cyd@gnu.org>
13080
13081 * cus-edit.el (customize-changed-options-previous-release):
13082 Bump to 24.1.
13083
13084 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
13085
13086 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
13087
13088 2012-06-09 Chong Yidong <cyd@gnu.org>
13089
13090 * ebuff-menu.el (electric-buffer-list): Preserve header line.
13091
13092 2012-06-09 Martin Rudalics <rudalics@gmx.at>
13093
13094 * window.el (special-display-popup-frame): Don't use
13095 window--display-buffer (Bug#11651).
13096
13097 2012-06-09 Eli Zaretskii <eliz@gnu.org>
13098
13099 Fix parallel builds: make sure loaddefs.el is not being written
13100 while Lisp files are compiled.
13101 (compile): Don't depend on 'mh-autoloads'.
13102 (compile-CMD, compile-SH): Depend on 'autoloads'.
13103 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
13104
13105 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
13106
13107 2012-06-09 Chong Yidong <cyd@gnu.org>
13108
13109 * face-remap.el (face-remap-add-relative, face-remap-set-base)
13110 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
13111 Doc fixes (Bug#11225).
13112
13113 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
13114
13115 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
13116 a function if there's a clear indication that it has a compiler-macro.
13117 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
13118 (macro-declarations-alist): Add arglist to declaration functions.
13119 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
13120 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
13121 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
13122 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
13123 Also add autoload to find the compiler macro.
13124 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
13125 (cl--compiler-macro-member, cl--compiler-macro-assoc)
13126 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
13127 (cl--compiler-macro-get): New functions, replacing calls to
13128 cl-define-compiler-macro.
13129 (cl-typep) [compiler-macro]: Use macroexp-let².
13130
13131 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
13132
13133 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
13134 string properly, fixes Bug#11473.
13135
13136 2012-06-08 Chong Yidong <cyd@gnu.org>
13137
13138 * faces.el (set-face-attribute): Doc fix.
13139 (modify-face): Don't use :bold and :italic.
13140 (error, warning, success): Tweak definitions.
13141
13142 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
13143 (custom-modified, custom-set, custom-changed, custom-themed)
13144 (custom-saved, custom-button, custom-button-mouse)
13145 (custom-button-pressed, custom-state, custom-comment-tag)
13146 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
13147 (custom-group-subtitle): Use new-style face specs.
13148 (custom-invalid-face, custom-rogue-face, custom-modified-face)
13149 (custom-set-face, custom-changed-face, custom-saved-face)
13150 (custom-button-face, custom-button-pressed-face)
13151 (custom-documentation-face, custom-state-face)
13152 (custom-comment-face, custom-comment-tag-face)
13153 (custom-variable-tag-face, custom-variable-button-face)
13154 (custom-face-tag-face, custom-group-tag-face-1)
13155 (custom-group-tag-face): Remove obsolete face alias.
13156
13157 * epa.el (epa-validity-high, epa-validity-medium)
13158 (epa-validity-low, epa-mark, epa-field-name, epa-string)
13159 (epa-field-name, epa-field-body):
13160 * font-lock.el (font-lock-comment-face, font-lock-string-face)
13161 (font-lock-keyword-face, font-lock-builtin-face)
13162 (font-lock-function-name-face, font-lock-variable-name-face)
13163 (font-lock-type-face, font-lock-constant-face):
13164 * ido.el (ido-first-match, ido-only-match, ido-subdir)
13165 (ido-virtual, ido-indicator, ido-incomplete-regexp):
13166 * speedbar.el (speedbar-button-face, speedbar-file-face)
13167 (speedbar-directory-face, speedbar-tag-face)
13168 (speedbar-selected-face, speedbar-highlight-face)
13169 (speedbar-separator-face):
13170 * whitespace.el (whitespace-newline, whitespace-space)
13171 (whitespace-hspace, whitespace-tab, whitespace-trailing)
13172 (whitespace-line, whitespace-space-before-tab)
13173 (whitespace-space-after-tab, whitespace-indentation)
13174 (whitespace-empty):
13175 * emulation/cua-base.el (cua-global-mark):
13176 * eshell/em-prompt.el (eshell-prompt):
13177 * net/newst-plainview.el (newsticker-new-item-face)
13178 (newsticker-old-item-face, newsticker-immortal-item-face)
13179 (newsticker-obsolete-item-face, newsticker-date-face)
13180 (newsticker-statistics-face, newsticker-default-face):
13181 * net/newst-reader.el (newsticker-feed-face)
13182 (newsticker-extra-face, newsticker-enclosure-face):
13183 * net/newst-treeview.el (newsticker-treeview-face)
13184 (newsticker-treeview-new-face, newsticker-treeview-old-face)
13185 (newsticker-treeview-immortal-face)
13186 (newsticker-treeview-obsolete-face)
13187 (newsticker-treeview-selection-face):
13188 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
13189 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
13190 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
13191 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
13192 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
13193 (nxml-outline-active-indicator, nxml-outline-ellipsis):
13194 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
13195 (mpuz-text):
13196 * progmodes/vera-mode.el (vera-font-lock-number)
13197 (vera-font-lock-function, vera-font-lock-interface):
13198 * textmodes/table.el (table-cell): Use new-style face specs, and
13199 don't use the old :bold and :italic attributes.
13200
13201 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
13202 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
13203 (ebrowse-member-class, ebrowse-progress): Likewise.
13204 (ebrowse-tree-mark-face, ebrowse-root-class-face)
13205 (ebrowse-file-name-face, ebrowse-default-face)
13206 (ebrowse-member-attribute-face, ebrowse-member-class-face)
13207 (ebrowse-progress-face): Remove obsolete faces.
13208
13209 * progmodes/flymake.el (flymake-errline, flymake-warnline):
13210 Inherit from error and warning faces respectively.
13211
13212 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
13213 Likewise.
13214 (flyspell-incorrect-face, flyspell-duplicate-face):
13215 Remove obsolete aliases.
13216
13217 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
13218
13219 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13220 Avoid infloop.
13221
13222 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13223
13224 * startup.el (argv, argi): Make lexically scoped.
13225 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
13226 * emacs-lisp/cl-macs.el: Use lexical-binding.
13227 Rename cl-bind-* to cl--bind-*.
13228 * files.el: Don't require `cl' since it doesn't use it.
13229 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
13230
13231 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
13232
13233 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
13234 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
13235 instead of calling external sort utility.
13236 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
13237
13238 2012-06-08 Eli Zaretskii <eliz@gnu.org>
13239
13240 * descr-text.el (describe-char): Mention how to insert the
13241 character, if the current input method doesn't support it.
13242 See the discussion in this thread for the details:
13243 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
13244
13245 2012-06-08 Sam Steingold <sds@gnu.org>
13246
13247 * bindings.el (global-map): Bind XF86Forward to next-buffer and
13248 XF86Back to previous-buffer.
13249 (minibuffer-local-map): Bind them to next-history-element and
13250 previous-history-element respectively.
13251 * help-mode.el (help-mode-map): Bind them to help-go-forward and
13252 help-go-back respectively.
13253 * info.el (Info-mode-map): Bind them to Info-history-forward and
13254 Info-history-back respectively.
13255 These are the keys next to Up on the ThinkPad keyboard.
13256
13257 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13258
13259 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
13260 * emacs-lisp/cl-macs.el: Provide itself.
13261 (cl--labels-convert-cache): New var.
13262 (cl--labels-convert): New function.
13263 (cl-flet, cl-labels): New implementation with new semantics, relying on
13264 lexical-binding.
13265 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
13266 (cl-closure-vars, cl--function-convert-cache)
13267 (cl--function-convert): Move from cl-macs.el.
13268 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13269 rename by removing the "cl-" prefix.
13270 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13271
13272 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13273
13274 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13275 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13276 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13277 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13278 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13279 (cl-hash-table-count): Add old compatibility aliases.
13280
13281 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13282 Use macroexpand-all-environment instead.
13283 (cl--old-macroexpand): New var.
13284 (cl--sm-macroexpand): New function.
13285 (cl-symbol-macrolet): Use it during macro expansion.
13286 (cl--function-convert-cache): New var.
13287 (cl--function-convert): New function, extracted from
13288 cl-macroexpand-all.
13289 (cl-lexical-let): Use it.
13290
13291 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13292 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13293 (cl-member): Remove old alias.
13294
13295 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13296 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13297 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13298 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13299 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13300 (cl-macroexpand-cmacs): Remove var.
13301 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13302 Use macroexpand-all instead.
13303
13304 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13305
13306 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13307 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13308 (macroexp-copyable-p): New functions and macros.
13309 * emacs-lisp/edebug.el (edebug-unwrap):
13310 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13311 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13312 (pcase--let*): Remove.
13313 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13314 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13315 macroexp-const-p instead.
13316 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13317
13318 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13319 instead of "cl-" for internal definitions. Use macroexp-const-p.
13320 (cl-old-bc-file-form): Remove var.
13321 (cl-const-exprs-p): Remove fun.
13322 (cl-labels, cl-macrolet): Use backquote.
13323 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13324 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13325 (cl-define-setf-expander): Rename from cl-define-setf-method.
13326 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13327
13328 * international/mule-cmds.el: Don't require CL.
13329 (view-hello-file): Don't use `letf'.
13330
13331 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13332
13333 * tmm.el (tmm-prompt): Use string-prefix-p.
13334 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13335 (tmm-add-prompt): Use minibuffer-completion-help.
13336 (tmm-delete-map): Remove.
13337
13338 * subr.el (kbd): Make it its own function.
13339
13340 2012-06-07 Stefan Merten <smerten@oekonux.de>
13341
13342 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13343 Silence compiler warnings. Fix versions.
13344 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13345 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13346 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13347 (rst-package-emacs-version-alist): Correct Emacs version to
13348 represent major merge with upstream.
13349 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13350
13351 2012-06-06 Glenn Morris <rgm@gnu.org>
13352
13353 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13354 Only print environment variables if set.
13355
13356 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13357
13358 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13359 (macroexp--cons): Rename from maybe-cons.
13360 (macroexp--accumulate): Rename from macroexp-accumulate.
13361 (macroexp--all-forms): Rename from macroexpand-all-forms.
13362 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13363 (macroexp--expand-all): Rename from macroexpand-all-1.
13364
13365 2012-06-06 Sam Steingold <sds@gnu.org>
13366
13367 * calendar/calendar.el (calendar-in-read-only-buffer):
13368 Call `special-mode' to enable the standard read-only keybindings.
13369
13370 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13371
13372 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13373 with "loading" messages (bug#11635).
13374
13375 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13376
13377 * files.el (enable-remote-dir-locals): New option.
13378 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13379
13380 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13381 Ensure, that the temp directory is local.
13382
13383 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13384 `temporary-file-directory'.
13385
13386 * progmodes/python.el (python-send-region): Ensure, that the
13387 temporary file is created also in the remote case.
13388
13389 2012-06-06 Glenn Morris <rgm@gnu.org>
13390
13391 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13392 (vc-rcs-update-changelog): Use it.
13393
13394 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13395
13396 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13397 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13398 (vc-sccs-diff): Replace use of the external vcdiff script.
13399
13400 2012-06-05 Glenn Morris <rgm@gnu.org>
13401
13402 * ledit.el: Move to obsolete/.
13403
13404 2012-06-05 Sam Steingold <sds@gnu.org>
13405
13406 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13407 patch (Bug#11140).
13408
13409 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13410
13411 * emacs-lisp/cust-print.el: Move to obsolete.
13412
13413 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13414 compiler-macro expansion.
13415
13416 Add native compiler-macro support.
13417 * emacs-lisp/macroexp.el (macroexpand-all-1):
13418 Support compiler-macros directly. Properly follow aliases and apply
13419 the compiler macros more thoroughly.
13420 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13421 macroexpand now properly follows aliases.
13422 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13423 (cl-compiler-macroexpand): Use new prop.
13424 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13425
13426 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13427
13428 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13429
13430 * window.el (get-lru-window, get-mru-window, get-largest-window):
13431 New argument NOT-SELECTED to avoid picking the selected window.
13432 (window--display-buffer-1, window--display-buffer-2): Replace by
13433 new function window--display-buffer
13434 (display-buffer-same-window, display-buffer-reuse-window)
13435 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13436 Use window--display-buffer.
13437 (display-buffer-use-some-window): Remove temporary dedication
13438 hack by calling get-lru-window and get-largest-window with
13439 NOT-SELECTED argument non-nil. Call window--display-buffer.
13440
13441 2012-06-05 Glenn Morris <rgm@gnu.org>
13442
13443 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13444 Replace external vcdiff script.
13445
13446 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13447
13448 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13449
13450 2012-06-04 Chong Yidong <cyd@gnu.org>
13451
13452 * image.el (imagemagick-types-inhibit): Revert last change.
13453 Add INFO and M.
13454 (imagemagick-enabled-types): Remove CIN and EPS*.
13455
13456 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13457
13458 * emacs-lisp/cl-lib.el: Rename from cl.el.
13459 * emacs-lisp/cl.el: New compatibility file.
13460 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13461 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13462 to obey the "cl-" prefix.
13463 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13464
13465 2012-06-03 Glenn Morris <rgm@gnu.org>
13466
13467 * emacs-lisp/authors.el (authors-aliases): Addition.
13468
13469 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13470 Fix :version.
13471
13472 2012-06-03 Stefan Merten <smerten@oekonux.de>
13473
13474 * textmodes/rst.el: Add comments.
13475 (rst-transition, rst-adornment): New faces.
13476 (rst-adornment-faces-alist): Make default safe to reevaluate.
13477 Fixes
13478 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13479 Improve customization tags.
13480 (rst-define-level-faces): Clarify meaning.
13481
13482 2012-06-03 Chong Yidong <cyd@gnu.org>
13483
13484 * progmodes/compile.el (compilation-mode-line-fail)
13485 (compilation-mode-line-run, compilation-mode-line-exit):
13486 New faces.
13487 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13488
13489 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13490
13491 * progmodes/which-func.el (which-func-update-ediff-windows):
13492 New function. Use it in ediff-select-hook (Bug#11478).
13493
13494 2012-06-03 Chong Yidong <cyd@gnu.org>
13495
13496 * bindings.el: Remove explicit help text from format-mode-line.
13497 It is now supplied by mode-line-default-help-echo.
13498 (mode-line-front-space, mode-line-end-spaces)
13499 (mode-line-misc-info): New variables.
13500 (mode-line-modes, mode-line-position): Move the default value to
13501 the variable definition.
13502 (mode-line-default-help-echo): New defcustom.
13503 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13504 (mode-line-modified-help-echo): New functions.
13505 (mode-line-mule-info, mode-line-modified): Use them.
13506 (mode-line-eol-desc, propertized-buffer-identification):
13507 Consistency fixes for help text.
13508 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13509 set-buffer-file-coding-system (Bug#289).
13510 (mode-line-mule-info-help-echo): Update help text.
13511
13512 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13513
13514 * simple.el (execute-extended-command): Set real-this-command
13515 (bug#11506).
13516
13517 2012-06-02 Chong Yidong <cyd@gnu.org>
13518
13519 Remove incorrect uses of "modeline" in comments, docstrings, and
13520 function/variable names (Bug#10329).
13521
13522 * cus-edit.el (mode-line):
13523 * dframe.el (dframe-mouse-hscroll):
13524 * emacs-lisp/re-builder.el:
13525 * emacs-lisp/easy-mmode.el (define-minor-mode):
13526 * frame.el (set-frame-name):
13527 * help.el (lookup-minor-mode-from-indicator):
13528 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13529 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13530 (c-toggle-hungry-state):
13531 * progmodes/antlr-mode.el (antlr-language-alist):
13532 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13533 * progmodes/vhdl-mode.el (vhdl-mode):
13534 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13535 * term/ns-win.el (ns-face-at-pos):
13536 * term/sup-mouse.el (sup-mouse-report):
13537 * textmodes/flyspell.el (flyspell-mode-line-string):
13538 * textmodes/ispell.el (ispell-highlight-face):
13539 * textmodes/reftex-global.el:
13540 * vc/vc-arch.el (vc-arch-mode-line-string):
13541 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13542 * vc/vc-git.el (vc-git-mode-line-string):
13543 * vc/vc-hooks.el (vc-display-status)
13544 (vc-default-mode-line-string):
13545 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13546
13547 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13548
13549 * dired.el (dired-sort-set-mode-line): Rename from
13550 dired-sort-set-modeline. All callers changed.
13551
13552 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13553 eshell-status-in-modeline.
13554
13555 * foldout.el (foldout-mode-line-string): Rename from
13556 foldout-modeline-string. All callers changed.
13557 (foldout-update-mode-line): Rename from foldout-update-modeline.
13558
13559 * subr.el (redraw-modeline): Make into obsolete alias.
13560
13561 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13562 timeclock-modeline-display. Make old name an alias.
13563 (timeclock-update-mode-line): Likewise. All callers changed.
13564 (timeclock-mode-line-display): No need to check before using
13565 add-hook.
13566 (timeclock-relative, timeclock-day-over-hook)
13567 (timeclock-use-elapsed, timeclock-mode-string)
13568 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13569
13570 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13571 crisp-mode-modeline-string.
13572
13573 * play/solitaire.el (solitaire-build-mode-line): Rename from
13574 solitaire-build-modeline. All callers changed.
13575
13576 * play/zone.el (zone-hiding-mode-line): Rename from
13577 zone-hiding-modeline. All callers changed.
13578 (zone): Remove unusued `modeline-hidden-level' property.
13579
13580 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13581 xscheme-modeline-initialize. All callers changed.
13582
13583 * strokes.el (strokes-lighter): Rename from
13584 strokes-modeline-string.
13585
13586 * textmodes/sgml-mode.el (html-face-tag-alist)
13587 (html-tag-face-alist): Use mode-line face instead of obsolete
13588 alias modeline.
13589
13590 2012-06-02 Stefan Merten <smerten@oekonux.de>
13591
13592 * textmodes/rst.el: Always require `cl'.
13593 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13594
13595 2012-06-02 Chong Yidong <cyd@gnu.org>
13596
13597 * image.el (imagemagick-enabled-types): Rename from
13598 imagemagick-types-enable. Add many more types.
13599 (imagemagick-types-inhibit): Change default to nil.
13600 (imagemagick-filter-types): Caller changed.
13601
13602 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13603
13604 * emacs-lisp/cl-macs.el: Use backquotes.
13605 (cl-transform-function-property): Use eval-and-compile rather than
13606 abusing `require'.
13607 (defstruct): Use declare-function instead of with-no-warnings.
13608
13609 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13610 (byte-compile-output-docform): Re-add the print-circle bindings.
13611 (byte-compile-fix-header): Use #$ just because it's shorter.
13612 (byte-compile-output-file-form): Remove defun/defmacro.
13613
13614 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13615
13616 * simple.el (choose-completion): Remove now obsolete binding for
13617 owindow.
13618
13619 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13620
13621 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13622 in order to avoid "Stack overflow in regexp matcher".
13623
13624 2012-05-31 Glenn Morris <rgm@gnu.org>
13625
13626 * image.el: For clarity, call imagemagick-register-types at
13627 top-level, rather than relying on a custom :initialize.
13628 (imagemagick-types-enable): New option. (Bug#11557)
13629 (imagemagick-filter-types): New function. (Bug#7406)
13630 (imagemagick-register-types): Use imagemagick-filter-types.
13631 If disabling support, remove elements altogether rather
13632 than using an impossible regexp.
13633 (imagemagick-types-inhibit): Give it the default init function.
13634
13635 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13636
13637 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13638 Handle arbitrary file name lengths (Bug#11585).
13639
13640 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13641
13642 * desktop.el (desktop-read): Clear previous and next buffers for
13643 all windows and bury *Messages* buffer (bug#11556).
13644
13645 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13646
13647 Add `declare' for `defun'. Align `defmacro's with it.
13648 * emacs-lisp/easy-mmode.el (define-minor-mode)
13649 (define-globalized-minor-mode): Don't autoload the var definitions.
13650 * emacs-lisp/byte-run.el: Use lexical-binding.
13651 (defun-declarations-alist, macro-declarations-alist): New vars.
13652 (defmacro, defun): Use them.
13653 (make-obsolete, define-obsolete-function-alias)
13654 (make-obsolete-variable, define-obsolete-variable-alias):
13655 Use `declare'.
13656 (macro-declaration-function): Mark obsolete.
13657 * emacs-lisp/autoload.el: Use lexical-binding.
13658 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13659
13660 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13661
13662 * textmodes/ispell.el (ispell-with-no-warnings):
13663 Define as a macro.
13664 (ispell-kill-ispell, ispell-change-dictionary):
13665 Use `called-interactively-p' for Emacs instead of obsolete
13666 `interactive-p'.
13667
13668 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13669
13670 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13671 (macro-declaration-function): Move var from C code.
13672 (macro-declaration-function): Define function with defalias.
13673 * emacs-lisp/macroexp.el (macroexpand-all-1):
13674 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13675 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13676 defun/defmacro any more.
13677 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13678 Provide fallback for unknown arglist.
13679 (byte-compile-arglist-warn): Change calling convention.
13680 (byte-compile-output-file-form): Move print-vars binding.
13681 (byte-compile-output-docform): Simplify accordingly.
13682 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13683 (byte-compile-defmacro-declaration): Remove.
13684 (byte-compile-file-form-defmumble): Generalize to defalias.
13685 (byte-compile-output-as-comment): Return byte-positions.
13686 Simplify callers accordingly.
13687 (byte-compile-lambda): Use `assert'.
13688 (byte-compile-defun, byte-compile-defmacro): Remove.
13689 (byte-compile-file-form-defalias):
13690 Use byte-compile-file-form-defmumble.
13691 (byte-compile-defalias-warn): Remove.
13692
13693 2012-05-29 Stefan Merten <smerten@oekonux.de>
13694
13695 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13696 possible. Fix authors. Improve comments. Improve loading of `cl'.
13697
13698 (rst-mode-abbrev-table): Merge definition.
13699 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13700 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13701
13702 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13703
13704 * calendar/icalendar.el
13705 (icalendar-export-region): Export UID properly.
13706
13707 2012-05-29 Leo Liu <sdl.web@gmail.com>
13708 * calendar/icalendar.el (icalendar-import-format):
13709 Add `icalendar-import-format-uid' (Bug#11525).
13710 (icalendar-import-format-uid): New.
13711 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13712 Export UID.
13713
13714 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13715
13716 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13717 different alternative patterns.
13718 (pcase-codegen): Be more careful to preserve identity.
13719 (pcase--u1): Don't forget to mark vars as used.
13720
13721 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13722 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13723 (byte-compile-from-buffer): ...rather than here.
13724
13725 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13726 functions from byte-compile-function-environment.
13727
13728 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13729
13730 * window.el (window-deletable-p): Avoid deleting the root window
13731 of a frame with an active minibuffer.
13732
13733 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13734
13735 * simple.el (choose-completion): Use quit-window (Bug#11567).
13736
13737 2012-05-29 Chong Yidong <cyd@gnu.org>
13738
13739 * whitespace.el (whitespace-cleanup): Fix usage of
13740 whitespace-empty-at-bob-regexp (Bug#11492).
13741
13742 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13743
13744 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13745 revert (Bug#11488).
13746
13747 2012-05-29 Juri Linkov <juri@jurta.org>
13748
13749 * isearch.el (isearch-mode-map): Bind `M-s _' to
13750 `isearch-toggle-symbol'. Bind `M-s c' to
13751 `isearch-toggle-case-fold'.
13752 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13753 (isearch-forward): Add `M-s _' to the docstring.
13754 (isearch-forward-symbol, isearch-toggle-case-fold)
13755 (isearch-symbol-regexp): New functions. (Bug#11381)
13756
13757 2012-05-29 Juri Linkov <juri@jurta.org>
13758
13759 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13760 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13761 a function, call it to get the regexp.
13762 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13763 property `isearch-message-prefix' instead of the string "word ".
13764 (isearch-search-fun-default): For the case of `isearch-word',
13765 return a lambda that calls re-search-forward/re-search-backward
13766 with a regexp returned by `word-search-regexp' or by the function
13767 in `isearch-word'.
13768
13769 2012-05-29 Juri Linkov <juri@jurta.org>
13770
13771 * isearch.el (isearch-search-fun-default): New function.
13772 (isearch-search-fun): Move default part to the new function
13773 `isearch-search-fun-default'.
13774 (isearch-search-fun-function): Set the default value to
13775 `isearch-search-fun-default'. (Bug#11381)
13776
13777 * comint.el (comint-history-isearch-end):
13778 Use `isearch-search-fun-default'.
13779 (comint-history-isearch-search): Use `isearch-search-fun-default'
13780 and remove spacial case for `isearch-word'.
13781 (comint-history-isearch-wrap): Remove spacial case for
13782 `isearch-word'.
13783
13784 * hexl.el (hexl-isearch-search-function):
13785 Use `isearch-search-fun-default'.
13786
13787 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13788 Use `word-search-regexp' for `isearch-word'.
13789
13790 * misearch.el (multi-isearch-search-fun):
13791 Use `isearch-search-fun-default'.
13792
13793 * simple.el (minibuffer-history-isearch-search):
13794 Use `isearch-search-fun-default' and remove spacial case for
13795 `isearch-word'.
13796 (minibuffer-history-isearch-wrap): Remove spacial case for
13797 `isearch-word'.
13798
13799 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13800 Remove spacial case for `isearch-word'.
13801 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13802
13803 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13804
13805 Decrease XEmacs incompatibilities.
13806 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13807 Use `string-match'.
13808 (flyspell-delete-region-overlays): Use alternative definition for
13809 XEmacs.
13810 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13811 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13812 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13813 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13814 `define-obsolete-face-alias' under XEmacs, but old method.
13815
13816 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13817 `with-no-warnings' definition or Emacs alias.
13818 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13819 (ispell-word): Do not use `region-p' if XEmacs.
13820
13821 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13822
13823 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13824 Check for `ispell-dictionary-base-alist' instead of full
13825 `ispell-dictionary-alist'.
13826 (ispell-init-process): Show spellchecker when starting new Ispell
13827 process.
13828
13829 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13830
13831 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13832 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13833
13834 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13835
13836 * version.el (motif-version-string, gtk-version-string)
13837 (ns-version-string): Declare.
13838
13839 2012-05-27 Juri Linkov <juri@jurta.org>
13840
13841 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13842 after the `eval-defun-1' specialcaseing
13843 like in `edebug-eval-defun' (bug#10181).
13844
13845 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13846 like in `eval-defun-1'.
13847
13848 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13849
13850 * mail/sendmail.el (mail-yank-region):
13851 Recognize rmail-yank-current-message in addition to insert-buffer.
13852 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13853 a *mail* buffer created through rmail-start-mail with sendmail as
13854 mail-user-agent.
13855
13856 2012-05-27 Chong Yidong <cyd@gnu.org>
13857
13858 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13859 Default to 256 (Bug#11267).
13860
13861 * help.el (describe-mode): Doc fix.
13862
13863 2012-05-26 Glenn Morris <rgm@gnu.org>
13864
13865 * w32-fns.el (w32-init-info): Remove.
13866 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13867
13868 * info.el (info-initialize): For self-contained NS builds, put the
13869 included info/ directory at the front. (Bug#2791)
13870
13871 * paths.el (Info-default-directory-list): Make it a defcustom,
13872 mainly so that we can use custom-initialize-delay.
13873
13874 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13875
13876 * subr.el (buffer-has-markers-at): Mark obsolete.
13877
13878 * subr.el (lambda): Use declare.
13879
13880 * emacs-lisp/lisp-mode.el (lambda):
13881 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13882
13883 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13884
13885 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13886
13887 2012-05-26 Glenn Morris <rgm@gnu.org>
13888
13889 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13890
13891 2012-05-25 Glenn Morris <rgm@gnu.org>
13892
13893 * paths.el: Remove no-byte-compile.
13894 * loadup.el: No need to load paths.el uncompiled.
13895
13896 * image.el (imagemagick-types-inhibit): Doc fix.
13897
13898 * version.el: Remove no-byte-compile and associated formatting.
13899 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13900 is ancient code from when there was an "inc-vers.el".
13901
13902 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13903
13904 * progmodes/gdb-mi.el: Minor style changes.
13905 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13906 Turn into minor modes.
13907 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13908 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13909 (gdb-shell): Remove unneeded let-binding.
13910 (gdb-get-many-fields): Eliminate O(n²) behavior.
13911
13912 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13913
13914 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13915 platforms that don't link in fontset.c.
13916
13917 2012-05-25 Juri Linkov <juri@jurta.org>
13918
13919 Use the same diff color scheme as in modern VCSes (bug#10181).
13920
13921 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13922 to avoid confusion with `diff-added' that now uses green colors.
13923 (diff-removed): Use shades of red.
13924 (diff-added): Use shades of green.
13925 (diff-changed): Leave just the yellow color.
13926 (diff-use-changed-face): New variable.
13927 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13928 how to highlight context diff changes.
13929 (diff-refine-change): Use shades of yellow.
13930 (diff-refine-removed): New face that uses shades of red.
13931 (diff-refine-added): New face that uses shades of green.
13932 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13933 `diff-refine-removed' in the call to `smerge-refine-subst'
13934 depending on the value of `diff-use-changed-face'.
13935
13936 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13937 (smerge-other): Use shades of green.
13938 (smerge-base): Use shades of yellow.
13939 (smerge-refined-change): Empty face.
13940 (smerge-refined-removed): New face that uses shades of red.
13941 (smerge-refined-added): New face that uses shades of green.
13942 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13943 args `props-r' and `props-a', and use them. Doc fix.
13944 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13945 on its value use different faces `smerge-refined-change',
13946 `smerge-refined-removed', `smerge-refined-added' in the call to
13947 `smerge-refine-subst'.
13948
13949 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13950 Add face condition `min-colors 88' with shades of red.
13951 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13952 `min-colors 88' with shades of green.
13953 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13954 `min-colors 88' with shades of yellow.
13955
13956 2012-05-24 Glenn Morris <rgm@gnu.org>
13957
13958 * paths.el (prune-directory-list, remote-shell-program): Move to...
13959 * files.el (prune-directory-list, remote-shell-program): ...here.
13960 For the latter, delay initialization, prefer ssh, just search PATH.
13961
13962 * paths.el (term-file-prefix): Move to faces.el (the only user).
13963 * faces.el (term-file-prefix): Move here, make it a defcustom.
13964
13965 * paths.el (news-directory, news-path, news-inews-program):
13966 Move to gnus/nnspool.el.
13967
13968 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13969
13970 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13971 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13972 Make the latter a defcustom, with a delayed initialization.
13973
13974 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13975 These were deleted from Gnus itself late 2010.
13976
13977 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13978
13979 * progmodes/which-func.el (which-func-ff-hook):
13980 Check against user-error, not error.
13981
13982 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13983 cl-specs.el, which no longer exists.
13984
13985 2012-05-22 Glenn Morris <rgm@gnu.org>
13986
13987 * info.el (info-emacs-bug): New command.
13988 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13989 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13990
13991 2012-05-21 Glenn Morris <rgm@gnu.org>
13992
13993 * makefile.w32-in (update-subdirs-SH):
13994 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13995
13996 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13997
13998 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13999
14000 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14001 Simplify Maven regexp, and make sure the file can't start with a space
14002 (bug#11517).
14003
14004 2012-05-21 Glenn Morris <rgm@gnu.org>
14005
14006 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
14007 Scrap superfluous subshells.
14008
14009 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
14010
14011 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
14012 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
14013
14014 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
14015
14016 * calc/calc.el (calc-ensure-consistent-units): New variable.
14017
14018 * calc/calc-units.el (math-consistent-units-p)
14019 (math-check-unit-consistency): New functions.
14020 (calc-quick-units, calc-convert-units):
14021 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
14022 is non-nil.
14023 (calc-extract-units): Fix typo.
14024
14025 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14026
14027 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
14028
14029 * textmodes/flyspell.el: Commenting style, plus code simplifications.
14030 (flyspell-default-deplacement-commands): Don't spell check after
14031 repeated window/frame switches (e.g. triggered by mouse-movement).
14032 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
14033 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
14034 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
14035 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
14036 Remove unused vars.
14037 (flyspell-get-casechars, flyspell-get-not-casechars):
14038 Simplify; Don't bother removing a ] just to add it back.
14039 * textmodes/ispell.el (ispell-program-name): Use executable-find.
14040
14041 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14042
14043 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
14044 New functions.
14045 (math-function-table): Add support for more C functions.
14046
14047 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14048
14049 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14050 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14051 Protect delay handling for otherchars against empty otherchars.
14052
14053 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14054
14055 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
14056 their respective macro declarations.
14057 * skeleton.el (define-skeleton):
14058 * progmodes/compile.el (define-compilation-mode):
14059 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
14060 (define-ibuffer-filter):
14061 * emacs-lisp/generic.el (define-generic-mode):
14062 * emacs-lisp/easy-mmode.el (define-minor-mode)
14063 (define-globalized-minor-mode):
14064 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
14065 * emacs-lisp/byte-run.el (defsubst):
14066 * custom.el (deftheme): Add doc-string metadata.
14067
14068 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14069
14070 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
14071
14072 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14073
14074 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
14075
14076 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
14077 * emacs-lisp/cl-macs.el: Idem.
14078 * emacs-lisp/cl-specs.el: Remove.
14079
14080 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14081
14082 Minor renaming of internal CL functions and variables.
14083 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
14084 (cl--position): Rename from cl-position.
14085 (cl--delete-duplicates): Rename from cl-delete-duplicates.
14086 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
14087 (cl--random-state): Rename from *random-state*.
14088
14089 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14090
14091 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
14092 parens around the arg list (bug#11499).
14093
14094 2012-05-17 Juri Linkov <juri@jurta.org>
14095
14096 * isearch.el (word-search-regexp, word-search-backward)
14097 (word-search-forward, word-search-backward-lax)
14098 (word-search-forward-lax): Move functions from search.c
14099 (bug#10145, bug#11381).
14100
14101 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14102
14103 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14104 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14105 Delay for otherchars as for normal word components.
14106
14107 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14108
14109 * minibuffer.el (completion--sifn-requote): Fix last change.
14110 (minibuffer-local-must-match-filename-map):
14111 Move define-obsolete-variable-alias before its var.
14112
14113 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14114
14115 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
14116
14117 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
14118 behavior.
14119 (completion--string-equal-p): New function.
14120 (completion--twq-all): Use it to get better assertion failure data.
14121
14122 Only handle ".." and '..' quoting in shell-mode (bug#11466).
14123 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
14124 (shell--requote-argument): New functions.
14125 (shell-completion-vars): Use them.
14126 (shell--parse-pcomplete-arguments): Rename from
14127 shell-parse-pcomplete-arguments.
14128 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
14129 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
14130 Obey comint-file-name-quote-list.
14131
14132 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
14133 (smie-indent-keyword): Use it.
14134
14135 2012-05-14 Stefan Merten <smerten@oekonux.de>
14136
14137 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
14138
14139 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14140
14141 * net/rlogin.el (rlogin-mode-map): Fix last change.
14142
14143 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
14144
14145 * mail/smtpmail.el (smtpmail-send-command): Send the command and
14146 the following \r\n using a single `process-send-string', since the
14147 Lotus SMTP server refuses to accept any commands if they are sent
14148 with two `process-send-string's (Bug#11444).
14149
14150 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14151
14152 * shell.el (shell-parse-pcomplete-arguments):
14153 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
14154
14155 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14156
14157 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
14158 (image-transform-scale, image-transform-right-angle-fudge): New vars.
14159 (image-transform-width, image-transform-fit-width): New functions.
14160 (image-transform-properties): Use them.
14161 (image-transform-check-size): New function.
14162 (image-toggle-display-image): Use it (for testing).
14163 (image-transform-set-rotation): Reduce angle mod 360.
14164 Delete obsolete comment.
14165
14166 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14167
14168 * image-mode.el: Fix scaling (bug#11399).
14169 (image-transform-resize): Doc fix.
14170 (image-transform-properties): Default scale is 1 and height should
14171 be an integer.
14172
14173 2012-05-13 Johan Bockgård <bojohan@gnu.org>
14174
14175 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
14176 than hard-coding `car', to fix misbehavior when moving forward.
14177
14178 2012-05-13 Chong Yidong <cyd@gnu.org>
14179
14180 * emacs-lisp/tabulated-list.el (tabulated-list-format)
14181 (tabulated-list-entries, tabulated-list-padding)
14182 (tabulated-list-sort-key): Make permanent-local.
14183
14184 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
14185 (electric-buffer-list): Put electric buffer menu
14186 command descriptions in this docstring, instead of the docstring
14187 of electric-buffer-menu-mode. Code cleanups.
14188 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
14189 Electric-buffer-menu-mode.
14190 (electric-buffer-update-highlight): Minor code cleanup.
14191
14192 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
14193
14194 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
14195 (Bug#11447)
14196
14197 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14198
14199 Move define-obsolete-variable-alias before the var's definition.
14200 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
14201 * tooltip.el (tooltip-hook):
14202 * textmodes/reftex-toc.el (reftex-toc-map):
14203 * textmodes/reftex-sel.el (reftex-select-label-map)
14204 (reftex-select-bib-map):
14205 * textmodes/reftex-index.el (reftex-index-map)
14206 (reftex-index-phrases-map):
14207 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
14208 * progmodes/meta-mode.el (meta-mode-map):
14209 * novice.el (disabled-command-hook):
14210 * loadhist.el (unload-hook-features-list):
14211 * frame.el (blink-cursor):
14212 * files.el (find-file-not-found-hooks, write-file-hooks)
14213 (write-contents-hooks):
14214 * emulation/tpu-edt.el (GOLD-map):
14215 * emacs-lock.el (emacs-lock-from-exiting):
14216 * emacs-lisp/generic.el (generic-font-lock-defaults):
14217 * emacs-lisp/chart.el (chart-map):
14218 * dos-fns.el (register-name-alist):
14219 * dired-x.el (dired-omit-files-p):
14220 * desktop.el (desktop-enable):
14221 * cus-edit.el (custom-mode-hook):
14222 * buff-menu.el (buffer-menu-mode-hook):
14223 * bookmark.el (bookmark-read-annotation-text-func)
14224 (bookmark-exit-hooks):
14225 * allout.el (allout-mode-deactivate-hook)
14226 (allout-exposure-change-hook, allout-structure-added-hook)
14227 (allout-structure-deleted-hook, allout-structure-shifted-hook):
14228 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
14229 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
14230 comes before the corresponding variable's definition.
14231
14232 2012-05-12 Chong Yidong <cyd@gnu.org>
14233
14234 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
14235 (Buffer-menu-mouse-select): Restore function (Bug#11459).
14236 (Buffer-menu-mode-map): Bind it.
14237 (Buffer-menu--pretty-name): Add a mouse-face property.
14238
14239 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
14240
14241 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
14242 (prolog-upper-case-string, prolog-lower-case-string)
14243 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
14244 (prolog-use-smie, prolog-smie-grammar): New vars.
14245 (prolog-smie-forward-token, prolog-smie-backward-token)
14246 (prolog-smie-rules): New funs.
14247 (prolog-comment-indent): Remove.
14248 (prolog-mode-variables): Use default comment indentation instead.
14249 Setup SMIE.
14250 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
14251 (prolog-mode): Don't call them any more.
14252 (prolog-electric-colon, prolog-electric-dash)
14253 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
14254
14255 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
14256
14257 * minibuffer.el (completion--twq-all): Again, allow case differences.
14258
14259 * term.el: Move keymap initialization code to be more idiomatic.
14260 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
14261 (term-terminal-menu): Move initialization into declaration.
14262 (term-escape-char): Let the user set it in her .emacs.
14263
14264 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
14265 Provide SMIE-based indentation (not enabled by default yet).
14266 (sh-mode-map): Don't bind electric keys.
14267 Use electric-pair-mode instead of skeleton-pair.
14268 (sh-assignment-regexp): Fit within 80 columns.
14269 (sh-indent-supported): Specify actual shell name instead of boolean.
14270 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14271 (sh-maybe-here-document): Use it. Make obsolete.
14272 (sh-electric-here-document-mode) New minor mode.
14273 (sh-mode): Use it. Don't set sh-indent-supported-here here.
14274 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14275 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14276 (sh-smie-rc-grammar, sh-use-smie): New vars.
14277 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14278 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14279 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14280 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14281 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14282 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14283 (sh-set-shell): Use smie-setup if requested.
14284
14285 * term.el (term-set-escape-char): Properly set term-escape-char.
14286 See http://stackoverflow.com/questions/10524656.
14287
14288 2012-05-10 Chong Yidong <cyd@gnu.org>
14289
14290 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14291 Use url-generic-parse-url, and handle host names and Windows
14292 filenames properly.
14293 (ffap-url-unwrap-remote): Use url-generic-parse-url.
14294 (ffap-url-unwrap-remote): Accept list values, specifying a list of
14295 URL schemes to work on.
14296 (ffap--toggle-read-only): New function.
14297 (ffap-read-only, ffap-read-only-other-window)
14298 (ffap-read-only-other-frame): Use it.
14299 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14300 necessary for ffap-url-unwrap-remote.
14301
14302 2012-05-10 Dave Abrahams <dave@boostpro.com>
14303
14304 * cus-start.el (create-lockfiles): Add it.
14305
14306 2012-05-09 Chong Yidong <cyd@gnu.org>
14307
14308 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14309 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14310
14311 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14312
14313 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14314
14315 2012-05-09 Chong Yidong <cyd@gnu.org>
14316
14317 * ansi-color.el (ansi-color-process-output): Check for validity of
14318 comint-last-output-start before using it. This avoids a bad
14319 interaction with gdb-mi's input/output buffer.
14320
14321 2012-05-09 Glenn Morris <rgm@gnu.org>
14322
14323 * files.el (dir-locals-read-from-file):
14324 Mention dir-locals in any error message.
14325
14326 2012-05-09 Chong Yidong <cyd@gnu.org>
14327
14328 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14329 package (Bug#11410).
14330
14331 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14332 variables into description.
14333
14334 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14335
14336 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14337 shell-delimiter-argument-list (bug#11348).
14338 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14339
14340 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14341
14342 * textmodes/rst.el: Silence byte-compiler warnings.
14343 (rst-re-alist, rst-reset-section-caches): Move around.
14344 (rst-re): Use `characterp', not `char-valid-p'.
14345 (font-lock-beg, font-lock-end): Declare.
14346
14347 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14348 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14349
14350 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14351
14352 2012-05-08 Glenn Morris <rgm@gnu.org>
14353
14354 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14355
14356 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14357
14358 * vc/log-edit.el: Add GNU coding standards highlighting.
14359 (log-edit-font-lock-gnu-style)
14360 (log-edit-font-lock-gnu-keywords): New vars.
14361 (log-edit-font-lock-keywords): New fun.
14362 (log-edit-mode): Don't fold case in font-lock.
14363 (log-edit-font-lock-keywords): Do not assume case-folding.
14364
14365 * imenu.el: Misc cleanup. Make docstrings out of comments.
14366 Use lexical-binding.
14367 (imenu--index-alist, imenu--last-menubar-index-alist)
14368 (imenu-menubar-modified-tick): Use defvar-local.
14369 (imenu--split-menu): Remove unused var.
14370 (imenu--cleanup-seen): Declare as global.
14371 (imenu--cleanup): Use dolist.
14372
14373 * subr.el (defvar-local): Add debug spec and doc-string position.
14374
14375 2012-05-08 Glenn Morris <rgm@gnu.org>
14376
14377 * language/burmese.el, language/cham.el, language/czech.el:
14378 * language/english.el, language/georgian.el, language/greek.el:
14379 * language/japanese.el, language/khmer.el, language/korean.el:
14380 * language/lao.el, language/misc-lang.el, language/romanian.el:
14381 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14382 * language/thai.el, language/utf-8-lang.el:
14383 Remove no-byte-compile setting.
14384
14385 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14386
14387 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14388
14389 * progmodes/make-mode.el (makefile-browse):
14390 Remove unnecessary interactive. (Bug#11324)
14391
14392 2012-05-07 Glenn Morris <rgm@gnu.org>
14393
14394 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14395
14396 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14397
14398 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14399
14400 * loadup.el: Preload newcomment.el.
14401 * newcomment.el: Move autoload-only code to toplevel.
14402
14403 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14404 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14405 Handle new :right-align column property.
14406 (tabulated-list-print-col): Idem, plus use `display' text-property to
14407 try and preserve alignment for variable pitch fonts.
14408
14409 2012-05-07 Chong Yidong <cyd@gnu.org>
14410
14411 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14412 (tabulated-list-use-header-line): New var.
14413 (tabulated-list-init-header): Use it.
14414 (tabulated-list-print-fake-header): New function.
14415 (tabulated-list-print): Use it.
14416 (tabulated-list-sort-button-map): Add non-header-line commands.
14417 (tabulated-list-init-header): Add column name property to basic
14418 labels as well.
14419 (tabulated-list-col-sort): Handle non-header-line button case.
14420 (tabulated-list--sort-by-column-name): Fix a corner case.
14421
14422 * buff-menu.el (list-buffers--refresh):
14423 Handle Buffer-menu-use-header-line.
14424
14425 2012-05-06 Chong Yidong <cyd@gnu.org>
14426
14427 * buff-menu.el: Convert to Tabulated List mode.
14428 (Buffer-menu-buffer+size-width): Make obsolete.
14429 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14430 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14431 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14432 documentation into docstring of buffer-menu.
14433 (Buffer-menu-toggle-files-only): Add an informative message.
14434 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14435 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14436 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14437 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14438 (Buffer-menu-execute, Buffer-menu-select)
14439 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14440 (Buffer-menu-bury): Use Tabulated List machinery.
14441 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14442 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14443 Delete.
14444 (list-buffers--refresh): New function.
14445 (list-buffers-noselect): Use it.
14446 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14447 (Buffer-menu--pretty-file-name): New helper functions.
14448
14449 * loadup.el: Preload tabulated-list.
14450
14451 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14452 tabulated-list-sort-column.
14453 (tabulated-list-init-header): Add the initial aligning space even
14454 if tabulated-list-padding is zero.
14455
14456 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14457
14458 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14459 whose cdr is not a cons cell correctly (bug#11038).
14460
14461 2012-05-06 Chong Yidong <cyd@gnu.org>
14462
14463 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14464 Accept additional plist in column descriptors.
14465 (tabulated-list-init-header): Obey it.
14466 (tabulated-list-get-entry): New function.
14467 (tabulated-list-put-tag): Use it. Use string-width instead of
14468 length.
14469 (tabulated-list--column-number): New function.
14470 (tabulated-list-print): Use it.
14471 (tabulated-list-print-col): New function.
14472 Set `tabulated-list-column-name' property on each column's text.
14473 (tabulated-list-print-entry): Use it.
14474 (tabulated-list-delete-entry, tabulated-list-set-col):
14475 New functions.
14476 (tabulated-list-sort-column): New command (Bug#11337).
14477
14478 * buff-menu.el (list-buffers): Move C-x C-b binding from
14479 buff-menu.el to bindings.el.
14480
14481 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14482 :advertised-binding feature.
14483
14484 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14485
14486 * progmodes/compile.el (compilation-internal-error-properties):
14487 Calculate start position correctly when end-col is set but
14488 end-line is not (Bug#11382).
14489
14490 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14491
14492 * man.el (Man-unindent): Use text-property-default-nonsticky to
14493 prevent untabify from inheriting face properties (Bug#11408).
14494
14495 2012-05-05 Stefan Merten <smerten@oekonux.de>
14496
14497 * textmodes/rst.el: Major merge with upstream development up to
14498 Docutils SVN r7399 / rst.el V1.2.1.
14499
14500 Clarify maintainership and authors.
14501
14502 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14503 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14504 (rst-official-version, rst-official-cvs-rev, rst-version)
14505 (rst-package-emacs-version-alist): New functions and variables
14506 for version information.
14507
14508 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14509 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14510 (rst-mode-syntax-table, rst-mode): New and corrected functions
14511 and variables representing reStructuredText features.
14512
14513 (rst-re): New function for reStructuredText regexes. Use in
14514 many places.
14515
14516 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14517 (rst-mode-map): Rebind keys.
14518
14519 (rst-mode-lazy, rst-font-lock-keywords)
14520 (rst-font-lock-extend-region)
14521 (rst-font-lock-extend-region-internal)
14522 (rst-font-lock-extend-region-extend)
14523 (rst-font-lock-find-unindented-line-limit)
14524 (rst-font-lock-find-unindented-line-match)
14525 (rst-adornment-level, rst-font-lock-adornment-level)
14526 (rst-font-lock-adornment-match)
14527 (rst-font-lock-handle-adornment-pre-match-form)
14528 (rst-font-lock-handle-adornment-matcher): Major revision of
14529 font-locking. Integrate with other code. Use `jit-lock-mode'.
14530
14531 (rst-preferred-adornments, rst-adjust-hook)
14532 (rst-new-adornment-down, rst-preferred-bullets)
14533 (rst-preferred-bullets, rst-indent, rst-indent-width)
14534 (rst-indent-field, rst-indent-literal-normal)
14535 (rst-indent-literal-minimized, rst-indent-comment): Change,
14536 extend and improve customization.
14537
14538 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14539 (rst-normalize-cursor-position, rst-get-decoration)
14540 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14541 (rst-rstrip, rst-toc-insert-find-delete-contents)
14542 (rst-shift-fill-region, rst-compute-bullet-tabs)
14543 (rst-debug-print-tabs, rst-debug-mark-found)
14544 (rst-shift-region-guts, rst-shift-region-right)
14545 (rst-shift-region-left, rst-use-char-classes)
14546 (rst-font-lock-keywords-function)
14547 (rst-font-lock-indentation-point)
14548 (rst-font-lock-find-unindented-line-begin)
14549 (rst-font-lock-find-unindented-line-end)
14550 (rst-font-lock-find-unindented-line)
14551 (rst-font-lock-adornment-point, rst-font-lock-level)
14552 (rst-adornment-level-alist): Remove functions and variables.
14553
14554 (rst-compare-adornments, rst-get-adornment-match)
14555 (rst-suggest-new-adornment, rst-get-adornments-around)
14556 (rst-adornment-complete-p, rst-get-next-adornment)
14557 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14558 (rst-straighten-adornments): Standardize function names to
14559 use "adornment" instead of "decoration". Correct callers.
14560 Similar standardizing in many places.
14561
14562 (rst-update-section, rst-adjust, rst-promote-region)
14563 (rst-enumerate-region, rst-bullet-list-region)
14564 (rst-repeat-last-character): Correct use of `interactive'.
14565
14566 (rst-classify-adornment, rst-find-all-adornments)
14567 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14568 (rst-find-leftmost-column, rst-repeat-last-character):
14569 Refactor functions.
14570
14571 (rst-find-title-line, rst-reset-section-caches)
14572 (rst-get-adornments-around, rst-adjust-adornment-work)
14573 (rst-arabic-to-roman, rst-roman-to-arabic)
14574 (rst-insert-list-pos, rst-insert-list-new-item)
14575 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14576 New functions.
14577
14578 (rst-all-sections, rst-section-hierarchy)
14579 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14580 New variables.
14581
14582 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14583 configuration instead of only buffer. Change where necessary.
14584
14585 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14586 (rst-shift-region, rst-adaptive-fill): New functions for
14587 indentation and filling.
14588
14589 (rst-comment-line-break, rst-comment-indent)
14590 (rst-comment-insert-comment, rst-comment-region)
14591 (rst-uncomment-region): New functions for handling comments.
14592
14593 (rst-compile): Quote shell arguments.
14594
14595 (rst-compile-pdf-preview, rst-compile-slides-preview):
14596 Delete temporary files after use.
14597
14598 2012-05-05 Glenn Morris <rgm@gnu.org>
14599
14600 * calendar/cal-html.el: Optionally include holidays in the output.
14601 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14602 (cal-html-holidays): New option.
14603 (cal-html-css-default): Add holiday entry.
14604 (holiday-in-range): Autoload it.
14605 (cal-html-htmlify-entry): Add optional class argument.
14606 (cal-html-htmlify-list): Add optional holidays argument.
14607 (cal-html-insert-agenda-days): Include holidays in the output.
14608 (cal-html-one-month): Maybe include holidays.
14609
14610 * calendar/holidays.el (holiday-in-range):
14611 Move here from cal-tex-list-holidays.
14612 * calendar/cal-tex.el (cal-tex-list-holidays):
14613 Make it an obsolete alias for holiday-in-range. Update all callers.
14614
14615 2012-05-05 Chong Yidong <cyd@gnu.org>
14616
14617 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14618 Nextstep.
14619
14620 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14621
14622 * files.el (file-auto-mode-skip): New var.
14623 (set-auto-mode-1): Use it.
14624
14625 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14626
14627 * repeat.el: Use lexical-binding.
14628 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14629 (repeat-undo-count): Remove.
14630 (repeat):
14631 * progmodes/octave-mod.el (octave-abbrev-start):
14632 * progmodes/f90.el (f90-abbrev-start):
14633 * face-remap.el (text-scale-adjust):
14634 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14635
14636 * emacs-lisp/pcase.el (pcase--let*): New function.
14637 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14638 a bit more.
14639 (pcase--split-pred): Be more clever about ruling out overlap between
14640 a predicate and some constant pattern.
14641 (pcase--q1): Use `null' instead of (eq foo nil).
14642
14643 * subr.el (setq-local, defvar-local): New macros.
14644 (kbd): Redefine as an alias.
14645 (with-selected-window): Leave unrelated frames alone.
14646 (set-temporary-overlay-map): New function.
14647
14648 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14649
14650 * subr.el (user-error): New function.
14651 * window.el (switch-to-buffer):
14652 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14653 (smerge-match-conflict):
14654 * simple.el (previous-matching-history-element)
14655 (next-matching-history-element, goto-history-element, undo-more)
14656 (undo-start):
14657 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14658 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14659 (next-file, tags-loop-scan, list-tags, complete-tag):
14660 * progmodes/compile.el (compilation-loop):
14661 * mouse.el (mouse-minibuffer-check):
14662 * man.el (Man-bgproc-sentinel, Man-goto-page):
14663 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14664 (Info-history-forward, Info-follow-reference, Info-menu)
14665 (Info-extract-menu-item, Info-extract-menu-counting)
14666 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14667 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14668 (Info-next-reference, Info-prev-reference, Info-index)
14669 (Info-index-next, Info-follow-nearest-node)
14670 (Info-copy-current-node-name):
14671 * imenu.el (imenu--make-index-alist)
14672 (imenu-default-create-index-function, imenu-add-to-menubar):
14673 * files.el (basic-save-buffer, recover-file):
14674 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14675 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14676 (checkdoc-message-text, checkdoc-defun):
14677 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14678 * cus-edit.el (customize-changed-options, customize-rogue)
14679 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14680 (custom-variable-mark-to-reset-standard)
14681 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14682 (custom-file):
14683 * completion.el (check-completion-length):
14684 * comint.el (comint-search-arg)
14685 (comint-previous-matching-input-string-position)
14686 (comint-previous-matching-input)
14687 (comint-replace-by-expanded-history-before-point, comint-send-input)
14688 (comint-copy-old-input, comint-backward-matching-input)
14689 (comint-goto-process-mark, comint-set-process-mark):
14690 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14691 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14692
14693 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14694
14695 * dabbrev.el (dabbrev--ignore-case-p): New function.
14696 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14697 Use it.
14698
14699 * files.el (automount-dir-prefix): Mark as obsolete.
14700
14701 2012-05-04 Glenn Morris <rgm@gnu.org>
14702
14703 * patcomp.el, play/bruce.el: Move to obsolete/.
14704
14705 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14706
14707 Fix minor Y10k bugs.
14708 * arc-mode.el (archive-unixdate):
14709 * autoinsert.el (auto-insert-alist):
14710 * calc/calc-forms.el (math-this-year):
14711 * emacs-lisp/copyright.el (copyright-current-year)
14712 (copyright-update-year, copyright):
14713 * tar-mode.el (tar-clip-time-string):
14714 * time.el (display-time-update):
14715 Don't assume years have 4 digits.
14716
14717 2012-05-04 Chong Yidong <cyd@gnu.org>
14718
14719 * dos-w32.el (file-name-buffer-file-type-alist)
14720 (direct-print-region-use-command-dot-com):
14721 * ffap.el (ffap-menu-regexp):
14722 * find-file.el (ff-special-constructs):
14723 * follow.el (follow-debug):
14724 * forms.el (forms--debug):
14725 * iswitchb.el (iswitchb-all-frames):
14726 * ido.el (ido-all-frames):
14727 * emacs-lisp/timer.el (timer-max-repeats):
14728 * mail/feedmail.el (feedmail-mail-send-hook)
14729 (feedmail-mail-send-hook-queued):
14730 * mail/footnote.el (footnote-signature-separator):
14731 * mail/mailabbrev.el (mail-alias-separator-string)
14732 (mail-abbrev-mode-regexp):
14733 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14734 * progmodes/idlwave.el (idlwave-libinfo-file)
14735 (idlwave-default-completion-case-is-down)
14736 (idlwave-library-routines): Convert defvars to defcustoms.
14737
14738 * mail/rmail.el (rmail-decode-mime-charset):
14739 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14740 (idlwave-shell-fix-inserted-breaks)
14741 (idlwave-shell-activate-alt-keybindings)
14742 (idlwave-shell-use-breakpoint-glyph):
14743 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14744
14745 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14746
14747 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14748
14749 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14750
14751 * progmodes/verilog-mode.el (font-lock-keywords):
14752 Fix mis-highligting auto. Reported by Craig Barner.
14753 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14754 defines from global name space. Reported by Dan Dever.
14755 (verilog-auto-reset, verilog-auto-reset-widths)
14756 (verilog-auto-tieoff): Support using unbased numbers for
14757 AUTORESET and AUTOTIEOFF.
14758 (verilog-submit-bug-report): Update variable list.
14759 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14760 parenthesis from not matching. Reported by Michael Rytting.
14761 (verilog-auto-template-lint): Fix hash error when linting modules
14762 with no used templates.
14763 (verilog-warn, verilog-warn-error)
14764 (verilog-warn-fatal): When non-interactive report multiple
14765 warnings before exiting. Suggested by Brad Dobbie.
14766 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14767 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14768 to report unused template errors. Reported by Brad Dobbie.
14769 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14770 nets, bug438. Reported by Vns Blore.
14771 (verilog-auto-inout-module, verilog-auto-reg)
14772 (verilog-read-decls, verilog-read-sub-decls-sig)
14773 (verilog-signals-edit-wire-reg, verilog-signals-with):
14774 Fix passing of Verilog data types in ANSI input/output ports
14775 such as "output logic" into the AUTOs. Special case "wire" and
14776 "reg" for backwards compatibility presuming Verilog 2001.
14777 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14778 (verilog-preprocess): Fix replication of preprocess output.
14779 Reported by Brad Dobbie.
14780 (verilog-auto-inst-interfaced-ports):
14781 Create verilog-auto-inst-interfaced-ports, bug429.
14782 Reported by Julian Gorfajn.
14783 (verilog-after-save-font-hook)
14784 (verilog-before-save-font-hook): New variable.
14785 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14786 (verilog-save-font-mods): Wrap disabling fontification, reported
14787 by David Rogoff.
14788 (verilog-do-indent, verilog-pretty-declarations-auto)
14789 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14790 Reported by Pierre-David Pfister.
14791 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14792 of class declarations, bug292. Reported by Kevin Heilman.
14793 (verilog-read-decls): Fix 'parameter type' not appearing in
14794 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14795 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14796 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14797 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14798 Reported by David Kravitz.
14799
14800 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14801
14802 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14803 assignment with tests in ifs and for loops.
14804 (verilog-extended-complete-re, verilog-complete-reg): Change so
14805 that DPI inport functions don't look like fuction declarations.
14806 (verilog-pretty-expr): Don't line up assignment
14807 operations to the test and increment in if and for loops
14808 (verilog-extended-complete-re, verilog-complete-reg): Change so
14809 that DPI inport functions don't look like fuction declarations.
14810
14811 2012-05-03 Kenichi Handa <handa@m17n.org>
14812
14813 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14814 decoding, and show a warning message without signaling an error
14815 (Bug#11282).
14816
14817 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14818
14819 * emacs-lisp/bytecomp.el
14820 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14821 since cconv.el might have introduced :fun-body, internal-make-closure,
14822 and friends for bytecomp to handle (bug#11391).
14823 * custom.el (defcustom): Avoid ((λ ..) ..).
14824
14825 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14826
14827 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14828
14829 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14830
14831 * notifications.el (dbus-debug):
14832 * term/linux.el (gpm-mouse-enable):
14833 * term/screen.el (xterm-register-default-colors): Declare.
14834
14835 2012-05-02 Chong Yidong <cyd@gnu.org>
14836
14837 * cus-start.el (gc-cons-percentage, exec-suffixes)
14838 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14839 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14840 (make-cursor-line-fully-visible, void-text-area-pointer)
14841 (font-list-limit): Add customization data.
14842
14843 * allout.el (allout-exposure-change-functions)
14844 (allout-structure-added-functions)
14845 (allout-structure-deleted-functions)
14846 (allout-structure-shifted-functions): Rename abnormal hooks from
14847 *-hook, and convert to defcustoms.
14848 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14849 Convert to defcustoms.
14850 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14851
14852 * allout-widgets.el: Hook callers changed.
14853
14854 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14855
14856 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14857 the yanked message in preference to the default value of
14858 buffer-file-coding-system.
14859
14860 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14861
14862 * window.el (display-buffer--action-function-custom-type):
14863 Fix entry.
14864
14865 2012-05-02 Alan Mackenzie <acm@muc.de>
14866
14867 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14868
14869 2012-05-01 Glenn Morris <rgm@gnu.org>
14870
14871 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14872
14873 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14874
14875 * cus-edit.el (custom-variable-documentation): Simplify with format.
14876
14877 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14878 Stefan Monnier <monnier@iro.umontreal.ca>
14879
14880 * simple.el (suggest-key-bindings, execute-extended-command):
14881 Move from keyboard.c.
14882
14883 2012-05-01 Chong Yidong <cyd@gnu.org>
14884
14885 * follow.el: Eliminate advice.
14886 (set-process-filter, process-filter, sit-for): Advice deleted.
14887 (follow-mode-off-hook): Obsolete hook removed.
14888 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14889 Vars deleted.
14890 (follow-auto): Use a :set function.
14891 (follow-mode): Rewritten. Don't advise process filters.
14892 (follow-switch-to-current-buffer-all, follow-scroll-up)
14893 (follow-scroll-down): Assume follow-mode is bound.
14894 (follow-comint-scroll-to-bottom)
14895 (follow-align-compilation-windows): New functions.
14896 (follow--window-sorter): New function.
14897 (follow-all-followers): Use it to explicitly sort windows by their
14898 positions; don't make assumptions about next-window order.
14899 (follow-windows-start-end, follow-delete-other-windows-and-split)
14900 (follow-calc-win-start): Doc fix.
14901 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14902 vertical-motion unnecessarily.
14903 (follow-adjust-window): New function.
14904 (follow-post-command-hook): Use it.
14905 (follow-call-set-process-filter, follow-call-process-filter)
14906 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14907 (follow-stop-intercept-process-output, follow-generic-filter):
14908 Functions deleted.
14909 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14910 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14911 New functions, replacing advice on scroll-bar-* commands.
14912 (follow-mwheel-scroll): New function (Bug#4112).
14913
14914 * comint.el (comint-adjust-point): New function.
14915 (comint-postoutput-scroll-to-bottom): Use it.
14916 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14917
14918 2012-05-01 Glenn Morris <rgm@gnu.org>
14919
14920 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14921 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14922 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14923 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14924 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14925 Remove no-byte-compile setting.
14926
14927 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14928
14929 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14930 all-completions code to not return a number in the last cdr.
14931
14932 2012-04-30 Leo Liu <sdl.web@gmail.com>
14933
14934 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14935 read-only error.
14936
14937 2012-04-29 Chong Yidong <cyd@gnu.org>
14938
14939 * follow.el (follow-calc-win-end): Rewrite to handle partial
14940 screen lines correctly (Bug#8390).
14941 (follow-avoid-tail-recenter): Minor cleanup.
14942
14943 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14944
14945 Avoid the obsolete `assoc' package.
14946 * speedbar.el (speedbar-refresh): Avoid adelete.
14947 (speedbar-file-lists): Simplify and avoid aput.
14948 * man.el (Man--sections, Man--refpages): New vars, replacing
14949 Man-sections-alist and Man-refpages-alist.
14950 (Man-build-section-alist, Man-build-references-alist):
14951 Use them; avoid aput.
14952 (Man--last-section, Man--last-refpage): New vars.
14953 (Man-follow-manual-reference): Use them.
14954 Use the `default' arg of completing-read.
14955 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14956
14957 2012-04-27 Chong Yidong <cyd@gnu.org>
14958
14959 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14960
14961 * startup.el (x-apply-session-resources): New function.
14962
14963 * term/ns-win.el (ns-initialize-window-system):
14964 * term/w32-win.el (w32-initialize-window-system):
14965 * term/x-win.el (x-initialize-window-system): Use it to properly
14966 set menu-bar-mode and other vars from X resources, even if the
14967 initial frame is not a window-system frame (Bug#2299).
14968
14969 * subr.el (read-key): Avoid running filter function when setting
14970 up temporary tool bar entries (Bug#9922).
14971
14972 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14973
14974 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14975 (Bug#11344)
14976
14977 2012-04-27 Chong Yidong <cyd@gnu.org>
14978
14979 * select.el (xselect--encode-string): New function, split from
14980 xselect-convert-to-string.
14981 (xselect-convert-to-string): Use it.
14982 (xselect-convert-to-filename, xselect-convert-to-os)
14983 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14984 returned strings are properly encoded (Bug#11315).
14985
14986 2012-04-27 Chong Yidong <cyd@gnu.org>
14987
14988 * simple.el (delete-active-region): Move to killing custom group.
14989
14990 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14991
14992 * progmodes/which-func.el (which-func-current): Quote %
14993 characters for mode-line processing.
14994
14995 2012-04-27 Chong Yidong <cyd@gnu.org>
14996
14997 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14998 reaching eob (Bug#11286).
14999
15000 2012-04-27 Eli Zaretskii <eliz@gnu.org>
15001
15002 * progmodes/gdb-mi.el (gdb-control-level): New variable.
15003 (gdb): Make it buffer-local and init to zero.
15004 (gdb-control-commands-regexp): New variable.
15005 (gdb-send): Don't wrap in "-interpreter-exec console" if
15006 gdb-control-level is positive. Increment gdb-control-level
15007 whenever the command matches gdb-control-commands-regexp, and
15008 decrement it each time the command is "end". (Bug#11279)
15009
15010 2012-04-27 Martin Rudalics <rudalics@gmx.at>
15011
15012 * window.el (adjust-window-trailing-edge, enlarge-window)
15013 (shrink-window, window-resize):
15014 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
15015 windows (Bug#11276).
15016
15017 2012-04-27 Chong Yidong <cyd@gnu.org>
15018
15019 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
15020 fix "missing prefix" warning. All callers changed.
15021
15022 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15023
15024 * emacs-lisp/assoc.el: Move to obsolete/.
15025
15026 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15027
15028 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
15029
15030 * term/ns-win.el (ns-define-service):
15031 * progmodes/pascal.el (pascal-goto-defun):
15032 * progmodes/js.el (js--read-tab):
15033 * progmodes/etags.el (tags-lazy-completion-table):
15034 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
15035 * emacs-lisp/ewoc.el (ewoc--wrap):
15036 * emacs-lisp/assoc.el (aput, adelete, amake):
15037 * doc-view.el (doc-view-convert-current-doc):
15038 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
15039
15040 2012-04-26 Chong Yidong <cyd@gnu.org>
15041
15042 * image.el (image-type-from-buffer): Only return supported image
15043 type (Bug#9045).
15044
15045 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
15046 value, for symmetry with diff-end-of-hunk.
15047 (diff-split-hunk, diff-find-source-location)
15048 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
15049 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
15050 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
15051 compute the relevant hunk or file properly (Bug#6005).
15052 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
15053
15054 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15055
15056 * vc/vc-mtn.el:
15057 * vc/vc-hg.el:
15058 * vc/vc-git.el:
15059 * vc/vc-dir.el:
15060 * vc/vc-cvs.el:
15061 * vc/vc-bzr.el:
15062 * vc/vc-arch.el:
15063 * vc/vc.el: Replace lexical-let by lexical-binding.
15064 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
15065 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
15066 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
15067
15068 2012-04-26 Chong Yidong <cyd@gnu.org>
15069
15070 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
15071 (diff-mode-shared-map): Bind it to / and [remap undo].
15072
15073 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
15074 (ediff-window-setup-function): Use it as the default, to set up
15075 windows based on whether the current frame is graphical (Bug#2138).
15076 (ediff-choose-window-setup-function-automatically): Make obsolete.
15077
15078 * vc/ediff-init.el: Always define ediff-pixel-width/height.
15079
15080 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15081
15082 * ffap.el: Remove old code for obsolete package.
15083 (ffap-complete-as-file-p): Remove.
15084
15085 Use completion-table-with-quoting for comint and pcomplete.
15086 * comint.el (comint--unquote&requote-argument)
15087 (comint--unquote-argument, comint--requote-argument): New functions.
15088 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
15089 (comint-quote-filename): Use regexp-opt-charset.
15090 (comint--common-suffix, comint--common-quoted-suffix)
15091 (comint--table-subvert): Remove.
15092 (comint-unquote-function, comint-requote-function): New vars.
15093 (comint--complete-file-name-data): Use them with
15094 completion-table-with-quoting.
15095 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
15096 * pcomplete.el (pcomplete-arg-quote-list)
15097 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
15098 (pcomplete-unquote-argument-function): Default to non-nil.
15099 (pcomplete-unquote-argument): Simplify.
15100 (pcomplete--common-quoted-suffix): Remove.
15101 (pcomplete-requote-argument-function): New var.
15102 (pcomplete--common-suffix): New function.
15103 (pcomplete-completions-at-point): Use completion-table-with-quoting
15104 and completion-table-subvert.
15105
15106 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
15107 (minibuffer--double-dollars): Preserve properties.
15108 (completion--sifn-requote): New function.
15109 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
15110
15111 * minibuffer.el: Add support for completion of quoted/escaped data.
15112 (completion-table-with-quoting, completion-table-subvert): New funs.
15113 (completion--twq-try, completion--twq-all): New functions.
15114 (completion--nth-completion): New function.
15115 (completion-try-completion, completion-all-completions): Use it.
15116
15117 2012-04-25 Leo Liu <sdl.web@gmail.com>
15118
15119 * progmodes/python.el (python-pdbtrack-get-source-buffer):
15120 Use compilation-message if available to find real filename.
15121
15122 2012-04-25 Chong Yidong <cyd@gnu.org>
15123
15124 * vc/diff-mode.el (diff-setup-whitespace): New function.
15125 (diff-mode): Use it.
15126
15127 * vc/diff.el (diff-sentinel):
15128 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
15129 Whitespace mode variables based on diff style (Bug#8612).
15130
15131 2012-04-25 Leo Liu <sdl.web@gmail.com>
15132
15133 * progmodes/python.el (python-send-region): Add suffix .py to the
15134 temp file.
15135
15136 * files.el (auto-mode-alist): Use javascript-mode instead.
15137
15138 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
15139
15140 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
15141
15142 * net/soap-client.el (soap-resolve-references-for-sequence-type)
15143 (soap-resolve-references-for-array-type): Hack to prevent self
15144 references, see Bug#9.
15145 (soap-parse-envelope): Report the contents of the 'detail' node
15146 when receiving a fault reply.
15147 (soap-parse-envelope): Report the contents of the entire 'detail' node.
15148
15149 * net/soap-inspect.el (soap-sample-value-for-simple-type)
15150 (soap-inspect-simple-type): New function.
15151
15152 * net/soap-client.el (soap-simple-type): New struct.
15153 (soap-default-xsd-types, soap-default-soapenc-types)
15154 (soap-decode-basic-type, soap-encode-basic-type):
15155 support unsignedInt and double basic types.
15156 (soap-resolve-references-for-simple-type)
15157 (soap-parse-simple-type, soap-encode-simple-type): New function.
15158 (soap-parse-schema): Parse xsd:simpleType declarations.
15159
15160 * net/soap-client.el (soap-default-xsd-types)
15161 (soap-default-soapenc-types): Add integer, byte and anyURI types.
15162 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
15163 the local name of "soapenc:Array".
15164 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
15165 decoding integer, byte and anyURI xsd types.
15166
15167 2012-04-25 Chong Yidong <cyd@gnu.org>
15168
15169 * cus-edit.el (custom-buffer-create-internal): Update header text.
15170
15171 2012-04-25 Eli Zaretskii <eliz@gnu.org>
15172
15173 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
15174 settings on 'system-type', not on 'window-system'. On MS-Windows,
15175 set interactive-mode on in GDB.
15176
15177 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15178
15179 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
15180 (ruby-syntax-propertize-regexp): Remove.
15181 (ruby-syntax-propertize-function): Split regexp into chunks.
15182 Match following code directly.
15183
15184 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
15185
15186 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
15187 (ruby-syntax-propertize-regexp): New function.
15188 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
15189 by a special keyword.
15190
15191 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
15192 (ruby-syntax-general-delimiters-goto-beg)
15193 (ruby-syntax-propertize-general-delimiters): New functions.
15194 (ruby-syntax-propertize-function): Use them to handle GDL.
15195 (ruby-font-lock-keywords): Move old handling of GDL...
15196 (ruby-font-lock-syntactic-keywords): .. to here.
15197 (ruby-calculate-indent): Adjust indentation for GDL.
15198
15199 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
15200
15201 * notifications.el (top): Remove unneeded declarations.
15202 (notifications-specification-version): Change to "1.2".
15203 (notifications-interface, notifications-notify-method)
15204 (notifications-close-notification-method): Fix docstring.
15205 (notifications-get-capabilities-method): New defconst.
15206 (notifications-notify): Add :action-items, :resident and
15207 :transient hints. Change "image_data" to "image-data" and
15208 "image_path" to "image-path".
15209 (notifications-get-capabilities): New defun.
15210
15211 2012-04-24 Leo Liu <sdl.web@gmail.com>
15212
15213 * progmodes/python.el: Move hideshow setup to the end.
15214
15215 2012-04-24 Martin Rudalics <rudalics@gmx.at>
15216
15217 * window.el (handle-select-window): Clear echo area since this is
15218 no more done by read_char (Bug#11304).
15219
15220 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15221
15222 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
15223 and `/ M' to filter-derived-mode.
15224 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
15225 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
15226 (ibuffer-mark-by-mode): Use default rather than initial-input.
15227 (ibuffer-filter-by-derived-mode): Autoload and require-match.
15228
15229 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
15230
15231 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
15232 (ibuffer-filter-by-derived-mode): New filter.
15233 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
15234
15235 2012-04-23 Andreas Politz <politza@fh-trier.de>
15236
15237 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
15238
15239 2012-04-23 Chong Yidong <cyd@gnu.org>
15240
15241 * cus-edit.el (customize-apropos, customize-apropos-options):
15242 Disable matching of non-option variables (Bug#11176).
15243 (customize-option, customize-option-other-window)
15244 (customize-changed-options): Doc fix.
15245 (customize-apropos-options, customize-apropos-faces)
15246 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
15247
15248 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
15249 Fix word list splitting (Bug#11132).
15250 (apropos-symbol, apropos-keybinding, apropos-label)
15251 (apropos-property, apropos-function-button)
15252 (apropos-variable-button, apropos-misc-button): New faces.
15253 (apropos-symbol-face, apropos-keybinding-face)
15254 (apropos-label-face, apropos-property-face, apropos-match-face):
15255 Variables removed (Bug#8396).
15256 (apropos-library-button, apropos-format-plist, apropos-print)
15257 (apropos-print-doc, apropos-describe-plist): Callers changed.
15258
15259 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
15260
15261 * net/xesam.el (xesam-mode-map): Use let-bound map in
15262 initialization. (Bug#11292)
15263
15264 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15265
15266 Preserve ispell session localwords when switching back to
15267 original buffer.
15268
15269 * textmodes/ispell.el (ispell-buffer-session-localwords):
15270 New buffer-local variable to hold buffer session localwords.
15271 (ispell-kill-ispell): Add option 'clear to delete session
15272 localwords.
15273 (ispell-command-loop, ispell-change-dictionary)
15274 (ispell-buffer-local-words): Preserve session localwords when
15275 needed.
15276
15277 * textmodes/flyspell.el (flyspell-process-localwords)
15278 (flyspell-do-correct): Preserve session localwords when needed.
15279
15280 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15281
15282 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15283 using obsolete `translation-table-for-input'.
15284 (ispell-word, ispell-process-line, ispell-complete-word):
15285 Use plain `insert' instead of removed `ispell-insert-word'.
15286
15287 2012-04-22 Chong Yidong <cyd@gnu.org>
15288
15289 * cus-edit.el (custom-variable-menu)
15290 (custom-variable-reset-saved, custom-face-menu)
15291 (custom-face-reset-saved): If there is no saved value, make the
15292 "reset-saved" operation bring back the default (Bug#9509).
15293 (custom-face-state): Properly detect themed faces.
15294
15295 * faces.el (face-spec-set): Stop supporting deprecated form of
15296 third arg.
15297
15298 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
15299
15300 Move functions from C to Lisp. Make non-blocking method calls
15301 the default. Implement further D-Bus standard interfaces.
15302
15303 * net/dbus.el (dbus-message-internal): Declare function.
15304 Remove unneeded function declarations.
15305 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15306 (dbus-message-type-method-return, dbus-message-type-error)
15307 (dbus-message-type-signal): Declare variables. Remove local
15308 definitions.
15309 (dbus-interface-dbus, dbus-interface-peer)
15310 (dbus-interface-introspectable, dbus-interface-properties)
15311 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15312 Adapt docstring.
15313 (dbus-interface-objectmanager): New defconst.
15314 (dbus-call-method, dbus-call-method-asynchronously)
15315 (dbus-send-signal, dbus-method-return-internal)
15316 (dbus-method-error-internal, dbus-register-service)
15317 (dbus-register-signal, dbus-register-method): New defuns, moved
15318 from dbusbind.c
15319 (dbus-call-method-handler, dbus-setenv)
15320 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15321 New defuns.
15322 (dbus-call-method-non-blocking): Make it an obsolete function.
15323 (dbus-unregister-object, dbus-unregister-service)
15324 (dbus-handle-event, dbus-register-property)
15325 (dbus-property-handler): Obey the new structure of
15326 `bus-registered-objects'.
15327 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15328 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15329 Use `dbus-call-method'.
15330
15331 2012-04-22 Chong Yidong <cyd@gnu.org>
15332
15333 * cus-edit.el (custom-commands, custom-reset-menu)
15334 (Custom-reset-standard): Tweak labels.
15335 (custom-reset-button-menu): Change default to t.
15336 (custom-buffer-create-internal): For the custom-reset-button-menu
15337 case, put the revert button first.
15338 (custom-group-subtitle): New face.
15339 (custom-group-value-create): Align docstring to a specific column.
15340
15341 * wid-edit.el (widget-documentation-link-add): Don't handle
15342 indentation in this function.
15343 (widget-documentation-string-indent-to): New function.
15344 (widget-documentation-string-value-create): Use it.
15345
15346 * autorevert.el (auto-revert):
15347 * epg-config.el (epg):
15348 * ibuffer.el (ibuffer):
15349 * mpc.el (mpc):
15350 * ses.el (ses):
15351 * eshell/eshell.el (eshell):
15352 * net/ange-ftp.el (ange-ftp):
15353 * progmodes/ebnf2ps.el (postscript):
15354 * progmodes/flymake.el (flymake):
15355 * progmodes/prolog.el (prolog):
15356 * progmodes/verilog-mode.el (verilog-mode):
15357 * progmodes/which-func.el (which-func):
15358 * term/xterm.el (xterm):
15359 * textmodes/picture.el (picture):
15360 * textmodes/tildify.el (tildify):
15361 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15362 customization buffers.
15363
15364 2012-04-22 Alan Mackenzie <acm@muc.de>
15365
15366 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15367 Adding a ) can hide the resulting (..) from searches. Fix it.
15368 Bound the backward search to the position of the existing (.
15369
15370 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15371
15372 * progmodes/verilog-mode.el (verilog-mode): Check whether
15373 which-func-modes is t before adding verilog-mode.
15374 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15375
15376 2012-04-21 Leo Liu <sdl.web@gmail.com>
15377
15378 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15379
15380 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15381
15382 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15383 filling of the last column of a table (Bug#5635).
15384 (woman-find-next-control-line): New arg, specifying an additional
15385 regexp component for the control line.
15386 (woman2-roff-buffer): Use it.
15387 (woman-break-table): New function.
15388 (woman2-TS): Use it.
15389
15390 2012-04-21 Chong Yidong <cyd@gnu.org>
15391
15392 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15393 (woman-horizontal-escapes, woman-negative-vertical-space)
15394 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15395 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15396
15397 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15398
15399 * minibuffer.el (completion-file-name-table): Complete user names.
15400
15401 2012-04-20 Leo Liu <sdl.web@gmail.com>
15402
15403 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15404 and pcase-let*.
15405
15406 2012-04-20 Chong Yidong <cyd@gnu.org>
15407
15408 * server.el (server-execute): Respect initial-buffer-choice if it
15409 is a string and there are no files to open (Bug#2825).
15410 (server-create-window-system-frame, server-create-tty-frame):
15411 Don't switch buffers here.
15412 (server-process-filter): Only try to open a window system frame if
15413 compiled with graphical support (Bug#8314).
15414
15415 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15416
15417 * battery.el (battery-echo-area-format): Display remaining time
15418 for sysfs backend too (Bug#11269).
15419 (battery-linux-sysfs): Fix conditional for the charge.
15420
15421 2012-04-20 Chong Yidong <cyd@gnu.org>
15422
15423 * progmodes/gdb-mi.el (gdb): Revert previous change.
15424 (gdb-inferior-io--init-proc): New function.
15425 (gdb-init-1): Use it.
15426 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15427 responsible for allocating a new pty and hooking it to gdb when
15428 the old pty gets an EIO due to process exit.
15429 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15430 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15431 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15432
15433 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15434
15435 * window.el (window-min-size, window-sizable, window-min-delta)
15436 (window-max-delta, window--resizable, window-resizable)
15437 (window-total-size, window-full-height-p, window-full-width-p)
15438 (window-in-direction, window--resize-mini-window, window-resize)
15439 (window--resize-child-windows-normal)
15440 (window--resize-child-windows, window--resize-siblings)
15441 (window--resize-this-window, adjust-window-trailing-edge)
15442 (enlarge-window, shrink-window): Doc fixes.
15443
15444 2012-04-20 Chong Yidong <cyd@gnu.org>
15445
15446 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15447 New function to call delete-process on the gdb-inferior buffer's pty.
15448 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15449 pty process (Bug#11273).
15450 (gdb-update): New arg to suppress talking to the gdb process.
15451 (gdb-done-or-error): Use it.
15452 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15453 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15454 sentinel not being called.
15455
15456 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15457
15458 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15459
15460 2012-04-20 Glenn Morris <rgm@gnu.org>
15461
15462 * net/network-stream.el (open-network-stream): Doc fix.
15463
15464 2012-04-20 Chong Yidong <cyd@gnu.org>
15465
15466 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15467
15468 2012-04-20 Alan Mackenzie <acm@muc.de>
15469
15470 Ensure searching for keywords is case sensitive.
15471
15472 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15473 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15474 (c-defun-name, c-mark-function, c-cpp-define-name)
15475 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15476 (c-context-line-break): Bind case-fold-search to nil.
15477
15478 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15479 Bind case-fold-search to nil.
15480
15481 2012-04-20 Chong Yidong <cyd@gnu.org>
15482
15483 * mail/sendmail.el (mail-bury): Call return action with the right
15484 Rmail buffer (Bug#11242).
15485
15486 * server.el (server-process-filter): Handle corner case where both
15487 tty and nowait options are present (Bug#11102).
15488
15489 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15490
15491 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15492 (top level): Put into the executable the ident-style '$Id:' tag on
15493 windows-nt as well.
15494
15495 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15496
15497 * electric.el (electric-indent-post-self-insert-function): Check that
15498 electric-indent-mode is enabled in current buffer.
15499
15500 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15501
15502 * imenu.el (imenu-progress-message): Restore; it is "used" in
15503 erc/erc-imenu.el and net/snmp-mode.el.
15504
15505 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15506
15507 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15508 (mouse-avoidance-nudge-mouse): Remove unused binding.
15509
15510 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15511
15512 * descr-text.el (describe-char):
15513 * progmodes/python.el (python-describe-symbol):
15514 Don't call `toggle-read-only', set `buffer-read-only'.
15515
15516 * imenu.el (imenu-default-goto-function): Mark unused args.
15517 (imenu-progress-message): Remove obsolete macro; all callers changed.
15518
15519 * subr.el (keymap-canonicalize): Remove unused binding.
15520 (read-passwd): Mark unused arg.
15521
15522 * tutorial.el (tutorial--display-changes): Remove unused binding.
15523 (tutorial--save-tutorial-to): Remove unused variable.
15524
15525 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15526 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15527 (package-generate-autoloads, package-menu--generate)
15528 (package-menu--find-upgrades): Remove unused bindings.
15529
15530 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15531 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15532 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15533 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15534 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15535 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15536 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15537 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15538 (cua-delete-char-rectangle): Mark unused args.
15539 (cua-align-rectangle): Remove unused binding.
15540
15541 * mail/rmail.el (compilation--message->loc)
15542 (epa--find-coding-system-for-mime-charset): Declare.
15543
15544 * net/dbus.el (dbus-register-service): Declare.
15545 (dbus-name-owner-changed-handler): Remove unused binding.
15546
15547 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15548 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15549 (nxml-scan-backward-within): Mark unused arg.
15550 (nxml-dynamic-markup-word): Remove unused binding.
15551
15552 * mouse.el (mouse-menu-major-mode-map):
15553 * emacs-lisp/authors.el (authors-scan-change-log)
15554 (authors-add-to-author-list):
15555 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15556 * emacs-lisp/smie.el (smie-auto-fill):
15557 * mail/sendmail.el (mail-bury):
15558 * mail/unrmail.el (unrmail):
15559 * net/tls.el (open-tls-stream):
15560 * textmodes/picture.el (picture-mouse-set-point):
15561 Remove unused bindings.
15562
15563 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15564
15565 * net/tramp.el (tramp-action-password): Let-bind
15566 `enable-recursive-minibuffers' to t.
15567
15568 2012-04-18 Sam Steingold <sds@gnu.org>
15569
15570 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15571 instead of 'string to accommodate values like [f11].
15572 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15573 * progmodes/gdb-mi.el: Likewise.
15574
15575 2012-04-18 Leo Liu <sdl.web@gmail.com>
15576
15577 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15578 current buffer.
15579 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15580 LOCAL is nil.
15581
15582 2012-04-18 Chong Yidong <cyd@gnu.org>
15583
15584 * simple.el (line-move): Use forward-line if in batch mode
15585 (Bug#11053).
15586
15587 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15588
15589 * files.el (after-find-file): Do not try to add a final newline if
15590 the buffer is read-only (Bug#11156).
15591
15592 2012-04-17 Richard Stallman <rms@gnu.org>
15593
15594 * mail/rmail.el (rmail-start-mail):
15595 Pass (rmail-mail-return...) for the return-action.
15596 Pass (rmail-yank-current-message...) for the yank-action.
15597 (rmail-yank-current-message): New function.
15598 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15599 (rmail-reply): Likewise.
15600 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15601
15602 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15603 buffer, not the last. Reject temp buffers. Use the rmail-mode
15604 buffer, not newbuf.
15605
15606 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15607
15608 * server.el (server-ensure-safe-dir): Simplify.
15609
15610 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15611
15612 * emacs-lisp/smie.el: Provide smarter auto-filling.
15613 (smie-auto-fill): New function.
15614 (smie-setup): Use it.
15615
15616 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15617
15618 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15619
15620 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15621 (comment-indent): Use it.
15622
15623 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
15624
15625 * ses.el: The overall change is to add cell renaming, that is
15626 setting fancy names for cell symbols other than name matching
15627 "\\`[A-Z]+[0-9]+\\'" regexp .
15628 (ses-localvars): Add ses--renamed-cell-symb-list.
15629 (ses-create-cell-variable): New defun.
15630 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15631 (ses-relocate-formula): Relocate formulas only for cells the
15632 symbols of which are not renamed, i.e. symbols whose names do not
15633 match regexp "\\`[A-Z]+[0-9]+\\'".
15634 (ses-relocate-all): Relocate values only for cells the symbols of
15635 which are not renamed.
15636 (ses-load): Create cells variables as the (ses-cell ...) are read,
15637 in order to check row col consistency with cell symbol name only
15638 for cells that are not renamed.
15639 (ses-replace-name-in-formula): New defun.
15640 (ses-rename-cell): New defun.
15641
15642 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15643
15644 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15645 New option (bug#11118).
15646 (perl-calculate-indent): Respect it.
15647
15648 2012-04-17 Glenn Morris <rgm@gnu.org>
15649
15650 * dired-aux.el (dired-mark-read-string): Doc fix.
15651
15652 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15653
15654 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15655 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15656
15657 2012-04-17 Glenn Morris <rgm@gnu.org>
15658
15659 * mouse.el (mouse-drag-track):
15660 * speedbar.el (speedbar-frame-mode):
15661 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15662
15663 2012-04-16 Leo Liu <sdl.web@gmail.com>
15664
15665 * progmodes/python.el: Trivial cleanup.
15666
15667 2012-04-16 Glenn Morris <rgm@gnu.org>
15668
15669 * vc/vc.el (vc-string-prefix-p):
15670 * vc/pcvs-util.el (cvs-string-prefix-p):
15671 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15672 * mpc.el (mpc-string-prefix-p):
15673 Make all of these into obsolete aliases for string-prefix-p.
15674 Update callers.
15675 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15676
15677 * textmodes/two-column.el: Move custom options to the start.
15678 (frame-width): Remove compat definition.
15679 (2C-associate-buffer, 2C-dissociate):
15680 Use with-current-buffer rather than save-excursion.
15681 (2C-dissociate): Force a mode-line update.
15682 (2C-autoscroll): Use ignore-errors.
15683
15684 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15685 Autoload trivia.
15686
15687 * emacs-lisp/cl-extra.el (*random-state*):
15688 Remove unnecessary declaration.
15689
15690 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15691
15692 * play/cookie1.el (cookie-snarf):
15693 Give an explicit error if input file cannot be read.
15694
15695 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15696
15697 * progmodes/perl-mode.el (c-macro-expand):
15698 Remove unnecessary autoload (it is in loaddefs.el).
15699
15700 * textmodes/picture.el (picture-desired-column)
15701 (picture-update-desired-column): Convert comments to doc-strings.
15702 (picture-substitute): Remove function.
15703 (picture-mode-map): Initialize in the defvar.
15704
15705 * woman.el: Remove eval-after-load for tar-mode.
15706 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15707 (woman-tar-extract-file): Autoload it.
15708
15709 * frame.el (automatic-hscrolling): Make this alias obsolete.
15710
15711 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15712
15713 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15714 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15715 (ispell-dictionary-base-alist): Revert to original XEmacs
15716 friendly version for default. [:alpha:] will be added in
15717 `ispell-set-spellchecker-params' if needed.
15718
15719 2012-04-16 Chong Yidong <cyd@gnu.org>
15720
15721 * image.el (imagemagick--file-regexp): New variable.
15722 (imagemagick-register-types): Use it.
15723 (imagemagick-types-inhibit): Add :set function. Allow new value
15724 of t to inhibit all types.
15725
15726 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15727 so we can preload it.
15728
15729 * loadup.el (fboundp): Preload regexp-opt, needed by
15730 imagemagick-register-types.
15731
15732 2012-04-15 Chong Yidong <cyd@gnu.org>
15733
15734 * frame.el (scrolling): Remove nearly unused customization group.
15735
15736 * scroll-all.el (scroll-all-mode): Move to windows group.
15737
15738 2012-04-15 Chong Yidong <cyd@gnu.org>
15739
15740 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15741
15742 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15743
15744 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15745 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15746
15747 2012-04-15 Glenn Morris <rgm@gnu.org>
15748
15749 * simple.el (process-file-side-effects): Doc fix.
15750
15751 2012-04-15 Glenn Morris <rgm@gnu.org>
15752
15753 * international/mule-cmds.el (set-language-environment): Doc fix.
15754
15755 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15756
15757 * server.el (server-auth-key, server-generate-key): Doc fixes.
15758 (server-get-auth-key): Doc fix. Use `string-match-p'.
15759 (server-start): Reflow docstring.
15760
15761 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15762
15763 * server.el (server-generate-key): `called-interactively-p'
15764 requires a parameter.
15765
15766 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15767
15768 * server.el (server-auth-key): New variable.
15769 (server-generate-key, server-get-auth-key): New function.
15770 (server-start): Use the new variable and functions to allow
15771 setting a permanent server key (bug#9423).
15772
15773 2012-04-14 Leo Liu <sdl.web@gmail.com>
15774
15775 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15776
15777 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15778
15779 Spelling fixes.
15780 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15781 Emacs uses American spelling.
15782
15783 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15784
15785 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15786 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15787 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15788 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15789
15790 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15791
15792 * progmodes/which-func.el (which-func-modes): Change default.
15793
15794 2012-04-14 Kim F. Storm <storm@cua.dk>
15795
15796 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15797 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15798
15799 2012-04-14 Chong Yidong <cyd@gnu.org>
15800
15801 * custom.el (custom-theme-set-variables): Doc fix.
15802
15803 2012-04-14 Glenn Morris <rgm@gnu.org>
15804
15805 * international/mule.el (set-auto-coding-for-load): Doc fix.
15806
15807 2012-04-14 Alan Mackenzie <acm@muc.de>
15808
15809 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15810 imenu work again for Objective C Mode. Correct the *-index values,
15811 these having been disturbed by a previous change in 2011-08.
15812
15813 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15814 Correct two search limits.
15815
15816 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15817
15818 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15819
15820 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15821
15822 * international/characters.el: Fix sorting.
15823
15824 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15825
15826 * international/characters.el: Add more missing Latin case pairs.
15827
15828 2012-04-14 Glenn Morris <rgm@gnu.org>
15829
15830 * files.el (dir-locals-set-class-variables): Doc fix.
15831
15832 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15833
15834 * international/characters.el: Add set-case-syntax-pair call for
15835 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15836 counterpart. (Bug#11209)
15837
15838 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15839
15840 2012-04-14 Glenn Morris <rgm@gnu.org>
15841
15842 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15843
15844 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15845
15846 * textmodes/ispell.el (ispell-dictionary-base-alist):
15847 Add data for Hebrew.
15848
15849 2012-04-14 Chong Yidong <cyd@gnu.org>
15850
15851 * net/rcirc.el (rcirc-cmd-quit):
15852 Revert 2012-03-18 change (Bug#11192).
15853
15854 2012-04-14 Glenn Morris <rgm@gnu.org>
15855
15856 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15857
15858 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15859
15860 * minibuffer.el (completion-in-region-mode-map):
15861 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15862
15863 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15864
15865 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15866
15867 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15868
15869 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15870 to allow `C-M-f' and `C-M-b' to move to the nearest path
15871 separator (bug#9511).
15872
15873 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15874
15875 * avoid.el: Require cl when compiling. And also move the
15876 `provide' to the end.
15877
15878 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15879
15880 * avoid.el (mouse-avoidance-banish-position): New variable.
15881 (mouse-avoidance-banish-destination): Use it (bug#10165).
15882
15883 2012-04-13 Leo Liu <sdl.web@gmail.com>
15884
15885 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15886
15887 2012-04-13 Ken Brown <kbrown@cornell.edu>
15888
15889 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15890 this is no longer needed now that cygstart understands file:// URLs.
15891 (browse-url-filename-alist): For the same reason, don't modify
15892 file:// URLs on Cygwin.
15893
15894 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15895
15896 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15897 the region on shift if the binding is already shifted (bug#11221).
15898
15899 2012-04-12 Glenn Morris <rgm@gnu.org>
15900
15901 * mail/mailpost.el: Move to obsolete/.
15902
15903 2012-04-12 Drew Adams <drew.adams@oracle.com>
15904
15905 * imenu.el (imenu--generic-function): Ignore invisible definitions
15906 (bug#10123).
15907
15908 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15909
15910 * hexl.el (hexl-bits): New variable.
15911 (hexl-options): Mention the variable in the doc string.
15912 (hexl-rulerise, hexl-line-displen): New functions.
15913 (hexl-mode): Mention the new variable.
15914 (hexl-mode, hexl-current-address, hexl-current-address):
15915 Use the displen.
15916 (hexl-ascii-start-column): New function.
15917 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15918 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15919
15920 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15921
15922 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15923 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15924 the encoding, as expected by hunspell.
15925
15926 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15927
15928 * battery.el (battery--linux-sysfs-regexp): New const.
15929 (battery-status-function): Use it. Remove yeeloong special case.
15930 (battery-yeeloong-sysfs): Remove.
15931 (battery-echo-area-format): Remove yeeloong special case.
15932
15933 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15934
15935 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15936 Reported by Noah Friedman.
15937
15938 * subr.el (read-passwd): Use read-string.
15939
15940 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15941
15942 * vcursor.el (vcursor-move): Increase the priority of the overlay
15943 (bug#9663).
15944
15945 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15946
15947 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15948 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15949
15950 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15951
15952 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15953 define-minor-mode (bug#10760).
15954
15955 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15956
15957 * progmodes/grep.el (rgrep): Tweak the find command line so
15958 that directories matching `grep-find-ignored-files' won't be
15959 pruned (bug#10351).
15960
15961 2012-04-11 Chong Yidong <cyd@gnu.org>
15962
15963 * startup.el (command-line): Remove support for long-obsolete
15964 variable font-lock-face-attributes.
15965
15966 2012-04-11 Glenn Morris <rgm@gnu.org>
15967
15968 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15969
15970 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15971
15972 * window.el (window--state-get-1): Obey window-point-insertion-type.
15973
15974 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15975
15976 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15977 to previous function when point is on the first character of a
15978 function. Take care of that in `narrow-to-defun' (bug#6157).
15979
15980 2012-04-11 Glenn Morris <rgm@gnu.org>
15981
15982 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15983 not just file-errors.
15984
15985 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15986 (vc-bzr-sha1): Use internal sha1.
15987
15988 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15989
15990 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15991
15992 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
15993
15994 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15995 that start in the middle of the line (bug#10496).
15996
15997 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15998
15999 * battery.el (battery-linux-proc-acpi): Only one battery is
16000 discharged at a time, but that seems to confuse battery.el when
16001 computing `rate-type' for the battery not being discharged
16002 (bug#10332).
16003
16004 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16005
16006 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
16007
16008 * international/quail.el: Use dolist and simplify.
16009 (quail-define-package, quail-update-keyboard-layout)
16010 (quail-define-rules): Use dolist.
16011 (quail-insert-kbd-layout, quail-get-translation): CSE.
16012
16013 * tmm.el: Use dolist, remove left over hook.
16014 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
16015 Use dolist.
16016 (calendar-load-hook): Don't mess with it.
16017
16018 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
16019 Use derived-mode-p. Run the diff asynchronously.
16020
16021 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16022
16023 * obsolete/mouse-sel.el: Add an Obsolete-since header.
16024
16025 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
16026
16027 * misc.el: Display absolute path of loaded DLLs (bug#10424).
16028 (list-dynamic-libraries--loaded): New function.
16029 (list-dynamic-libraries--refresh): Use it.
16030
16031 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
16032
16033 * progmodes/python.el (python-fill-paragraph):
16034 Make python-fill-region in a multiline string work when font-lock is
16035 disabled (bug#7018).
16036
16037 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
16038
16039 * language/european.el (cp775): Add oem/legacy (en)coding on
16040 DOS/MS Windows for the Baltic languages. There are still plenty
16041 of texts written in this encoding/codepage (bug#6519).
16042
16043 2012-04-10 Glenn Morris <rgm@gnu.org>
16044
16045 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
16046 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
16047
16048 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
16049
16050 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
16051 next-line "n" and previous-line "p" in order to make recentf more
16052 consistent with ibuffer, dired or org-mode (bug#9387).
16053
16054 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16055
16056 * image.el (put-image): Return the overlay created instead of the
16057 optional input string (bug#7834). Note that this may break code
16058 that is (for some reason or other) depending on `put-image'
16059 returning the string.
16060
16061 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
16062
16063 * simple.el (zap-to-char): Allow zapping using input methods
16064 (bug#1580).
16065
16066 * textmodes/fill.el (fill-region): Leave point and mark where they
16067 were before filling (bug#5399).
16068
16069 2012-04-09 Glenn Morris <rgm@gnu.org>
16070
16071 * version.el (emacs-bzr-get-version):
16072 Handle lightweight checkouts of local branches.
16073
16074 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
16075
16076 * international/characters.el: Recover lost case pairs. (Bug#11209)
16077
16078 2012-04-09 Chong Yidong <cyd@gnu.org>
16079
16080 * custom.el (custom-variable-p): Return nil for non-symbol
16081 arguments instead of signaling an error.
16082 (user-variable-p): Obsolete alias for custom-variable-p.
16083
16084 * apropos.el (apropos-variable):
16085 * files-x.el (read-file-local-variable):
16086 * simple.el (set-variable):
16087 * woman.el (woman-mini-help):
16088 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
16089
16090 2012-04-09 Glenn Morris <rgm@gnu.org>
16091
16092 * startup.el (normal-top-level): Don't look for leim-list.el
16093 in places where it will not be found. (Bug#910)
16094
16095 * international/mule-cmds.el (set-default-coding-systems):
16096 * files.el (normal-mode):
16097 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
16098 This function was removed with ucs-tables.el in 2008.
16099
16100 2012-04-08 Eli Zaretskii <eliz@gnu.org>
16101
16102 * textmodes/ispell.el (ispell-check-version): For hunspell, set
16103 ispell-encoding8-command to "-i", without a trailing space.
16104 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
16105 separate command-line arguments, to specify the encoding, since
16106 that's how hunspell expects it.
16107
16108 2012-04-08 Glenn Morris <rgm@gnu.org>
16109
16110 * loadup.el: Load bindings before cus-start.
16111 This reduces somewhat the number of "rogue" settings in emacs -Q.
16112
16113 2012-04-07 Glenn Morris <rgm@gnu.org>
16114
16115 * version.el (emacs-bzr-get-version): New function.
16116 (emacs-bzr-version): New variable.
16117 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
16118 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
16119
16120 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16121
16122 * international/uni-bidi.el, international/uni-category.el:
16123 * international/uni-combining.el, international/uni-decimal.el:
16124 * international/uni-decomposition.el, international/uni-digit.el:
16125 * international/uni-lowercase.el, international/uni-mirrored.el:
16126 * international/uni-name.el, international/uni-numeric.el:
16127 * international/uni-titlecase.el, international/uni-uppercase.el:
16128 Update for Unicode 6.1.
16129
16130 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16131
16132 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
16133
16134 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
16135
16136 * window.el (shrink-window): Mention the `window-min-height'
16137 variable in the doc string.
16138
16139 2012-04-05 Bastien Guerry <bzg@altern.org>
16140
16141 * color.el (color-lighten-name): Fix typo.
16142
16143 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16144
16145 * server.el (server--on-display-p): New function.
16146 (server--on-display-p): Use it.
16147
16148 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
16149
16150 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
16151 (bug#11145).
16152
16153 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16154
16155 * comint.el (comint--common-quoted-suffix): Check string boundary
16156 before comparing (bug#11158).
16157 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
16158
16159 2012-04-04 Chong Yidong <cyd@gnu.org>
16160
16161 * minibuffer.el (completion-extra-properties): Doc fix.
16162
16163 * subr.el (delayed-warnings-hook): Doc fix.
16164
16165 2012-04-04 Daiki Ueno <ueno@unixuser.org>
16166
16167 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
16168 selection (Bug#11159).
16169 (epa-insert-keys): Inform that the default public key will be
16170 exported if no key is selected.
16171
16172 2012-04-04 Richard Stallman <rms@gnu.org>
16173
16174 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
16175
16176 2012-04-03 Chong Yidong <cyd@gnu.org>
16177
16178 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
16179 mail-insert-file, not its obsolete alias mail-attach-file.
16180
16181 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
16182
16183 * notifications.el (notifications-notify): Fix docstring.
16184
16185 2012-04-02 Glenn Morris <rgm@gnu.org>
16186
16187 * emacs-lisp/authors.el (authors-aliases): Another addition.
16188
16189 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
16190
16191 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
16192 `tramp-compat-call-process' instead of `tramp-local-call-process'.
16193 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
16194
16195 2012-04-01 Chong Yidong <cyd@gnu.org>
16196
16197 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
16198 Handle root directory properly.
16199 (copy-directory): Caller changed.
16200
16201 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16202 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
16203
16204 2012-03-31 Glenn Morris <rgm@gnu.org>
16205
16206 * term/xterm.el (xterm-extra-capabilities): Doc fix.
16207
16208 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
16209
16210 * calendar/calendar.el (calendar-window-list)
16211 (calendar-hide-window): Restore. (Bug#11140)
16212 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
16213
16214 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
16215
16216 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16217
16218 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16219 Check if file is a symlink (Bug#10489).
16220
16221 * files.el (copy-directory): Likewise.
16222
16223 2012-03-30 Chong Yidong <cyd@gnu.org>
16224
16225 * image.el (imagemagick-types-inhibit)
16226 (imagemagick-register-types): Doc fix.
16227
16228 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16229
16230 * textmodes/ispell.el (ispell-get-extended-character-mode):
16231 Disable extended-char-mode for hunspell. hunspell does not support it
16232 and treats ~word as ordinary words in pipe mode.
16233
16234 2012-03-30 Glenn Morris <rgm@gnu.org>
16235
16236 * tutorial.el (help-with-tutorial): Ensure local variables don't
16237 happen to make the buffer read-only. (Bug#11127)
16238
16239 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16240
16241 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
16242 (perl-calculate-indent): Return `noindent' in strings.
16243
16244 2012-03-28 Sam Steingold <sds@gnu.org>
16245
16246 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
16247 instead of the broken adhockery which does not prevent calendar
16248 buffers from being displayed at random after exit.
16249 (calendar-window-list, calendar-hide-window): Remove the broken
16250 adhockery.
16251
16252 2012-03-28 Glenn Morris <rgm@gnu.org>
16253
16254 * replace.el (query-replace-map): Doc fix.
16255
16256 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
16257
16258 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
16259 contents. (Bug#11109)
16260
16261 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16262
16263 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
16264 (bug#11077).
16265 (avl-tree--check, avl-tree--check-node): New funs.
16266
16267 2012-03-27 Martin Rudalics <rudalics@gmx.at>
16268
16269 * window.el (switch-to-visible-buffer): New option.
16270 (switch-to-prev-buffer, switch-to-next-buffer):
16271 Observe switch-to-visible-buffer. Make sure that checking for a window
16272 showing a buffer already is done on the same frame.
16273
16274 2012-03-27 Glenn Morris <rgm@gnu.org>
16275
16276 * startup.el (mail-host-address): Doc fix.
16277
16278 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16279
16280 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16281 than 197 variables.
16282
16283 2012-03-26 Ami Fischman <ami@fischman.org>
16284
16285 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16286
16287 2012-03-26 Glenn Morris <rgm@gnu.org>
16288
16289 * files.el (save-buffers-kill-emacs): Doc fix.
16290
16291 * startup.el (normal-top-level, command-line, command-line-1):
16292 Give them doc strings.
16293
16294 2012-03-25 Eli Zaretskii <eliz@gnu.org>
16295
16296 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16297 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16298
16299 2012-03-25 Chong Yidong <cyd@gnu.org>
16300
16301 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16302 theme if it was previously enabled before (Bug#11031).
16303
16304 * cus-theme.el (custom-theme-write-faces): Retrieve current face
16305 spec with custom-face-get-current-spec if its :shown-value is not
16306 determined yet (Bug#9337).
16307 (customize-create-theme, custom-theme-revert): Doc fixes.
16308
16309 * button.el (button-at): Minor addition to docstring.
16310
16311 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16312
16313 * vc/vc.el (vc-merge): Fix a prompt.
16314
16315 2012-03-24 Chong Yidong <cyd@gnu.org>
16316
16317 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16318 point (Bug#9623).
16319
16320 * button.el (button-at): Minor addition to docstring.
16321
16322 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16323
16324 * newcomment.el (comment-choose-indent): No space after BOL.
16325
16326 2012-03-22 Sam Steingold <sds@gnu.org>
16327
16328 * window.el (switch-to-prev-buffer): Revert last patch because the
16329 bug turned out to be an advertised feature (Elisp manual 28.14).
16330
16331 2012-03-22 Glenn Morris <rgm@gnu.org>
16332
16333 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16334 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16335
16336 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16337
16338 * net/network-stream.el (network-stream-open-starttls): Make error
16339 message under Windows be less misleading.
16340
16341 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16342
16343 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16344 understands (bug#9942).
16345
16346 2012-03-22 Chong Yidong <cyd@gnu.org>
16347
16348 * simple.el (end-of-visible-line): Handle return value of
16349 next-single-property-change properly (Bug#9371).
16350
16351 2012-03-22 Kenichi Handa <handa@m17n.org>
16352
16353 * international/quail.el (quail-insert-kbd-layout): Fix previous
16354 change. To avoid unwanted bidi reordering, use
16355 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16356
16357 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16358
16359 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16360 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16361 (ruby-beginning-of-indent): Be more careful with the difference
16362 between word-boundary and symbol boundary.
16363 (ruby-mode-syntax-table): Make : a symbol constituent.
16364
16365 2012-03-21 Andreas Politz <politza@fh-trier.de>
16366
16367 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16368
16369 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16370
16371 * progmodes/etags.el (tags-completion-at-point-function):
16372 Improve last fix.
16373
16374 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16375
16376 2012-03-21 Sam Steingold <sds@gnu.org>
16377
16378 * progmodes/etags.el (tags-completion-at-point-function):
16379 Avoid the error when point is inside the pattern.
16380
16381 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16382
16383 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16384 line (Bug#10855).
16385
16386 2012-03-21 Drew Adams <drew.adams@oracle.com>
16387
16388 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16389
16390 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16391
16392 * ido.el (ido-set-current-directory, ido-read-internal)
16393 (ido-choose-completion-string, ido-completion-help): Handle nil
16394 value of ido-completion-buffer (Bug#11008).
16395
16396 2012-03-21 Sam Steingold <sds@gnu.org>
16397
16398 * window.el (switch-to-prev-buffer): Do not switch to a visible
16399 window previous buffer, just like with the frame previous buffers.
16400
16401 2012-03-21 Chong Yidong <cyd@gnu.org>
16402
16403 * faces.el (make-face, make-empty-face, copy-face):
16404 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16405 Doc fixes.
16406
16407 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16408
16409 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16410 (widget-complete): Remove broken use of it.
16411
16412 2012-03-20 Chong Yidong <cyd@gnu.org>
16413
16414 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16415 Use string-width and truncate-string-width to handle arbitrary
16416 characters.
16417
16418 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16419
16420 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16421 to draw rectangles, not squares. (Regression introduced by revno
16422 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16423
16424 2012-03-18 Chong Yidong <cyd@gnu.org>
16425
16426 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16427 it is not yet defined (for temacs).
16428
16429 2012-03-18 Leo Liu <sdl.web@gmail.com>
16430
16431 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16432 prefix.
16433
16434 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16435
16436 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16437 (ispell-choices-win-default-height, ispell-silently-savep)
16438 (ispell-dictionary-alist, ispell-encoding8-command)
16439 (ispell-check-version, ispell-aspell-find-dictionary)
16440 (ispell-valid-dictionary-list, ispell-words-keyword)
16441 (ispell-get-word, ispell-internal-change-dictionary)
16442 (ispell-region, ispell-skip-region-list)
16443 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16444 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16445 (ispell-message-text-end, ispell-message)
16446 (ispell-buffer-local-parsing): Doc fix.
16447
16448 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16449
16450 * htmlfontify.el: Add support for code block fontification for ODT
16451 export (Bug #9914).
16452 (hfy-optimisations): Define new option
16453 `body-text-only'
16454 (hfy-fontify-buffer): Honor above setting.
16455 (hfy-begin-span, hfy-end-span): New routines factored out form
16456 `hfy-fontify-buffer'.
16457 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16458 that permit insertion of custom tags.
16459 (hfy-fontify-buffer): Use above handlers.
16460 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16461 (hfy-face-to-css): Re-defined to be a variable.
16462 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16463 over multiple runs. This is made possible by having the caller let
16464 bind a special variable `hfy-user-sheet-assoc'.
16465 (htmlfontify-string): New defun.
16466 (hfy-compile-face-map): Make sure that the last char in the
16467 buffer is correctly fontified.
16468 (hfy-face-resolve-face): Whitespace only change.
16469
16470 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16471
16472 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16473 message more clear.
16474
16475 2012-03-16 Leo Liu <sdl.web@gmail.com>
16476
16477 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16478
16479 2012-03-16 Alan Mackenzie <acm@muc.de>
16480
16481 Further optimize the handling of large macros.
16482
16483 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16484 limit to a call of `c-literal-limits'.
16485 (c-determine-+ve-limit): New function.
16486 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16487 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16488 In CASE 5B, restrict a search limit to 500.
16489 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16490
16491 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16492 Restrict macro bounds to +-500 from after-change's BEG END.
16493
16494 2012-03-16 Leo Liu <sdl.web@gmail.com>
16495
16496 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16497
16498 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16499
16500 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16501 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16502
16503 2012-03-16 Glenn Morris <rgm@gnu.org>
16504
16505 * view.el (view-buffer, view-buffer-other-window)
16506 (view-buffer-other-frame): Doc fixes re special mode-class.
16507
16508 * subr.el (eval-after-load): If named feature is provided not from
16509 a file, run after-load forms. (Bug#10946)
16510
16511 * calendar/calendar.el (calendar-insert-at-column):
16512 Handle non-unit-width characters a bit better. (Bug#10978)
16513
16514 2012-03-15 Chong Yidong <cyd@gnu.org>
16515
16516 * emacs-lisp/ring.el (ring-extend): New function.
16517 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16518
16519 * comint.el (comint-read-input-ring)
16520 (comint-add-to-input-history): Grow comint-input-ring lazily.
16521
16522 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16523
16524 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16525 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16526
16527 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16528 (imenu-add-to-menubar): Don't add a redundant index.
16529 (imenu-update-menubar): Handle a dynamically composed keymap.
16530
16531 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16532
16533 * mail/sendmail.el (mail-encode-header):
16534 Bind rfc2047-encode-encoded-words to nil.
16535
16536 2012-03-13 Glenn Morris <rgm@gnu.org>
16537
16538 * calendar/calendar.el (calendar-string-spread):
16539 Handle non-unit-width characters a bit better. (Bug#10978)
16540
16541 2012-03-13 Leo Liu <sdl.web@gmail.com>
16542
16543 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16544 directory and file as argument (Bug#10822).
16545
16546 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16547
16548 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16549 For dynamically generated code, follow $PC.
16550 (gdb-disassembly-handler-custom): Handle no function name case.
16551
16552 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16553
16554 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16555 * emulation/ws-mode.el (ws-query-replace):
16556 * sort.el (sort-regexp-fields):
16557 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16558
16559 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16560
16561 * dabbrev.el: Fix cycle completion order (bug#10963).
16562 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16563 (dabbrev-completion): Don't use an obarray; provide
16564 a cycle-sort-function.
16565
16566 2012-03-12 Leo Liu <sdl.web@gmail.com>
16567
16568 * simple.el (kill-new): Use equal-including-properties for comparison.
16569 (kill-do-not-save-duplicates): Doc fix.
16570
16571 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16572
16573 * dabbrev.el: Fix cycle completion (bug#10963).
16574 Use lexical binding and wrap to 80 columns.
16575 (dabbrev-completion): Delay computing the list of completions.
16576
16577 2012-03-12 Kenichi Handa <handa@m17n.org>
16578
16579 * international/quail.el (quail-insert-kbd-layout): Surround each
16580 row by LRO and PDF instead of inserting many LRMs. Pad the left
16581 and right of each non-spacing marks. Insert invisible space
16582 between lower and upper characters to prevent composition.
16583
16584 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16585
16586 * minibuffer.el (minibuffer-complete): Don't get confused when the
16587 function is run twice via different commands (bug#10958).
16588 (complete-with-action): Fix docstring.
16589
16590 2012-03-12 Chong Yidong <cyd@gnu.org>
16591
16592 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16593 (nxml-completion-at-point-function): New function.
16594 (nxml-mode): Use it.
16595 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16596
16597 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16598 Load generated autoloads file before byte compiling (Bug#10970).
16599 (package--make-autoloads-and-compile): New helper fun.
16600
16601 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16602
16603 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16604
16605 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16606
16607 * autorevert.el (auto-revert-handler): Ensure, that
16608 file-readable-p is applied only for local files or in
16609 auto-revert-tail-mode.
16610
16611 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16612
16613 * server.el (server-eval-at): Handle non-tcp connections.
16614 Decode result string.
16615
16616 * server.el (server-msg-size): New constant.
16617 (server-reply-print): New function.
16618 (server-eval-and-print): Use it.
16619 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16620 Handle -print-nonl.
16621
16622 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16623
16624 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16625 (Bug#10987).
16626
16627 2012-03-11 Chong Yidong <cyd@gnu.org>
16628
16629 * simple.el (goto-line): Doc fix (Bug#9938).
16630
16631 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16632
16633 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16634 when finished (Bug#10963).
16635
16636 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16637
16638 * window.el (split-window-below): Fix bug in case where
16639 split-window-keep-point is nil (Bug#10971).
16640
16641 2012-03-11 Juri Linkov <juri@jurta.org>
16642
16643 * replace.el (replace-highlight): Set isearch-word to nil
16644 unconditionally. (Bug#10887)
16645
16646 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16647
16648 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16649 mairix-replace-illegal-chars; all callers changed. Don't remove
16650 ^, ~, and = characters: they are meaningful in mairix search specs.
16651 (mairix-widget-create-query): Add usage information about mairix
16652 search forms: negating words, searching for substrings, etc.
16653
16654 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16655
16656 * international/fontset.el (font-encoding-alist): Add an entry for
16657 ksx1001 (Bug#5667).
16658
16659 2012-03-10 Richard Stallman <rms@gnu.org>
16660
16661 * mail/sendmail.el (mail-encode-header):
16662 Set rfc2047-encode-encoded-words.
16663
16664 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16665
16666 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16667 view buffer means not swapped.
16668 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16669 (rmail-write-region-annotate): Error if real text has disappeared.
16670
16671 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16672
16673 2012-03-10 Chong Yidong <cyd@gnu.org>
16674
16675 * emulation/cua-rect.el (cua--init-rectangles):
16676 * emulation/cua-base.el (cua--init-keymaps):
16677 Add delete-forward-char to remappings (Bug#9666).
16678
16679 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16680
16681 * speedbar.el (speedbar-unhighlight-one-tag-line):
16682 Avoid unhighlighting due to frame switching (Bug#10275).
16683
16684 2012-03-10 Chong Yidong <cyd@gnu.org>
16685
16686 * minibuffer.el (completion-in-region, completion-help-at-point):
16687 Give the completion field overlay a high priority (Bug#6830).
16688
16689 * dired.el (dired-goto-file): Recognize absolute file name
16690 listings (Bug#7126).
16691 (dired-goto-file-1): New helper function.
16692 (dired-toggle-read-only): Inhibit warnings.
16693
16694 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16695
16696 * net/dbus.el (dbus-property-handler): Return empty array if
16697 there are no properties.
16698
16699 2012-03-09 Leo Liu <sdl.web@gmail.com>
16700
16701 * savehist.el (savehist-printable): Stricter check for string
16702 value (Bug#10937).
16703
16704 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16705
16706 * mail/smtpmail.el (smtpmail-send-it):
16707 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16708 valid mbox format.
16709
16710 2012-03-09 Glenn Morris <rgm@gnu.org>
16711
16712 * files.el (dir-locals-find-file):
16713 Don't check result is regular, readable.
16714 (dir-locals-read-from-file): Demote errors.
16715
16716 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16717
16718 * international/quail.el (quail-insert-kbd-layout):
16719 Insert invisible LRM characters before each character in a keyboard
16720 layout cell, to prevent their reordering by bidi display engine.
16721 For details, see the discussion in
16722 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16723
16724 2012-03-08 Alan Mackenzie <acm@muc.de>
16725
16726 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16727 the starting position; make it extend the marked region when
16728 invoked repeatedly - all under appropriate circumstances.
16729 Fixes bugs #5525, #10906.
16730
16731 2012-03-08 Glenn Morris <rgm@gnu.org>
16732
16733 * files.el (locate-dominating-file, dir-locals-find-file):
16734 Undo 2012-03-06 change.
16735
16736 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16737
16738 * international/quail.el (quail-help):
16739 Force bidi-paragraph-direction be left-to-right. See discussion in
16740 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16741 for the reason.
16742
16743 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16744
16745 Avoid superfluous registering of signals. (Bug#10807)
16746
16747 * notifications.el (notifications-on-action-object)
16748 (notifications-on-close-object): New defvars.
16749 (notifications-on-action-signal, notifications-on-closed-signal):
16750 Unregister the signal if not needed any longer.
16751 (notifications-notify): Register `notifications-action-signal' or
16752 `notifications-closed-signal', if :on-action or :on-close has been
16753 passed as argument.
16754
16755 2012-03-07 Chong Yidong <cyd@gnu.org>
16756
16757 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16758 non-X platforms.
16759
16760 2012-03-06 Glenn Morris <rgm@gnu.org>
16761
16762 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16763 (x-disown-selection-internal, x-get-selection-internal):
16764 Doc fix (add arglist signatures). (Bug#10783)
16765
16766 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16767
16768 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16769 Handle breakpoints with no "type".
16770
16771 2012-03-06 Glenn Morris <rgm@gnu.org>
16772
16773 * files.el (locate-dominating-file): Add optional predicate argument.
16774 (dir-locals-find-file): Make use of above change.
16775
16776 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16777
16778 * info.el (Info-insert-dir): Also try "dir.gz".
16779
16780 2012-03-06 Glenn Morris <rgm@gnu.org>
16781
16782 * files.el (dir-locals-find-file):
16783 Ignore non-readable or non-regular files. (Bug#10928)
16784
16785 * files.el (locate-dominating-file): Doc fix.
16786
16787 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16788
16789 * calendar/calendar.el (calendar-set-mode-line):
16790 `getenv' returns a string. (Bug#10951)
16791
16792 2012-03-05 Leo Liu <sdl.web@gmail.com>
16793
16794 * simple.el (backward-delete-char-untabify): Constrain point to
16795 field (Bug#10939).
16796
16797 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16798
16799 2012-03-05 Chong Yidong <cyd@gnu.org>
16800
16801 * simple.el (count-words): If called from Lisp, return the word
16802 count, for symmetry with `count-lines'. Arglist changed.
16803 (count-words--message): Args changed. Consolidate counting code
16804 from count-words and count-words-region.
16805 (count-words-region): Caller changed.
16806 (count-lines-region): Make it an obsolete alias.
16807
16808 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16809
16810 * saveplace.el (save-place-to-alist)
16811 (save-place-ignore-files-regexp): Allow value nil to disable this
16812 feature.
16813
16814 2012-03-04 Chong Yidong <cyd@gnu.org>
16815
16816 * faces.el (face-spec-reset-face): For the default face, reset the
16817 attributes to default values (Bug#10748).
16818
16819 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16820
16821 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16822 previous patch: Check `message-send-mail-function', and not the
16823 default function (bug#10897).
16824
16825 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16826
16827 * notifications.el (notifications-on-action-signal)
16828 (notifications-on-closed-signal): Check for unique service name of
16829 incoming event. Fix error in removing entry.
16830 (top): Register for signals with wildcard service name.
16831 (notifications-notify): Use daemon unique service name for map entries.
16832
16833 2012-03-04 Chong Yidong <cyd@gnu.org>
16834
16835 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16836
16837 2012-03-04 Glenn Morris <rgm@gnu.org>
16838
16839 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16840 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16841 (expand-abbrev, define-abbrev-table): Doc fixes.
16842
16843 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16844
16845 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16846 `message-default-send-mail-function' and not `send-mail-function'
16847 when doing the prompting for `sendmail-query-once' before sending
16848 in Message buffers (bug#10897).
16849
16850 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16851 This is inconsistent with all the other stream functions, which leave
16852 the setting up to the higher levels (if so wanted) (bug#10931).
16853
16854 2012-03-02 Alan Mackenzie <acm@muc.de>
16855
16856 Depessimize the handling of very large macros.
16857
16858 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16859 (c-macro-cache-syntactic): New variables to implement a one
16860 element macro cache.
16861 (c-invalidate-macro-cache): New function.
16862 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16863 Adapt to use the new cache.
16864 (c-state-safe-place): Use better the cache of safe positions.
16865 (c-state-semi-nonlit-pos-cache)
16866 (c-state-semi-nonlit-pos-cache-limit):
16867 New variables for...
16868 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16869 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16870 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16871 Use c-state-semi-safe-place.
16872
16873 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16874 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16875
16876 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16877
16878 * jka-compr.el (jka-compr-call-process):
16879 Apply `file-accessible-directory-p' only when the default directory is
16880 not remote.
16881
16882 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16883
16884 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16885 access of FILE2, if FILE1 does not exist.
16886
16887 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16888 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16889
16890 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16891 Add "PAGER=" to `process-environment'.
16892
16893 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16894
16895 * progmodes/sql.el: Bug fix
16896 (sql-get-login-ext): Save login values in globals.
16897 (sql-get-login): Use new version of `sql-get-login-ext'.
16898 (sql-interactive-mode): Set global `sql-connection' to nil.
16899 (sql-connect): Set global values for connection.
16900 (sql-product-interactive): Save global values as buffer local.
16901
16902 2012-02-29 Leo Liu <sdl.web@gmail.com>
16903
16904 * abbrev.el (define-abbrevs): Reset sys to nil.
16905
16906 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16907
16908 * files.el (file-equal-p): Rename from `files-equal-p'.
16909 Return nil when one or both files don't exist.
16910 (file-subdir-of-p): Now only top directory must exists,
16911 return nil if it doesn't.
16912 (copy-directory): No need to test with `file-subdir-of-p' after
16913 creating dir.
16914 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16915 to `file-equal-p'.
16916
16917 2012-02-28 Glenn Morris <rgm@gnu.org>
16918
16919 * shell.el (shell-mode):
16920 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16921 * play/landmark.el (landmark-font-lock-face-O):
16922 * play/handwrite.el (handwrite):
16923 * play/gomoku.el (gomoku-O):
16924 * net/browse-url.el (browse-url-browser-display):
16925 * international/mule.el (define-charset):
16926 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16927 * filesets.el (filesets-find-file-delay):
16928 * eshell/em-xtra.el (eshell-xtra):
16929 * eshell/em-unix.el (eshell-grep):
16930 * emulation/viper.el (viper-mode):
16931 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16932 * emacs-lisp/easymenu.el (easy-menu-define):
16933 * calendar/timeclock.el (timeclock-use-display-time):
16934 * bs.el (bs-mode):
16935 * bookmark.el (bookmark-save-flag):
16936 Doc fix (standardize possessive apostrophe usage).
16937
16938 2012-02-27 Chong Yidong <cyd@gnu.org>
16939
16940 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16941 Fix key-binding lookup for ESC key (Bug#9146).
16942
16943 * font-lock.el (font-lock-specified-p): Rename from
16944 font-lock-spec-present. Callers changed.
16945
16946 2012-02-27 Daniel Hackney <dan@haxney.org>
16947
16948 * emacs-lisp/package.el (package-compute-transaction):
16949 Handle holding a package version to t in package-load-list.
16950
16951 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16952
16953 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16954 (tramp-get-inode, tramp-get-device): Use cached values.
16955
16956 2012-02-26 Alan Mackenzie <acm@muc.de>
16957
16958 Check there is a font-lock specification before doing initial
16959 fontification.
16960
16961 * font-core.el (font-lock-mode): Move the conditional from
16962 :after-hook to font-lock-initial-fontify.
16963 (font-lock-default-function): Move the check for a specification
16964 to font-lock-spec-present.
16965
16966 * font-lock.el (font-lock-initial-fontify): Call ...
16967 (font-lock-spec-present): New function.
16968
16969 2012-02-26 Jim Blandy <jimb@red-bean.com>
16970
16971 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16972 (gdb-send): Apply it to the operand of the '-interpreter-exec
16973 console' command, so that we can pass arguments with (say) quotes
16974 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16975
16976 2012-02-26 Chong Yidong <cyd@gnu.org>
16977
16978 * help-fns.el (describe-function-1): Clarify description of
16979 remapping (Bug#10844).
16980
16981 * files.el (files-equal-p): Doc fix.
16982 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16983 and quit the loop once a mismatch is found.
16984
16985 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16986
16987 * bs.el (bs--show-with-configuration): Don't throw an error
16988 if the window cannot be split; otherwise, subsequent calls to
16989 bs-show fail, restoring a stale window config. (Bug#10882)
16990
16991 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16992
16993 * term/ns-win.el (global-map): Bind ns-drag-file to
16994 ns-find-file (Bug#5855, Bug#10050).
16995
16996 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16997
16998 * calendar/parse-time.el (parse-time-string): Allow extractor to
16999 return nil.
17000
17001 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
17002
17003 * net/tramp.el (tramp-file-name-for-operation):
17004 Add `files-equal-p' and `file-subdir-of-p'.
17005
17006 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
17007 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
17008 Add COPY-CONTENTS argument.
17009
17010 2012-02-25 Chong Yidong <cyd@gnu.org>
17011
17012 Add custom groups for VC backends, for consistency with vc-bzr.
17013
17014 * vc/vc-arch.el (vc-arch):
17015 * vc/vc-cvs.el (vc-cvs):
17016 * vc/vc-git.el (vc-git):
17017 * vc/vc-hg.el (vc-hg):
17018 * vc/vc-mtn.el (vc-mtn):
17019 * vc/vc-rcs.el (vc-rcs):
17020 * vc/vc-sccs.el (vc-sccs):
17021 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
17022 All relevant defcustoms reassigned.
17023
17024 2012-02-25 Chong Yidong <cyd@gnu.org>
17025
17026 * newcomment.el (comment-styles): Add autoload (Bug#10868).
17027
17028 * term/x-win.el (x-initialize-window-system): Reduce default for
17029 x-selection-timeout to 5 seconds (Bug#8869).
17030
17031 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17032
17033 * files.el (files-equal-p, file-subdir-of-p): New functions.
17034 (copy-directory): Error when trying to copy a directory on itself.
17035 Add missing copy-contents arg to tramp handler.
17036 * dired-aux.el (dired-copy-file-recursive): Same.
17037 (dired-create-files): Modify destination when source is equal to
17038 dest when copying files.
17039 Return also when dest is a subdir of source. (Bug#10489)
17040
17041 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
17042
17043 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
17044 (Bug#10874)
17045
17046 2012-02-23 Alan Mackenzie <acm@muc.de>
17047
17048 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
17049 parameter "after-hook:" to allow the expansion to run code after
17050 the execution of the mode hooks.
17051
17052 * font-lock.el (font-lock-initial-fontify): New function extracted
17053 from font-lock-mode-internal.
17054
17055 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
17056 :after-hook.
17057
17058 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17059
17060 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
17061 (completion--cache-all-sorted-completions): New function.
17062 (completion-all-sorted-completions): Use it.
17063 (completion--do-completion, minibuffer-force-complete):
17064 Use it to re-instate the flush hook.
17065
17066 * icomplete.el (icomplete-completions): Replace last fix with a better
17067 one (bug#10850).
17068
17069 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
17070
17071 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
17072 when it might call us back infinitely (bug#10797).
17073
17074 2012-02-23 Glenn Morris <rgm@gnu.org>
17075
17076 * minibuffer.el (completion-category-overrides): Doc fix.
17077
17078 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17079
17080 * minibuffer.el (completion-table-with-context): Fix inf-loop.
17081 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
17082
17083 2012-02-23 Glenn Morris <rgm@gnu.org>
17084
17085 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
17086 (authors-obsolete-files-regexps, authors-ignored-files)
17087 (authors-ambiguous-files, authors-renamed-files-alist):
17088 Add more entries.
17089
17090 2012-02-23 Juri Linkov <juri@jurta.org>
17091
17092 * isearch.el (isearch-occur): Sync interactive spec with occur's
17093 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
17094
17095 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
17096
17097 2012-02-22 Juri Linkov <juri@jurta.org>
17098
17099 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
17100 (ucs-insert): Doc fix. Check for hex digits in the string.
17101 Don't display `nil' in the error message. (Bug#10857)
17102
17103 2012-02-22 Alan Mackenzie <acm@muc.de>
17104
17105 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
17106
17107 2012-02-22 Glenn Morris <rgm@gnu.org>
17108
17109 * ffap.el (ffap-c-path):
17110 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
17111
17112 2012-02-22 Chong Yidong <cyd@gnu.org>
17113
17114 * custom.el (load-theme): Doc fix.
17115
17116 2012-02-22 Glenn Morris <rgm@gnu.org>
17117
17118 * dired-x.el (dired-guess-shell-alist-default):
17119 Remove escape sequences from nroff output. (Bug#172)
17120
17121 2012-02-21 Glenn Morris <rgm@gnu.org>
17122
17123 * vc/emerge.el (emerge-defvar-local):
17124 Set `permanent-local' property rather than unused `preserved'.
17125
17126 * textmodes/picture.el (picture-delete-char): New alias.
17127 (picture-mode-map): Use it. (Bug#10860)
17128 (picture-mode): Doc fix.
17129
17130 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
17131
17132 * newcomment.el (uncomment-region-default): Remove unused binding.
17133
17134 2012-02-21 Glenn Morris <rgm@gnu.org>
17135
17136 * textmodes/picture.el (picture-motion, picture-motion-reverse)
17137 (picture-self-insert, picture-tab-chars): Doc fix.
17138 (picture-mode-map): Fix C-a, C-e.
17139
17140 2012-02-20 Glenn Morris <rgm@gnu.org>
17141
17142 * emacs-lisp/authors.el (authors-aliases): Add another entry.
17143
17144 2012-02-20 Leo Liu <sdl.web@gmail.com>
17145
17146 * icomplete.el (icomplete-completions): Check FROM arg before
17147 passing to substring (Bug#10850).
17148
17149 2012-02-19 Chong Yidong <cyd@gnu.org>
17150
17151 * comint.el: Require ansi-color.
17152 (comint-output-filter-functions): Add ansi-color-process-output.
17153
17154 * ansi-color.el: Don't set comint-output-filter-functions; it is
17155 now in the initial value defined in comint.el.
17156 (ansi-color-apply-face-function): New variable.
17157 (ansi-color-apply-on-region): Use it.
17158 (ansi-color-apply-overlay-face): New function.
17159
17160 * shell.el (shell): No need to require ansi-color.
17161 (shell-mode): Use ansi-color-apply-face-function to highlight
17162 color escapes using font-lock-face property (Bug#10835).
17163
17164 2012-02-19 Chong Yidong <cyd@gnu.org>
17165
17166 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
17167 mode-line formats (Bug#10839).
17168
17169 2012-02-18 Glenn Morris <rgm@gnu.org>
17170
17171 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
17172
17173 * mail/undigest.el (unforward-rmail-message): Doc fix.
17174
17175 * saveplace.el (save-place-ignore-files-regexp): Add :version.
17176
17177 2012-02-18 Eli Zaretskii <eliz@gnu.org>
17178
17179 * international/characters.el (script-list): Sync with the latest
17180 Unicode Character Database.
17181
17182 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
17183
17184 * international/titdic-cnv.el: Remove duplicate coding tag.
17185 * language/cham.el: Likewise.
17186 * language/tai-viet.el: Likewise.
17187
17188 2012-02-18 Glenn Morris <rgm@gnu.org>
17189
17190 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
17191 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
17192 (calendar-bahai-all-holidays-flag, calendar-other-dates):
17193 * calendar/diary-lib.el (diary-abbreviated-year-flag):
17194 * calendar/holidays.el (holiday-bahai-holidays)
17195 (calendar-holidays, list-holidays):
17196 Use utf-8 Bahá'í in doc-strings, menus, etc.
17197
17198 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
17199
17200 * saveplace.el (save-place-ignore-files-regexp): New variable
17201 allowing for excluding files from saving their location of point.
17202 The default value matches the temporary commit message editing
17203 files from Git, SVN, Bazaar, and Mercurial.
17204 (save-place-to-alist): Use it.
17205
17206 2012-02-17 Lawrence Mitchell <wence@gmx.li>
17207 Stefan Monnier <monnier@iro.umontreal.ca>
17208
17209 * newcomment.el (uncomment-region-default): Don't leave extra space
17210 when an arg is provided (bug#8150).
17211
17212 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
17213
17214 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
17215
17216 2012-02-17 Glenn Morris <rgm@gnu.org>
17217
17218 * net/socks.el: Require network-stream. (Bug#10599)
17219
17220 2012-02-17 Kenichi Handa <handa@m17n.org>
17221
17222 * international/charprop.el:
17223 * international/uni-name.el:
17224 * international/uni-old-name.el:
17225 * international/uni-comment.el: Regenerate.
17226
17227 2012-02-16 Glenn Morris <rgm@gnu.org>
17228
17229 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
17230 Interactively in calendar buffer, give an error if not on a date.
17231
17232 2012-02-15 Glenn Morris <rgm@gnu.org>
17233
17234 * shell.el (shell-delimiter-argument-list):
17235 Revert 2011-02-17 change. (Bug#8027)
17236
17237 2012-02-15 Chong Yidong <cyd@gnu.org>
17238
17239 * minibuffer.el (completion-at-point-functions): Doc fix.
17240
17241 * custom.el (defcustom): Doc fix; note use of defvar.
17242
17243 2012-02-15 Glenn Morris <rgm@gnu.org>
17244
17245 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
17246 Doc fixes.
17247
17248 2012-02-14 Glenn Morris <rgm@gnu.org>
17249
17250 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
17251
17252 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
17253
17254 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
17255 way the ports list is computed.
17256 (smtpmail-query-smtp-server): Prompt the user for a port number if
17257 we can't connect to any of the standard ports (bug#10810).
17258
17259 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
17260
17261 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
17262
17263 2012-02-13 Glenn Morris <rgm@gnu.org>
17264
17265 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
17266
17267 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
17268
17269 * net/gnutls.el (gnutls-trustfiles): New variable.
17270 (gnutls-negotiate): Use it.
17271
17272 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
17273
17274 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17275 does its stuff if Gnus is running.
17276
17277 2012-02-13 Alan Mackenzie <acm@muc.de>
17278
17279 Fix a loop in c-set-fl-decl-start.
17280
17281 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17282 c-backward-syntactic-ws actually moves backwards.
17283
17284 2012-02-13 Leo Liu <sdl.web@gmail.com>
17285
17286 * net/rcirc.el (rcirc-markup-attributes): Move point to the
17287 beginning so that all \C-o chars are removed.
17288
17289 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
17290
17291 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17292
17293 2012-02-12 Alan Mackenzie <acm@muc.de>
17294
17295 Fix infinite loop with long macros.
17296 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17297
17298 2012-02-12 Chong Yidong <cyd@gnu.org>
17299
17300 * window.el (display-buffer): Doc fix (Bug#10785).
17301
17302 2012-02-12 Glenn Morris <rgm@gnu.org>
17303
17304 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17305 (x-disown-selection-internal, x-get-selection-internal):
17306 Sync docs with the xselect.c versions.
17307
17308 * allout-widgets.el: Add missing license notice.
17309
17310 2012-02-11 Glenn Morris <rgm@gnu.org>
17311
17312 * select.el (x-get-selection-internal, x-own-selection-internal)
17313 (x-disown-selection-internal):
17314 * x-dnd.el (x-get-selection-internal): Update declarations.
17315
17316 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17317
17318 * window.el (window-sides-slots):
17319 * tool-bar.el (tool-bar-position):
17320 * term/xterm.el (xterm-extra-capabilities):
17321 * ses.el (ses-self-reference-early-detection):
17322 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17323 (verilog-auto-wire-type)
17324 (verilog-auto-delete-trailing-whitespace)
17325 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17326 (verilog-auto-tieoff-declaration):
17327 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17328 (sql-oracle-statement-starters, sql-oracle-scan-on):
17329 * progmodes/prolog.el (prolog-align-comments-flag)
17330 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17331 (prolog-left-indent-regexp, prolog-paren-indent-p)
17332 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17333 (prolog-types, prolog-mode-specificators)
17334 (prolog-determinism-specificators, prolog-directives)
17335 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17336 (prolog-electric-dot-flag)
17337 (prolog-electric-dot-full-predicate-template)
17338 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17339 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17340 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17341 (prolog-program-switches, prolog-prompt-regexp)
17342 (prolog-debug-on-string, prolog-debug-off-string)
17343 (prolog-trace-on-string, prolog-trace-off-string)
17344 (prolog-zip-on-string, prolog-zip-off-string)
17345 (prolog-use-standard-consult-compile-method-flag)
17346 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17347 (prolog-imenu-max-lines, prolog-info-predicate-index)
17348 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17349 (prolog-char-quote-workaround):
17350 * progmodes/cc-vars.el (c-defun-tactic):
17351 * net/tramp.el (tramp-encoding-command-interactive)
17352 (tramp-local-end-of-line):
17353 * net/soap-client.el (soap-client):
17354 * net/netrc.el (netrc-file):
17355 * net/gnutls.el (gnutls):
17356 * minibuffer.el (completion-category-overrides)
17357 (completion-cycle-threshold)
17358 (completion-pcm-complete-word-inserts-delimiters):
17359 * man.el (Man-name-local-regexp):
17360 * mail/feedmail.el (feedmail-display-full-frame):
17361 * international/characters.el (glyphless-char-display-control):
17362 * eshell/em-ls.el (eshell-ls-date-format):
17363 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17364 (lisp-lambda-list-keyword-parameter-indentation)
17365 (lisp-lambda-list-keyword-parameter-alignment):
17366 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17367 * dired-x.el (dired-omit-verbose):
17368 * cus-theme.el (custom-theme-allow-multiple-selections):
17369 * calc/calc.el (calc-highlight-selections-with-faces)
17370 (calc-lu-field-reference, calc-lu-power-reference)
17371 (calc-note-threshold):
17372 * battery.el (battery-mode-line-limit):
17373 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17374 (archive-7z-update):
17375 * allout.el (allout-prefixed-keybindings)
17376 (allout-unprefixed-keybindings)
17377 (allout-inhibit-auto-fill-on-headline)
17378 (allout-flattened-numbering-abbreviation):
17379 * allout-widgets.el (allout-widgets-auto-activation)
17380 (allout-widgets-icons-dark-subdir)
17381 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17382 (allout-widgets-theme-dark-background)
17383 (allout-widgets-theme-light-background)
17384 (allout-widgets-item-image-properties-emacs)
17385 (allout-widgets-item-image-properties-xemacs)
17386 (allout-widgets-run-unit-tests-on-load)
17387 (allout-widgets-time-decoration-activity)
17388 (allout-widgets-hook-error-post-time)
17389 (allout-widgets-track-decoration):
17390 Add missing :version tags to new defcustoms and defgroups.
17391
17392 * progmodes/sql.el (sql-ansi-statement-starters)
17393 (sql-oracle-statement-starters): Add custom type.
17394
17395 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17396 (prolog-system-version): Give it a type.
17397
17398 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17399
17400 * term/pc-win.el (x-select-text, x-selection-owner-p)
17401 (x-own-selection-internal, x-disown-selection-internal)
17402 (x-get-selection-internal): Sync doc strings and argument lists
17403 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17404
17405 2012-02-11 Leo Liu <sdl.web@gmail.com>
17406
17407 * progmodes/python.el (python-end-of-statement): Fix infinite
17408 loop. (Bug#10788)
17409
17410 2012-02-10 Glenn Morris <rgm@gnu.org>
17411
17412 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17413 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17414
17415 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17416
17417 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17418 about SMTP before checking the From header.
17419
17420 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17421 into own function for reuse by emacsbug.el.
17422
17423 2012-02-10 Leo Liu <sdl.web@gmail.com>
17424
17425 * subr.el (condition-case-unless-debug): Rename from
17426 condition-case-no-debug. All callers changed.
17427 (with-demoted-errors): Fix caller.
17428
17429 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17430 * nxml/rng-valid.el (rng-do-some-validation):
17431 * emacs-lisp/package.el (package-refresh-contents)
17432 (package-menu-execute):
17433 * desktop.el (desktop-create-buffer):
17434 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17435
17436 2012-02-10 Glenn Morris <rgm@gnu.org>
17437
17438 * textmodes/bibtex.el:
17439 Add missing :version tags for new/changed defcustoms.
17440
17441 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17442
17443 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17444
17445 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17446 (smtpmail-via-smtp): Use it, or fall back on the From address.
17447 (smtpmail-send-it): Ditto.
17448
17449 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17450
17451 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17452 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17453 (byte-compile-tmp-var): New const.
17454 (byte-compile-defvar): Use it to minimize .elc size.
17455 Just use `defvar' rather than simulate it (bug#10761).
17456
17457 2012-02-09 Glenn Morris <rgm@gnu.org>
17458
17459 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17460
17461 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17462 Add :version tags.
17463
17464 * progmodes/compile.el (compilation-error-screen-columns)
17465 (compilation-first-column, compilation-filter-start): Doc fixes.
17466
17467 * vc/log-view.el (log-view-toggle-entry-display):
17468 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17469
17470 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17471 (report-emacs-bug-can-use-xdg-email):
17472 (report-emacs-bug-insert-to-mailer): Doc fixes.
17473 (report-emacs-bug): Message fix.
17474
17475 * net/browse-url.el (browse-url-can-use-xdg-open)
17476 (browse-url-xdg-open): Doc fixes.
17477
17478 * electric.el (electric-indent-mode, electric-pair-mode)
17479 (electric-layout-rules, electric-layout-mode): Doc fixes.
17480 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17481
17482 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17483
17484 * server.el (server-unselect-display): Don't inadvertently kill
17485 the current buffer. (Bug#10729)
17486
17487 2012-02-08 Glenn Morris <rgm@gnu.org>
17488
17489 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17490 (sql-list-table): Doc fixes.
17491
17492 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17493 Comment out (does nothing).
17494
17495 * completion.el (dynamic-completion-mode):
17496 * dirtrack.el (dirtrack-debug-mode):
17497 * electric.el (electric-layout-mode):
17498 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17499 * face-remap.el (text-scale-mode, buffer-face-mode):
17500 * iimage.el (iimage-mode):
17501 * image-mode.el (image-transform-mode):
17502 * minibuffer.el (completion-in-region-mode):
17503 * scroll-lock.el (scroll-lock-mode):
17504 * simple.el (next-error-follow-minor-mode):
17505 * tar-mode.el (tar-subfile-mode):
17506 * tooltip.el (tooltip-mode):
17507 * vcursor.el (vcursor-use-vcursor-map):
17508 * wid-browse.el (widget-minor-mode):
17509 * emulation/tpu-edt.el (tpu-edt-mode):
17510 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17511 * international/iso-ascii.el (iso-ascii-mode):
17512 * language/thai-util.el (thai-word-mode):
17513 * mail/supercite.el (sc-minor-mode):
17514 * net/goto-addr.el (goto-address-mode):
17515 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17516 * progmodes/cwarn.el (cwarn-mode):
17517 * progmodes/flymake.el (flymake-mode):
17518 * progmodes/glasses.el (glasses-mode):
17519 * progmodes/hideshow.el (hs-minor-mode):
17520 * progmodes/pascal.el (pascal-outline-mode):
17521 * textmodes/enriched.el (enriched-mode):
17522 * vc/smerge-mode.el (smerge-mode):
17523 Doc fixes (minor mode argument).
17524
17525 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17526
17527 * ls-lisp.el (ls-lisp-sanitize): New function.
17528 (ls-lisp-insert-directory): Use it to fix or remove any elements
17529 in file-alist with missing attributes. (Bug#4673)
17530
17531 2012-02-07 Alan Mackenzie <acm@muc.de>
17532
17533 Fix spurious recognition of c-in-knr-argdecl.
17534
17535 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17536 putative K&R region.
17537
17538 2012-02-07 Alan Mackenzie <acm@muc.de>
17539
17540 * progmodes/cc-engine.el (c-forward-objc-directive):
17541 Prevent looping in "#pragma mark @implementation".
17542
17543 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17544
17545 * notifications.el (notifications-on-closed-signal): Make `reason'
17546 optional. (Bug#10744)
17547
17548 2012-02-07 Glenn Morris <rgm@gnu.org>
17549
17550 * emacs-lisp/easy-mmode.el (define-minor-mode):
17551 Doc fixes for the macro and the mode it defines.
17552
17553 * image.el (imagemagick-types-inhibit): Doc fix.
17554
17555 * cus-start.el (imagemagick-render-type): Add it.
17556
17557 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17558
17559 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17560 Set the default at load time, too, so that `font-lock-fontify-buffer'
17561 can be called without setting up the entire mode first. This fixes
17562 a bug in `mm-inline-text' with C MIME parts.
17563
17564 2012-02-06 Chong Yidong <cyd@gnu.org>
17565
17566 * simple.el (list-processes--refresh): Delete exited processes
17567 (Bug#8094).
17568
17569 * comint.el (comint-next-prompt): next-single-char-property-change
17570 and prev-single-char-property-change never return nil (Bug#8657).
17571
17572 * custom.el (defcustom): Doc fix (Bug#9711).
17573
17574 2012-02-05 Chong Yidong <cyd@gnu.org>
17575
17576 * cus-edit.el (custom-variable-reset-backup): Quote the value
17577 before storing it in the customized-value property (Bug#6712).
17578 (custom-display): Add a customization type tag.
17579 (custom-buffer-create-internal): Improve tooltip message.
17580
17581 * wid-edit.el (widget-field-value-get): New optional arg to
17582 suppress trailing whitespace truncation.
17583 (character): Use it (Bug#2689).
17584
17585 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17586
17587 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17588 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17589
17590 2012-02-05 Chong Yidong <cyd@gnu.org>
17591
17592 * cus-edit.el (custom-variable-value-create): For mismatched
17593 types, show the current value (Bug#7600).
17594
17595 * custom.el (defcustom): Doc fix.
17596
17597 2012-02-05 Glenn Morris <rgm@gnu.org>
17598
17599 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17600
17601 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17602
17603 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17604 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17605 (pp-last-sexp): Use `looking-at-p'.
17606
17607 2012-02-04 Glenn Morris <rgm@gnu.org>
17608
17609 * files.el (revert-buffer):
17610 Doc fix (mention revert-buffer-in-progress-p).
17611
17612 * emacs-lisp/ert-x.el (ert-simulate-command):
17613 Check deferred-action-list (which is obsolete) is bound.
17614
17615 * subr.el (with-wrapper-hook): Doc fixes.
17616
17617 * simple.el (filter-buffer-substring-functions)
17618 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17619
17620 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17621
17622 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17623 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17624
17625 2012-02-04 Leo Liu <sdl.web@gmail.com>
17626
17627 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17628
17629 2012-02-04 Glenn Morris <rgm@gnu.org>
17630
17631 * image.el (image-extension-data): Add obsolete alias.
17632
17633 * isearch.el (isearch-update): Doc fix.
17634
17635 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17636
17637 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17638
17639 2012-02-03 Glenn Morris <rgm@gnu.org>
17640
17641 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17642 (image-animate-timeout): Doc fix.
17643
17644 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17645
17646 2012-02-02 Glenn Morris <rgm@gnu.org>
17647
17648 * server.el (server-auth-dir): Doc fix.
17649 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17650
17651 * subr.el (run-mode-hooks): Doc fix.
17652
17653 2012-02-02 Juri Linkov <juri@jurta.org>
17654
17655 * image-mode.el (image-toggle-display-image): Remove tautological
17656 `major-mode' from the `derived-mode-p' test.
17657
17658 2012-02-02 Kenichi Handa <handa@m17n.org>
17659
17660 * composite.el (compose-region): Cancel previous change.
17661
17662 2012-02-02 Kenichi Handa <handa@m17n.org>
17663
17664 * composite.el (compose-region, compose-string): Signal error for
17665 a null string component (Bug#6988).
17666
17667 2012-02-01 Chong Yidong <cyd@gnu.org>
17668
17669 * view.el (view-buffer-other-window, view-buffer-other-frame):
17670 Handle special modes like view-buffer (Bug#10650).
17671 (view-buffer): Simplify.
17672
17673 * frame.el (set-frame-font): Tweak meaning of third argument.
17674
17675 * dynamic-setting.el (font-setting-change-default-font):
17676 Use set-frame-font (Bug#9982).
17677
17678 2012-02-01 Glenn Morris <rgm@gnu.org>
17679
17680 * progmodes/compile.el (compilation-internal-error-properties):
17681 Respect compilation-first-column in the "*compilation*" buffer.
17682
17683 * emacs-lisp/easy-mmode.el (define-minor-mode):
17684 Relax :variable's test for a named function.
17685
17686 2012-01-31 Alan Mackenzie <acm@muc.de>
17687
17688 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17689 off by one error.
17690
17691 2012-01-31 Chong Yidong <cyd@gnu.org>
17692
17693 * frame.el (set-frame-font): New arg ALL-FRAMES.
17694
17695 * menu-bar.el (menu-set-font): Use set-frame-font.
17696
17697 * faces.el (face-spec-reset-face): Don't apply unspecified
17698 attribute values to the default face.
17699
17700 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17701
17702 * progmodes/cwarn.el (cwarn): Remove dead link.
17703 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17704 Remove * from defcustom docstrings.
17705 (turn-on-cwarn-mode): Make obsolete.
17706 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17707 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17708
17709 2012-01-31 Glenn Morris <rgm@gnu.org>
17710
17711 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17712 Fix :variable handling of mode a symbol not equal to modefun.
17713 Allow named functions to be used as the cdr of :variable.
17714
17715 2012-01-30 Glenn Morris <rgm@gnu.org>
17716
17717 * emacs-lisp/authors.el (authors-fixed-entries):
17718 Remove reference to deleted file rnewspost.el.
17719
17720 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17721
17722 * window.el (window-with-parameter): Remove unused variable `windows'.
17723 (window--side-check): Remove unused variable `code'.
17724 (window--resize-siblings): Remove unused variable `first'.
17725 (adjust-window-trailing-edge): Remove unused variable `failed'.
17726 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17727 Use `let', not `let*'.
17728 (balance-windows-2): Remove unused variable `found'.
17729 (window--state-put-2): Remove unused variable `splits'.
17730 (window-state-put): Remove unused variable `selected'.
17731 (same-window-p): Use `string-match-p'.
17732 (display-buffer-assq-regexp): Remove unused variable `value'.
17733 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17734 Mark argument ALIST as ignored.
17735 (pop-to-buffer): Remove unused variable `old-window'.
17736
17737 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17738
17739 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17740 and .lzma compressed files.
17741
17742 2012-01-29 Chong Yidong <cyd@gnu.org>
17743
17744 * frame.el (window-system-default-frame-alist): Doc fix.
17745
17746 * dynamic-setting.el (font-setting-change-default-font): Don't
17747 change the default face if SET-FONT argument is non-nil (Bug#9982).
17748
17749 2012-01-29 Samuel Bronson <naesten@gmail.com>
17750
17751 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17752
17753 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17754
17755 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17756 breakpoints in files outside current directory (Bug#6098).
17757
17758 2012-01-29 Chong Yidong <cyd@gnu.org>
17759
17760 * progmodes/python.el: Require ansi-color at top-level.
17761
17762 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17763 Define and use in Emacs Lisp mode (Bug#9360).
17764 (lisp-mode-abbrev-table): Add doc.
17765 (lisp-mode-variables): Don't set local-abbrev-table.
17766 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17767
17768 2012-01-28 Roland Winkler <winkler@gnu.org>
17769
17770 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17771
17772 2012-01-28 Roland Winkler <winkler@gnu.org>
17773
17774 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17775 (bibtex-set-dialect): Use it. Either set global values of
17776 dialect-dependent variables or bind these variables buffer-locally
17777 (Bug#10254).
17778 (bibtex-mode): Call bibtex-set-dialect via
17779 hack-local-variables-hook.
17780 (bibtex-dialect): Update docstring.
17781 Add safe-local-variable predicate.
17782 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17783 bibtex-set-dialect.
17784 (bibtex-mode-map): Define menu for each dialect.
17785 (bibtex-entry): Fix docstring.
17786
17787 2012-01-28 Chong Yidong <cyd@gnu.org>
17788
17789 * eshell/esh-arg.el (eshell-quote-argument): New function.
17790
17791 * eshell/esh-ext.el (eshell-invoke-batch-file):
17792 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17793 first arg to eshell-parse-command (Bug#10523).
17794
17795 2012-01-28 Drew Adams <drew.adams@oracle.com>
17796
17797 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17798 `default-directory' is non-nil.
17799
17800 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17801
17802 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17803 line that displays system-configuration-options. (Bug#9924)
17804
17805 2012-01-28 Drew Adams <drew.adams@oracle.com>
17806
17807 * descr-text.el (describe-char): Show information about POS, in
17808 addition to information about the character at POS. Improve and
17809 update the doc string. Change "code point" to "code point in
17810 charset", to avoid confusion with the character's Unicode code
17811 point shown above that. (Bug#10129)
17812
17813 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17814
17815 * descr-text.el (describe-char): Show the raw character, not only
17816 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17817 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17818 for the reasons.
17819
17820 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17821
17822 * emacs-lisp/package.el (package-install):
17823 Run package-refresh-contents if there is no archive yet (Bug#9798).
17824
17825 2012-01-28 Chong Yidong <cyd@gnu.org>
17826
17827 * emacs-lisp/package.el (package-maybe-load-descriptor):
17828 New function, split from package-maybe-load-descriptor.
17829 (package-maybe-load-descriptor): Use it.
17830 (package-download-transaction): Fully load required packages
17831 inside the loop, so that `require' calls work (Bug#10593).
17832 (package-install): No need to call package-initialize now.
17833
17834 2012-01-28 Chong Yidong <cyd@gnu.org>
17835
17836 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17837
17838 * tooltip.el (tooltip-mode): Doc fix.
17839 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17840
17841 * frame.el (set-cursor-color): Doc fix (Bug#352).
17842
17843 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17844 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17845
17846 * cus-edit.el (custom-buffer-create-internal): Fix search button
17847 action (Bug#10542).
17848 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17849
17850 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17851
17852 * dired.el (dired-mark-files-regexp):
17853 Include any subdirectory components. (Bug#10445)
17854
17855 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17856
17857 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17858 Handle [host]:port syntax. (Bug#10533)
17859
17860 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17861
17862 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17863
17864 2012-01-26 Glenn Morris <rgm@gnu.org>
17865
17866 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17867 * term.el (term-raw-escape-map): Use Control-X-prefix.
17868 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17869
17870 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17871
17872 * window.el (window-state-get, window--state-get-1): Don't deal
17873 with fixed-sizeness of windows. Simplify code.
17874
17875 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17876
17877 * window.el (window--state-get-1, window--state-put-2):
17878 Don't save and restore the mark.
17879
17880 2012-01-25 Chong Yidong <cyd@gnu.org>
17881
17882 * custom.el (custom-variable-p): Doc fix.
17883
17884 2012-01-25 Glenn Morris <rgm@gnu.org>
17885
17886 * dired.el (dired-goto-file): Handle some of the more common
17887 characters that `ls -b' escapes. (Bug#10596)
17888
17889 * progmodes/compile.el (compilation-next-error-function):
17890 Respect compilation-first-column in the "*compilation*" buffer.
17891 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17892
17893 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17894
17895 2012-01-24 Glenn Morris <rgm@gnu.org>
17896
17897 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17898
17899 2012-01-24 Julien Danjou <julien@danjou.info>
17900
17901 * color.el (color-rgb-to-hsl): Fix value computing.
17902 (color-hue-to-rgb): New function.
17903 (color-hsl-to-rgb): New function.
17904 (color-clamp, color-saturate-hsl, color-saturate-name)
17905 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17906 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17907
17908 2012-01-24 Glenn Morris <rgm@gnu.org>
17909
17910 * vc/vc-rcs.el (vc-rcs-create-tag):
17911 * vc/vc-sccs.el (vc-sccs-create-tag):
17912 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17913
17914 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17915
17916 * eshell/esh-util.el (eshell-read-hosts-file):
17917 Skip comment lines. (Bug#10549)
17918
17919 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17920
17921 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17922
17923 * subr.el (display-delayed-warnings): Doc fix.
17924 (collapse-delayed-warnings): New function to collapse identical
17925 adjacent warnings.
17926 (delayed-warnings-hook): Add it.
17927
17928 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17929
17930 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17931
17932 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17933 (tramp-default-user-alist): Don't add "pscp".
17934 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17935 property "login-as", if set. (Bug#10530)
17936
17937 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17938
17939 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17940 "plink1" and "psftp". (Bug#10530)
17941
17942 2012-01-21 Kenichi Handa <handa@m17n.org>
17943
17944 * international/mule-cmds.el (prefer-coding-system): Show a
17945 warning message if the default value of file-name-coding-system
17946 was not changed.
17947
17948 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17949
17950 * windmove.el (windmove-reference-loc):
17951 Fix windmove-reference-loc miscalculation.
17952
17953 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17954
17955 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17956 default unit.
17957
17958 2012-01-21 Glenn Morris <rgm@gnu.org>
17959
17960 * international/mule.el (auto-coding-alist): Add .tbz.
17961
17962 * files.el (local-enable-local-variables): Doc fix.
17963 (inhibit-local-variables-regexps): Rename from
17964 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17965 Doc fix. Add some extensions from auto-coding-alist.
17966 (inhibit-local-variables-suffixes):
17967 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17968 (inhibit-local-variables-p):
17969 New function, extracted from set-auto-mode-1.
17970 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17971 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17972 (hack-local-variables): Doc fix. Make the mode-only case
17973 respect enable-local-variables and friends.
17974 Respect inhibit-local-variables-regexps for file-locals, but
17975 not for directory-locals.
17976 (set-visited-file-name):
17977 Take account of inhibit-local-variables-regexps.
17978 Whether it applies may change as the file name is changed.
17979 * jka-cmpr-hook.el (jka-compr-install):
17980 * jka-compr.el (jka-compr-uninstall):
17981 Update for inhibit-first-line-modes-suffixes name change.
17982
17983 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17984
17985 * help-macro.el (make-help-screen): Temporarily restore original
17986 binding for minor-mode-map-alist (Bug#10454).
17987
17988 2012-01-19 Julien Danjou <julien@danjou.info>
17989
17990 * color.el (color-name-to-rgb): Use the white color to find the max
17991 color component value and return correctly computed values.
17992 (color-name-to-rgb): Add missing float conversion for max value.
17993
17994 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17995
17996 * window.el (window--state-get-1, window-state-get): Do not use
17997 special state value for window-persistent-parameters.
17998 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17999 (window--state-put-2): Reset all window parameters to nil before
18000 assigning values of persistent parameters.
18001
18002 2012-01-18 Alan Mackenzie <acm@muc.de>
18003
18004 Eliminate sluggishness and hangs in fontification of "semicolon
18005 deserts".
18006
18007 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
18008 Change value 10000 -> 3000.
18009 (c-state-safe-place): Reformulate so it doesn't stack up an
18010 infinite number of wrong entries in c-state-nonlit-pos-cache.
18011 (c-determine-limit-get-base, c-determine-limit): New functions to
18012 determine backward search limits disregarding literals.
18013 (c-find-decl-spots): Amend commenting.
18014 (c-cheap-inside-bracelist-p): New function which detects "={".
18015
18016 * progmodes/cc-fonts.el
18017 (c-make-font-lock-BO-decl-search-function): Give a limit to a
18018 backward search.
18019 (c-font-lock-declarations): Fix an occurrence of point being
18020 undefined. Check additionally for point being in a bracelist or
18021 near a macro invocation without a semicolon so as to avoid a
18022 fruitless time consuming search for a declarator. Give a more
18023 precise search limit for declarators using the new
18024 c-determine-limit.
18025
18026 2012-01-18 Glenn Morris <rgm@gnu.org>
18027
18028 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
18029 (set-auto-mode): Doc fixes.
18030
18031 2012-01-17 Glenn Morris <rgm@gnu.org>
18032
18033 * isearch.el (search-nonincremental-instead): Fix doc typo.
18034
18035 * dired.el (dired-insert-directory): Handle newlines in directory name.
18036 (dired-build-subdir-alist): Unescape newlines in directory name.
18037
18038 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
18039
18040 * net/tramp.el (tramp-local-end-of-line): New defcustom.
18041 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
18042 (tramp-action-terminal): Use it. (Bug#10530)
18043
18044 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
18045
18046 * minibuffer.el (completion--replace): Strip properties (bug#10062).
18047
18048 2012-01-16 Martin Rudalics <rudalics@gmx.at>
18049
18050 * window.el (window-state-ignored-parameters): Remove variable.
18051 (window--state-get-1): Rename argument MARKERS to IGNORE.
18052 Handle persistent window parameters. Make copy of clone-of
18053 parameter only if requested. (Bug#10348)
18054 (window--state-put-2): Install a window parameter only if it has
18055 a non-nil value or an existing parameter shall be overwritten.
18056
18057 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
18058
18059 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
18060
18061 2012-01-14 Eli Zaretskii <eliz@gnu.org>
18062
18063 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
18064 don't pass the (nil) value of `upnode' to string-match.
18065
18066 2012-01-14 Chong Yidong <cyd@gnu.org>
18067
18068 * startup.el (command-line): Fix X resource class for cursorColor.
18069 Fix values recognized by the cursorBlink resource.
18070
18071 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
18072
18073 * epg.el (epg--make-temp-file): Avoid permission race condition
18074 when running on old Emacs versions (bug#10403).
18075
18076 2012-01-14 Glenn Morris <rgm@gnu.org>
18077
18078 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
18079
18080 2012-01-13 Alan Mackenzie <acm@muc.de>
18081
18082 Fix filling for when filladapt mode is enabled.
18083
18084 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
18085 c-mask-paragraph, pass in `fill-paragraph' rather than
18086 `fill-region-as-paragraph'. (This is a reversion of a previous
18087 change.)
18088 * progmodes/cc-mode.el (c-basic-common-init):
18089 Make fill-paragraph-handle-comment buffer local and set it to nil.
18090
18091 2012-01-13 Glenn Morris <rgm@gnu.org>
18092
18093 * dired.el (dired-switches-escape-p): New function.
18094 (dired-insert-directory): Use dired-switches-escape-p.
18095 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
18096
18097 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
18098
18099 2012-01-12 Glenn Morris <rgm@gnu.org>
18100
18101 * mail/sendmail.el (mail-mode): Update paragraph-separate for
18102 changes in adaptive-fill-regexp. (Bug#10276)
18103
18104 2012-01-11 Alan Mackenzie <acm@muc.de>
18105
18106 Fix Emacs bug #10463 - put `widen's around the critical spots.
18107
18108 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
18109 widen around each invocation of c-state-pp-to-literal. Remove an
18110 unused let variable.
18111
18112 2012-01-11 Glenn Morris <rgm@gnu.org>
18113
18114 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
18115 Doc fix.
18116
18117 2012-01-10 Chong Yidong <cyd@gnu.org>
18118
18119 * net/network-stream.el (network-stream-open-starttls):
18120 Avoid emitting a confusing error message when the server gives a bad
18121 response to the capability command.
18122
18123 2012-01-10 Glenn Morris <rgm@gnu.org>
18124
18125 * mail/unrmail.el (unrmail): Tweak previous change.
18126
18127 2012-01-09 Chong Yidong <cyd@gnu.org>
18128
18129 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
18130
18131 2012-01-08 Alan Mackenzie <acm@muc.de>
18132
18133 Optimize font locking in long enum definitions.
18134
18135 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
18136 arm to a cond form to handle enums.
18137 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
18138 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
18139
18140 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
18141
18142 * files.el (move-file-to-trash): Preserve default file modes on error.
18143 (Bug#10401)
18144
18145 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18146
18147 * faces.el (set-face-attribute): Clarify the meaning of the nil
18148 frame (bug#10294).
18149
18150 * subr.el (with-selected-frame): Mention that the selected frame
18151 is restored (bug#9980).
18152
18153 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
18154 (bug#9759).
18155
18156 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
18157 (password-read): Don't autoload unused function.
18158
18159 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
18160
18161 * progmodes/which-func.el (which-func-mode): Turn into a
18162 non-interactive function and mark as obsolete (bug#10428).
18163
18164 2012-01-06 Chong Yidong <cyd@gnu.org>
18165
18166 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
18167 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
18168 functions, along with 1 and -1.
18169
18170 2012-01-06 Eli Zaretskii <eliz@gnu.org>
18171
18172 * time.el (display-time-load-average)
18173 (display-time-default-load-average): Doc fixes. See the thread
18174 starting at
18175 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
18176 for the details.
18177
18178 2012-01-06 Glenn Morris <rgm@gnu.org>
18179
18180 * mail/unrmail.el (unrmail): Give an explicit error if the input file
18181 has no messages. (Bug#10377)
18182
18183 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
18184 than Info-edit. (Bug#10385)
18185
18186 * time.el (display-time-load-average, display-time-next-load-average):
18187 Doc fixes.
18188
18189 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
18190 local setting of buffer-read-only to the input buffer. (Bug#10419)
18191
18192 * calendar/calendar.el (calendar-mode):
18193 Locally set scroll-margin to 0. (Bug#10379)
18194
18195 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
18196
18197 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
18198
18199 2012-01-05 Glenn Morris <rgm@gnu.org>
18200
18201 * eshell/em-unix.el (diff-no-select): Autoload it.
18202 (eshell/diff): Use diff-no-select. (Bug#10420)
18203
18204 2012-01-05 Chong Yidong <cyd@gnu.org>
18205
18206 * shell.el (shell-dynamic-complete-functions): Revert last change.
18207 (shell-command-completion-function): New function.
18208 (shell-completion-vars): Use it to implement
18209 shell-completion-execonly (Bug#10417).
18210
18211 * custom.el (enable-theme): Don't set custom-safe-themes.
18212
18213 * cus-theme.el (custom-theme-merge-theme):
18214 Ignore custom-enabled-themes and custom-safe-themes.
18215
18216 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
18217
18218 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
18219 first prompt in `sql-interacive-mode'.
18220 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
18221 keywords.
18222 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
18223 (sql-product-interactive): Bug fix: Set `sql-buffer' in
18224 context of original buffer. Invoke `sql-login-hook'.
18225
18226 2012-01-04 Eli Zaretskii <eliz@gnu.org>
18227
18228 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
18229 letters in cite-prefix.
18230
18231 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18232
18233 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
18234
18235 2012-01-03 Chong Yidong <cyd@gnu.org>
18236
18237 * shell.el (shell-dynamic-complete-functions):
18238 Put pcomplete-completions-at-point, so as to try
18239 comint-filename-completion first (Bug#10417).
18240
18241 2012-01-02 Richard Stallman <rms@gnu.org>
18242
18243 * battery.el (battery-status-function):
18244 Detect when to use battery-yeeloong-sysfs.
18245 (battery-echo-area-format): Add string for Yeeloong.
18246 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
18247 (battery-yeeloong-sysfs): New function.
18248
18249 2012-01-02 Chong Yidong <cyd@gnu.org>
18250
18251 * dirtrack.el (dirtrack-list): Eliminate unused third element.
18252 (dirtrack): Merge code for handling relative filenames in prompt
18253 from shell-dir-cookie-watcher.
18254 (dirtrack-debug-message): New arg to avoid excess format calls.
18255
18256 * shell.el (shell-dir-cookie-re): Variable deleted.
18257 (shell-dir-cookie-watcher): Function deleted.
18258 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
18259 with dirtrack-mode.
18260
18261 2012-01-01 Eli Zaretskii <eliz@gnu.org>
18262
18263 * term/w32-win.el (dynamic-library-alist) <gnutls>:
18264 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18265 libgnutls-26.dll.
18266
18267 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
18268
18269 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18270
18271 2011-12-31 Eli Zaretskii <eliz@gnu.org>
18272
18273 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18274 headers of non-MIME messages, when rmail-enable-mime is non-nil.
18275
18276 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
18277
18278 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18279 also for alternative shells.
18280 (tramp-open-connection-setup-interactive-shell): Check, whether
18281 the shell is a busybox.
18282 (tramp-send-command): Don't suppress multiple prompts for
18283 busyboxes, it hurts.
18284
18285 2011-12-28 Chong Yidong <cyd@gnu.org>
18286
18287 * progmodes/gdb-mi.el (gdb-get-source-file-list)
18288 (gdb-get-source-file): Move mode line update to
18289 gdb-get-source-file (Bug#10087).
18290
18291 2011-12-25 Chong Yidong <cyd@gnu.org>
18292
18293 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18294 gud-gdb-marker-filter without taking it as an argument.
18295 (gud-gdb-run-command-fetch-lines): Caller changed.
18296 (gud-gdb-completion-function): New variable.
18297 (gud-gdb-completion-at-point): Use it.
18298 (gud-gdb-completions-1): Split from gud-gdb-completions.
18299
18300 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18301 function as separate arguments.
18302 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
18303 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18304 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18305 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18306 (gdb-stopped, def-gdb-auto-update-trigger)
18307 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18308 (gdb-get-changed-registers, gdb-get-main-selected-frame):
18309 Callers changed.
18310 (gud-gdbmi-completions): New function.
18311 (gdb): Use it for generating the completion table.
18312
18313 2011-12-24 Alan Mackenzie <acm@muc.de>
18314
18315 Introduce a mechanism to widen the region used in context font
18316 locking. Use this to protect declarations from losing their contexts.
18317
18318 * progmodes/cc-langs.el (c-before-font-lock-functions):
18319 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18320 (c-before-context-fontification-functions): New defvar, a list of
18321 functions to be run just before context (etc.) font locking.
18322
18323 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18324 New, functionality extracted from
18325 c-neutralize-syntax-in-and-mark-CPP.
18326 (c-in-after-change-fontification): New variable.
18327 (c-after-change): Set c-in-after-change-fontification.
18328 (c-set-fl-decl-start): Rejig its interface, so it can be called
18329 from both after-change and context fontifying.
18330 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18331 New functions.
18332 (c-standard-font-lock-fontify-region-function): New variable.
18333 (c-font-lock-fontify-region): New function.
18334
18335 2011-12-24 Juri Linkov <juri@jurta.org>
18336
18337 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18338 (Bug#10348)
18339
18340 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18341
18342 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18343 existence of source file. (Bug#10325)
18344
18345 2011-12-23 Alan Mackenzie <acm@muc.de>
18346
18347 Fix unstable fontification inside templates.
18348
18349 * progmodes/cc-langs.el (c-before-font-lock-functions):
18350 Newly created from the singular version. The (c c++ objc) entry now
18351 additionally has c-set-fl-decl-start. The other languages (apart
18352 from AWK) have that as a single entry.
18353
18354 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18355 The functionality for "local" declarations has been extracted to
18356 c-set-fl-decl-start.
18357
18358 * progmodes/cc-mode.el (c-common-init, c-after-change):
18359 Changes due to pluralisation of c-before-font-lock-functions.
18360 (c-set-fl-decl-start): New function, extracted from
18361 c-font-lock-enclosing-decls and enhanced.
18362
18363 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18364
18365 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18366
18367 2011-12-22 Juri Linkov <juri@jurta.org>
18368
18369 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18370
18371 2011-12-22 Chong Yidong <cyd@gnu.org>
18372
18373 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18374
18375 2011-12-21 Drew Adams <drew.adams@oracle.com>
18376
18377 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18378
18379 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18380
18381 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18382
18383 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18384
18385 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18386 highlighting and support. Fix up comments for capitalization.
18387 (cfengine-mode-debug): New var.
18388 (cfengine3-mode): Change the modeline indicator to "CFE3".
18389 (cfengine3-font-lock-keywords): Improve defun highlighting.
18390 (cfengine2-actions): Rename from `cfengine-actions'.
18391 (cfengine2-font-lock-keywords): Rename from
18392 `cfengine-font-lock-keywords'.
18393 (cfengine2-imenu-expression): Rename from
18394 `cfengine-imenu-expression'.
18395 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18396 (cfengine2-beginning-of-defun): Rename from
18397 `cfengine-beginning-of-defun'.
18398 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18399 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18400 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18401 modeline indicator to "CFE2".
18402 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18403 (cfengine-mode-abbrevs): Mark obsolete.
18404
18405 2011-12-21 Chong Yidong <cyd@gnu.org>
18406
18407 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18408 filename argument.
18409
18410 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18411
18412 * window.el (window-normalize-buffer-to-display): Remove.
18413 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18414
18415 2011-12-19 Chong Yidong <cyd@gnu.org>
18416
18417 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18418 Don't signal an error in a predicate function; return non-nil.
18419 (vc-dir-mark-file): Move the error here.
18420 (vc-dir-mark-unmark): If acting on the region, keep going if one
18421 of the entries cannot be marked/unmarked.
18422 (vc-dir-mark-all-files): If current entry is a directory, mark
18423 only child files, as documented.
18424
18425 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
18426
18427 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18428 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18429 addition.
18430
18431 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18432
18433 * term/ns-win.el (ns-get-selection-internal)
18434 (ns-store-selection-internal): Declare.
18435 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18436 Declare as obsolete.
18437 (ns-get-pasteboard, ns-paste-secondary):
18438 Use ns-get-selection-internal.
18439 (ns-set-pasteboard, ns-copy-including-secondary):
18440 Use ns-store-selection-internal.
18441
18442 2011-12-17 Chong Yidong <cyd@gnu.org>
18443
18444 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18445 (vc-deduce-fileset): Doc fix.
18446
18447 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18448
18449 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18450
18451 2011-12-13 Sam Steingold <sds@gnu.org>
18452
18453 * man.el (Man-getpage-in-background): When running under a
18454 window-system, ignore $MANWIDTH and $COLUMNS.
18455
18456 2011-12-15 Kenichi Handa <handa@m17n.org>
18457
18458 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18459 (setup-ethiopic-environment-internal): Comment out key-binding for
18460 ethio-toggle-punctuation.
18461
18462 2011-12-13 Alan Mackenzie <acm@muc.de>
18463
18464 Add the switch statement to AWK Mode.
18465
18466 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18467 "default" to the keywords regexp.
18468
18469 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18470 expression as the rest.
18471 (c-nonlabel-token-key): Allow string literals for AWK.
18472 Refactor for the other modes.
18473
18474 Large brace-block initialisation makes CC Mode slow: Fix.
18475 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18476 routines. Limit backward searching in c-font-lock-enclosing.decl.
18477
18478 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18479 pp-state and literal type in addition to the limits.
18480 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18481 (c-state-literal-at): Use the above new defun.
18482 (c-slow-in-literal, c-fast-in-literal): Remove.
18483 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18484
18485 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18486 being in a literal. Add a limit for backward searching.
18487
18488 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18489 c-slow-in-literal.
18490
18491 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18492
18493 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18494
18495 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18496
18497 * window.el (delete-other-windows): Use correct frame in call to
18498 window-with-parameter.
18499
18500 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18501
18502 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18503 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18504 (makefile-gmake-statements, makefile-makepp-statements):
18505 Use it and add new makepp keywords.
18506 (makefile-makepp-font-lock-keywords): Add new patterns.
18507 (makefile-match-function-end): Match new [...] and [[...]].
18508
18509 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18510
18511 * ses.el (ses-call-printer-return, ses-cell-property-get)
18512 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18513 (ses-create-cell-variable, ses-reset-header-string)
18514 (ses-cell-set-formula, ses-repair-cell-reference-all)
18515 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18516 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18517 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18518 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18519 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18520 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18521 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18522 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18523 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18524 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18525 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18526 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18527
18528 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
18529
18530 * ses.el: The overall change is to add cell renaming, that is
18531 setting fancy names for cell symbols other than name matching
18532 "\\`[A-Z]+[0-9]+\\'" regexp .
18533 (ses-create-cell-variable): New defun.
18534 (ses-relocate-formula): Relocate formulas only for cells the
18535 symbols of which are not renamed, i.e. symbols whose names do not
18536 match regexp "\\`[A-Z]+[0-9]+\\'".
18537 (ses-relocate-all): Relocate values only for cells the symbols of
18538 which are not renamed.
18539 (ses-load): Create cells variables as the (ses-cell ...) are read,
18540 in order to check row col consistency with cell symbol name only
18541 for cells that are not renamed.
18542 (ses-replace-name-in-formula): New defun.
18543 (ses-rename-cell): New defun.
18544
18545 2011-12-11 Chong Yidong <cyd@gnu.org>
18546
18547 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18548 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18549
18550 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18551
18552 * window.el (other-window): Fix docstring.
18553
18554 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18555
18556 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18557 `from' or `to' address before taking its substring.
18558 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18559 encoded name is chopped in the middle of the encoded string, and
18560 thus displayed encoded.
18561
18562 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18563
18564 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18565
18566 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18567
18568 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18569 to use texinfo-update-node and commands that call it if the
18570 Texinfo file uses @node lines without next/prev/up pointers.
18571 Correct outdated description about texinfo-master-menu.
18572 (texinfo-all-menus-update, texinfo-master-menu)
18573 (texinfo-update-node, texinfo-every-node-update)
18574 (texinfo-multiple-files-update): Doc fix. Warn against updating
18575 all the @node lines.
18576 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18577 argument is numeric. Explain better in the doc string what the
18578 function really does.
18579 (texinfo-insert-master-menu-list): Improve the error message
18580 displayed if there's no menu in the Top node.
18581 (Bug#2975) See also this thread:
18582 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18583
18584 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
18585
18586 * speedbar.el (speedbar-supported-extension-expressions):
18587 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18588
18589 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18590
18591 * printing.el (pr-mode-alist):
18592 * simple.el (filter-buffer-substring-functions)
18593 (completion-list-insert-choice-function):
18594 * window.el (window-with-parameter, window-atom-root)
18595 (window-sides-slots, window-size-fixed, window-min-delta)
18596 (window-max-delta, window--resize-mini-window)
18597 (window--resize-child-windows-normal, window-tree)
18598 (delete-other-windows, quit-window, split-window)
18599 (display-buffer-record-window, special-display-buffer-names)
18600 (special-display-regexps, special-display-popup-frame)
18601 (same-window-p, split-window-sensibly)
18602 (display-buffer-overriding-action, display-buffer-alist)
18603 (display-buffer-base-action, display-buffer, switch-to-buffer)
18604 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18605 (fit-window-to-buffer, recenter-positions)
18606 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18607 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18608 and remove unneeded backslashes in docstrings.
18609
18610 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18611
18612 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18613
18614 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18615 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18616 end in ".mk".
18617 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18618 when reading the makefile (bug#10116).
18619
18620 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18621
18622 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18623 (bug#10116).
18624
18625 2011-12-06 Glenn Morris <rgm@gnu.org>
18626
18627 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18628
18629 2011-12-06 Chong Yidong <cyd@gnu.org>
18630
18631 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18632
18633 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18634
18635 * textmodes/table.el (table-shorten-cell): Fix typo.
18636
18637 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18638
18639 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18640
18641 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18642
18643 * descr-text.el (describe-char): Fix display of strong
18644 right-to-left characters and directional embeddings and overrides.
18645
18646 * simple.el (what-cursor-position): Fix display of codepoints of
18647 strong right-to-left characters.
18648
18649 2011-12-05 Chong Yidong <cyd@gnu.org>
18650
18651 * faces.el (read-color): Doc fix.
18652
18653 2011-12-05 Glenn Morris <rgm@gnu.org>
18654
18655 * align.el (align--set-marker): Add doc-string.
18656 Don't try to move something that is not a marker. (Bug#10216)
18657
18658 2011-12-04 Glenn Morris <rgm@gnu.org>
18659
18660 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18661 overly zealous deletion of trailing whitespace.
18662
18663 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18664
18665 * server.el (server-delete-client): On Windows, do not try to delete
18666 the only terminal.
18667 (server-process-filter): On Windows, treat requests for a tty frame as
18668 if they were for a GUI frame if the running server is in GUI mode.
18669
18670 2011-12-03 Glenn Morris <rgm@gnu.org>
18671
18672 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18673
18674 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18675
18676 * electric.el: Streamline electric-indent's hook.
18677 (electric-indent-chars): Revert to simple list.
18678 (electric-indent-functions): New var.
18679 (electric-indent-post-self-insert-function): Use it.
18680
18681 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18682 there's no inferior buffer (bug#10196).
18683 (prolog-consult-compile): Don't use toggle-read-only.
18684
18685 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18686
18687 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18688 interrupt. (Bug#10187)
18689
18690 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18691
18692 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18693 (bug#9160).
18694
18695 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18696 (bug#10191).
18697
18698 2011-12-02 Juri Linkov <juri@jurta.org>
18699
18700 * info.el (Info-search): Display "end of manual" when Isearch
18701 reaches the end of single-file Info manual. (Bug#9918)
18702
18703 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18704
18705 * isearch.el (isearch-message-prefix): Run the input method part
18706 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18707
18708 2011-12-02 Juri Linkov <juri@jurta.org>
18709
18710 * isearch.el (isearch-occur): Use `word-search-regexp' for
18711 `isearch-word'.
18712 (isearch-search-and-update): Add condition for `isearch-word' and
18713 call `word-search-regexp'. (Bug#10145)
18714
18715 2011-12-01 Glenn Morris <rgm@gnu.org>
18716
18717 * eshell/em-hist.el (eshell-hist-initialize):
18718 Handle eshell-history-size nil and HISTSIZE set or unset.
18719 (eshell-history-file-name, eshell-history-size): Fix custom type.
18720
18721 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18722
18723 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18724
18725 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18726
18727 * progmodes/verilog-mode.el (verilog-pretty-expr):
18728 Rework verilog-pretty-expr to handle new assignment operators in system
18729 verilog, such as += *= and the like.
18730 (verilog-assignment-operator-re): Regular expression to find the
18731 assigment operator in a verilog assignment.
18732 (verilog-assignment-operation-re): Regular expression to find an
18733 assignment statement for pretty-expr.
18734 (verilog-in-attribute-p): Query returns true if point is in an
18735 attribute context; used to skip these for expression line up from
18736 pretty-expr.
18737 (verilog-in-parameter-p): Query returns true if point is in an
18738 parameter definition context; used to skip these for expression
18739 line up from pretty-expr.
18740 (verilog-in-parenthesis-p): Query returns true if point is in a
18741 parenthetical expression, specifically ( ) but not [ ] or { };
18742 used by pretty-expr.
18743 (verilog-just-one-space): If there is no space, don't add one.
18744 (verilog-get-lineup-indent-2): Specifically skip just attribute
18745 contexts for expression lineup, rather than skipping all
18746 parenthetical expressions.
18747 (verilog-calculate-indent): Fix comment, and fix indent.
18748 (verilog-do-indent): Indent declarations in lists (suggested by
18749 Joachim Lechner).
18750 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18751 skeleton items.
18752 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18753 by Alain Mellan).
18754
18755 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18756
18757 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18758 parameters with embedded comments. Reported by Ray Stevens.
18759 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18760 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18761 Reported by Tim Holt.
18762 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18763 instantiated by upper module causing wrong expansion until AUTOed a
18764 second time. Reported by K C Buckenmaier.
18765 (verilog-diff-auto): Fix showing .* as a difference when
18766 `verilog-auto-star-save' off. Reported by Dan Dever.
18767 (verilog-auto-reset, verilog-read-always-signals)
18768 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18769 temporary signals in reset list if
18770 verilog-auto-reset-blocking-in-non is nil, and match assignment
18771 style to each signal's assignment type, bug381.
18772 Reported by Thomas Esposito.
18773 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18774 (verilog-uvm-statement-re): Support UVM indentation and
18775 highlighting, with old OVM keywords only.
18776 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18777 Support AUTOTIEOFF creating non-wire data types.
18778 Suggested by Jonathan Greenlaw.
18779 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18780 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18781 (verilog-inject-sense, verilog-read-inst-pins)
18782 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18783 Fix mismatching parenthesis inside commented out code when deleting
18784 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18785 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18786 non-numeric vector width. Reported by Alex Reed.
18787 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18788 detecting signals with parameter widths. Reported by Alex Reed.
18789 (verilog-auto-delete-trailing-whitespace):
18790 With `verilog-auto-delete-trailing-whitespace' remove trailing
18791 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18792 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18793 Fix verilog-scan-cache corruption when running user AUTO expansion
18794 hooks that call indentation routines.
18795 (verilog-simplify-range-expression): Fix typo ignoring lower case
18796 identifiers.
18797 (verilog-delete-auto): Fix delete-autos to also remove user created
18798 automatics, as long as they start with AUTO.
18799 (verilog-batch-diff-auto, verilog-diff-auto)
18800 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18801 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18802 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18803 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18804 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18805 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18806 is disabled and its cache will get corrupt, causing AUTOS not to
18807 expand. Instead use only -quick functions.
18808 (verilog-scan-region): Fix scanning over escaped quotes.
18809 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18810 (verilog-re-search-backward-quick)
18811 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18812 related functions now ignore strings, to fix misparsing of strings
18813 with magic comments embedded in them.
18814 (verilog-read-auto-template):
18815 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18816 Reported by Brad Dobbie.
18817 (verilog-read-auto-template):
18818 Fix 'verilog-auto-inst-template-numbers' with comments.
18819 Reported by Brad Dobbie.
18820 (verilog-auto-inst, verilog-auto-inst-param)
18821 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18822 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18823 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18824 debugging templates without merge conflicts, bug357.
18825 Reported by Brad Dobbie.
18826 (verilog-read-auto-template):
18827 Fix verilog-auto-inst-template-numbers with multiple templates.
18828 Reported by Brad Dobbie.
18829 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18830 abbrevs so user won't be asked to save.
18831 (verilog-read-auto-lisp-present): Fix to start at beginning of
18832 buffer in case called outside of verilog-auto.
18833 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18834 to "X-2". Reported by Matthew Myers.
18835 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18836 all inputs from module templates. Reported by Leith Johnson.
18837 (verilog-module-inside-filename-p): Fix locating programs as with
18838 modules.
18839 (verilog-auto-inst-port): Fix vl-width expressions when using
18840 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18841 (verilog-decls-get-regs, verilog-decls-get-signals,
18842 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18843 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18844 verilog-read-decls): Combine reg and wire structures into one var
18845 structure to represent SystemVerilog concepts.
18846 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18847 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18848 (verilog-auto-wire-type, verilog-insert-definition):
18849 Add verilog-auto-wire-type and AUTOLOGIC to support using
18850 SystemVerilog "logic" keyword instead of "wire"/"reg".
18851 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18852 to declares outputs that also have assignments (presumably in an
18853 ifdef or generate if so there's not a driver conflict).
18854 Reported by Matthew Myers.
18855 (verilog-auto-declare-nettype, verilog-insert-definition):
18856 Add verilog-auto-declare-nettype to fix declarations using
18857 `default_nettype none. Reported by Julian Gorfajn.
18858 (verilog-read-always-signals-recurse, verilog-read-decls)
18859 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18860 malformed end statement, bug325. Reported by Joshua Wise and
18861 Andrew Drake.
18862 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18863 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18864 when expanding .* in interfaces, bug320.
18865 Reported by Pierre-David Pfister.
18866 (verilog-read-module-name): Fix import statements between module
18867 name and open parenthesis, bug317.
18868 Reported by Pierre-David Pfister.
18869 (verilog-simplify-range-expression): Fix simplification of
18870 multiplications inside AUTOWIRE connections, bug303.
18871 (verilog-auto-inst-port): Support parameter expansion in
18872 multidimensional arrays.
18873 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18874 after "assert property". Reported by Julian Gorfajn.
18875 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18876 with multiplication, bug303.
18877 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18878 Reported by Jan Frode Lonnum.
18879
18880 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18881
18882 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18883 (hfy-shell-file-name, hfy-shell):
18884 * international/fontset.el (x-decompose-font-name): Fix typos.
18885
18886 2011-11-29 Ken Brown <kbrown@cornell.edu>
18887
18888 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18889 (gdb-version): Remove defvar.
18890 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18891 (gdb-gud-context-command, gdb-non-stop-handler)
18892 (gdb-current-context-command, gdb-stopped): Use it.
18893 (gdb-init-1): Enable pretty printing here.
18894 (gdb-non-stop-handler): Don't enable pretty-printing here.
18895 Check to see if the target supports non-stop mode; if not, turn off
18896 non-stop mode. Use the following.
18897 (gdb-check-target-async): New defun.
18898 (gud-watch, gdb-stopped): Fix whitespace.
18899 (gdb-get-source-file): Don't try to display the source file if
18900 `gdb-main-file' is nil.
18901
18902 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18903
18904 * align.el: Try to generate fewer markers (bug#10047).
18905 (align--set-marker): New macro.
18906 (align-region): Use it.
18907
18908 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18909
18910 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18911
18912 2011-11-29 Chong Yidong <cyd@gnu.org>
18913
18914 * indent.el (indent-for-tab-command, indent-according-to-mode):
18915 Doc fix.
18916 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18917
18918 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18919
18920 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18921 aware of remote file names. (Bug#10124)
18922
18923 2011-11-29 Chong Yidong <cyd@gnu.org>
18924
18925 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18926
18927 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18928
18929 * files.el (find-file): Don't use force-same-window (bug#10144).
18930 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18931 use pop-to-buffer if the selected window can't be used.
18932 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18933
18934 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18935
18936 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18937 special-mode-map.
18938
18939 2011-11-28 Chong Yidong <cyd@gnu.org>
18940
18941 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18942
18943 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18944
18945 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18946 gdb-get-source-file-list on gdb-create-source-file-list.
18947
18948 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18949
18950 * whitespace.el (whitespace-newline): Use a different foreground
18951 color for 16-color light-background displays.
18952
18953 2011-11-24 Chong Yidong <cyd@gnu.org>
18954
18955 * window.el (display-buffer--special-action): Doc fix.
18956
18957 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18958
18959 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18960 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18961 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18962 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18963 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18964 (avl-tree-stack-first):
18965 * emacs-lisp/cconv.el (cconv--analyse-use):
18966 * net/gnutls.el (gnutls-negotiate): Fix typos.
18967
18968 2011-11-24 Glenn Morris <rgm@gnu.org>
18969
18970 * lpr.el (lpr-windows-system, lpr-lp-system):
18971 * mail/binhex.el (binhex-begin-line):
18972 * progmodes/grep.el (grep-history, grep-find-history):
18973 * textmodes/flyspell.el:
18974 * vc/pcvs-defs.el (cvs-global-menu):
18975 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18976 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18977 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18978
18979 * net/tls.el: Fix case of "GnuTLS".
18980
18981 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18982
18983 * version.el (emacs-build-system): Give it a doc-string.
18984
18985 2011-11-24 Juri Linkov <juri@jurta.org>
18986
18987 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18988
18989 2011-11-24 Glenn Morris <rgm@gnu.org>
18990
18991 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18992 if called on a non-mime message just toggle the headers. (Bug#8006)
18993
18994 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18995
18996 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18997 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18998 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18999 (allout-rebullet-heading, allout-open-sibtopic)
19000 (allout-toggle-current-subtree-encryption)
19001 (allout-toggle-subtree-encryption, allout-encrypt-string)
19002 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
19003 (allout-distinctive-bullets-string, allout-auto-activation):
19004 * window.el (window-normalize-buffer-to-display):
19005 * progmodes/verilog-mode.el (verilog-batch-indent):
19006 * textmodes/bibtex.el (bibtex-field-braces-opt)
19007 (bibtex-field-strings-opt):
19008 * vc/cvs-status.el (cvs-tree-merge):
19009 Fix typos.
19010
19011 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
19012
19013 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
19014 `non-essential' to t, in order to avoid remote connections.
19015
19016 2011-11-23 Eli Zaretskii <eliz@gnu.org>
19017
19018 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19019 On MS-DOS and MS-Windows, compare with loaddefs.el
19020 case-insensitively.
19021
19022 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19023
19024 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
19025
19026 2011-11-23 Glenn Morris <rgm@gnu.org>
19027
19028 * paths.el (rmail-file-name): Reformat the doc-string so that it
19029 is picked up.
19030
19031 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
19032 (rmail-auto-file): Ignore case in the "special" field names,
19033 as mail-fetch-field does for all others.
19034
19035 * mail/rmail.el (rmail-forward):
19036 * mail/rmailkwd.el (rmail-set-label):
19037 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
19038 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
19039
19040 * mail/rmail.el (rmail-current-message): Doc fix.
19041
19042 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
19043
19044 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
19045
19046 * server.el (server-eval-and-print): Allow C-g (bug#6585).
19047
19048 2011-11-22 Glenn Morris <rgm@gnu.org>
19049
19050 * mail/rmailmm.el (test-rmail-mime-handler)
19051 (test-rmail-mime-bulk-handler)
19052 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
19053
19054 2011-11-21 Juri Linkov <juri@jurta.org>
19055
19056 * calc/calc.el (calc-read-key-sequence):
19057 Let-bind `input-method-function' to nil. (Bug#10018)
19058
19059 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19060
19061 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
19062 Tell the caller that the next line needs recomputation, even
19063 though it doesn't start a sexp (bug#10094).
19064
19065 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
19066
19067 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
19068
19069 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19070
19071 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19072 Use force-same-window.
19073
19074 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19075
19076 * descr-text.el (describe-char-unicode-data):
19077 * json.el (json-string-escape):
19078 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
19079 (Footnote-unicode, Footnote-style-p):
19080 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
19081
19082 2011-11-20 Chong Yidong <cyd@gnu.org>
19083
19084 * window.el (replace-buffer-in-windows): Restore interactive spec.
19085
19086 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19087
19088 * electric.el (electric-indent-mode): Fix last change (too optimistic).
19089
19090 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
19091 (byte-compile-global-not-obsolete-vars): New var.
19092 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
19093 Use it.
19094 (byte-compile-warn-obsolete): Align text with the one in *Help*.
19095
19096 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19097
19098 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
19099 * progmodes/pascal.el (electric-pascal-equal):
19100 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
19101 * xml.el (xml-substitute-special): Fix typos.
19102
19103 2011-11-20 Glenn Morris <rgm@gnu.org>
19104
19105 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
19106 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
19107 Doc fixes.
19108 (rmail-decode-mime-charset): Mark as obsolete.
19109
19110 * mail/rmailsum.el (rmail-message-regexp-p-1):
19111 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
19112 Before using mime functions, check they are set. (Bug#10077)
19113
19114 2011-11-19 Juri Linkov <juri@jurta.org>
19115
19116 * info.el (Info-finder-find-node): Use `package--builtins' instead
19117 of `package-alist'. Use node names formed by the pattern "Keyword "
19118 and the keyword name.
19119
19120 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19121
19122 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
19123
19124 2011-11-19 Juri Linkov <juri@jurta.org>
19125
19126 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
19127 that calls `revert-buffer' on all Info buffers. (Bug#9915)
19128 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
19129 `old-history', `old-history-forward'. Add let-binding
19130 `window-selected'. Remove calls to `kill-buffer',
19131 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
19132 before calling `Info-find-node', so `Info-find-node-2' will reread
19133 the Info file. Restore window positions only when `window-selected'
19134 is non-nil.
19135
19136 2011-11-19 Juri Linkov <juri@jurta.org>
19137
19138 * isearch.el (isearch-lazy-highlight-new-loop):
19139 Remove condition `(not isearch-error)'. (Bug#9918)
19140
19141 * misearch.el (multi-isearch-search-fun): Add condition
19142 `(not bound)' to ignore lazy-highlighting search.
19143 Add the search-failed message "end of multi" when the end of
19144 multi-sequence is reached. Uncapitalize the search-failed
19145 message "Repeat for next buffer".
19146
19147 * info.el (Info-search): Add the search-failed message
19148 "end of the manual" when the end of the manual is reached
19149 in Isearch mode.
19150
19151 2011-11-19 Juri Linkov <juri@jurta.org>
19152
19153 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
19154 Use non-destructive `remove' instead of `delete' because
19155 `Info-history-list' stored to `Info-isearch-initial-history-list' in
19156 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
19157
19158 2011-11-19 Juri Linkov <juri@jurta.org>
19159
19160 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
19161 to nil instead of binding `search-ring' and `regexp-search-ring'.
19162 (Bug#9185)
19163
19164 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19165
19166 * simple.el (line-move): Force movement by logical lines for any
19167 hscrolled window, not only when auto-hscroll-mode is on.
19168 (line-move-visual): Update doc string to that effect. (Bug#10076)
19169
19170 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19171
19172 * language/european.el (macintosh): Define as alias for mac-roman.
19173
19174 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19175
19176 * mail/rmailmm.el (rmail-mime-display-header)
19177 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
19178 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
19179 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
19180 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
19181 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
19182 of a raw aref.
19183 (rmail-mime-entity-segment): To get past the tagline, move forward
19184 2 more lines, to account for the 2 empty lines that precede and
19185 follow the line with the buttons.
19186 (rmail-mime-update-tagline): Move one more line, to get past the
19187 empty line that follows the buttons in the tagline. (Bug#9520)
19188
19189 2011-11-19 Martin Rudalics <rudalics@gmx.at>
19190
19191 * window.el (window-max-delta-1, window-min-delta-1)
19192 (window-min-size-1, window-state-get-1, window-state-put-1)
19193 (window-state-put-2): Use "window--" prefix.
19194
19195 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
19196
19197 * emacs-lisp/smie.el: Improve warnings and conflict detection.
19198 (smie-warning-count): New var.
19199 (smie-set-prec2tab): Use it.
19200 (smie-bnf->prec2): Improve warnings. Add docstring.
19201 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
19202 (smie-bnf--set-class): New function.
19203 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
19204 corner case.
19205
19206 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
19207 (compilation-error-properties, compilation-move-to-column):
19208 Handle compilation-first-column while in the target buffer.
19209
19210 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
19211 Don't hardcode point-min==1.
19212
19213 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
19214 (eshell-rewrite-for-command): Remove workaround.
19215 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
19216 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
19217 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
19218
19219 * files-x.el (modify-file-local-variable): Obey commenting conventions.
19220
19221 2011-11-17 Glenn Morris <rgm@gnu.org>
19222
19223 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19224 Ignore buffer-local generated-autoload-file if it is the same
19225 as the global value. (Bug#10049)
19226
19227 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
19228
19229 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
19230 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
19231 (reftex-toc-previous-heading, reftex-toc-max-level)
19232 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
19233 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
19234 (reftex-toc-do-promote, reftex-toc-promote-prepare)
19235 (reftex-toc-promote-action, reftex-toc-extract-section-number)
19236 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
19237 (reftex-toc-rename-label, reftex-toc-visit-location)
19238 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
19239 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
19240 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
19241 leaving "*toc*" only for references to the buffer.
19242
19243 2011-11-17 Martin Rudalics <rudalics@gmx.at>
19244
19245 * window.el (window-resize, delete-window, split-window):
19246 Replace window-splits by window-combination-resize.
19247 * cus-start.el (window-splits): Replace by window-combination-resize.
19248
19249 2011-11-17 Glenn Morris <rgm@gnu.org>
19250
19251 * progmodes/sh-script.el (sh-font-lock-keywords-var):
19252 Make bash entry derive from sh entry, not shell entry.
19253
19254 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
19255
19256 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
19257 local file name.
19258
19259 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19260
19261 * menu-bar.el (menu-bar-file-menu):
19262 * printing.el (pr-ps-utility):
19263 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
19264 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
19265 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
19266 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19267 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19268 (icalendar--convert-cyclic-to-ical)
19269 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19270 (icalendar--convert-ical-to-diary)
19271 (icalendar--convert-recurring-to-diary)
19272 (icalendar--convert-non-recurring-all-day-to-diary)
19273 (icalendar-import-format-sample):
19274 * progmodes/idlw-shell.el (idlwave-shell-mode):
19275 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19276 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19277 (vhdl-ps-print-init): Fix typos.
19278
19279 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
19280
19281 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19282 FSF and collapse date sequence, obscure author/maintainer email address
19283 better, remove extra version line, track relocation of author's webpage.
19284
19285 * progmodes/python.el (python-pdbtrack-input-prompt)
19286 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19287 regular python pdb prompts. Adjustments shamelessly taken exactly as
19288 suggested in EmacsWiki page (tiny change):
19289 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19290
19291 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19292
19293 * expand.el (expand-pos, expand-index, expand-point):
19294 Remove redundant info from docstring.
19295 (expand-add-abbrevs): Doc fix.
19296 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19297 (expand-sample-perl-mode-expand-list): Fix typos.
19298
19299 * net/dbus.el (dbus-event-member-name):
19300 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19301 * term/pc-win.el (msdos-create-frame-with-faces):
19302 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19303
19304 2011-11-16 Martin Rudalics <rudalics@gmx.at>
19305
19306 * window.el (split-window, window-state-get-1)
19307 (window-state-put-1, window-state-put-2): Rename occurrences of
19308 window-nest to window-combination-limit.
19309 * cus-start.el (window-nest): Rename to window-combination-limit.
19310
19311 2011-11-16 Chong Yidong <cyd@gnu.org>
19312
19313 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19314 regexp (Bug#10033).
19315
19316 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19317
19318 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19319 `completing-read' will remove *Completions* and will preserve
19320 current-buffer for us.
19321 (tmm-add-prompt): Users of *Completions* will always (re)set its
19322 major mode.
19323 (tmm-old-comp-map): Remove.
19324
19325 2011-11-16 Glenn Morris <rgm@gnu.org>
19326
19327 * mail/rmailedit.el: Require rmailmm when compiling.
19328 (rmail-old-mime-state): New declaration.
19329 (rmail-edit-current-message): If editing a mime message,
19330 edit the "raw" message from the mbox buffer.
19331 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19332
19333 2011-11-15 Glenn Morris <rgm@gnu.org>
19334
19335 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19336 which wasn't being used. Add optional arg to force given state.
19337 (rmail-mime): Add optional arg to force given state.
19338
19339 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19340
19341 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19342 * frame.el (display-mm-dimensions-alist):
19343 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19344 (outline-move-subtree-down):
19345 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19346 (newsticker--treeview-do-get-node):
19347 * net/quickurl.el (quickurl-list-buffer-name):
19348 * progmodes/dcl-mode.el (dcl-mode):
19349 * progmodes/gdb-mi.el (gdb-mapcar*):
19350 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19351
19352 2011-11-15 Glenn Morris <rgm@gnu.org>
19353
19354 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19355 in a boolean sense, so just make it a boolean, and fix the doc.
19356 (rmail-show-mime-function, rmail-mime-feature)
19357 (rmail-require-mime-maybe): Doc fixes.
19358 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19359
19360 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19361
19362 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19363
19364 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19365 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19366 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19367 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19368
19369 2011-11-15 Glenn Morris <rgm@gnu.org>
19370
19371 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19372 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19373 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19374 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19375 (rmail-mime, rmail-show-mime): Doc fixes.
19376
19377 * term/ns-win.el (mode-line-frame-identification):
19378 Leave it alone. (Bug#10051)
19379
19380 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19381
19382 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19383 Handle empty buffers. (Bug#9978)
19384
19385 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19386
19387 * international/mule.el (define-charset):
19388 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19389 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19390 * progmodes/verilog-mode.el (verilog-backward-token):
19391 * textmodes/ispell.el (lookup-words):
19392 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19393
19394 2011-11-14 Glenn Morris <rgm@gnu.org>
19395
19396 * progmodes/executable.el
19397 (executable-make-buffer-file-executable-if-script-p):
19398 Handle file-modes returning nil.
19399
19400 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19401 message - not necessary, and causes problems. (Bug#9831)
19402
19403 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19404
19405 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19406
19407 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19408 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19409 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19410
19411 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19412
19413 * window.el (window-resize, delete-window): Use window-splits
19414 variable instead of function.
19415 (window-state-get-1, window-state-put-2, window-state-put):
19416 Don't deal with windows' splits status.
19417
19418 2011-11-12 Glenn Morris <rgm@gnu.org>
19419
19420 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19421 (apropos-documentation): Doc fixes.
19422
19423 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19424
19425 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19426 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19427
19428 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19429
19430 * electric.el (electric-indent-post-self-insert-function): Make it
19431 possible for a char to only indent in some circumstances.
19432 (electric-indent-mode): Simplify.
19433
19434 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19435
19436 * window.el (windows-with-parameter): Remove unused function.
19437 (windows-at-side): Rename to window-at-side-list.
19438 (window-check, window-atom-check, window-atom-check-1)
19439 (window-side-check, window-size-ignore, window-size-fixed-1)
19440 (window-in-direction-2): Prefix with "window--".
19441 (window-tree-1): Rename to window--subtree, fix doc-string.
19442
19443 2011-11-11 Glenn Morris <rgm@gnu.org>
19444
19445 * subr.el (eval-after-load): If FILE is already loaded,
19446 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19447
19448 2011-11-10 Glenn Morris <rgm@gnu.org>
19449
19450 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19451 Call svn via vc-svn-command rather than vc-do-command.
19452 (vc-svn-command): Add --non-interactive. (Bug#9993)
19453 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19454
19455 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19456 Add toggle-read-only. (Bug#7292)
19457 * files.el (toggle-read-only): Mention that it should only
19458 be used interactively. (Bug#10006)
19459
19460 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19461
19462 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19463 Adjust regexp for OCaml warnings.
19464
19465 * electric.el (electric-pair-post-self-insert-function): Let user
19466 turn it off buffer-locally (bug#9932).
19467
19468 * progmodes/python.el (python-beginning-of-statement):
19469 Rewrite (bug#2703).
19470
19471 * progmodes/compile.el: Better handle TABs (bug#9749).
19472 (compilation-internal-error-properties)
19473 (compilation-next-error-function): Obey the target buffer's
19474 compilation-error-screen-columns.
19475
19476 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19477
19478 * progmodes/meta-mode.el: Remove obsolete comments.
19479 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19480 Fix typos in docstrings.
19481
19482 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19483
19484 * window.el (window-size-fixed-p): Rewrite doc-string.
19485 (window-resizable-p): Rename to window--resizable-p. Update callers.
19486 (window--resizable): New function. Make all callers of
19487 window-resizable call window--resizable instead.
19488 (window-resizable): Rewrite in terms of window--resizable.
19489
19490 2011-11-08 Glenn Morris <rgm@gnu.org>
19491
19492 * progmodes/delphi.el (delphi-mode-syntax-table):
19493 Let define-derived-mode define a proper syntax table. (Bug#9994)
19494
19495 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19496
19497 * window.el: Stay away from defsubst.
19498 (window-list-no-nils): Remove.
19499 (window-state-get-1, window-state-get): Use backquote instead.
19500
19501 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19502
19503 * emacs-lisp/find-func.el (find-function-read):
19504 Fix incorrect use of default argument in `completing-read'.
19505
19506 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19507
19508 * window.el (display-buffer-function, special-display-function):
19509 Mention display-buffer-record-window but do not mention
19510 help-setup parameter in doc-strings.
19511 (window-min-delta): Fix doc-string typo.
19512
19513 2011-11-08 Chong Yidong <cyd@gnu.org>
19514
19515 * window.el (window-total-height, window-total-width): Doc fix.
19516 (window-body-size): Move from C.
19517 (window-body-height, window-body-width): Move to C.
19518
19519 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19520
19521 * window.el: Make special-display like display-buffer-alist (bug#9532).
19522 (display-buffer--special-action): New function, morphed
19523 from display-buffer--special.
19524 (display-buffer): Use it to handle special-display-buffers at higher
19525 priority (just after display-buffer-alist).
19526 (display-buffer-fallback-action, display-buffer--other-frame-action)
19527 (pop-to-buffer-same-window): Remove display-buffer--special.
19528
19529 2011-11-07 Glenn Morris <rgm@gnu.org>
19530
19531 * calendar/cal-menu.el (cal-menu-set-date-title):
19532 Do nothing if not in a calendar. (Bug#9976)
19533
19534 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19535
19536 * files.el (find-file): Always use selected-window.
19537
19538 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19539
19540 * window.el (window-combinations): Make WINDOW argument
19541 mandatory. Rewrite doc-string.
19542 (walk-window-subtree, window-atom-check, window-min-delta)
19543 (window-max-delta, window--resize-this-window)
19544 (window--resize-root-window-vertically, window-tree)
19545 (balance-windows, window-state-put): Rewrite doc-strings as to
19546 not mention the term "subwindow".
19547 (window--resize-subwindows-skip-p): Rename to
19548 window--resize-child-windows-skip-p.
19549 (window--resize-subwindows-normal): Rename to
19550 window--resize-child-windows-normal.
19551 (window--resize-subwindows): Rename to
19552 window--resize-child-windows.
19553 (window-or-subwindow-p): Rename to window--in-subtree-p.
19554
19555 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19556
19557 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19558 Ensure that mbox format messages end in two newlines (Bug#9974).
19559
19560 2011-11-06 Chong Yidong <cyd@gnu.org>
19561
19562 * window.el (window-combination-p): Function deleted; its
19563 side-effect is not used in any existing code.
19564 (window-combinations, window-combined-p): Call window-*-child
19565 directly.
19566
19567 2011-11-05 Chong Yidong <cyd@gnu.org>
19568
19569 * window.el (window-valid-p): Rename from window-any-p.
19570 (window-size-ignore, window-state-get): Callers changed.
19571 (window-normalize-window): Rename from window-normalize-any-window.
19572 New arg LIVE-ONLY, replacing window-normalize-live-window.
19573 (window-normalize-live-window): Delete.
19574 (window-combination-p, window-combined-p, window-combinations)
19575 (walk-window-subtree, window-atom-root, window-min-size)
19576 (window-sizable, window-sizable-p, window-size-fixed-p)
19577 (window-min-delta, window-max-delta, window-resizable)
19578 (window-resizable-p, window-full-height-p, window-full-width-p)
19579 (window-current-scroll-bars, window-point-1, set-window-point-1)
19580 (window-at-side-p, window-in-direction, window-resize)
19581 (adjust-window-trailing-edge, maximize-window, minimize-window)
19582 (window-deletable-p, delete-window, delete-other-windows)
19583 (record-window-buffer, unrecord-window-buffer)
19584 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19585 (quit-window, split-window, window-state-put)
19586 (set-window-text-height, fit-window-to-buffer)
19587 (shrink-window-if-larger-than-buffer): Callers changed.
19588
19589 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19590
19591 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19592 rfc2047-decode-string.
19593 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19594 warnings.
19595
19596 * window.el (window-body-height, window-body-width): Mention in
19597 the doc string that the return values are in frame's canonical
19598 units. (Bug#9949)
19599
19600 2011-11-03 Alan Mackenzie <acm@muc.de>
19601
19602 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19603 change in cc-engine.el.
19604
19605 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19606
19607 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19608
19609 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19610
19611 * window.el (quit-window): Call unrecord-window-buffer after
19612 showing another buffer in the window. (Bug#9937)
19613 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19614
19615 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19616
19617 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19618 Accept status with more than 9 shelves. (Bug#9935)
19619 Reported by Colin D Bennett <colin@gibibit.com>.
19620
19621 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19622
19623 * help.el (with-help-window): Don't reference
19624 temp-buffer-show-specifiers in doc-string.
19625
19626 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19627
19628 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19629 menu-item.
19630
19631 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19632
19633 * whitespace.el: New version 13.2.2.
19634 (whitespace-newline-mode): Disable properly. Reported by Sarah
19635 <EmacsWiki>.
19636
19637 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19638
19639 * net/newst-treeview.el: Remove "Time-stamp".
19640 (newsticker--group-manage-orphan-feeds): Do not call
19641 newsticker--treeview-tree-update.
19642 (newsticker-treeview-update, newsticker-treeview):
19643 Call newsticker--treeview-tree-update if necessary.
19644
19645 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19646
19647 * window.el (window-iso-combination-p, window-iso-combined-p)
19648 (window-iso-combinations): Remove "iso-" infix.
19649 Suggested by Chong Yidong.
19650 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19651 (window-max-delta-1, window-resize, window--resize-siblings)
19652 (window--resize-this-window, adjust-window-trailing-edge)
19653 (split-window, balance-windows-1)
19654 (shrink-window-if-larger-than-buffer):
19655 * calendar/calendar.el (calendar-generate-window):
19656 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19657
19658 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19659
19660 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19661 in place (bug#9907).
19662 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19663 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19664 (eshell-structure-basic-command, eshell-rewrite-while-command)
19665 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19666 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19667 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19668 (eshell-do-pipelines-synchronously, eshell-eval-command):
19669 Use backquotes and prefer setq to set.
19670 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19671 (eshell-macrop): Use functionp.
19672 (eshell-do-eval): Handle multiple expressions in `while' body.
19673
19674 2011-10-30 Chong Yidong <cyd@gnu.org>
19675
19676 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19677 instead of set-mark (Bug#9810).
19678
19679 2011-10-30 Chong Yidong <cyd@gnu.org>
19680
19681 * window.el (split-window-below, split-window-right): Rename from
19682 split-window-above-each-other and split-window-side-by-side
19683 respectively. All callers changed.
19684 (split-window-sensibly, split-window-sensibly): Use them.
19685 (split-window-keep-point): Doc fix.
19686
19687 * isearch.el: Add isearch-scroll property to split-window-below
19688 and split-window-right.
19689
19690 * follow.el (follow-mode):
19691 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19692 * progmodes/ada-xref.el (ada-gdb-application):
19693 * emulation/vip.el (vip-buffer-in-two-windows):
19694 * image-dired.el (image-dired-dired-with-window-configuration):
19695 * dired-x.el (dired-do-find-marked-files):
19696 * dired.el (dired-pop-to-buffer):
19697 * bs.el (bs--show-with-configuration):
19698 * vc/emerge.el (emerge-setup-windows):
19699 * textmodes/two-column.el (2C-two-columns):
19700 * textmodes/reftex-toc.el (reftex-toc):
19701 * progmodes/gdb-mi.el (gdb-setup-windows):
19702 * progmodes/fortran.el (fortran-window-create):
19703 * net/newst-treeview.el (newsticker--treeview-window-init):
19704 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19705 * emulation/tpu-edt.el (tpu-gold-map):
19706 * emulation/crisp.el (crisp-mode-map):
19707 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19708
19709 2011-10-29 Chong Yidong <cyd@gnu.org>
19710
19711 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19712
19713 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19714
19715 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19716 forged Ispell output (Bug#7904).
19717
19718 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19719
19720 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19721
19722 * doc-view.el: Avoid ugly errors about not finding nil.
19723 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19724 (doc-view-dvipdf-program, doc-view-unoconv-program)
19725 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19726 Avoid nil or absolute file name as default value.
19727 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19728
19729 2011-10-28 Alan Mackenzie <acm@muc.de>
19730
19731 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19732
19733 2011-10-28 Alan Mackenzie <acm@muc.de>
19734
19735 Amend the handling of c-beginning/end-of-defun in nested declaration
19736 scopes.
19737
19738 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19739 cc-langs.el. Change it to a defcustom.
19740
19741 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19742 cc-vars.el.
19743
19744 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19745 Prevent "class foo : bar" being spuriously recognized as a label.
19746
19747 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19748 Add parameter `inclusive' (to include enclosing braces in the region).
19749 (c-widen-to-enclosing-decl-scope): New function.
19750 (c-while-widening-to-decl-block): New macro.
19751 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19752 outward for defun boundaries, and correspondingly change symbol
19753 `respect-enclosure' to `go-outward'.
19754 (c-declaration-limits): Change algorithm to report only the "innermost"
19755 defun's boundaries.
19756
19757 2011-10-28 Deniz Dogan <deniz@dogan.se>
19758
19759 * net/rcirc.el (rcirc-mode): Use hard newlines.
19760
19761 2011-10-28 Alan Mackenzie <acm@muc.de>
19762
19763 Amend to indent and fontify macros "which include their own semicolon"
19764 correctly, using the "virtual semicolon" mechanism.
19765
19766 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19767
19768 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19769 Recode to scan one line at a time rather than having \n and \r
19770 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19771 (c-forward-label): Amend for virtual semicolons.
19772 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19773
19774 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19775 of the new C macros.
19776
19777 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19778 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19779 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19780 (c-opt-cpp-macro-define): Make into a full language variable.
19781 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19782 AWK Mode (including \n, \r) removed, no longer needed.
19783
19784 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19785 Invoke c-make-macro-with-semi-re.
19786
19787 * progmodes/cc-vars.el (c-macro-with-semi-re):
19788 (c-macro-names-with-semicolon): New variables.
19789 (c-make-macro-with-semi-re): New function.
19790
19791 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19792
19793 * vc/log-edit.el: Fill empty field rather than adding new one.
19794 (log-edit-add-field): New function.
19795 (log-edit-insert-changelog): Use it.
19796
19797 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19798
19799 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19800
19801 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19802
19803 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19804 (gdb--check-interpreter): New function.
19805 (gdb): Use it.
19806
19807 2011-10-27 Glenn Morris <rgm@gnu.org>
19808
19809 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19810 (least-positive-float, least-negative-float)
19811 (least-positive-normalized-float, least-negative-normalized-float)
19812 (float-epsilon, float-negative-epsilon):
19813 Remove unnecessary declarations.
19814
19815 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19816 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19817 (least-positive-float, least-negative-float)
19818 (least-positive-normalized-float, least-negative-normalized-float)
19819 (float-epsilon, float-negative-epsilon): Add doc-strings,
19820 based on those in cl.texi.
19821
19822 * files.el (set-visited-file-name): If the major-mode changed,
19823 reload the local variables. (Bug#9796)
19824
19825 2011-10-27 Chong Yidong <cyd@gnu.org>
19826
19827 * subr.el (change-major-mode-after-body-hook): New hook.
19828 (run-mode-hooks): Run it.
19829
19830 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19831 Use change-major-mode-before-body-hook.
19832
19833 * simple.el (fundamental-mode):
19834 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19835 change introducing fundamental-mode-hook.
19836
19837 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19838
19839 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19840
19841 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19842
19843 * ido.el (ido-file-name-all-completions-1): Do not require
19844 tramp.el explicitly. (Bug#7583)
19845
19846 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19847
19848 * progmodes/octave-mod.el:
19849 * progmodes/octave-inf.el: Update maintainer.
19850
19851 2011-10-26 Chong Yidong <cyd@gnu.org>
19852
19853 * subr.el (with-wrapper-hook): Rewrite doc.
19854
19855 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19856
19857 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19858 filenames "/method:foo:". (Bug#9793)
19859
19860 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19861
19862 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19863 (bug#9865).
19864
19865 2011-10-24 Glenn Morris <rgm@gnu.org>
19866
19867 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19868
19869 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19870
19871 * notifications.el: Add the requirement of a running D-Bus session
19872 bus to the Commentary.
19873
19874 2011-10-24 Juri Linkov <juri@jurta.org>
19875
19876 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19877 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19878 (Bug#9364)
19879
19880 2011-10-24 Juri Linkov <juri@jurta.org>
19881
19882 * info.el (Info-following-node-name-re): Add newline to the list
19883 of allowed characters for leading space. (Bug#9824)
19884
19885 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19886
19887 * progmodes/octave-inf.el (inferior-octave-mode-map):
19888 Fix C-c C-h binding.
19889 * progmodes/octave-mod.el (octave-help): Remove.
19890
19891 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19892
19893 Sync with Tramp 2.2.3.
19894
19895 * net/tramp-cache.el (top): Pacify byte-compiler using
19896 `init-file-user' and `site-run-file'.
19897
19898 * net/trampver.el: Update release number.
19899
19900 2011-10-23 Chong Yidong <cyd@gnu.org>
19901
19902 * files.el (toggle-read-only): Remove obsolete comment about
19903 version control.
19904
19905 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19906 for toggle-read-only. Note that this hasn't called vc-next-action
19907 since 2008-05-02, though it wasn't documented at the time.
19908
19909 * vc/ediff-init.el (ediff-toggle-read-only-function):
19910 Use toggle-read-only.
19911
19912 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19913
19914 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19915 of c-parse-state.
19916
19917 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19918 correct faulty logical expression.
19919 (c-parse-state-state, c-record-parse-state-state):
19920 (c-replay-parse-state-state): New defvar/defuns.
19921 (c-debug-parse-state): Use new functions.
19922
19923 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19924
19925 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19926 last fix. Use window-in-direction correctly.
19927
19928 2011-10-21 Chong Yidong <cyd@gnu.org>
19929
19930 * progmodes/idlwave.el (idlwave-mode):
19931 * progmodes/vera-mode.el (vera-mode): No need to set
19932 require-final-newline; that's done in prog-mode.
19933 Suggested by Stefan Monnier.
19934
19935 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19936
19937 * mouse.el (mouse-drag-window-above)
19938 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19939 (mouse-drag-mode-line-1, mouse-drag-header-line)
19940 (mouse-drag-vertical-line-rightward-window): Remove.
19941 (mouse-drag-line): New function.
19942 (mouse-drag-mode-line, mouse-drag-header-line)
19943 (mouse-drag-vertical-line): Call mouse-drag-line.
19944 * window.el (window-at-side-p, windows-at-side): New functions.
19945
19946 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19947
19948 * tar-mode.el (tar-grind-file-mode):
19949 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19950
19951 2011-10-21 Chong Yidong <cyd@gnu.org>
19952
19953 * progmodes/idlwave.el (idlwave-mode):
19954 * progmodes/vera-mode.el (vera-mode):
19955 Use mode-require-final-newline.
19956
19957 2011-10-20 Glenn Morris <rgm@gnu.org>
19958
19959 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19960
19961 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19962
19963 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19964
19965 2011-10-20 Chong Yidong <cyd@gnu.org>
19966
19967 * emulation/cua-base.el (cua-mode):
19968 * mail/footnote.el (footnote-mode):
19969 * mail/mailabbrev.el (mail-abbrevs-mode):
19970 * net/xesam.el (xesam-minor-mode):
19971 * progmodes/bug-reference.el (bug-reference-mode):
19972 * progmodes/cap-words.el (capitalized-words-mode):
19973 * progmodes/compile.el (compilation-minor-mode)
19974 (compilation-shell-minor-mode):
19975 * progmodes/gud.el (gud-tooltip-mode):
19976 * progmodes/hideif.el (hide-ifdef-mode):
19977 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19978 * progmodes/subword.el (subword-mode):
19979 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19980 * progmodes/which-func.el (which-function-mode):
19981 * term/tvi970.el (tvi970-set-keypad-mode):
19982 * term/vt100.el (vt100-wide-mode):
19983 * textmodes/flyspell.el (flyspell-mode):
19984 * textmodes/ispell.el (ispell-minor-mode):
19985 * textmodes/nroff-mode.el (nroff-electric-mode):
19986 * textmodes/paragraphs.el (use-hard-newlines):
19987 * textmodes/refill.el (refill-mode):
19988 * textmodes/reftex.el (reftex-mode):
19989 * textmodes/rst.el (rst-minor-mode):
19990 * textmodes/sgml-mode.el (html-autoview-mode)
19991 (sgml-electric-tag-pair-mode):
19992 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19993 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19994 * emulation/crisp.el (crisp-mode):
19995 * emacs-lisp/eldoc.el (eldoc-mode):
19996 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19997 minor mode behavior.
19998
19999 2011-10-19 Juri Linkov <juri@jurta.org>
20000
20001 * descr-text.el (describe-char): Add #x2010 and #x2011 to
20002 the list of hard-coded chars with escape-glyph face.
20003
20004 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
20005
20006 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
20007
20008 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
20009
20010 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
20011 running process.
20012
20013 2011-10-19 Glenn Morris <rgm@gnu.org>
20014
20015 * vc/vc-bzr.el (vc-bzr-after-dir-status):
20016 Ignore ignored files. (Bug#9726)
20017
20018 2011-10-19 Chong Yidong <cyd@gnu.org>
20019
20020 Doc fix for minor modes, stating that an omitted argument enables
20021 the mode unconditionally when called from Lisp.
20022
20023 * abbrev.el (abbrev-mode):
20024 * allout.el (allout-mode):
20025 * autoinsert.el (auto-insert-mode):
20026 * autoarg.el (autoarg-mode, autoarg-kp-mode):
20027 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
20028 (global-auto-revert-mode):
20029 * battery.el (display-battery-mode):
20030 * composite.el (global-auto-composition-mode)
20031 (auto-composition-mode):
20032 * delsel.el (delete-selection-mode):
20033 * desktop.el (desktop-save-mode):
20034 * dired-x.el (dired-omit-mode):
20035 * dirtrack.el (dirtrack-mode):
20036 * doc-view.el (doc-view-minor-mode):
20037 * double.el (double-mode):
20038 * electric.el (electric-indent-mode, electric-pair-mode):
20039 * emacs-lock.el (emacs-lock-mode):
20040 * epa-hook.el (auto-encryption-mode):
20041 * follow.el (follow-mode):
20042 * font-core.el (font-lock-mode):
20043 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
20044 * help.el (temp-buffer-resize-mode):
20045 * hilit-chg.el (highlight-changes-mode)
20046 (highlight-changes-visible-mode):
20047 * hi-lock.el (hi-lock-mode):
20048 * hl-line.el (hl-line-mode, global-hl-line-mode):
20049 * icomplete.el (icomplete-mode):
20050 * ido.el (ido-everywhere):
20051 * image-file.el (auto-image-file-mode):
20052 * image-mode.el (image-minor-mode):
20053 * iswitchb.el (iswitchb-mode):
20054 * jka-cmpr-hook.el (auto-compression-mode):
20055 * linum.el (linum-mode):
20056 * longlines.el (longlines-mode):
20057 * master.el (master-mode):
20058 * mb-depth.el (minibuffer-depth-indicate-mode):
20059 * menu-bar.el (menu-bar-mode):
20060 * minibuf-eldef.el (minibuffer-electric-default-mode):
20061 * mouse-sel.el (mouse-sel-mode):
20062 * msb.el (msb-mode):
20063 * mwheel.el (mouse-wheel-mode):
20064 * outline.el (outline-minor-mode):
20065 * paren.el (show-paren-mode):
20066 * recentf.el (recentf-mode):
20067 * reveal.el (reveal-mode, global-reveal-mode):
20068 * rfn-eshadow.el (file-name-shadow-mode):
20069 * ruler-mode.el (ruler-mode):
20070 * savehist.el (savehist-mode):
20071 * scroll-all.el (scroll-all-mode):
20072 * scroll-bar.el (scroll-bar-mode):
20073 * server.el (server-mode):
20074 * shell.el (shell-dirtrack-mode):
20075 * simple.el (auto-fill-mode, transient-mark-mode)
20076 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
20077 (line-number-mode, column-number-mode, size-indication-mode)
20078 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
20079 * strokes.el (strokes-mode):
20080 * time.el (display-time-mode):
20081 * t-mouse.el (gpm-mouse-mode):
20082 * tool-bar.el (tool-bar-mode):
20083 * tooltip.el (tooltip-mode):
20084 * type-break.el (type-break-mode-line-message-mode)
20085 (type-break-query-mode):
20086 * view.el (view-mode):
20087 * whitespace.el (whitespace-mode, whitespace-newline-mode)
20088 (global-whitespace-mode, global-whitespace-newline-mode):
20089 * xt-mouse.el (xterm-mouse-mode): Doc fix.
20090
20091 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20092 Fix autogenerated docstring.
20093
20094 2011-10-19 Juri Linkov <juri@jurta.org>
20095
20096 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
20097 by checking environment variables "DESKTOP_SESSION" and
20098 "XDG_CURRENT_DESKTOP". (Bug#9779)
20099
20100 2011-10-19 Juri Linkov <juri@jurta.org>
20101
20102 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
20103 (browse-url-chromium-program, browse-url-chromium-arguments):
20104 New defcustoms.
20105 (browse-url-default-browser): Check for `browse-url-chromium' and
20106 call `browse-url-chromium-program'.
20107 (browse-url-chromium): New command. (Bug#9779)
20108
20109 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
20110
20111 * facemenu.el (list-colors-duplicates): On Windows, detect more
20112 duplicates by assuming that only colors matching "^System" are
20113 special "system colors". (Bug#9722)
20114
20115 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
20116
20117 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
20118 to distinguish the author from the committer.
20119
20120 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
20121
20122 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
20123
20124 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
20125
20126 * international/mule.el (sgml-html-meta-auto-coding-function):
20127 Add support for detecting encoding in HTML5 specified only as
20128 <meta charset="UTF-8">. Implementation just makes http-equiv and
20129 content-type parts from HTML4 encoding string optional. (Bug#9716)
20130
20131 2011-10-18 Glenn Morris <rgm@gnu.org>
20132
20133 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
20134
20135 2011-10-18 Chong Yidong <cyd@gnu.org>
20136
20137 * faces.el (cursor): Doc fix.
20138
20139 2011-10-17 Chong Yidong <cyd@gnu.org>
20140
20141 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
20142
20143 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
20144
20145 * dirtrack.el (dirtrack): Support shell buffers with path
20146 prefixes, e.g. tramp-based remote shells. (Bug#9647)
20147
20148 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
20149
20150 * json.el: Bump version to 1.3 and note change in History.
20151 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
20152
20153 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
20154
20155 * comint.el (comint-insert-input, comint-send-input)
20156 (comint-get-old-input-default, comint-backward-matching-input)
20157 (comint-next-prompt): Use nil instead of `input' for field property of
20158 past user input (bug#114).
20159
20160 * minibuffer.el (completion--replace): Inherit surrounding properties
20161 (bug#114).
20162 (minibuffer-complete-and-exit): Use it.
20163
20164 * comint.el (comint--table-subvert): Quote the all-completions output
20165 (bug#9160).
20166
20167 2011-10-17 Martin Rudalics <rudalics@gmx.at>
20168
20169 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
20170
20171 * menu-bar.el (menu-bar-file-menu): Add entry for making new
20172 window on right of selected. (Bug#9350) Reword other window
20173 entries and separate them from frame entries.
20174
20175 2011-10-15 Glenn Morris <rgm@gnu.org>
20176
20177 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
20178 Doc fixes.
20179
20180 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
20181
20182 * net/network-stream.el (network-stream-open-starttls):
20183 Improve detection of failure due to lack of TLS support.
20184
20185 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
20186 putting the input text in front and in bold.
20187
20188 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
20189
20190 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
20191
20192 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
20193 empty buffer.
20194
20195 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
20196 unread-command-events rather than pushing yet-another event.
20197
20198 2011-10-14 Eli Zaretskii <eliz@gnu.org>
20199
20200 * mail/sendmail.el (sendmail-query-once): Improve the wording of
20201 the explanation of the possible choices. Make the options passed
20202 to completing-read shorter.
20203
20204 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20205
20206 * textmodes/flyspell.el (flyspell-large-region): Make sure
20207 extended character mode is used if defined (Bug#1339).
20208
20209 2011-10-13 Eli Zaretskii <eliz@gnu.org>
20210
20211 * simple.el (what-cursor-position): Fix the display of the
20212 character info for LRE, LRO, RLE, and RLO characters by appending
20213 an invisible PDF.
20214
20215 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
20216
20217 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
20218 even in case of error; add debug spec; simplify data flow.
20219 (with-timeout-handler): Remove.
20220
20221 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
20222
20223 Fix Bug#6019, Bug#9315.
20224
20225 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
20226 complete `buffer-file-name', the local file name part could look
20227 remotely (for example on VMS).
20228
20229 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
20230 `tramp-run-real-handler'.
20231 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
20232 already quoted by '"'.
20233
20234 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
20235 Let `file-name-handler-alist' be nil, the local file name part
20236 could look remotely (for example on VMS).
20237
20238 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
20239
20240 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
20241 from here...
20242 (flyspell-post-command-hook): ...to here.
20243
20244 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20245
20246 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
20247 if not needed.
20248 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
20249 using completion. Protect against "slow" callers.
20250 Remove the "message hack".
20251
20252 2011-10-11 Juri Linkov <juri@jurta.org>
20253
20254 * isearch.el (isearch-lazy-highlight-word): New variable.
20255 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
20256 Use it. (Bug#9727)
20257
20258 2011-10-11 Glenn Morris <rgm@gnu.org>
20259
20260 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
20261 like f90-previous-statement does.
20262
20263 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20264
20265 * eshell/eshell.el (eshell-command): History should be saved
20266 only in interactive use, to avoid error.
20267
20268 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20269
20270 * minibuffer.el (completion-file-name-table): Fix last change,
20271 i.e. ignore normal errors but not the other ones.
20272
20273 2011-10-10 Martin Rudalics <rudalics@gmx.at>
20274
20275 * window.el (special-display-buffer-names)
20276 (special-display-regexps): Remove some remnants of earlier
20277 changes from doc-strings.
20278 (quit-windows-on): New function.
20279
20280 * vc/vc.el (vc-revert, vc-rollback):
20281 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20282 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
20283 (Bug#6183) (Bug#7074) (Bug#7447)
20284
20285 2011-10-09 Martin Rudalics <rudalics@gmx.at>
20286
20287 * window.el (frame-auto-hide-function): Add version tag.
20288 (Bug#9699)
20289
20290 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
20291
20292 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20293 condition.
20294
20295 2011-10-09 Leo Liu <sdl.web@gmail.com>
20296
20297 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20298 (Bug#9701)
20299
20300 2011-10-08 Glenn Morris <rgm@gnu.org>
20301
20302 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
20303 before the first code statement zero indent. (Bug#9690)
20304
20305 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
20306
20307 * simple.el (count-words-region): Always count in the region.
20308 Report the number of lines and characters too.
20309 (count-words): New command, which counts in the buffer if the
20310 region is inactive, as count-words-region used to.
20311 (count-words--message): New function. Handle plurals.
20312 (count-lines-region): Make it an alias for count-words-region.
20313
20314 * bindings.el (esc-map): Replace count-lines-region with
20315 count-words-region.
20316
20317 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20318
20319 * window.el (window--delete): Delete dedicated frame
20320 unconditionally when argument KILL is non-nil. (Bug#9699)
20321 (switch-to-buffer): Fix doc-string typo.
20322
20323 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20324
20325 * eshell/eshell.el (eshell-command): Avoid using hooks.
20326
20327 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20328
20329 * bindings.el ([M-left],[M-right]): Bind to left-word and
20330 right-word respectively.
20331
20332 2011-10-07 Glenn Morris <rgm@gnu.org>
20333
20334 * cus-start.el (debug-on-quit): Fix custom type.
20335
20336 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20337
20338 * subr.el (define-key-after): Clarify that the function is not
20339 useful for non-menu keymaps.
20340
20341 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20342
20343 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20344
20345 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20346 in current minibuffer (Fix bug with recursive minibuffers).
20347
20348 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20349
20350 * progmodes/gdb-mi.el (gdb): Doc fix.
20351
20352 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20353
20354 * window.el (frame-auto-hide-function): New option replacing
20355 frame-auto-delete. Suggested by Stefan Monnier.
20356 (window--delete): Call frame-auto-hide-function instead of
20357 investigating frame-auto-delete.
20358 (window-point-1, set-window-point-1): New functions.
20359 (window-in-direction, record-window-buffer, window-state-get-1)
20360 (display-buffer-record-window): Use window-point-1 instead of
20361 window-point.
20362 (set-window-buffer-start-and-point): Use set-window-point-1.
20363
20364 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20365
20366 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20367
20368 2011-10-05 Glenn Morris <rgm@gnu.org>
20369
20370 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20371 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20372
20373 2011-10-05 Leo Liu <sdl.web@gmail.com>
20374
20375 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20376 works with buffer object.
20377
20378 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20379
20380 * mpc.el (mpc-tool-bar-map): Add labels.
20381
20382 2011-10-04 Glenn Morris <rgm@gnu.org>
20383
20384 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20385
20386 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20387
20388 * window.el (window--delete): New function.
20389 (frame-auto-delete): Resuscitate option.
20390 (bury-buffer, replace-buffer-in-windows)
20391 (quit-window): Rewrite using window--delete.
20392 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20393 Pass display-buffer-mark-dedicated to window--display-buffer-2
20394 (Bug#9639).
20395
20396 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20397
20398 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20399 returns a list (bug#9554). Add remote file name completion.
20400 * comint.el (comint--table-subvert): Curry and get quote&unquote
20401 functions as arguments.
20402 (comint--complete-file-name-data): Adjust call accordingly.
20403 * pcomplete.el (pcomplete--table-subvert): Remove.
20404 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20405
20406 * minibuffer.el (completion-table-case-fold): Use currying.
20407 (completion--styles-type, completion--cycling-threshold-type):
20408 New constants.
20409 (completion-styles, completion-category-overrides)
20410 (completion-cycle-threshold): Use them.
20411 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20412 completion-table-case-fold.
20413
20414 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20415
20416 * minibuffer.el (completion-category-overrides): Fix type of styles
20417 and add more user friendly tags (bug#9660).
20418
20419 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20420
20421 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20422 (mule-input-method-string): New widget.
20423 (default-input-method, language-info-custom-alist): Use it.
20424
20425 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20426
20427 * pcomplete.el: Require comint.
20428 (pcomplete--common-suffix): Remove.
20429 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20430 (pcomplete--table-subvert): Sync with comint--table-subvert.
20431 (pcomplete--entries): Use comint-completion-file-name-table.
20432 * comint.el (comint-unquote-filename): Simplify.
20433 (comint-completion-file-name-table): New function (bug#9616).
20434 (comint--complete-file-name-data): Use it.
20435
20436 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20437 (pcmpl-gnu-tar-buffer): Remove.
20438 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20439 around. Make sure pcomplete-suffix-list is only changed temporarily.
20440 Don't look inside the tar's file if it's too large.
20441
20442 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20443
20444 * cus-edit.el (custom-mode-map):
20445 * epa.el (epa-key-list-mode-map):
20446 * man.el (Man-mode-map):
20447 * startup.el (splash-screen-keymap):
20448 * simple.el (special-mode-map): Use scroll-up-command and
20449 scroll-down-command.
20450
20451 * progmodes/idlw-help.el (idlwave-help-mode-map):
20452 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20453 * net/newst-plainview.el (newsticker-mode-map):
20454 * emulation/ws-mode.el (wordstar-mode-map):
20455 * emulation/vi.el (vi-com-map):
20456 * calc/calc-graph.el (calc-graph-show-dumb):
20457 * term/sun.el (terminal-init-sun):
20458 * term/ns-win.el (global-map):
20459 * progmodes/grep.el (grep-mode-map):
20460 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20461 * mail/rmail.el (rmail-mode-map):
20462 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20463
20464 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20465 custom-safe-themes as special.
20466
20467 2011-10-01 Julien Danjou <julien@danjou.info>
20468
20469 * notifications.el (notifications-notify): Fix docstring.
20470
20471 2011-10-01 Per Starbäck <per@starback.se>
20472
20473 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20474
20475 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20476
20477 * startup.el (command-line-1): Fix last fix by inserting
20478 initial-scratch-message into *scratch* before displaying it.
20479 (Bug#9605) and (Bug#9636)
20480
20481 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20482
20483 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20484 window is hscrolled, move by logical lines. (Bug#9607)
20485 (line-move-visual): Update the doc string to the above effect.
20486
20487 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20488
20489 * window.el (display-buffer-record-window): When WINDOW is the
20490 selected window use `point' instead of `window-point'. (Bug#9626)
20491
20492 * startup.el (command-line-1): Use insert-before-markers when
20493 inserting initial-scratch-message. (Bug#9605)
20494
20495 * help.el (help-window): Remove variable.
20496
20497 2011-09-29 Glenn Morris <rgm@gnu.org>
20498
20499 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20500
20501 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20502
20503 * descr-text.el (describe-char-categories): Accept category
20504 descriptions more than one line long.
20505
20506 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20507
20508 * simple.el (delete-trailing-whitespace): Fix last change.
20509
20510 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20511 Don't confuse "y => 3" as the beginning of a `y' operation.
20512
20513 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20514 object has more than 4 slots (bug#9613).
20515
20516 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20517
20518 * subr.el (with-output-to-temp-buffer):
20519 * net/quickurl.el (quickurl, quickurl-browse-url):
20520 Fix typos in docstrings.
20521
20522 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20523
20524 * minibuffer.el (completion-styles)
20525 (completion-category-overrides): Cross reference each other in doc
20526 strings.
20527
20528 2011-09-27 Glenn Morris <rgm@gnu.org>
20529
20530 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20531 to split-string. (Bug#9606)
20532
20533 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20534
20535 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20536 (bug#9615).
20537
20538 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20539
20540 * emacs-lisp/package.el (list-packages): Fix echo area message.
20541
20542 2011-09-27 Leo Liu <sdl.web@gmail.com>
20543
20544 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20545
20546 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20547
20548 * net/dbus.el (dbus-unregister-object): Don't release services for
20549 registered signals. (Bug#9581)
20550
20551 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20552
20553 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20554 function that picks between cfengine 2 and 3 support
20555 automatically. Update docs accordingly.
20556
20557 2011-09-22 Kenichi Handa <handa@m17n.org>
20558
20559 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20560 ZERO.
20561 (indian-itrans-v5-table-for-tamil): New variable.
20562 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20563
20564 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20565
20566 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20567 that's true if the current command involved collapsing of text.
20568 It's reset to false at the beginning of the next command.
20569 (allout-post-command-business): Move the cursor to the beginning
20570 of entry if the cursor is hidden and collapsing activity just
20571 happened.
20572
20573 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20574
20575 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20576 tracking (Bug#9541).
20577
20578 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20579
20580 * net/newst-reader.el (newsticker-html-renderer)
20581 (newsticker-show-news): Automatically load html rendering package
20582 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20583 because w3m-fill-column is let-bound" and the error "Symbol's value
20584 as variable is void: w3m-fill-column".
20585
20586 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20587
20588 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20589 Release services only if they are defined. (Bug#9581)
20590
20591 2011-09-23 Richard Stallman <rms@gnu.org>
20592
20593 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20594 distinguish start of paragraph from start of its text.
20595
20596 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20597
20598 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20599 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20600 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20601
20602 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20603
20604 * international/mule-diag.el (mule-diag): Insert a newline after
20605 each fontset description.
20606
20607 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20608
20609 * simple.el (delete-trailing-whitespace):
20610 Document last change; simplify.
20611
20612 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20613
20614 * simple.el (delete-trailing-whitespace): Also delete
20615 extra newlines at the end of the buffer.
20616
20617 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20618 (picture-newline): Use forward-line so as to ignore fields.
20619
20620 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20621
20622 * subr.el (with-wrapper-hook): Fix edebug spec.
20623
20624 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20625
20626 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20627 (bug#4538).
20628
20629 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20630
20631 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20632 Fix nasty bug using wrong cached values.
20633
20634 2011-09-23 Alan Mackenzie <acm@muc.de>
20635
20636 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20637
20638 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20639
20640 * window.el (pop-to-buffer): Ensure right window is selected if we
20641 chose another frame.
20642
20643 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20644
20645 * simple.el (what-cursor-position): Use get-char-property-change
20646 and next-single-char-property-change, to be able to show display
20647 properties that come from overlays as well as text properties.
20648
20649 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20650
20651 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20652
20653 * cmuscheme.el (run-scheme, switch-to-scheme):
20654 * cus-edit.el (customize-group, custom-buffer-create)
20655 (customize-browse):
20656 * info.el (info):
20657 * shell.el (shell):
20658 * mail/sendmail.el (mail):
20659 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20660
20661 2011-09-22 Richard Stallman <rms@gnu.org>
20662
20663 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20664 move back only to line beg, don't move back over blank lines.
20665
20666 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20667
20668 * files.el (copy-directory): Set directory attributes only in case
20669 they could be retrieved from the source directory. (Bug#9565)
20670
20671 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20672
20673 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20674 (hs-find-block-beginning, hs-hide-level-recursive):
20675 Ignore strings as well as comments. (Bug#9502)
20676
20677 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20678
20679 * progmodes/sql.el (sql-comint-postgres):
20680 Convert port number to a string. (Bug#9566)
20681
20682 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20683
20684 * window.el (quit-window): Undedicate window when switching to
20685 previous buffer. Reported by Thierry Volpiatto
20686 <thierry.volpiatto@gmail.com>.
20687 (special-display-popup-frame): When popping up a new frame reset
20688 its previous buffers to nil. Simplify code.
20689
20690 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20691
20692 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20693 and process filter, as done also in `shell-command'.
20694
20695 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20696
20697 * window.el (set-window-buffer-start-and-point):
20698 Call set-window-start with NOFORCE argument t.
20699 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20700 (quit-window): Reword doc-string. Handle new format of
20701 quit-restore parameter. Don't delete window if it has a
20702 previous buffer we can show instead of the present one.
20703 (display-buffer-record-window): Rewrite using a new format for
20704 the quit-restore window parameter
20705 (special-display-popup-frame, display-buffer-same-window)
20706 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20707 (display-buffer-pop-up-window, display-buffer-use-some-window):
20708 Adapt symbol passed to display-buffer-record-window.
20709 * help.el (help-window-setup): Handle new format of quit-restore
20710 parameter.
20711
20712 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20713
20714 * faces.el (face-list): Fix docstring (bug#9564).
20715
20716 * window.el (display-buffer--action-function-custom-type):
20717 Don't include internal functions in the Custom interface.
20718
20719 2011-09-20 Juri Linkov <juri@jurta.org>
20720
20721 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20722 (Info-forward-node, Info-backward-node, Info-next-preorder)
20723 (Info-last-preorder): Use it. (Bug#9528)
20724
20725 2011-09-20 Juri Linkov <juri@jurta.org>
20726
20727 * info.el (Info-last-preorder): Visit last menu item only when
20728 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20729
20730 2011-09-20 Julien Danjou <julien@danjou.info>
20731
20732 * password-cache.el (password-cache-remove): Remove entries even if the
20733 value is nil, so that password with a nil value (negative caching) is
20734 possible to invalidate.
20735
20736 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20737
20738 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20739 all whitespace around breakpoint. (Bug#9553)
20740 (f90-find-breakpoint): Only break at whitespace inside a comment.
20741
20742 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20743
20744 * minibuffer.el (completion-file-name-table): Keep track of errors.
20745 (completion-table-with-predicate): Handle the case where pred1 is nil.
20746 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20747
20748 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20749
20750 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20751 (debugger-return-value): Signal an error if the debugging context does
20752 not await any return value.
20753
20754 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20755 * image-mode.el (image-toggle-display-text)
20756 (image-toggle-display-image): Stay away from evil `intangible'.
20757
20758 2011-09-19 Leo Liu <sdl.web@gmail.com>
20759
20760 * replace.el (occur-revert-arguments): Make it permanent-local.
20761 (occur-mode): Don't call font-lock-defontify.
20762
20763 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20764
20765 * net/ldap.el (ldap-search-internal): Don't push empty search
20766 result (Bug#9508).
20767
20768 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20769
20770 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20771
20772 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20773
20774 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20775 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20776
20777 2011-09-18 Juri Linkov <juri@jurta.org>
20778
20779 * buff-menu.el (Buffer-menu-mode-map):
20780 * dired.el (dired-mode-map):
20781 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20782 (lisp-interaction-mode-map):
20783 * emacs-lisp/package.el (package-menu-mode-map):
20784 * epa.el (epa-key-list-mode-map):
20785 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20786 (menu-bar-options-menu):
20787 * outline.el (outline-mode-menu-bar-map):
20788 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20789 * vc/vc-dir.el (vc-dir-menu-map):
20790 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20791 Capitalize non-function content words in menu item strings.
20792
20793 * dired.el (dired-mode-map): Add menu item for
20794 `image-dired-dired-toggle-marked-thumbs'.
20795
20796 2011-09-18 Juri Linkov <juri@jurta.org>
20797
20798 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20799 to `isearch-case-fold-search' and restore its original value
20800 after the `isearch-mode' call.
20801
20802 2011-09-18 Juri Linkov <juri@jurta.org>
20803
20804 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20805 because `zgrep' returns 1 for successful matches (bug#9226).
20806
20807 2011-09-18 Juri Linkov <juri@jurta.org>
20808
20809 * info.el (Info-extract-menu-node-name): Check the second match
20810 for empty string (second test-case of bug#9528).
20811 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20812 intermediate nodes to the history (first test-case of bug#9528).
20813
20814 2011-09-18 Juri Linkov <juri@jurta.org>
20815
20816 * info.el (Info-mode-syntax-table): New variable.
20817 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20818
20819 2011-09-18 Juri Linkov <juri@jurta.org>
20820
20821 * info.el (Info-file-supports-index-cookies):
20822 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20823 outputs one more line for long file names (bug#4142).
20824
20825 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20826
20827 * newcomment.el (comment-normalize-vars): If prompting for
20828 comment-start, set comment-start-skip too (Bug#8424).
20829
20830 2011-09-18 Johan Bockgård <bojohan@gnu.org>
20831
20832 * icomplete.el: Fix previous fix of Bug#5849.
20833 (icomplete-mode): Don't set completion-show-inline-help.
20834 (icomplete-minibuffer-setup): Set completion-show-inline-help
20835 locally during icompletion.
20836
20837 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20838
20839 * woman.el (woman2-process-escapes): Don't delete unrecognized
20840 escapes (Bug#7843).
20841
20842 * files.el (inhibit-first-line-modes-regexps): Add image files.
20843 (hack-local-variables-prop-line): Return nil for malformed
20844 prop-lines (Bug#9044).
20845
20846 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20847
20848 * net/tramp.el (top): Don't require 'shell.
20849 (tramp-methods): Fix docstring.
20850 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20851 Return complete remote file name. Handle "smb" case.
20852 Use `tramp-tmpdir', if defined for the respective method.
20853 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20854
20855 * net/tramp-compat.el (top): Require 'shell.
20856
20857 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20858 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20859 `tramp-current-host'.
20860 (tramp-get-remote-tmpdir): Remove.
20861
20862 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20863 `tramp-tmpdir' entries.
20864 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20865 (tramp-smb-handle-file-attributes): Ignore errors.
20866 (tramp-smb-wait-for-output): Check also for process end.
20867
20868 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20869
20870 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20871 when sending QUIT (bug#9312).
20872
20873 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20874
20875 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20876 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20877 occur-mode-display-occurrence.
20878 (occur-edit-mode): Add usage message.
20879 (occur-cease-edit): New command.
20880 (occur-after-change-function): Use text properties to find the
20881 position of the prefix text.
20882 (occur-engine): Set stickiness of prefix text properties.
20883
20884 2011-09-17 Glenn Morris <rgm@gnu.org>
20885
20886 * progmodes/etags.el (complete-tag):
20887 Fix call to completion-in-region. (Bug#9526)
20888
20889 2011-09-17 Juri Linkov <juri@jurta.org>
20890
20891 * textmodes/ispell.el (ispell-word): Add to the error message
20892 the word, ispell program name and current dictionary (bug#9121).
20893 (ispell-tex-arg-end): Capitalize "error" in the error message.
20894
20895 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20896
20897 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20898 check. (Bug#4251)
20899
20900 2011-09-17 Juri Linkov <juri@jurta.org>
20901
20902 * window.el (window-safe-min-height, window-safe-min-width):
20903 Fix typos (followup to bug#9522).
20904
20905 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20906
20907 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20908
20909 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20910
20911 * simple.el (line-move): If goal-column is set, move by logical
20912 lines, not by display lines. (Bug#971)
20913 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20914 to reflect the above change.
20915
20916 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20917
20918 * image.el (imagemagick-register-types): Use regexp-opt.
20919
20920 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20921
20922 * window.el (display-buffer-base-action): Rename from
20923 display-buffer-default-action. Make default value empty.
20924 (display-buffer-overriding-action): Convert to defvar.
20925 (display-buffer-fallback-action): New var.
20926
20927 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20928
20929 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20930 declaration.
20931 (package--add-to-archive-contents): If there is a duplicate entry
20932 with an older version, remove it.
20933 (package-menu-mark-delete, package-menu-mark-install)
20934 (package-menu-mark-unmark): Make unused args optional.
20935 (package-menu-mark-obsolete-for-deletion):
20936 Use package-menu-get-status instead of a regexp search.
20937 (package-menu-get-status): Use tabulated-list-entry.
20938 (package-menu-mark-upgrades): New command.
20939 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20940 (package-menu-execute): Do installation before deletion.
20941 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20942 instead of checking major-mode.
20943 (package-menu--find-upgrades): New function.
20944
20945 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20946
20947 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20948 passwords in the log buffer.
20949 (smtpmail-process-filter): Update the process marker so that the
20950 "broken by peer" status message is inserted in the right place.
20951
20952 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20953
20954 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20955 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20956 bibtex-completion-at-point-function.
20957 (bibtex-completion-at-point-function): Use them.
20958
20959 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20960
20961 * mpc.el (mpc-constraints-tag-lookup): New function.
20962 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20963 also to browser "album|playlist".
20964
20965 2011-09-14 Juri Linkov <juri@jurta.org>
20966
20967 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20968 (isearch-edit-string): Use length of `isearch-string' when
20969 `isearch-fail-pos' returns nil.
20970 (isearch-message): Remove duplicate code and call
20971 `isearch-fail-pos' with arg `t'.
20972
20973 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20974
20975 * replace.el (occur-mode-goto-occurrence): Don't force using other
20976 window (Bug#9499).
20977
20978 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20979
20980 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20981
20982 * window.el (display-buffer-window): Remove.
20983 (display-buffer-record-window): Use help-setup window parameter
20984 instead of variable display-buffer-window.
20985 (display-buffer-function, special-display-buffer-names)
20986 (special-display-function): Mention help-setup parameter instead
20987 of display-buffer-window in doc-string.
20988 * help.el (help-window-setup): New argument help-window.
20989 Use help-window-setup parameter instead of display-buffer-window.
20990 Reword some messages.
20991 (with-help-window): Pass window used for displaying the buffer
20992 to help-window-setup. Don't set display-buffer-window.
20993
20994 2011-09-13 Glenn Morris <rgm@gnu.org>
20995
20996 * emacs-lisp/debug.el (debugger-make-xrefs):
20997 Preserve point. (Bug#9462)
20998
20999 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21000
21001 * window.el (window-deletable-p): Use next-frame.
21002
21003 2011-09-13 Martin Rudalics <rudalics@gmx.at>
21004
21005 * window.el (window-auto-delete): Remove.
21006 (window-deletable-p): Remove argument FORCE. Don't deal with
21007 dedication and previous buffers.
21008 (switch-to-prev-buffer): Don't delete window.
21009 (delete-windows-on): Delete a window's frame if and only if the
21010 window is dedicated.
21011 (replace-buffer-in-windows): Delete buffer's window or frame if
21012 and only if window is dedicated.
21013 (quit-window): Handle quit-restore as before last change.
21014 (bury-buffer): Delete window only if window-deletable-p returns t.
21015
21016 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21017
21018 * window.el (window-deletable-p): Never delete the last frame on a
21019 given terminal.
21020
21021 2011-09-13 Glenn Morris <rgm@gnu.org>
21022
21023 * help.el (describe-key-briefly): Copy previous standard-output change.
21024
21025 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
21026
21027 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
21028
21029 2011-09-13 Glenn Morris <rgm@gnu.org>
21030
21031 * emacs-lisp/lisp-mode.el (lisp-indent-function):
21032 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
21033
21034 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
21035
21036 * dired-aux.el (dired-mark-read-string): Don't return default
21037 value on empty input (Bug#9361).
21038 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
21039 Omit initial minibuffer contents.
21040 (dired-do-chmod): Signal an error on empty input.
21041 (dired-mark-read-string): Don't return default on empty input.
21042
21043 * files.el (file-modes-symbolic-to-number): Doc fix.
21044
21045 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
21046
21047 * international/mule-cmds.el (ucs-completions): Remove.
21048 (read-char-by-name): Use complete-with-action instead; add metadata.
21049
21050 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21051
21052 * window.el (display-buffer--action-function-custom-type)
21053 (display-buffer--action-custom-type): New vars.
21054 (display-buffer-alist, display-buffer-default-action)
21055 (display-buffer-overriding-action): Add defcustom types.
21056
21057 * frame.el (delete-other-frames): Doc fix (Bug#276).
21058
21059 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21060
21061 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
21062
21063 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21064
21065 Change modes that used same-window-* vars to use switch-to-buffer.
21066
21067 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
21068 Use switch-to-buffer.
21069
21070 * cus-edit.el (customize-group, custom-buffer-create)
21071 (customize-browse, custom-buffer-create-other-window):
21072 Use switch-to-buffer or switch-to-buffer-other-window.
21073
21074 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
21075 (Info-prev, Info-up, Info-speedbar-goto-node)
21076 (info-display-manual): Use switch-to-buffer.
21077 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
21078
21079 * mail/sendmail.el (mail): Use switch-to-buffer.
21080 (mail-recover): Use switch-to-buffer-other-window.
21081
21082 * cmuscheme.el (run-scheme, switch-to-scheme):
21083 * ielm.el (ielm):
21084 * shell.el (shell):
21085 * net/rlogin.el (rlogin):
21086 * net/telnet.el (telnet, rsh):
21087 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
21088
21089 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21090
21091 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
21092
21093 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21094
21095 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
21096 so don't mention it (bug#9301).
21097 (dired-sort-toggle-or-edit): Clarify string further.
21098
21099 * faces.el (face-spec-set-match-display): Make `(type graphic)'
21100 match `x', `w32' and `ns', like the manual says (bug#9029).
21101
21102 * subr.el (eval-after-load): Doc string clarification (bug#9125).
21103 (process-kill-buffer-query-function): Mention the buffer name in
21104 the query.
21105
21106 * image-mode.el (image-next-line): The line parameter is mandatory
21107 (bug#9258).
21108
21109 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
21110 which can be useful (bug#9301).
21111
21112 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
21113
21114 * subr.el (match-string): Mention that the current buffer should
21115 be the same as the search was done in (bug#9282).
21116
21117 * facemenu.el: Disable the remove-* commands if the mark isn't
21118 active (bug#9162).
21119
21120 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21121
21122 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
21123 of display-buffer.
21124 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
21125
21126 * replace.el (occur-mode-goto-occurrence)
21127 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
21128 and display-buffer.
21129
21130 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
21131 display-buffer.
21132
21133 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
21134 special-display and same-window variables.
21135 (mail-other-window): Use switch-to-buffer-other-window.
21136 (mail-other-frame): USe switch-to-buffer-other-frame.
21137
21138 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
21139 Use display-buffer-other-frame.
21140 (gdb-display-gdb-buffer): Use pop-to-buffer.
21141
21142 * progmodes/gud.el (gud-goto-info): Use info-other-window.
21143
21144 * progmodes/python.el: Don't set same-window-buffer-names.
21145
21146 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
21147
21148 * window.el (display-buffer-alist): Add *Python*.
21149
21150 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21151
21152 * window.el (display-buffer-alist): Add entry for buffers
21153 previously handled same-window-*.
21154 (display-buffer-alist, display-buffer-default-action)
21155 (display-buffer-overriding-action): Mark as risky.
21156 (display-buffer-alist): Document action function changes.
21157 (display-buffer--same-window-action)
21158 (display-buffer--other-frame-action): New variables.
21159 (switch-to-buffer, display-buffer-other-frame): Use them.
21160 (display-buffer): Rename reuse-frame entry to reusable-frames.
21161 (display-buffer-reuse-selected-window): Function deleted.
21162 (display-buffer-reuse-window): Handle reusable-frames alist entry.
21163 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
21164 (display-buffer-special): New function.
21165 (display-buffer--maybe-pop-up-frame-or-window): Rename from
21166 display-buffer-reuse-or-pop-window. Split off special-display
21167 part into display-buffer-special.
21168 (display-buffer-use-some-window): Don't perform any special
21169 pop-up-frames handling.
21170 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
21171 (display-buffer--maybe-same-window): Rename from
21172 display-buffer-maybe-same-window.
21173
21174 * info.el: Don't set same-window-regexps.
21175 (info-setup): New function.
21176 (info-other-window, info): Call it.
21177
21178 * cus-edit.el: Don't set same-window-regexps.
21179 (customize-group): New argument.
21180 (customize-group-other-window): Use it.
21181 (customize-face, customize-face-other-window): Likewise.
21182 (custom-buffer-create-other-window): Use pop-to-buffer directly.
21183
21184 * net/rlogin.el:
21185 * net/telnet.el:
21186 * progmodes/gud.el: Don't set same-window-regexps.
21187
21188 * cmuscheme.el:
21189 * ielm.el:
21190 * shell.el:
21191 * mail/sendmail.el:
21192 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
21193
21194 2011-09-10 Juri Linkov <juri@jurta.org>
21195
21196 * isearch.el (isearch-edit-string): Remove obsolete mention of
21197 `C-w' (`isearch-yank-word-or-char') from docstring.
21198 (isearch-query-replace): Fix typo in docstring (bug#9466).
21199
21200 2011-09-10 Juri Linkov <juri@jurta.org>
21201
21202 * paren.el (show-paren-function): Don't show escaped parens.
21203 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
21204
21205 2011-09-10 Eli Zaretskii <eliz@gnu.org>
21206
21207 * mail/sendmail.el (mml-to-mime, mml-attach-file)
21208 (mm-default-file-encoding): Remove autoload forms, they are
21209 replaced with autoload cookies in mml.el and mm-encode.el.
21210 (mail-add-attachment): New command.
21211 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
21212 (mail-mode): Mention mail-insert-file and mail-add-attachment in
21213 the doc string.
21214 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
21215
21216 2011-09-10 Reuben Thomas <rrt@sc3d.org>
21217
21218 * simple.el (count-words-region): Use buffer if there's no region
21219 (bug#9429).
21220
21221 2011-09-09 Juri Linkov <juri@jurta.org>
21222
21223 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
21224 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
21225 (wdired-isearch-filter-read-only): New function. (Bug#6362)
21226
21227 2011-09-09 Alan Mackenzie <acm@muc.de>
21228
21229 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
21230 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
21231
21232 2011-09-09 Eli Zaretskii <eliz@gnu.org>
21233
21234 Fix for Savannah bug#9392.
21235 * simple.el (mail-encode-mml): New defvar.
21236
21237 * mail/rmail.el (mail-encode-mml): Add a defvar.
21238 (rmail-enable-mime-composing): Default to t.
21239 (rmail-forward): Use MIME method of forwarding only if both
21240 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
21241 Set mail-encode-mml non-nil if the MIME method was used.
21242
21243 * mail/sendmail.el (mml-to-mime): Add autoload form.
21244 (mail-encode-mml): Add a defvar.
21245 (mail-mode): Make mail-encode-mml buffer-local and initialize it
21246 to nil.
21247 (mail-send): If mail-encode-mml is non-nil, run the outgoing
21248 message through mml-to-mime, and reset mail-encode-mml to nil.
21249
21250 2011-09-09 Glenn Morris <rgm@gnu.org>
21251
21252 * woman.el (woman-if-body): When processing an .el block,
21253 do not delete the next .el block as well. (Bug#9447)
21254 (woman-special-characters): Add oq, cq, and hy characters.
21255
21256 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21257
21258 * window.el (window-deletable-p): Make sure window is live before
21259 invoking window-prev-buffers.
21260
21261 2011-09-08 Leo Liu <sdl.web@gmail.com>
21262
21263 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
21264
21265 2011-09-08 Juri Linkov <juri@jurta.org>
21266
21267 * progmodes/compile.el (compilation-environment): Make it
21268 a defcustom (bug#8340).
21269
21270 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21271
21272 * window.el (frame-auto-delete): Rename to window-auto-delete.
21273 Make it control auto-deletion of windows and/or frames.
21274 (window-deletable-p): New argument FORCE. Rewrite conditions
21275 for deleting window/frame. (Bug#9419)
21276 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21277 Rewrite handling of case when window/frame can be deleted.
21278 (delete-windows-on): Call window-deletable-p with new FORCE
21279 argument t. (Bug#9456)
21280
21281 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
21282
21283 * help-mode.el (help-mode): Restore autoload.
21284
21285 2011-09-07 Juri Linkov <juri@jurta.org>
21286
21287 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21288 `compilation-environment'. Set buffer-local
21289 `compilation-environment' to `thisenv' later after (funcall mode).
21290 (Bug#8340)
21291
21292 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
21293 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21294 instead of replacing its value. (Bug#8340)
21295
21296 2011-09-07 Juri Linkov <juri@jurta.org>
21297
21298 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21299 based on text properties put by `grep-filter' instead of matching
21300 escape sequences.
21301 (grep-mode): Set buffer-local `compilation-error-screen-columns'
21302 to the value of `grep-error-screen-columns' (bug#9438).
21303
21304 2011-09-07 Juri Linkov <juri@jurta.org>
21305
21306 * simple.el (next-error-highlight, next-error-highlight-no-select):
21307 Doc fix (bug#9432).
21308
21309 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21310
21311 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21312 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21313
21314 2011-09-07 Leo Liu <sdl.web@gmail.com>
21315
21316 * net/rcirc.el (rcirc-mode): Conditionally initialize
21317 rcirc-input-ring.
21318
21319 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21320
21321 * emacs-lisp/find-func.el (find-function-C-source): Only set
21322 find-function-C-source-directory after checking that we found a source
21323 file there (bug#9440).
21324
21325 2011-09-06 Alan Mackenzie <acm@muc.de>
21326
21327 * isearch.el (isearch-other-meta-char): Wherever a key list is
21328 unread, "unread" the prefix arg, too. This fixes bug #8901.
21329
21330 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21331
21332 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21333
21334 2011-09-05 Juri Linkov <juri@jurta.org>
21335
21336 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21337
21338 2011-09-05 Juri Linkov <juri@jurta.org>
21339
21340 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21341 keeping point where processing of grep matches begins, and
21342 continue to delete remaining escape sequences from the same point.
21343 (grep-filter): Make leading zero optional in "0?1;31m" because
21344 git-grep emits "\033[1;31m" escape sequences unlike expected
21345 "\033[01;31m" as GNU Grep does (bug#9408).
21346 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21347
21348 2011-09-05 Juri Linkov <juri@jurta.org>
21349
21350 * subr.el (y-or-n-p): Capitalize "yes".
21351
21352 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21353
21354 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21355 `tramp-cache-unload-hook' where appropriate.
21356 (tramp-methods): Rename `tramp-remote-sh' to
21357 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21358 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21359
21360 * net/tramp-sh.el (top): Don't require 'shell.
21361 (tramp-methods): Add `tramp-remote-shell' and
21362 `tramp-remote-shell-args' entries.
21363 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21364 (tramp-sh-handle-shell-command): Remove.
21365 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21366 Use `tramp-remote-shell'.
21367
21368 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21369
21370 * mail/sendmail.el (sendmail-query-once-function): Delete.
21371 (sendmail-query-once): Save directly to send-mail-function.
21372 Update message-send-mail-function too.
21373
21374 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21375
21376 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21377
21378 * progmodes/python.el (python-mode-map): Use correct function to
21379 start python interpreter from menu-bar (as reported by Geert
21380 Kloosterman).
21381 (inferior-python-mode-map): Fix typo.
21382 (python-shell-map): Remove.
21383
21384 2011-09-03 Deniz Dogan <deniz@dogan.se>
21385
21386 * net/rcirc.el (rcirc-print): Simplify code for
21387 rcirc-scroll-show-maximum-output. There is no need to walk
21388 through all windows to find the right one.
21389
21390 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21391
21392 * help.el (help-return-method): Doc fix.
21393
21394 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21395
21396 * window.el (window-deletable-p): Don't return a non-nil value
21397 when there's a buffer that was shown in the window before.
21398 (Bug#9419)
21399 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21400 Set window's previous buffers to nil.
21401
21402 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21403
21404 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21405 newline before and after the tag line, so it doesn't interfere
21406 with determining the paragraph direction of bidirectional text.
21407
21408 2011-09-03 Leo Liu <sdl.web@gmail.com>
21409
21410 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21411
21412 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21413
21414 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21415 (pop-to-buffer): Change interactive spec. Pass second argument
21416 directly to display-buffer.
21417 (display-buffer): Fix interactive spec. Use functionp to
21418 distinguish between a function and a list of functions.
21419
21420 * abbrev.el (edit-abbrevs):
21421 * arc-mode.el (archive-extract):
21422 * autoinsert.el (auto-insert):
21423 * bookmark.el (bookmark-bmenu-list):
21424 * files.el (find-file):
21425 * view.el (view-buffer):
21426 * progmodes/compile.el (compilation-goto-locus):
21427 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21428
21429 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21430
21431 * window.el (display-buffer-alist): Doc fix.
21432 (display-buffer): Add docstring. Don't treat
21433 display-buffer-default specially.
21434 (display-buffer-reuse-selected-window)
21435 (display-buffer-same-window, display-buffer-maybe-same-window)
21436 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21437 (display-buffer-pop-up-window)
21438 (display-buffer-reuse-or-pop-window)
21439 (display-buffer-use-some-window): New functions.
21440 (display-buffer-default-action): Use them.
21441 (display-buffer-default): Delete.
21442 (pop-to-buffer-1): Fix choice of actions.
21443
21444 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21445
21446 * minibuffer.el (completion--insert-strings): Don't get confused by
21447 completion entries that end with an LF char.
21448
21449 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21450
21451 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21452
21453 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21454
21455 * window.el (display-buffer): Restore interactive spec.
21456 (display-buffer-same-window, display-buffer-other-window):
21457 New functions.
21458 (pop-to-buffer-1): New function. Use the above.
21459 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21460 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21461
21462 * view.el (view-buffer-other-window, view-buffer-other-frame):
21463 Just use pop-to-buffer.
21464
21465 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21466
21467 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21468
21469 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21470
21471 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21472
21473 2011-08-31 Richard Stallman <rms@gnu.org>
21474
21475 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21476 of the separation of rmail-view-buffer from rmail-buffer.
21477 If you say no to "replace original", the decrypt is in the
21478 view buffer. If you say yes, the decrypt goes into the
21479 rmail buffer also.
21480
21481 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21482
21483 * window.el (display-buffer-window): Rewrite doc-string.
21484 (display-buffer-record-window): New function.
21485 (display-buffer-macro-specifiers)
21486 (display-buffer-even-window-sizes, display-buffer-set-height)
21487 (display-buffer-set-width, display-buffer-in-window)
21488 (display-buffer-reuse-window, display-buffer-split-specifiers)
21489 (display-buffer-side-specifiers, display-buffer-split-window-1)
21490 (display-buffer-split-window, display-buffer-split-atom-window)
21491 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21492 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21493 (display-buffer-other-window-means-other-frame)
21494 (display-buffer-normalize-special)
21495 (display-buffer-normalize-default)
21496 (display-buffer-normalize-argument)
21497 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21498 (display-buffer-normalize-specifiers, display-buffer-frame)
21499 (display-buffer-same-window, display-buffer-same-frame)
21500 (display-buffer-other-window)
21501 (display-buffer-same-frame-other-window)
21502 (display-buffer-other-frame, pop-to-buffer-same-window)
21503 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21504 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21505 (switch-to-buffer-same-frame)
21506 (switch-to-buffer-other-window-same-frame)
21507 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21508 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21509 (display-buffer-alist-set): Remove.
21510 (display-buffer-function, special-display-buffer-names)
21511 (special-display-regexps, special-display-function):
21512 In doc-string refer to display-buffer-window and quit-restore
21513 parameter.
21514 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21515 (special-display-frame-alist, special-display-popup-frame)
21516 (same-window-buffer-names, same-window-regexps, same-window-p)
21517 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21518 (split-window-preferred-function, split-height-threshold)
21519 (split-width-threshold, window-splittable-p)
21520 (split-window-sensibly, window--try-to-split-window)
21521 (window--frame-usable-p, even-window-heights)
21522 (window--even-window-heights, window--display-buffer-1)
21523 (window--display-buffer-2, display-buffer-other-frame):
21524 Restore old Emacs 23 code, order and doc-strings where applicable.
21525 (display-buffer-default, display-buffer-assq-regexp): New functions.
21526 (display-buffer-alist): Rewrite doc-string.
21527 (display-buffer-default-action)
21528 (display-buffer-overriding-action): New variables.
21529 (display-buffer, switch-to-buffer): Rewrite.
21530 (pop-to-buffer): Restore Emacs 23 behavior but use
21531 window-normalize-buffer-to-display.
21532 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21533 Restore Emacs 23 behavior but use
21534 window-normalize-buffer-to-switch-to.
21535 (pop-to-buffer-same-window): Rewrite.
21536 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21537 Rewrite using Emacs 23 options.
21538
21539 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21540
21541 * net/tramp.el (tramp-root-regexp): Remove.
21542 (tramp-completion-file-name-regexp-unified)
21543 (tramp-completion-file-name-regexp-separate)
21544 (tramp-completion-file-name-regexp-url): Don't use leading volume
21545 letter on w32 systems. (Bug#5303, Bug#9311)
21546 (tramp-drop-volume-letter): Simplify definition.
21547 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21548
21549 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21550
21551 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21552 (bug#9356).
21553
21554 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21555
21556 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21557
21558 2011-08-29 Juri Linkov <juri@jurta.org>
21559
21560 * isearch.el (isearch-done): Don't display message "Mark saved"
21561 when arg `edit' is non-nil to prevent its flicker in the echo area.
21562
21563 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21564
21565 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21566 obsolete packages for deletion.
21567
21568 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21569
21570 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21571 (help-mode): Derive help-mode from special-mode. Don't invoke
21572 view-mode from help-mode.
21573 (help-xref-override-view-map): Remove.
21574 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21575 view-mode is not used anymore.
21576
21577 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21578
21579 * server.el (server-port): Doc fix.
21580
21581 * cus-theme.el (custom-theme-choose-mode): Inherit from
21582 special-mode (Bug#9124).
21583 (custom-theme-choose-mode-map): Add special-mode to parent.
21584
21585 2011-08-28 Alan Mackenzie <acm@muc.de>
21586
21587 * progmodes/cc-fonts.el
21588 (c-make-font-lock-BO-decl-search-function): New function.
21589 (c-basic-matchers-after - "Fontify the clauses after various
21590 keywords"): Extract the three keyword lists for the 3 erroneous
21591 constructs from the list of four, and use the new function above
21592 in place of an old one.
21593
21594 2011-08-28 Deniz Dogan <deniz@dogan.se>
21595
21596 * net/rcirc.el (rcirc-insert-prev-input)
21597 (rcirc-insert-next-input): Remove unused argument.
21598
21599 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21600
21601 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21602
21603 2011-08-27 Alan Mackenzie <acm@muc.de>
21604
21605 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21606 handle function pointer parameters properly.
21607
21608 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21609
21610 * window.el (display-buffer-reuse-window): Fix case where
21611 selected window was reused with non-nil OTHER-WINDOW argument.
21612 (Bug#9381)
21613
21614 2011-08-27 Deniz Dogan <deniz@dogan.se>
21615
21616 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21617 oftc's NickServ messages.
21618
21619 2011-08-27 Glenn Morris <rgm@gnu.org>
21620
21621 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21622
21623 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21624
21625 * emacs-lisp/package.el (package-install): Call package-initialize
21626 if called interactively.
21627
21628 2011-08-26 Leo Liu <sdl.web@gmail.com>
21629
21630 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21631
21632 2011-08-25 Juri Linkov <juri@jurta.org>
21633
21634 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21635 `search-whitespace-regexp' (bug#9364).
21636
21637 2011-08-25 Juri Linkov <juri@jurta.org>
21638
21639 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21640 `regexp-search-ring' to their global values to protect from
21641 updating by `read-from-minibuffer' (bug#9185).
21642
21643 2011-08-25 Juri Linkov <juri@jurta.org>
21644
21645 * textmodes/ispell.el (ispell-command-loop): Add newline
21646 at the end of the "Use option `i'..." line.
21647
21648 2011-08-25 Juri Linkov <juri@jurta.org>
21649
21650 * battery.el (display-battery-mode): If `battery-status-function'
21651 or `battery-mode-line-format' is nil, display the message and set
21652 `display-battery-mode' to nil (bug#9363).
21653
21654 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21655
21656 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21657 bidi-string-mark-left-to-right; they are unnecessary now.
21658
21659 2011-08-25 Deniz Dogan <deniz@dogan.se>
21660
21661 * net/quickurl.el: Documentation typo fixes.
21662
21663 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21664
21665 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21666
21667 2011-08-25 Glenn Morris <rgm@gnu.org>
21668
21669 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21670
21671 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21672 (smtpmail-via-smtp): Handle nil response from smtp.
21673
21674 2011-08-24 Juri Linkov <juri@jurta.org>
21675
21676 * proced.el (proced-marked): Inherit from `error' instead of
21677 `font-lock-warning-face'.
21678
21679 * ibuffer.el (ibuffer-marked-face): Change default face from
21680 `font-lock-warning-face' to `warning'.
21681 (ibuffer-deletion-face): Change default face from
21682 `font-lock-type-face' to `error'.
21683
21684 * battery.el (battery-update): Use the face `error' instead of
21685 `font-lock-warning-face' (bug#6117).
21686
21687 2011-08-24 Juri Linkov <juri@jurta.org>
21688
21689 * faces.el (success): Change face color from "Green3" to
21690 "ForestGreen" on light background (bug#9353).
21691
21692 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21693
21694 * window.el (quit-window): Rename from quit-restore-window.
21695 Use same arglist as old quit-window.
21696 (frame-auto-delete): Doc fix.
21697
21698 * view.el (view-mode-exit): Use quit-window.
21699
21700 2011-08-24 Juri Linkov <juri@jurta.org>
21701
21702 * isearch.el (isearch-ring-adjust1): Start visiting previous
21703 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21704 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21705 for empty search string (when the last search string is reused
21706 automatically) to adjust the isearch ring to the last element and
21707 prepare the correct index for further M-p commands (bug#9185).
21708
21709 2011-08-24 Kenichi Handa <handa@m17n.org>
21710
21711 * international/ucs-normalize.el: If decomposition property of
21712 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21713 nil.
21714 (nfd, nfkd): Likewise.
21715
21716 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21717
21718 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21719 from process filters aren't reliably transmitted to the surrounding
21720 accept-process-output.
21721 (mpc-proc-check): New function.
21722 (mpc-proc-sync): Use it (bug#8293)
21723
21724 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21725
21726 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21727 Add compatibility functions (bug#9313).
21728
21729 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21730
21731 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21732
21733 * international/uni-bidi.el: Regenerate.
21734
21735 2011-08-23 Kenichi Handa <handa@m17n.org>
21736
21737 * international/charprop.el:
21738 * international/uni-bidi.el:
21739 * international/uni-category.el:
21740 * international/uni-combining.el:
21741 * international/uni-comment.el:
21742 * international/uni-decimal.el:
21743 * international/uni-decomposition.el:
21744 * international/uni-digit.el:
21745 * international/uni-lowercase.el:
21746 * international/uni-mirrored.el:
21747 * international/uni-name.el:
21748 * international/uni-numeric.el:
21749 * international/uni-old-name.el:
21750 * international/uni-titlecase.el:
21751 * international/uni-uppercase.el: Regenerate.
21752
21753 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21754
21755 * help.el (help-window-setup): Fix message displayed when other
21756 window is reused. (Bug#9341)
21757
21758 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21759
21760 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21761 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21762
21763 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21764 Mark obsolete.
21765 * shell.el (shell-parse-pcomplete-arguments): New function.
21766 (shell-completion-vars): Use it instead (bug#9160).
21767
21768 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21769
21770 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21771 strings and comments (bug#9333).
21772
21773 * emacs-lisp/debug.el (debug-arglist): New function.
21774 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21775 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21776
21777 2011-08-22 Juri Linkov <juri@jurta.org>
21778
21779 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21780 Revert regexp that highlights output switches to its old
21781 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21782
21783 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21784 to check for empty output (bug#9226).
21785
21786 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21787
21788 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21789 symbol-constituent as the default, as that stops font-lock from
21790 working properly (Bug#8843).
21791
21792 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21793
21794 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21795 `coding-system-for-*' around the process open call to avoid
21796 auth-source side effects.
21797 (smtpmail-try-auth-methods): Expand the secret password.
21798 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21799 probe hangs.
21800
21801 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21802
21803 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21804
21805 * emacs-lisp/find-func.el (find-function-noselect): New arg
21806 lisp-only.
21807
21808 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21809 signal an error for built-in functions (Bug#6664).
21810
21811 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21812
21813 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21814 (smtpmail-try-auth-methods): Use it.
21815
21816 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21817
21818 * font-lock.el (font-lock-fontify-region)
21819 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21820 (font-lock-default-unfontify-buffer)
21821 (font-lock-default-fontify-region)
21822 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21823
21824 * progmodes/compile.el (compilation-error-properties):
21825 Fix confusion between file struct and message struct (Bug#9319).
21826 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21827 `ant' regexp.
21828
21829 * net/browse-url.el (browse-url-firefox): Don't call
21830 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21831
21832 2011-08-20 Glenn Morris <rgm@gnu.org>
21833
21834 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21835
21836 * tutorial.el (tutorial--default-keys): Update some default bindings.
21837
21838 * files.el (hack-local-variables): Fully ignore case for "mode:".
21839
21840 2011-08-20 Alan Mackenzie <acm@muc.de>
21841
21842 Resolve invalid use of a regexp in regexp-opt.
21843
21844 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21845 detection for a java annotation.
21846
21847 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21848 detection for a java annotation.
21849
21850 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21851 handling for java.
21852 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21853
21854 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21855
21856 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21857 (Bug#9274).
21858
21859 2011-08-20 Alan Mackenzie <acm@muc.de>
21860
21861 Fontify CPP expressions correctly when starting in the middle of
21862 such a construct. Mainly for when jit-lock etc. starts a chunk
21863 here.
21864
21865 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21866 variable.
21867 (c-make-font-lock-search-form): New function, extracted from
21868 c-make-font-lock-search-function.
21869 (c-make-font-lock-search-function): Use the above function.
21870 (c-make-font-lock-context-search-function): New function.
21871 (c-cpp-matchers): Enhance the preprocessor expression case with
21872 the above function
21873 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21874 which takes an expression.
21875
21876 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21877
21878 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21879
21880 * window.el (display-buffer-reuse-window)
21881 (display-buffer-pop-up-window): Don't reuse or split a side
21882 window.
21883
21884 2011-08-19 Glenn Morris <rgm@gnu.org>
21885
21886 * files.el (hack-local-variables-prop-line, hack-local-variables):
21887 Downcase "Mode:". (Bug#9331)
21888
21889 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21890
21891 * international/characters.el: Add L and R categories.
21892
21893 * subr.el (bidi-string-mark-left-to-right): Rename from
21894 string-mark-left-to-right. Use category search.
21895
21896 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21897
21898 2011-08-18 Juri Linkov <juri@jurta.org>
21899
21900 * faces.el (error, warning, success): New faces with definitions
21901 copied from old default values of `font-lock-warning-face',
21902 `compilation-warning', `compilation-info' (bug#6117).
21903
21904 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21905
21906 * progmodes/compile.el (compilation-error): Inherit from `error'.
21907 (compilation-warning): Inherit from `warning'.
21908 (compilation-info): Inherit from `success'.
21909
21910 * dired.el (dired-marked): Inherit from `warning'.
21911 (dired-flagged): Inherit from `error'.
21912
21913 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21914
21915 * mail/smtpmail.el (auth-source): Require to avoid problems with
21916 binding variables (bug#9298). Also clean up some unused
21917 autoloads.
21918
21919 * net/network-stream.el (network-stream-open-starttls):
21920 Support using starttls.el without using gnutls-cli.
21921
21922 2011-08-17 Juri Linkov <juri@jurta.org>
21923
21924 * progmodes/grep.el (rgrep): Handle the case when
21925 `grep-find-command' is a cons cell (bug#9278).
21926
21927 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21928
21929 * window.el (display-buffer-pop-up-frame): Run frame creation
21930 function with BUFFER current (as special-display-popup-frame
21931 does). Reported by Drew Adams.
21932
21933 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21934
21935 * epa-mail.el: Simplify GnuPG group expansion using
21936 epg-expand-group.
21937 (epa-mail-group-alist, epa-mail-group-modtime)
21938 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21939 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21940 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21941 Remove.
21942
21943 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21944
21945 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21946
21947 2011-08-16 Alan Mackenzie <acm@muc.de>
21948
21949 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21950 Correct, to avoid the inside of macros.
21951
21952 2011-08-16 Richard Stallman <rms@gnu.org>
21953
21954 * epa-mail.el: Handle GnuPG group definitions.
21955 (epa-mail-group-alist, epa-mail-group-modtime)
21956 (epa-mail-gnupg-conf-file): New variables.
21957 (epa-mail-parse-groups, epa-mail-sync-groups)
21958 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21959 (epa-mail-expand-recipients): New functions.
21960 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21961
21962 * mail/rmail.el (rmail-epa-decrypt): New command.
21963
21964 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21965 Don't bind buffer-read-only, just inhibit-read-only.
21966 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21967 (epa-decrypt-armor-in-region): Make error message clearer.
21968
21969 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21970
21971 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21972 and "a2b" to "ab" for `prefix'.
21973
21974 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21975
21976 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21977 filter groups.
21978 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21979 Fourquet (Bug#8804).
21980
21981 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21982
21983 * startup.el (argi): Declare as global variable (bug#9275).
21984
21985 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21986
21987 * subr.el (string-mark-left-to-right): Search the entire string
21988 for RTL script, not just the terminating character. Doc fix.
21989
21990 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21991
21992 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21993 New function.
21994 (js--regexp-literal, js-syntax-propertize-function): Remove.
21995 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21996 (js-mode-map): Don't rebind electric keys.
21997 (js-insert-and-indent): Remove.
21998 (js-mode): Setup electric-layout and electric-indent instead.
21999
22000 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
22001
22002 2011-08-12 Daiki Ueno <ueno@unixuser.org>
22003
22004 * epa.el (epa-progress-callback-function): Fix the logic of
22005 displaying progress.
22006 * epa-file.el (epa-file-insert-file-contents): Make progress
22007 display more user-friendly.
22008 (epa-file-write-region): Ditto.
22009
22010 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
22011
22012 * subr.el (string-mark-left-to-right): New function.
22013
22014 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
22015 Use string-mark-left-to-right.
22016 (list-buffers-noselect): Caller changed.
22017
22018 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22019 Use string-mark-left-to-right.
22020 (tabulated-list-print): Recenter after moving point.
22021
22022 2011-08-10 Juri Linkov <juri@jurta.org>
22023
22024 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
22025 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
22026 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
22027
22028 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
22029
22030 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
22031 (Bug#7554).
22032
22033 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
22034
22035 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
22036 character. (Bug#6594)
22037
22038 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
22039
22040 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
22041 (image-dired--with-db-file): New macro.
22042 (image-dired-write-tags, image-dired-remove-tag)
22043 (image-dired-create-gallery-lists, image-dired-write-comments)
22044 (image-dired-get-comment, image-dired-mark-tagged-files)
22045 (image-dired-list-tags, image-dired-gallery-generate): Use it.
22046 (image-dired-gallery-generate): Use insert-file-contents.
22047
22048 * time.el (display-time-world-list, display-time-world-display):
22049 * time-stamp.el (time-stamp-string):
22050 * vc/add-log.el (add-change-log-entry): Use setenv instead of
22051 set-time-zone-rule (Bug#7337).
22052
22053 2011-08-08 Daiki Ueno <ueno@unixuser.org>
22054
22055 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
22056 (epg-error-to-string, epg-errors-to-string): New function.
22057 (epg-wait-for-completion): Reverse errors list.
22058 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
22059 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
22060 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
22061 (epg-sign-keys, epg-generate-key-from-file)
22062 (epg-generate-key-from-string): Format errors by using
22063 epg-errors-to-string (bug#9255).
22064 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
22065
22066 2011-08-07 Juri Linkov <juri@jurta.org>
22067
22068 * faces.el (list-faces-display): Remove extra angle bracket
22069 from `help-mode-map'.
22070
22071 * info.el (Info-history-toc-nodes): Doc fix.
22072
22073 * longlines.el (longlines-mode): Doc fix.
22074
22075 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
22076
22077 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
22078 of statements and in a few more cases (bug#9183).
22079
22080 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
22081 New functions.
22082 (cl-transform-lambda): Use them (bug#9239).
22083
22084 2011-08-05 Martin Rudalics <rudalics@gmx.at>
22085
22086 * window.el (display-buffer-same-window)
22087 (display-buffer-same-frame, display-buffer-other-window)
22088 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22089 (pop-to-buffer-other-window)
22090 (pop-to-buffer-same-frame-other-window)
22091 (pop-to-buffer-other-frame): Make them defuns.
22092 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
22093
22094 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22095
22096 * subr.el (make-composed-keymap): Move from C. Change calling
22097 convention, and improve docstring to bring attention to a subtle point.
22098 * minibuffer.el (completing-read-default): Adjust accordingly.
22099
22100 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
22101
22102 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
22103 (tramp-open-shell): Use `tramp-shell-quote-argument'.
22104
22105 * net/trampver.el: Update release number.
22106
22107 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22108
22109 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
22110 "in" (bug#9190).
22111
22112 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22113
22114 * mail/sendmail.el (sendmail-query-once): Restore the current
22115 buffer after querying (bug#9074).
22116
22117 * dired.el (dired-flagged): Use different faces for marked and
22118 flagged files (bug#6117).
22119
22120 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
22121 (bug#4433).
22122
22123 * ido.el (ido-mode): Switch off the message if called
22124 non-interactively.
22125
22126 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
22127 before 587, since it appears that that's more likely to work for
22128 more people.
22129
22130 * cus-edit.el (custom-file): When running under emacs -q, always
22131 refuse to save the customizations, even if the .emacs file doesn't
22132 exist.
22133
22134 * info.el: Remove the `Info-beginning-of-buffer' function
22135 (bug#8325).
22136
22137 * net/network-stream.el (network-stream-open-starttls):
22138 Use `starttls-available-p' to see whether starttls.el can be used.
22139
22140 2011-08-01 Martin Rudalics <rudalics@gmx.at>
22141
22142 * window.el (display-buffer-in-window): Don't set dedicated status
22143 of window here (Bug#9215).
22144 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
22145 (display-buffer-pop-up-side-window)
22146 (display-buffer-in-side-window): Set dedicated status of window here.
22147
22148 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
22149
22150 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
22151 before binding generated-autoload-file.
22152
22153 2011-08-01 Deniz Dogan <deniz@dogan.se>
22154
22155 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
22156
22157 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
22158
22159 Sync with Tramp 2.2.2.
22160
22161 * net/trampver.el: Update release number.
22162
22163 2011-07-30 Juri Linkov <juri@jurta.org>
22164
22165 * dired-aux.el (dired-touch-initial): Remove function.
22166 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
22167 current time, and `default' to the last modification time of the
22168 current marked file (bug#6887).
22169
22170 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
22171
22172 * simple.el (goto-line): Use string-to-number to provide a
22173 numeric argument to read-number (bug#9163).
22174
22175 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
22176
22177 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
22178 connection process, it could be nil.
22179
22180 2011-07-27 Leo Liu <sdl.web@gmail.com>
22181
22182 Simplify url handling in rcirc-mode.
22183
22184 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
22185 (rcirc-browse-url-at-mouse): Remove.
22186 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
22187
22188 2011-07-26 Alan Mackenzie <acm@muc.de>
22189
22190 Fontify bitfield declarations properly.
22191
22192 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
22193 (c-symbol-chars): Now exported as a lang variable.
22194 (c-not-primitive-type-keywords): New lang variable.
22195
22196 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
22197 QT keyword "more" to prevent "more slots: ...." being spuriously
22198 parsed as a bitfield declaration.
22199
22200 * progmodes/cc-engine.el (c-beginning-of-statement-1):
22201 Refactor and enhance to handle bitfield declarations.
22202 (c-punctuation-in): New function.
22203 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
22204 declarations properly.
22205
22206 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
22207
22208 * calendar/icalendar.el (icalendar--all-events): Take care of
22209 multiple vcalendars in a single file.
22210 (icalendar--convert-float-to-ical): Checkdoc fixes.
22211
22212 2011-07-25 Deniz Dogan <deniz@dogan.se>
22213
22214 * image.el (insert-image): Clarifying docstring.
22215
22216 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
22217
22218 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
22219 `tramp-send-command-and-check' if there is no error.
22220 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
22221
22222 2011-07-22 Alan Mackenzie <acm@muc.de>
22223
22224 Prevent cc-langs.elc being loaded at run time.
22225
22226 * progmodes/cc-mode.el: Remove two autoload forms which loaded
22227 cc-langs.
22228
22229 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
22230 "(require 'cc-langs)". Quote a form so it will evaluate at
22231 (cc-mode's) compilation time.
22232
22233 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
22234
22235 * net/tramp.el (tramp-file-name-handler): Avoid recursive
22236 loading. (Bug#9114)
22237
22238 2011-07-21 Martin Rudalics <rudalics@gmx.at>
22239
22240 * window.el (display-buffer-pop-up-window)
22241 (display-buffer-pop-up-side-window)
22242 (display-buffer-in-side-window): Call display-buffer-set-height
22243 and display-buffer-set-width after setting the new window's
22244 buffer so `fit-window-to-buffer' and friends work on the right buffer.
22245
22246 2011-07-20 Sam Steingold <sds@gnu.org>
22247
22248 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
22249 (etags-tags-included-tables): Call `convert-standard-filename' on
22250 the file names contained in TAGS so that windows Emacs can handle
22251 TAGS files created by cygwin ctags.
22252
22253 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
22254
22255 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
22256 which apparently didn't work.
22257
22258 2011-07-19 Roland Winkler <winkler@gnu.org>
22259
22260 * proced.el (proced-send-signal): For *Marked Processes* buffer
22261 put point at beginning of buffer.
22262
22263 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
22264
22265 * proced.el (proced-format): Make header lines align with the text
22266 (bug#1779).
22267
22268 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22269
22270 * view.el (view-buffer): Allow running in `special' modes if we're
22271 visiting a file (bug#8615).
22272
22273 2011-07-19 Martin Rudalics <rudalics@gmx.at>
22274
22275 * window.el (display-buffer-alist-of-strings-p)
22276 (display-buffer-alist-set-1, display-buffer-alist-set-2):
22277 New functions.
22278 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22279 more accurately.
22280
22281 2011-07-18 Alan Mackenzie <acm@muc.de>
22282
22283 Fontify declarators properly when, e.g., a jit-lock chunk begins
22284 inside a declaration.
22285
22286 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22287
22288 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22289 New function.
22290 (c-complex-decl-matchers): Insert reference to
22291 c-font-lock-enclosing-decls.
22292
22293 * progmodes/cc-engine.el (c-backward-single-comment):
22294 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22295 to nil around calls to (forward-comment -1).
22296
22297 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22298
22299 * image.el (put-image): Doc typo fix.
22300
22301 * progmodes/etags.el (tags-search): Doc typo fix.
22302
22303 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22304 password if we get errors 550 to 554.
22305
22306 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
22307
22308 * net/gnutls.el (gnutls-log-level): Remove.
22309
22310 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22311 indentation character (bug#6380).
22312
22313 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22314
22315 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22316 to clarify what the problem is (bug#4291).
22317
22318 * simple.el (current-kill): Clarify what
22319 `interprogram-paste-function' does (bug#7500).
22320 (auto-fill-mode): Document `auto-fill-function' in relation to
22321 `auto-fill-mode' (bug#2470).
22322
22323 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22324
22325 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22326 method if slot is read-only (bug#9035).
22327
22328 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22329
22330 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22331 * window.el (pop-to-buffer): Select window used even if it was
22332 selected before, see discussion of (Bug#8615), (Bug#6954).
22333 Pass argument NORECORD on to select-frame-set-input-focus.
22334
22335 2011-07-15 Glenn Morris <rgm@gnu.org>
22336
22337 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22338 Respect help-form.
22339
22340 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22341
22342 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22343 (gnutls-negotiate): Use it.
22344
22345 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22346
22347 * net/gnutls.el (gnutls-negotiate):
22348 Upcase `gnutls-algorithm-priority'.
22349
22350 2011-07-15 Glenn Morris <rgm@gnu.org>
22351
22352 * jka-compr.el (jka-compr-verbose): Move from here...
22353 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22354 Add missing :version tag.
22355 * info.el: No need to require jka-compr when compiling.
22356
22357 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22358
22359 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22360 (gnutls-negotiate): Use it.
22361
22362 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22363
22364 * info.el (Info-beginning-of-buffer): New command.
22365 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22366 announcing `b' as the key (bug#8325).
22367 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22368
22369 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22370
22371 * international/mule-cmds.el
22372 (describe-specified-language-support): Make the error message
22373 clearer (bug#8905).
22374
22375 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22376
22377 * isearch.el (isearch-barrier): Add a doc string, since it's
22378 mentioned in a function doc string (bug#8678).
22379
22380 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22381
22382 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22383 buffer argument (Bug#9083) and self-identifying label argument.
22384
22385 2011-07-15 Glenn Morris <rgm@gnu.org>
22386
22387 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22388
22389 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22390
22391 * man.el (Man-fontify-manpage): Fix message when formatting the
22392 man page (bug#7929).
22393
22394 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22395
22396 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22397 argument LRM; if non-nil, append an invisible LRM character to the
22398 buffer name.
22399 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22400 last argument non-nil, when formatting buffer names.
22401 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22402 paragraph direction.
22403
22404 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22405
22406 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22407 the man page name (bug#7929).
22408
22409 * image.el (put-image): Mention the `put-image' overlay property
22410 (bug#7834).
22411
22412 * scroll-bar.el (set-scroll-bar-mode): Mention that
22413 `scroll-bar-mode' lists the values (bug#7772).
22414
22415 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22416 command (bug#7729).
22417
22418 * rect.el (apply-on-rectangle): Return the point after the last
22419 operation.
22420 (string-rectangle): Go to the point after the last operation
22421 (bug#7522).
22422
22423 * printing.el (pr-toggle-region): Clarify the documentation
22424 slightly (bug#7493).
22425
22426 * time.el (display-time-update):
22427 Allow `display-time-mail-function' to return nil (bug#7158).
22428 Fix suggested by Detlev Zundel.
22429
22430 * vc/diff.el (diff): Clarify the order the file names are read
22431 (bug#7111).
22432
22433 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22434 the doc string (bug#7015).
22435
22436 * font-lock.el (font-lock-maximum-decoration): Mention what
22437 numeric levels mean (bug#6935).
22438
22439 * startup.el (initial-buffer-choice): Don't mention the `none'
22440 selection, which is against policy.
22441
22442 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22443
22444 * window.el (display-buffer-normalize-special):
22445 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22446
22447 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22448
22449 * subr.el (version<, version<=, version=): Mention "-CVS" and
22450 "-12345" alpha version numbers.
22451
22452 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22453
22454 * bindings.el: Add advertised binding for set-mark-command
22455 (Bug#5772).
22456
22457 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22458
22459 * bindings.el (mode-line-other-buffer):
22460 * bookmark.el (bookmark-bmenu-2-window):
22461 * bs.el (bs-cycle-next, bs-cycle-previous):
22462 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22463 switch-to-buffer.
22464
22465 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22466 Delete.
22467
22468 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22469
22470 * follow.el (follow-debug-message, follow-redisplay):
22471 * jka-cmpr-hook.el (with-auto-compression-mode):
22472 Fix typos in docstrings.
22473
22474 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22475
22476 * subr.el (with-silent-modifications): Clarify somewhat what the
22477 macro inhibits (bug#6525).
22478
22479 * simple.el (eval-expression): Note what it does if called
22480 interactively (bug#6495).
22481
22482 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22483
22484 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22485 Use pop-to-buffer buffer-or-name if it is nil.
22486
22487 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22488 Remove switch-to-buffer.
22489
22490 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22491
22492 * files.el (make-directory): Clarify that an error will be raised
22493 if there's an error (bug#6397).
22494
22495 * startup.el (initial-buffer-choice): Add `none' as a choice
22496 (bug#6234).
22497
22498 * subr.el (add-hook): Clarify section about buffer-local hooks
22499 (bug#6218).
22500
22501 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22502
22503 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22504
22505 * tabify.el (untabify): Preserve the current column so that point
22506 doesn't move (bug#6032).
22507
22508 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22509
22510 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22511 Rewrite to avoid awkward possessive "s" (bug#5986).
22512
22513 2011-07-13 Glenn Morris <rgm@gnu.org>
22514
22515 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22516 (dired-insert-directory): Give a message the first time
22517 if ls is found not to support --dired.
22518
22519 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22520
22521 * simple.el (toggle-truncate-lines): Clarify what is toggled
22522 (bug#5580). Text by Drew Adams.
22523
22524 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22525
22526 * simple.el (blink-matching-open): Make the error message from the
22527 last change less verbose.
22528
22529 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22530
22531 * font-lock.el (font-lock-comment-face): Use the high contrast
22532 "yellow" color for font-lock-comment-face on low color terminals
22533 using a dark background color (bug#4221).
22534
22535 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22536
22537 * dired.el (dired-insert-set-properties): Make the doc string
22538 reflect what it does now (bug#5325).
22539
22540 * simple.el (blink-matching-open): Say that we were unable to find
22541 the match within the limit, if we're limited (bug#5122).
22542
22543 * international/mule-cmds.el (prefer-coding-system): Add an
22544 example (bug#4869).
22545
22546 * progmodes/etags.el (tags-search): Document `file-list-form'
22547 (bug#4731).
22548
22549 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22550
22551 * net/browse-url.el (browse-url-default-browser)
22552 (browse-url-browser-function): Make the default browser choice a
22553 bit more logical (bug#4300). Also clean up the doc string.
22554
22555 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22556
22557 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22558 binary endings (bug#4440).
22559
22560 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22561
22562 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22563 which can be pretty annoying (bug#8971).
22564
22565 * jka-compr.el (jka-compr-verbose): New variable, and use
22566 throughout (bug#8971).
22567
22568 * info.el (Info-find-file): Fall back on the installation
22569 directory if we can't find the info node anywhere else.
22570
22571 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22572
22573 * vc/vc.el (vc-revert-file):
22574 Don't set file time-stamp in the past. (Bug#5181)
22575
22576 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22577
22578 * files.el (after-find-file): Give a better error message when
22579 trying to find a symlink that points to a file that doesn't exist
22580 (bug#4398).
22581
22582 * progmodes/cc-vars.el: Remove (probably) misleading comment
22583 (bug#4396).
22584
22585 2011-07-12 Johan Bockgård <bojohan@gnu.org>
22586
22587 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22588
22589 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22590
22591 * mouse-sel.el: Hack restoring functionality, while keeping
22592 compatibility with 2010-07-03 changes to mouse selection.
22593 (mouse-sel-primary-overlay): New var.
22594 (mouse-sel-selection-alist): Use it.
22595 (mouse-sel-mode): Doc fix; remove points that are default features
22596 of mouse.el.
22597
22598 2011-07-12 Johan Bockgård <bojohan@gnu.org>
22599
22600 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22601 Fix previous fix (bug#2490).
22602
22603 2011-07-12 Roland Winkler <winkler@gnu.org>
22604
22605 * textmodes/bibtex.el (bibtex-initialize):
22606 Use pop-to-buffer-same-window.
22607 (bibtex-search-entries): Fix interactive call.
22608
22609 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22610
22611 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22612 Fontise bytecomp Error lines more correctly (bug#2490).
22613 Fix suggested by Johan Bockgård.
22614
22615 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22616
22617 * dired-x.el (dired-guess-default): Use `delete-dups'.
22618
22619 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22620
22621 * dired.el (dired-mark-prompt):
22622 * dired-aux.el (dired-read-shell-command): Doc fix.
22623
22624 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22625
22626 * mail/sendmail.el (sendmail-query-once):
22627 Use `customize-save-variable' unconditionally, now that it works under
22628 emacs -Q.
22629
22630 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22631
22632 * cus-edit.el (custom-file): Take an optional no-error variable.
22633 (customize-save-variable): Set the variable, and give a warning if
22634 running under "emacs -q".
22635
22636 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22637
22638 * loadhist.el (unload-feature-special-hooks):
22639 Add `auto-coding-functions', `fill-nobreak-predicate' and
22640 `find-directory-functions' (bug#5327).
22641
22642 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22643
22644 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22645
22646 * cus-edit.el (custom-guess-name-alist): -alist variables should
22647 use the `alist' type (bug#3120). Suggested by Drew Adams.
22648
22649 * printing.el: Add documentation to all the `pr-toggle-' commands.
22650
22651 2011-07-11 Leo Liu <sdl.web@gmail.com>
22652
22653 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22654 backends where it makes sense (bug#2623).
22655
22656 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22657
22658 * dired-x.el (dired-guess-default): Remove duplicate shell command
22659 entries (bug#2028).
22660 (dired-guess-default): Fix grammar in doc string (bug#2028).
22661 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22662
22663 * subr.el (remove-duplicates): New conveniency function.
22664
22665 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22666
22667 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22668 (bug#1526).
22669
22670 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22671
22672 * window.el (display-buffer-normalize-default): Don't invert
22673 meaning of even-window-heights. Reported by Eli Zaretskii
22674 <eliz@gnu.org>.
22675
22676 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22677
22678 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22679
22680 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22681
22682 * window.el (display-buffer): Fix arguments to
22683 display-buffer-reuse-window in last change.
22684
22685 * faces.el (link): Use a less saturated blue on light backgrounds.
22686
22687 * startup.el (fancy-startup-text, fancy-about-text)
22688 (fancy-startup-tail): Use font-lock faces, for background safety.
22689
22690 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22691
22692 * emulation/viper-cmd.el (viper-change-state-to-vi):
22693 Limit triggering of abbrev expansion (Bug#9038).
22694
22695 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22696
22697 * window.el (display-buffer-default-specifiers): Remove.
22698 (display-buffer-macro-specifiers): Remove default specifiers.
22699 (display-buffer-alist): Default to nil.
22700 (display-buffer-reuse-window): New optional argument other-window.
22701 (display-buffer-pop-up-window): Allow splitting internal
22702 windows. Check whether a live window was created.
22703 (display-buffer-other-window-means-other-frame)
22704 (display-buffer-normalize-arguments): Rename to
22705 display-buffer-normalize-argument and rewrite. Set the
22706 other-window specifier.
22707 (display-buffer-normalize-special): New function.
22708 (display-buffer-normalize-options): Rename to
22709 display-buffer-normalize-default and rewrite.
22710 (display-buffer-normalize-options-inhibit): Remove.
22711 (display-buffer-normalize-specifiers): Rewrite.
22712 (display-buffer): Process other-window specifier and call
22713 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22714 more faithfully.
22715 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22716 (display-buffer-alist-set): Don't handle 'unset default values.
22717 (display-buffer-in-window, display-buffer-alist-set):
22718 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22719 <tassilo@member.fsf.org>.
22720
22721 2011-07-09 Leo Liu <sdl.web@gmail.com>
22722
22723 * register.el (insert-register): Restore accidental change on
22724 2011-06-26. (Bug#9028)
22725
22726 2011-07-09 Glenn Morris <rgm@gnu.org>
22727
22728 * subr.el (remq): Handle the empty list. (Bug#9024)
22729
22730 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22731
22732 * mail/sendmail.el (send-mail-function): No longer delay custom
22733 initialization.
22734 * custom.el (custom-initialize-delay): Doc fix.
22735
22736 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22737
22738 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22739
22740 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22741
22742 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22743 human-friendly prompt.
22744
22745 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22746
22747 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22748 provided by a particular plugin.
22749
22750 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22751
22752 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22753 save customizations (with "emacs -Q"), just set the variable
22754 instead of erroring out.
22755
22756 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22757
22758 2011-07-08 Juri Linkov <juri@jurta.org>
22759
22760 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22761 (archive-zip-update-case): Use 7z if found by `executable-find'.
22762 The order of searching the available programs is the same as in
22763 `archive-zip-extract' (bug#8968).
22764
22765 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22766
22767 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22768 (menu-bar-options-menu): Tweak descriptions.
22769
22770 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22771
22772 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22773 menu items into verb phrases (bug#1421). Also refill to fit under
22774 80 columns.
22775
22776 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22777
22778 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22779 (Info-read-node-name): Doc fix (Bug#1084).
22780
22781 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22782 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22783 (end-of-sexp, beginning-of-sexp)
22784 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22785 (forward-symbol, forward-same-syntax, word-at-point)
22786 (sentence-at-point): Doc fix (Bug#1144).
22787
22788 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22789
22790 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22791 should cover it (bug#1281).
22792
22793 * cus-edit.el (custom-show): Mark as obsolete.
22794
22795 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22796 negotiation fails, then possibly try again with a non-encrypted
22797 connection (bug#9017).
22798
22799 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22800 be used.
22801
22802 2011-07-07 Richard Stallman <rms@gnu.org>
22803
22804 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22805 property, and handle its changed format.
22806 Look for the correct line number.
22807 Use file's line contents (but not past first =) to find
22808 correct line in message.
22809
22810 2011-07-07 Kenichi Handa <handa@m17n.org>
22811
22812 * international/characters.el (build-unicode-category-table):
22813 Delete it.
22814 (unicode-category-table): Set it by unicode-property-table-internal.
22815
22816 * international/mule-cmds.el (char-code-property-alist): Move to
22817 to src/chartab.c.
22818 (get-char-code-property): Call unicode-property-table-internal to
22819 load a file. Call get-unicode-property-internal where necessary.
22820 (put-char-code-property): Call unicode-property-table-internal to
22821 load a file. Call put-unicode-property-internal where necessary.
22822 put-unicode-property-internal where necessary.
22823 (char-code-property-description):
22824 Call unicode-property-table-internal to load a file.
22825
22826 * international/charprop.el:
22827 * international/uni-bidi.el:
22828 * international/uni-category.el:
22829 * international/uni-combining.el:
22830 * international/uni-comment.el:
22831 * international/uni-decimal.el:
22832 * international/uni-decomposition.el:
22833 * international/uni-digit.el:
22834 * international/uni-lowercase.el:
22835 * international/uni-mirrored.el:
22836 * international/uni-name.el:
22837 * international/uni-numeric.el:
22838 * international/uni-old-name.el:
22839 * international/uni-titlecase.el:
22840 * international/uni-uppercase.el: Regenerate.
22841
22842 * loadup.el: Load international/charprop.el before
22843 international/characters.
22844
22845 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22846
22847 * window.el (next-buffer, previous-buffer): Signal an error if
22848 called from a minibuffer window.
22849
22850 * bindings.el: Revert 2011-07-04 change.
22851
22852 2011-07-06 Richard Stallman <rms@gnu.org>
22853
22854 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22855 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22856 Treat markers like ints.
22857 (rmail-mime-entity): Doc fix.
22858
22859 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22860
22861 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22862 defcustom again for backwards compatibility.
22863
22864 * simple.el (shell-command-on-region): Fill.
22865
22866 * dired-aux.el (dired-kill-line): Add a doc string.
22867
22868 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22869 to "\\sw\\|\\s_" (bug#358).
22870
22871 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22872 (dired-unmark-backward): Ditto.
22873 (dired-flag-backup-files): Ditto.
22874
22875 * dired-x.el (dired-mark-sexp): Ditto.
22876
22877 2011-07-06 Richard Stallman <rms@gnu.org>
22878
22879 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22880 (rmail-mime-entity): New arg TRUNCATED.
22881 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22882 New functions.
22883 (rmail-mime-save): Warn if entity is truncated.
22884 (rmail-mime-toggle-hidden): Likewise, for showing.
22885 (rmail-mime-process-multipart): Record when an entity is truncated.
22886
22887 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22888 if ENTITY is a string.
22889
22890 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22891
22892 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22893 of faces when `M-C-x'-ing their definitions (bug#8378).
22894 Also clean up the code slightly.
22895
22896 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22897 because that makes the colors go away.
22898
22899 * mail/sendmail.el (send-mail-function): Change the default to
22900 `sendmail-query-once'.
22901 (sendmail-query-once): Add an autoload cookie.
22902
22903 * net/network-stream.el (network-stream-open-starttls): Try using
22904 a plain connection even if the server offered STARTTLS, and we
22905 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22906 capability. This should make smtpmail.el work in slightly more
22907 configurations.
22908
22909 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22910
22911 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22912 New defun.
22913 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22914
22915 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22916
22917 * progmodes/sql.el: Version 3.0
22918 (sql-product-alist): Add product :completion-object,
22919 :completion-column, and :statement attributes.
22920 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22921 (sql-mode-syntax-table): Mark all punctuation.
22922 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22923 ansi keywords.
22924 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22925 (sql-mode-oracle-font-lock-keywords): Improve.
22926 (sql-oracle-show-reserved-words): New function for development.
22927 (sql-product-font-lock): Simplify for source code buffers.
22928 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22929 New functions.
22930 (sql-highlight-product): Set product specific syntax table.
22931 (sql-mode-map): Add statement movement functions.
22932 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22933 New variable.
22934 (sql-statement-regexp, sql-beginning-of-statement)
22935 (sql-end-of-statement, sql-signum): New functions.
22936 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22937 (sql-show-sqli-buffer): Bug fix.
22938 (sql-interactive-mode): Store connection data as buffer local.
22939 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22940 with sql-interactive-mode.
22941 (sql-save-connection): Save buffer local settings.
22942 (sql-connection-menu-filter): Change menu entry name.
22943 (sql-product-interactive): Bug fix.
22944 (sql-preoutput-hold): New variable.
22945 (sql-interactive-remove-continuation-prompt): Bug fixes.
22946 (sql-debug-redirect): New variable.
22947 (sql-str-literal): New function.
22948 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22949 Redesign.
22950 (sql-oracle-save-settings, sql-oracle-restore-settings)
22951 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22952 (sql-completion-object, sql-completion-column)
22953 (sql-completion-sqlbuf): New variables.
22954 (sql-build-completions-1, sql-build-completions)
22955 (sql-try-completion): New functions.
22956 (sql-read-table-name): Use them.
22957 (sql-contains-names): New buffer local variable.
22958 (sql-list-all, sql-list-table): Use it.
22959 (sql-oracle-completion-types): New variable.
22960 (sql-oracle-completion-object, sql-sqlite-completion-object)
22961 (sql-postgres-completion-object): New functions.
22962
22963 2011-07-06 Glenn Morris <rgm@gnu.org>
22964
22965 * window.el (pop-to-buffer): Doc fix.
22966
22967 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22968
22969 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22970
22971 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22972
22973 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22974
22975 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22976
22977 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22978
22979 * button.el (button): Inherit from link face. Suggested by Dan
22980 Nicolaescu.
22981
22982 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22983
22984 * progmodes/gdb-mi.el: Fit in 80 columns.
22985 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22986 switch-to-buffer.
22987
22988 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22989 if imenu is simply not configured (bug#8941).
22990
22991 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22992
22993 * allout.el (allout-post-undo-hook): New allout outline-change
22994 event hook to signal undo activity.
22995 (allout-post-command-business): Run allout-post-undo-hook if an
22996 undo just occurred.
22997 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22998 * allout-widgets.el (allout-widgets-after-undo-function):
22999 Ensure the integrity of the current item's decoration after it has been
23000 in the vicinity of an undo.
23001 (allout-widgets-mode): Include allout-widgets-after-undo-function
23002 on the new allout-post-undo-hook.
23003
23004 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23005
23006 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
23007 Let define-derived-mode define it.
23008 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
23009 cycles of abbrev-table inheritance (bug#8998).
23010
23011 2011-07-05 Roland Winkler <winkler@gnu.org>
23012
23013 * textmodes/bibtex.el: Add support for biblatex.
23014 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
23015 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
23016 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
23017 (bibtex-entry-alist, bibtex-field-alist): New variables.
23018 (bibtex-entry-field-alist): Obsolete alias for
23019 bibtex-BibTeX-entry-alist.
23020 (bibtex-entry-alist, bibtex-field-alist): New widgets.
23021 (bibtex-set-dialect): New command.
23022 (bibtex-entry-type, bibtex-entry-head)
23023 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
23024 Bind via bibtex-set-dialect.
23025 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
23026 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
23027 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
23028 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
23029 Define via bibtex-set-dialect.
23030 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
23031 Obey bibtex-no-opt-remove-re.
23032 (bibtex-vec-push, bibtex-vec-incr): New functions.
23033 (bibtex-format-entry, bibtex-field-list)
23034 (bibtex-print-help-message, bibtex-validate)
23035 (bibtex-search-entries): Use new format of bibtex-entry-alist.
23036
23037 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23038
23039 * progmodes/compile.el (compilation-goto-locus):
23040 * net/tramp-cmds.el (tramp-append-tramp-buffers):
23041 * bs.el (bs-cycle-next, bs-cycle-previous):
23042 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
23043 * bindings.el (mode-line-other-buffer):
23044 * autoinsert.el (auto-insert):
23045 * arc-mode.el (archive-extract):
23046 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
23047
23048 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23049
23050 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
23051 Fix check of `emacs-lock-unlockable-modes'.
23052 Coerce true values of `emacs-lock--try-unlocking' to t.
23053
23054 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23055
23056 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
23057 * emacs-lock.el: New file.
23058
23059 2011-07-05 Julien Danjou <julien@danjou.info>
23060
23061 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
23062 than `boundp' to check if face is set.
23063
23064 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23065
23066 * register.el (registerv-make):
23067 * window.el (window-min-height): Fix typos in docstrings.
23068
23069 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
23070
23071 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
23072 Update doc string.
23073
23074 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23075
23076 * server.el (server-execute): Catch quit and call
23077 `server-return-error' to pass the error back to emacsclient and
23078 close the connection (bug#8942).
23079
23080 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
23081
23082 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
23083 insecure exception for current topic. Also note that auto-saves
23084 are handled differently.
23085
23086 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
23087 State variables for tracking auto-save inhibition situation.
23088
23089 (allout-write-contents-hook-handler): Rename from
23090 'allout-write-file-hook-handler', and describe how it depends on
23091 write-contents-functions sensitivity to non-nil value to prevent
23092 file write.
23093
23094 (allout-auto-save-hook-handler): Remove. auto-save does not check
23095 this in individual buffers, only in the starting buffer, so this
23096 is not the right way for us to inhibit auto-save in a buffer
23097 according to its condition.
23098
23099 (allout-mode): Use new allout-write-contents-hook-handler, and
23100 only with write-contents-functions. Remove auto-save provisions -
23101 they're implemented elsewhere.
23102
23103 (allout-before-change-handler): If undo is in progress, note that
23104 for attention of allout-post-command-business.
23105
23106 (allout-post-command-business): If the command we're following was
23107 an undo, check for change in the status of encrypted items and
23108 adjust auto-save inhibitions accordingly.
23109
23110 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
23111 according to whether there are or aren't any plain-text topics
23112 pending encryption.
23113
23114 (allout-inhibit-auto-save-info-for-decryption):
23115 Adjust buffer-saved-size and some allout state to inhibit auto-saves
23116 if there are plain-text topics pending encryption.
23117
23118 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
23119 buffer-saved-size and some allout state to not inhibit auto-saves
23120 if there are no longer any plain-text topics pending encryption.
23121
23122 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
23123 No longer provide for exemption of the current topic.
23124
23125 2011-07-04 Juri Linkov <juri@jurta.org>
23126
23127 Add 7z operations to delete and save changed members (bug#8968).
23128 * arc-mode.el (archive-7z-expunge, archive-7z-update):
23129 New defcustoms.
23130 (archive-7z-write-file-member): New function.
23131 (archive-7z-summarize): Fix the number of dashes in the
23132 listing output.
23133
23134 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23135
23136 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
23137 (bug#8958).
23138
23139 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
23140
23141 * bindings.el: Ignore next-buffer and previous-buffer in
23142 minibuffer-local-map.
23143
23144 * font-lock.el (font-lock-builtin-face): Change light background
23145 color to dark slate blue (Bug#6693).
23146
23147 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
23148
23149 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
23150
23151 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23152
23153 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
23154 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
23155 Add switch-to-buffer.
23156
23157 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23158
23159 * isearch.el (isearch-search-fun-function): Clarify further the
23160 meaning of the function returned.
23161
23162 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
23163
23164 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
23165
23166 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
23167 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
23168 Use it.
23169 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
23170 `tramp-default-remote-path' does not exist.
23171 (tramp-send-command-and-read): New optional argument NOERROR.
23172 (tramp-open-connection-setup-interactive-shell)
23173 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
23174 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
23175 (tramp-process-sentinel): Flush also process' connection property.
23176 (tramp-sh-handle-start-file-process): Do not set process
23177 sentinel. It is done now ...
23178 (tramp-maybe-open-connection): ... here. (Bug#8929)
23179
23180 2011-07-04 MON KEY <monkey@sandpframing.com>
23181
23182 * play/animate.el (animate-string): Doc fixes and allow changing
23183 the buffer name (bug#5417).
23184
23185 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23186
23187 * play/animate.el (animation-buffer-name): Rename from *animate*.
23188
23189 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
23190
23191 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
23192 This is simpler and helps future-proof the code.
23193 (timer-until): Use time-subtract and float-time.
23194 (timer--time-less-p): Use time-less-p.
23195
23196 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23197
23198 * type-break.el (timep): Use the value of `float-time' to avoid a
23199 byte-compiler warning.
23200
23201 * server.el (server-eval-and-print): Return any result, even nil.
23202
23203 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
23204
23205 * type-break.el: Accept time formats that the builtins accept.
23206 (timep, type-break-time-difference): Accept any format that
23207 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
23208 This is simpler and helps future-proof the code.
23209 (type-break-time-difference): Round rather than ignoring
23210 subseconds components.
23211
23212 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23213
23214 * info.el (Info-apropos-matches): Make non-interactive, since it
23215 doesn't seem to do anything useful as a command (bug#8829).
23216
23217 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
23218
23219 * frame.el (frame-background-mode, frame-set-background-mode):
23220 Move from faces.el.
23221 (frame-default-terminal-background): New function.
23222
23223 * custom.el (custom-push-theme): Don't record faces in `changed'
23224 theme; this doesn't work correctly for per-frame face settings.
23225 (disable-theme): Use face-set-after-frame-default to reset faces.
23226 (custom--frame-color-default): New function.
23227
23228 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23229
23230 * dired.el (dired-flagging-regexp): Remove unused variable
23231 (bug#8769).
23232
23233 2011-03-29 Kevin Ryde <user42@zip.com.au>
23234
23235 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23236 `perl-Test2' extend to match possible "fail #N" rep count
23237 (bug#8377).
23238
23239 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23240
23241 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
23242 `smtpmail-via-smtp' now returns the error instead of nil.
23243
23244 * isearch.el (isearch-search-fun-function): Clarify the doc string
23245 (bug#8101).
23246
23247 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
23248
23249 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
23250 unnecessary spaces (bug#8987).
23251
23252 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23253
23254 * net/network-stream.el (open-network-stream): Use the
23255 :end-of-capability command thoughout.
23256
23257 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
23258
23259 * net/network-stream.el (open-network-stream): Add the
23260 :end-of-capability command parameter, used by pop3.el.
23261
23262 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23263
23264 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
23265
23266 * fringe.el (fringe-query-style): Remove redundant text " (type ?
23267 for list)" (bug#6475).
23268
23269 * files.el (file-expand-wildcards): Ignore non-readable
23270 sub-directories while trying to find matches instead of signaling
23271 an error (bug#6297).
23272
23273 * man.el (Man-reference-regexp): Allow matching possible
23274 word-wrapped references (bug#6289).
23275
23276 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23277 for consistency with the other vc buffers (bug#6197).
23278 (vc-checkin): Ditto.
23279
23280 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23281
23282 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23283
23284 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23285
23286 * custom.el (defcustom): Clarify that :set is only used in the
23287 Customize user interface (bug#6089).
23288
23289 * progmodes/flymake.el (flymake-mode): If the buffer isn't
23290 associated with a file, refuse to run instead of erroring out
23291 (bug#6084).
23292
23293 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23294 the doc string, since it appears that using `fill-column' always
23295 controls the width (bug#7845).
23296
23297 * simple.el (shell-command-on-region): Say where the error output
23298 went if `shell-command-default-error-buffer' is set (bug#6857).
23299
23300 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
23301
23302 * allout.el (allout-yank-processing): Adjust cursor position for
23303 backwards-deleted space.
23304
23305 (allout-rebullet-heading): Register changes with
23306 allout-exposure-changed-hook, so the modified topic is properly
23307 decorated.
23308
23309 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23310
23311 * minibuffer.el (completion-in-region): Document PREDICATE
23312 (bug#7136).
23313
23314 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23315 of keyword/argument pairs (bug#6904).
23316
23317 * replace.el (multi-occur):
23318 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23319
23320 2011-07-02 Drew Adams <drew.adams@oracle.com>
23321
23322 * dired.el (dired-mark-if): Make the message about whether it's
23323 marking or unmarking clearer (bug#8523).
23324
23325 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23326
23327 * disp-table.el (display-table-print-array): New function.
23328 (describe-display-table): Use it to print the vectors more pretty
23329 (Bug#8859).
23330
23331 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23332
23333 * window.el (window-state-get-1): Don't assign clone numbers.
23334 Add clone-of item to list of window parameters.
23335 (window-state-put-2): Don't process clone numbers.
23336 (display-buffer-alist): Fix doc-string.
23337
23338 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23339
23340 * subr.el (remq): Don't allocate if it's not needed.
23341 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23342 (keymap--merge-bindings): New functions.
23343 (keymap-canonicalize): Use them to refine the canonicalization.
23344 * minibuffer.el (minibuffer-local-completion-map)
23345 (minibuffer-local-must-match-map): Move initialization from C.
23346 (minibuffer-local-filename-completion-map): Move initialization from C;
23347 don't inherit from anything here.
23348 (minibuffer-local-filename-must-match-map): Make obsolete.
23349 (completing-read-default): Use make-composed-keymap to combine
23350 minibuffer-local-filename-completion-map with either
23351 minibuffer-local-must-match-map or
23352 minibuffer-local-filename-completion-map.
23353
23354 2011-07-01 Glenn Morris <rgm@gnu.org>
23355
23356 * type-break.el (type-break-time-sum): Use dolist.
23357
23358 * textmodes/flyspell.el (flyspell-word-search-backward):
23359 Replace CL function.
23360
23361 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23362
23363 * mouse.el (mouse--strip-first-event): New function.
23364 (function-key-map): Use it to map fringe clicks to normal clicks
23365 by default.
23366
23367 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23368 (vc-bzr-revision-completion-table): Add support for annotate and date.
23369
23370 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23371 inherit from parent.
23372
23373 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23374
23375 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23376 (dired-show-file-type): Doc fixup (bug#8818).
23377
23378 * dired.el (dired-mode): Fix up the doc string as suggested by
23379 Drew Adams (bug#8817).
23380
23381 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23382 cookie, since the manual says that it should be possible to add
23383 this function to `find-file-hook' (bug#8709).
23384
23385 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23386
23387 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23388 here. Noted Ted Zlatanov as the maintainer.
23389 (cfengine-common-settings, cfengine-common-syntax): New functions
23390 to set up common things between `cfengine-mode' and
23391 `cfengine3-mode'.
23392 (cfengine3-mode): New mode.
23393 (cfengine3-defuns cfengine3-defuns-regex
23394 (cfengine3-class-selector-regex cfengine3-category-regex)
23395 (cfengine3-vartypes cfengine3-font-lock-keywords)
23396 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23397 (cfengine3-indent-line): Add from cfengine3.el.
23398
23399 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23400
23401 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23402
23403 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23404
23405 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23406
23407 * window.el (same-window-buffer-names, same-window-regexps)
23408 (same-window-p, special-display-frame-alist)
23409 (special-display-popup-frame, special-display-function)
23410 (special-display-buffer-names, special-display-regexps)
23411 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23412 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23413 (split-window-preferred-function, split-height-threshold)
23414 (split-width-threshold, even-window-heights)
23415 (display-buffer-mark-dedicated, window-splittable-p)
23416 (split-window-sensibly, window-safely-shrinkable-p):
23417 Un-obsolete.
23418 (display-buffer): Don't spread args with function specifier
23419 because special-display-popup-frame won't like it.
23420
23421 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23422
23423 Time-stamp simplifications and fixes.
23424 These improve accuracy slightly, and future-proof the code
23425 against some potential changes to current-time format.
23426
23427 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23428 by using time-since and float-time.
23429
23430 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23431 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23432 + NNN microseconds".
23433
23434 * type-break.el (type-break-time-sum): Rewrite using time-add.
23435
23436 * play/hanoi.el (hanoi-current-time-float): Remove.
23437 All uses replaced by float-time.
23438
23439 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23440 This yields a more-accurate answer.
23441 (rng-time-to-float): Remove; no longer needed.
23442
23443 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23444
23445 * calendar/timeclock.el (timeclock-seconds-to-time):
23446 Defalias to seconds-to-time, since they're the same thing.
23447
23448 * emacs-lisp/elp.el (elp-elapsed-time):
23449 * emacs-lisp/benchmark.el (benchmark-elapse):
23450 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23451
23452 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23453
23454 * window.el (bury-buffer): Don't iconify the only frame.
23455 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23456 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23457
23458 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23459
23460 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23461 Add mouse-yank-primary.
23462
23463 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23464
23465 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23466
23467 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23468
23469 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23470 (find-library-name): Use it to find relative load names when provided
23471 absolute file name (bug#8803).
23472
23473 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23474
23475 * textmodes/flyspell.el (flyspell-word): Consider words that
23476 differ only in case as potential doublons (bug#5687).
23477
23478 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23479 Remove two rather uninteresting debugging-like messages to make
23480 debbugs.el more silent.
23481
23482 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23483 a password-like phrase.
23484
23485 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23486
23487 * progmodes/cc-guess.el: New file.
23488
23489 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23490
23491 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23492 derived from `c-basic-common-init'.
23493
23494 * progmodes/cc-mode.el (top-level): Require cc-guess.
23495 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23496
23497 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23498
23499 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23500
23501 2011-06-30 Alan Mackenzie <acm@muc.de>
23502
23503 * progmodes/cc-engine.el (c-guess-continued-construct):
23504 Correct the handling of template-args-cont, particularly for when font
23505 lock is disabled. Name this case as "CASE G".
23506
23507 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23508
23509 * allout.el (allout-yank-processing): Fix injection of extra space
23510 between bullet and non-whitespace character in first topic when
23511 pasting, ensuring that the actual spacing in the pasted topic
23512 following the bullet char is preserved. This extra space was
23513 causing pasted encrypted topics to get a decrypted status even
23514 when the content was actually still encrypted. Now the decryption
23515 status from before the paste is preserved.
23516
23517 (allout-flag-region): Set all allout overlays so they evaporate
23518 when reduced to zero length (evanescent), to prevent overlay
23519 leakage.
23520
23521 2011-06-30 Glenn Morris <rgm@gnu.org>
23522
23523 * w32-fns.el (w32-charset-info-alist): Declare.
23524
23525 * find-dired.el (find-grep-options): Simplify.
23526
23527 * term/ns-win.el (ns-set-resource): Declare.
23528
23529 * ses.el (row, col): Declare dynamic variables honestly.
23530
23531 * textmodes/reftex-parse.el (index-tags): Declare.
23532
23533 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23534
23535 * cus-edit.el (customize-push-and-save): New function.
23536
23537 * files.el (hack-local-variables-confirm): Use it.
23538
23539 * custom.el (load-theme): New arg NO-CONFIRM.
23540 Use customize-push-and-save (Bug#8720).
23541 (custom-enabled-themes): Doc fix.
23542
23543 * cus-theme.el (customize-create-theme)
23544 (custom-theme-merge-theme): Callers to load-theme changed.
23545
23546 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23547
23548 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23549 short URLs have at least one dot in them (bug #7614).
23550
23551 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23552 nil, because using a pty is apparently too slow (bug #895).
23553
23554 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23555
23556 * mail/sendmail.el (sendmail-query-once): New function.
23557 (sendmail-query-once-function): New variable.
23558
23559 2011-06-29 Glenn Morris <rgm@gnu.org>
23560
23561 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23562
23563 * ses.el (top-level): Require cl when compiling.
23564 (ses-set-localvars): Fix error statement.
23565 Call it at compile time to silence a storm of warnings.
23566
23567 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23568
23569 * window.el (normalize-live-buffer): Rename to
23570 window-normalize-buffer.
23571 (normalize-live-frame): Rename to window-normalize-frame.
23572 (normalize-any-window): Rename to window-normalize-any-window.
23573 (normalize-live-window): Rename to window-normalize-live-window.
23574 (make-window-atom): Rename to window-make-atom.
23575 (window-resize-reset): Rename to window--resize-reset.
23576 (window-resize-reset-1): Rename to window--resize-reset-1.
23577 (resize-mini-window): Rename to window--resize-mini-window.
23578 (resize-subwindows-skip-p): Rename to
23579 window--resize-subwindows-skip-p.
23580 (resize-subwindows-normal): Rename to
23581 window--resize-subwindows-normal.
23582 (resize-subwindows): Rename to window--resize-subwindows.
23583 (resize-other-windows): Rename to window--resize-siblings.
23584 (resize-this-window): Rename to window--resize-this-window.
23585 (resize-root-window): Rename to window--resize-root-window.
23586 (resize-root-window-vertically): Rename to
23587 window--resize-root-window-vertically.
23588 (normalize-buffer-to-display): Rename to
23589 window-normalize-buffer-to-display.
23590 (normalize-buffer-to-switch-to): Rename to
23591 window-normalize-buffer-to-switch-to.
23592 Correspondingly update all callers of the functions listed
23593 above.
23594 (display-buffer-alist, display-buffer-normalize-arguments)
23595 (display-buffer-normalize-options, display-buffer)
23596 (display-buffer-alist-set): Use "function" instead of
23597 "fun-with-args".
23598
23599 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23600
23601 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23602 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23603 debbugs.gnu.org. Mention acknowledgment email.
23604
23605 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23606
23607 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23608 buffer multibyteness, since it shouldn't matter.
23609
23610 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23611
23612 * window.el (display-buffer-in-side-window): Handle dedicated
23613 windows as in display-buffer-reuse-window.
23614 (display-buffer-normalize-alist): Use value of override
23615 specifier.
23616 (display-buffer-normalize-specifiers): Use value of
23617 other-window-means-other-frame specifier.
23618 (display-buffer-alist): Rewrite some texts in widgets.
23619 (display-buffer): Spread arguments when calling function
23620 specified by fun-with-args.
23621
23622 2011-06-28 Deniz Dogan <deniz@dogan.se>
23623
23624 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23625 Unnest `let'.
23626
23627 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23628 selectors (Bug#5732).
23629 (css-proprietary-nmstart-re): Use `regexp-opt'.
23630
23631 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23632
23633 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23634 (eshell-ls-date-format): New defcustom.
23635 (eshell-ls-file): Use it.
23636
23637 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23638
23639 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23640
23641 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23642
23643 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23644 (ange-ftp-make-tmp-name): New arg.
23645 (ange-ftp-file-local-copy): Use it.
23646
23647 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23648
23649 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23650 no-conversion (Bug#8870).
23651
23652 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23653
23654 * window.el (window-right, window-left, window-child)
23655 (window-child-count, window-last-child)
23656 (window-iso-combination-p, walk-window-tree-1)
23657 (window-atom-check-1, window-tree-1, delete-window)
23658 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23659 new naming conventions - window-vchild, window-hchild,
23660 window-next and window-prev are now called window-top-child,
23661 window-left-child, window-next-sibling and window-prev-sibling
23662 respectively.
23663 (resize-window-reset): Rename to window-resize-reset.
23664 (resize-window-reset-1): Rename to window-resize-reset-1.
23665 (resize-window): Rename to window-resize.
23666 (window-min-height, window-min-width)
23667 (resize-mini-window, resize-this-window, resize-root-window)
23668 (resize-root-window-vertically, adjust-window-trailing-edge)
23669 (enlarge-window, shrink-window, maximize-window)
23670 (minimize-window, delete-window, quit-restore-window)
23671 (split-window, balance-windows, balance-windows-area-adjust)
23672 (balance-windows-area, window-state-put-2)
23673 (display-buffer-even-window-sizes, display-buffer-set-height)
23674 (display-buffer-set-width, set-window-text-height)
23675 (fit-window-to-buffer): Rename all "resize-window" prefixed
23676 calls to use the "window-resize" prefix convention.
23677 (display-buffer-alist): Fix symbol for label specifier.
23678 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23679 corresponding specifier.
23680 Reported by Juanma Barranquero <lekktu@gmail.com>.
23681
23682 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
23683
23684 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23685 convention.
23686 (ses-call-printer): Does not pass an empty string to formatter when the
23687 cell is empty to keep from barking printer Calc math-format-value.
23688
23689 2011-06-27 Richard Stallman <rms@gnu.org>
23690
23691 * battery.el (battery-mode-line-limit): New variable.
23692 (battery-update): Handle it.
23693
23694 * mail/rmailmm.el (rmail-mime-process-multipart):
23695 Handle truncated messages.
23696
23697 2011-06-27 Glenn Morris <rgm@gnu.org>
23698
23699 * progmodes/flymake.el (flymake-err-line-patterns):
23700 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23701
23702 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
23703
23704 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23705 (ses--clean-!, ses--clean-_): New functions.
23706 (ses-range): Add configurability of readout order, and conversion
23707 to Calc vector.
23708
23709 * ses.el (ses-repair-cell-reference-all): New function.
23710 (ses-cell-symbol): Set macro as safe, so that it can be used in
23711 formulas.
23712
23713 * ses.el: Update cycle detection algorithm.
23714 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23715 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23716 (ses-set-localvars): New function.
23717 (ses-make-cell): Add property-list as a cell element.
23718 (ses-cell-property-get-fun, ses-cell-property-get)
23719 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23720 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23721 New functions.
23722 (ses-cell-property-set, ses-cell-property-pop)
23723 (ses-cell-property-get-handle): New macro.
23724 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23725 New aliases, used for code readability.
23726 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23727 cycle detection.
23728 (ses-self-reference-early-detection): New defcustom.
23729 (ses-formula-references): Robustify against self-referring cells.
23730 (ses-mode): Use ses-set-localvars.
23731 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23732 before lauching the update processing.
23733 (ses-initialize-Dijkstra-attempt): New function.
23734 (ses-recalculate-cell): Update for cycle detection based on
23735 Dijkstra algorithm.
23736
23737 * ses.el: Fix commenting and indenting convention.
23738
23739 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23740
23741 * bs.el (bs-cycle-next): Complete last change.
23742
23743 2011-06-27 Drew Adams <drew.adams@oracle.com>
23744
23745 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23746
23747 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23748
23749 * net/network-stream.el (network-stream-open-starttls):
23750 Don't re-get capabilities unless we've reestablished connection.
23751 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23752
23753 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23754 to binary to possibly avoid line encoding issues on Windows (among
23755 other things).
23756
23757 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23758
23759 * net/network-stream.el (open-network-stream): Return an :error
23760 saying what the problem was, if possible.
23761
23762 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23763 server.
23764
23765 * net/network-stream.el (network-stream-open-starttls): If we
23766 wanted to use STARTTLS, and the server offered it, but we weren't
23767 able to because we had no STARTTLS support, then close the connection.
23768 (open-network-stream): Return an :error element, if present.
23769
23770 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23771
23772 * hl-line.el (hl-line-sticky-flag): Doc fix.
23773 (global-hl-line-sticky-flag): New option (Bug#8323).
23774 (global-hl-line-highlight): Obey it.
23775
23776 * vc/vc.el (vc-revert-show-diff): Default to t.
23777
23778 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23779
23780 * allout-widgets.el (allout-widgets-post-command-business):
23781 Stop decorating intermediate isearch matches. They're not being
23782 undecorated when an isearch is continued past, and isearch
23783 automatically collapses them. This leads to "widget leaks", where
23784 decorated items accumulate in collapsed areas. Lines with lots of
23785 hidden widgets can slow down cursor travel, substantially.
23786 Too much complicated machinery would be needed to ensure undecoration,
23787 so we're doing without this nicety.
23788
23789 (allout-widgets-tally-string): Don't try to do a hash-table-count
23790 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23791 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23792 *Messages* when allout-widgets-maintain-tally is t.
23793
23794 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23795
23796 * window.el (display-buffer-normalize-argument): Rename to
23797 display-buffer-normalize-arguments. Handle special meaning of
23798 LABEL argument. Respect special-display-function when popping up
23799 a new frame. Fix code searching for a window showing the buffer
23800 on another frame.
23801 (display-buffer-normalize-specifiers):
23802 Call display-buffer-normalize-arguments.
23803 (display-buffer-in-window): Don't undedicate the window if its
23804 buffer remains the same.
23805 Reported by Drew Adams <drew.adams@oracle.com>.
23806 (display-buffer-alist): Add choice for same-window macro
23807 specfier.
23808 (display-buffer): Mention special meaning of LABEL argument in
23809 doc-string. Fix quoting. Don't pop up a new frame even as
23810 fallback.
23811
23812 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23813
23814 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23815 avoid deleting the current window in some cases (bug#8911).
23816
23817 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23818
23819 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23820 (Bug#8934)
23821
23822 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23823
23824 * net/network-stream.el (network-stream-open-starttls):
23825 Use built-in TLS support if `gnutls-available-p' is true.
23826 (network-stream-open-tls): Ditto.
23827
23828 2011-06-26 Leo Liu <sdl.web@gmail.com>
23829
23830 * register.el (registerv): New struct.
23831 (registerv-make): New function.
23832 (jump-to-register, describe-register-1, insert-register):
23833 Support the jump-func, print-func and insert-func slot of a registerv
23834 struct. (Bug#8415)
23835
23836 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23837
23838 * vc/vc.el (vc-revert-show-diff): New defcustom.
23839 (vc-diff-internal): New arg specifying diff buffer.
23840 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23841 reuse an existing *vc-diff* buffer (Bug#8927).
23842
23843 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23844
23845 2011-06-26 Glenn Morris <rgm@gnu.org>
23846
23847 * progmodes/f90.el (f90-critical-indent): New option.
23848 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23849 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23850 (f90-mode): Doc fix.
23851 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23852 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23853 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23854 (f90-match-end): Handle block, critical.
23855
23856 2011-06-25 Glenn Morris <rgm@gnu.org>
23857
23858 * calendar/diary-lib.el (diary-included-files): Doc fix.
23859 (diary-include-files): New function, extracted from
23860 diary-include-other-diary-files and diary-mark-included-diary-files.
23861 (diary-include-other-diary-files, diary-mark-included-diary-files):
23862 Just call diary-include-files.
23863 (diary-mark-entries): Reset diary-included-files on first call.
23864
23865 * calendar/diary-lib.el (diary-mark-entries)
23866 (diary-mark-included-diary-files):
23867 Visit included diary-files in temp buffers.
23868
23869 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23870 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23871 (f90-start-block-re, f90-imenu-generic-expression)
23872 (f90-looking-at-program-block-start, f90-no-block-limit):
23873 Add support for submodules.
23874
23875 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23876 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23877
23878 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23879
23880 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23881 buffer-file-type before setting its value, to avoid disastrous
23882 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23883
23884 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23885
23886 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23887
23888 * ses.el (ses-unload-function):
23889 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23890
23891 * proced.el (proced-unload-function):
23892 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23893
23894 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23895
23896 * server.el (server-create-window-system-frame): Add parameters arg.
23897 (server-process-filter): Doc fix. Handle frame-parameters.
23898
23899 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23900
23901 Fix bug#8730, bug#8781.
23902
23903 * loadhist.el (unload--set-major-mode): New function.
23904 (unload-feature): Use it.
23905
23906 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23907 (python-unload-function): New function.
23908
23909 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23910
23911 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23912
23913 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23914
23915 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23916 the candidates list.
23917
23918 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23919
23920 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23921
23922 2011-06-23 Richard Stallman <rms@gnu.org>
23923
23924 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23925 (rmail-variables): Set next-error-move-function.
23926 (rmail-what-message): Take argument POS.
23927 (rmail-next-error-move): New function.
23928
23929 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23930
23931 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23932 messages for adjacent non-terminals.
23933
23934 2011-06-23 Richard Stallman <rms@gnu.org>
23935
23936 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23937 (rmail-show-message-1): Preserve buffer modified flag.
23938 (rmail-start-mail): Don't specify use of rmail-mail-return;
23939 that's done by mail-bury now.
23940 (rmail-mail-return): Handle arg NEWBUF.
23941
23942 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23943
23944 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23945 SIZE is a number.
23946
23947 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23948
23949 * window.el (get-lru-window, get-mru-window)
23950 (get-largest-window): Never return a minibuffer window.
23951 (display-buffer-pop-up-window): Fix a bug that could lead to
23952 reusing the minibuffer window.
23953 (display-buffer): Pass original specifier argument to
23954 display-buffer-function instead of the normalized one.
23955 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23956
23957 2011-06-22 Leo Liu <sdl.web@gmail.com>
23958
23959 * minibuffer.el (completing-read-function)
23960 (completing-read-default): Move from minibuf.c.
23961
23962 2011-06-22 Richard Stallman <rms@gnu.org>
23963
23964 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23965 to Rmail even if not started by a special Rmail command.
23966
23967 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23968 Copy the buffer currently showing just one message.
23969
23970 2011-06-22 Roland Winkler <winkler@gnu.org>
23971
23972 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23973 (bibtex-clean-entry): First delete the old key so that a
23974 customized algorithm for generating the new key does not get
23975 confused by the old key.
23976 (bibtex-url): Obey regexp of first step.
23977 (bibtex-search-entries): Do not use add-to-list with local
23978 list-var.
23979
23980 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23981
23982 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23983 stored a user name, then query for the password first, instead of
23984 waiting for SMTP to give an error message and the trying again.
23985
23986 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23987
23988 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23989 BUFFER in call-process.
23990
23991 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23992
23993 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23994 QUIT twice.
23995 (smtpmail-try-auth-methods): Require user name and password from
23996 auth-source.
23997
23998 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23999
24000 * window.el (display-buffer-default-specifiers)
24001 (display-buffer-alist): Remove entries for pop-up-frame-alist.
24002 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
24003 (split-window): Normalize SIDE argument (Bug#8916).
24004
24005 * frame.el (pop-up-frame-alist, pop-up-frame-function)
24006 (special-display-frame-alist, special-display-popup-frame):
24007 Remove duplicate declarations. These are now in window.el.
24008
24009 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
24010
24011 * mail/smtpmail.el (smtpmail-via-smtp):
24012 Set :use-starttls-if-possible so that we always use STARTTLS if the
24013 server supports it. SMTP servers that support STARTTLS commonly
24014 require it.
24015
24016 * net/network-stream.el (network-stream-open-starttls): Support
24017 upgrading to STARTTLS always, even if we don't have built-in support.
24018 (open-network-stream): Add the :always-query-capabilities keyword.
24019
24020 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
24021 upgrades with `open-network-stream', and rely solely on
24022 auth-source for all credentials. Big changes throughout the file,
24023 but in particular:
24024 (smtpmail-auth-credentials): Remove.
24025 (smtpmail-starttls-credentials): Remove.
24026 (smtpmail-via-smtp): Check for servers saying they want AUTH after
24027 MAIL FROM, too.
24028
24029 * net/network-stream.el (network-stream-open-starttls):
24030 Provide support for client certificates both for external and built-in
24031 STARTTLS.
24032 (auth-source): Require.
24033 (open-network-stream): Document the :client-certificate keyword.
24034 (network-stream-certificate): Change cert-cert to cert and
24035 cert-key to key.
24036
24037 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
24038
24039 * net/tramp-cache.el (top): Don't load the persistency file when
24040 "emacs -Q" has been called.
24041
24042 2011-06-21 Tim Harper <timcharper@gmail.com>
24043
24044 * term/ns-win.el (ns-initialize-window-system):
24045 Set application-specific `ApplePressAndHoldEnabled' system
24046 resource to NO as it is not yet supported by the NS port.
24047
24048 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
24049
24050 * misc.el (list-dynamic-libraries--refresh): Compute header here...
24051 (list-dynamic-libraries): ...not here.
24052
24053 2011-06-21 Leo Liu <sdl.web@gmail.com>
24054
24055 * subr.el (sha1): Implement sha1 using secure-hash.
24056
24057 2011-06-21 Martin Rudalics <rudalics@gmx.at>
24058
24059 * window.el (display-buffer-alist): In default value do not
24060 enforce searching a window on any but the selected frame.
24061 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
24062 (display-buffer-select-window): Remove function.
24063 (display-buffer-in-window): When a window on another frame gets
24064 reused, do not select it any more but just raise its frame if
24065 necessary (Bug#8851) and (Bug#8856).
24066 (display-buffer-normalize-options): Handle pop-up-frames related
24067 options more faithfully.
24068 (pop-to-buffer): Don't rely on `display-buffer' selecting the
24069 window if it is on another frame.
24070 (display-buffer-alist, display-buffer-default-specifiers):
24071 Don't make new frame unsplittable by default.
24072 (display-buffer-normalize-argument): Fix doc-string typo and use
24073 'same-frame-other-window instead of 'other-window when associating
24074 with display-buffer-macro-specifiers.
24075
24076 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
24077
24078 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
24079 New functions.
24080 (5x5-mode-map, 5x5-mode-menu): Bind them.
24081 (5x5-draw-grid): Tweak the solver's rendering.
24082
24083 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24084
24085 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
24086 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
24087
24088 2011-06-21 Drew Adams <drew.adams@oracle.com>
24089
24090 * menu-bar.el: Use function variable instead of switch-to-buffer.
24091 (menu-bar-select-buffer-function): New variable.
24092 (menu-bar-update-buffers): Use it (bug#8876).
24093
24094 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24095
24096 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
24097 variable's status.
24098
24099 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
24100
24101 * x-dnd.el (x-dnd-version-from-flags)
24102 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
24103 and long as number (Bug#8899).
24104 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
24105
24106 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
24107
24108 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
24109 (completion-try-completion, completion-all-completions): Compute the
24110 metadata argument if it's missing; make it optional (bug#8795).
24111
24112 * wid-edit.el: Use lex-bind and move towards completion-at-point.
24113 (widget-complete): Use new :completion-function property.
24114 (widget-completions-at-point): New function.
24115 (default): Use :completion-function instead of :complete.
24116 (widget-default-completions): Rename from widget-default-complete;
24117 Rewrite.
24118 (widget-string-complete, widget-file-complete, widget-color-complete):
24119 Remove functions.
24120 (file, symbol, function, variable, coding-system, color):
24121 * international/mule-cmds.el (default-input-method, charset)
24122 (language-info-custom-alist):
24123 * cus-edit.el (face): Use new property :completions.
24124
24125 * progmodes/pascal.el (pascal-completions-at-point): New function.
24126 (pascal-mode): Use it.
24127 (pascal-mode-map): Use completion-at-point.
24128 (pascal-toggle-completions): Make obsolete.
24129 (pascal-complete-word, pascal-show-completions):
24130 * progmodes/octave-mod.el (octave-complete-symbol):
24131 Redefine as obsolete alias.
24132 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
24133 Signal absence of completion info for old Octave,
24134 (inferior-octave-complete): Redefine as obsolete alias.
24135 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
24136 (meta-completions-at-point): Rename from meta-complete-symbol and
24137 adapt it for use on completion-at-point-functions.
24138 (meta-common-mode): Use it.
24139 (meta-looking-at-backward, meta-match-buffer): Remove.
24140 (meta-complete-symbol): Redefine as obsolete alias.
24141 (meta-common-mode-map): Use completion-at-point.
24142 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
24143 (makefile-mode-map): Use completion-at-point.
24144 (makefile-completions-at-point): Rename from makefile-complete and
24145 adapt it for use on completion-at-point-functions.
24146 (makefile-mode): Use it.
24147 (makefile-complete): Redefine as obsolete alias.
24148
24149 2011-06-20 Deniz Dogan <deniz@dogan.se>
24150
24151 * net/rcirc.el: Delete trailing whitespaces once and for all.
24152
24153 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
24154
24155 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
24156
24157 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
24158
24159 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
24160
24161 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
24162
24163 2011-06-19 Martin Rudalics <rudalics@gmx.at>
24164
24165 * window.el (display-buffer-other-window-means-other-frame):
24166 Call display-buffer-normalize-alist.
24167 (display-buffer-normalize-specifiers-1): Rename to
24168 display-buffer-normalize-argument. New argument other-frame.
24169 Rewrite.
24170 (display-buffer-normalize-specifiers-2): Rename to
24171 display-buffer-normalize-options.
24172 (display-buffer-normalize-alist-1): New function.
24173 (display-buffer-normalize-specifiers-3): Rename to
24174 display-buffer-normalize-alist.
24175 Call display-buffer-normalize-alist-1.
24176 (display-buffer-normalize-options-inhibit): New variable.
24177 (display-buffer-normalize-specifiers): Rewrite calling
24178 display-buffer-normalize-alist,
24179 display-buffer-normalize-argument, and
24180 display-buffer-normalize-options. Don't call the latter if
24181 display-buffer-normalize-options-inhibit is non-nil.
24182 (frame-auto-delete): New option.
24183 (window-deletable-p): Use frame-auto-delete.
24184 (window-list-no-nils, window-state-ignored-parameters)
24185 (window-state-get-1, window-state-get, window-state-put-list)
24186 (window-state-put-1, window-state-put-2, window-state-put):
24187 New functions.
24188 (display-buffer-normalize-options): Move special-display-p group
24189 after pop-up-frame group (Bug#8851) and (Bug#8856).
24190
24191 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
24192
24193 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
24194 groups (Bug#8776).
24195 (rx-submatch-n): New function.
24196 (rx): Document it.
24197
24198 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
24199 (Bug#8768).
24200
24201 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
24202
24203 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
24204
24205 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
24206 anytime existing face settings are present (Bug#8889).
24207
24208 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
24209 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
24210 Remove unused argument.
24211
24212 2011-06-18 Martin Rudalics <rudalics@gmx.at>
24213
24214 * window.el (display-buffer-default-specifiers):
24215 Remove pop-up-frame. Add pop-up-window-min-height,
24216 pop-up-window-min-width, and another reuse-window specifier
24217 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
24218 (display-buffer-normalize-specifiers-2):
24219 Handle split-height-threshold and split-width-threshold also when
24220 pop-up-windows is unset. Add a reuse-window specifier for the
24221 case popping up a new window fails.
24222 (special-display-popup-frame): Remove double quoting.
24223 (display-buffer-normalize-specifiers-1): Fix thinko.
24224
24225 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
24226
24227 * shell.el (shell-completion-vars): Set pcomplete-termination-string
24228 according to comint-completion-addsuffix.
24229
24230 * pcomplete.el: Convert to lexical binding and fix bug#8819.
24231 (pcomplete-suffix-list): Mark as obsolete.
24232 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
24233 pcomplete-seen in the closure.
24234 (pcomplete-comint-setup): Setup completion-at-point as well.
24235 (pcomplete--entries): New function.
24236 (pcomplete--env-regexp): New var.
24237 (pcomplete-entries): Rewrite to work with partial-completion and
24238 without relying on pcomplete-suffix-list.
24239 (pcomplete-pare-list): Remove, unused.
24240
24241 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24242
24243 * window.el (display-buffer-alist): Set pop-up-window-min-height
24244 and pop-up-window-min-width in default value. Reported by
24245 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
24246 other-window-means-other-frame.
24247 (display-buffer-macro-specifiers): Comment out entry for
24248 other-window specifier.
24249 (display-buffer-other-window-means-other-frame): New function.
24250 (display-buffer-normalize-specifiers-1): New arguments
24251 buffer-name and label. Treat other-window case specially.
24252 (display-buffer-normalize-specifiers-2): Treat other-window case
24253 specially.
24254 (display-buffer-normalize-specifiers-3): New function.
24255 (display-buffer-normalize-specifiers):
24256 Call display-buffer-normalize-specifiers-3.
24257
24258 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24259
24260 * window.el (same-window-p): Fix two typos introduced when
24261 adding with-no-warnings.
24262 (display-buffer-normalize-specifiers-1): Don't check
24263 pop-up-frames for 'unset initialization.
24264 (display-buffer-normalize-specifiers-2): Major rewrite using
24265 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
24266 (pop-up-frames, display-buffer-reuse-frames)
24267 (display-buffer-mark-dedicated): Don't initialize to 'unset.
24268 Suggested by David Engster <deng@randomsample.de>.
24269 (even-window-heights): Initialize to 'unset.
24270 (display-buffer-alist-set): Handle new 'unset initializations.
24271 (display-buffer-macro-specifiers): Don't pop up a new frame in the
24272 other window case.
24273
24274 2011-06-16 Martin Rudalics <rudalics@gmx.at>
24275
24276 * window.el (display-buffer-normalize-specifiers-1):
24277 Respect current value of pop-up-frames for most reasonable values of
24278 second argument of display-buffer (Bug#8865).
24279 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24280 (switch-to-buffer-other-window-same-frame)
24281 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
24282 Adams (Bug#8875).
24283 (display-buffer): Don't check noninteractive when calling
24284 display-buffer-pop-up-frame.
24285 (display-buffer-pop-up-frame): Never pop up a frame in
24286 noninteractive mode (Bug#8857).
24287 (enlarge-window, shrink-window): Don't report an error when the
24288 window can't be resized as requested (Bug#8862).
24289
24290 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24291
24292 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24293
24294 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24295
24296 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24297
24298 2011-06-15 Alan Mackenzie <acm@muc.de>
24299
24300 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24301 for declarators, disable knr checking to speed up for normal files.
24302 2: Refactor, replacing a sequence of nested if forms by a cond form.
24303
24304 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
24305
24306 * net/network-stream.el (open-network-stream): Add the keyword
24307 :always-query-capabilities for the case where you want to force a
24308 `plain' network connection, but the protocol still requires the
24309 capabilitiy command (i.e., SMTP and EHLO).
24310
24311 * subr.el (process-live-p): Rename from `process-alive-p' for
24312 consistency with other `-live-p' functions.
24313
24314 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24315
24316 * window.el (same-window-buffer-names, same-window-regexps)
24317 (special-display-frame-alist, special-display-popup-frame)
24318 (special-display-function, special-display-buffer-names)
24319 (special-display-regexps, pop-up-frame-alist)
24320 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24321 (pop-up-windows, split-window-preferred-function)
24322 (split-height-threshold, split-width-threshold, even-window-heights)
24323 (display-buffer-mark-dedicated): Don't encourage the use of
24324 display-buffer-alist from Elisp code.
24325
24326 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24327
24328 * progmodes/python.el (python-mode): Derive from prog-mode.
24329 * progmodes/ps-mode.el (ps-mode):
24330 * progmodes/mixal-mode.el (mixal-mode):
24331 * progmodes/cfengine.el (cfengine-mode):
24332 * progmodes/ld-script.el (ld-script-mode): Likewise.
24333
24334 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24335
24336 * window.el (display-buffer-alist): Trim default value to avoid
24337 popping up a new frame (Bug#8857) or reusing an arbitrary window
24338 on another frame.
24339 (display-buffer): Do not fall back on popping up a new frame in
24340 batch mode (Bug#8857).
24341
24342 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24343
24344 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24345 (custom-theme-summary): New function.
24346 (customize-themes): Use it.
24347
24348 2011-06-13 Glenn Morris <rgm@gnu.org>
24349
24350 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24351
24352 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24353
24354 * help.el (help-window): Remove variable.
24355 (help-window-point-marker, temp-buffer-max-height)
24356 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24357 (help-print-return-message): Don't set help-window.
24358 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24359 (help-window-setup-finish): Remove.
24360 (help-window-display-message, help-window-setup)
24361 (with-help-window): Major rewrite based on new
24362 display-buffer-window variable.
24363
24364 * help-mode.el (help-mode-finish): Remove help-window related
24365 code.
24366
24367 * view.el (view-exits-all-viewing-windows): Remove reference to
24368 view-return-to-alist in doc-string.
24369 (view-return-to-alist): Make obsolete.
24370 (view-buffer): Call pop-to-buffer-same-window and remove
24371 undo-window code.
24372 (view-buffer-other-window): Call pop-to-buffer-other-window and
24373 simplify code. Ignore second argument.
24374 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24375 simplify code. Ignore second argument.
24376 (view-return-to-alist-update): Make obsolete.
24377 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24378 Rewrite using quit-restore window parameters.
24379 (view-mode-exit): Rename second argument to EXIT-ONLY.
24380 Rewrite using quit-restore-window.
24381 (View-exit, View-exit-and-edit, View-leave, View-quit)
24382 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24383 appropriate arguments.
24384 (view-end-message): Use quit-restore window parameter.
24385
24386 * window.el (display-buffer-function): Rewrite doc-string.
24387 (display-buffer-window, display-buffer-alist): New variables.
24388 (display-buffer-split-specifiers)
24389 (display-buffer-side-specifiers)
24390 (display-buffer-macro-specifiers): New constants.
24391 (display-buffer-even-window-sizes, display-buffer-set-height)
24392 (display-buffer-set-width, display-buffer-select-window)
24393 (display-buffer-in-window, display-buffer-reuse-window)
24394 (display-buffer-split-window-1, display-buffer-split-window)
24395 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24396 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24397 (display-buffer-in-side-window, normalize-buffer-to-display)
24398 (display-buffer-normalize-specifiers-1)
24399 (display-buffer-normalize-specifiers-2)
24400 (display-buffer-normalize-specifiers, display-buffer-frame):
24401 New functions.
24402 (display-buffer): Major rewrite.
24403 (display-buffer-other-window, display-buffer-other-frame)
24404 (pop-to-buffer, switch-to-buffer-other-window)
24405 (switch-to-buffer-other-frame): Rewrite.
24406 (display-buffer-same-window, display-buffer-same-frame)
24407 (display-buffer-same-frame-other-window)
24408 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24409 (pop-to-buffer-other-window)
24410 (pop-to-buffer-same-frame-other-window)
24411 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24412 (switch-to-buffer-other-window-same-frame): New functions.
24413 (same-window-p, special-display-p): Rewrite disabling warnings.
24414 Make obsolete.
24415 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24416 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24417 Make obsolete
24418 (same-window-buffer-names, same-window-regexps)
24419 (special-display-frame-alist, special-display-popup-frame)
24420 (special-display-function, special-display-buffer-names)
24421 (special-display-regexps, pop-up-frame-alist)
24422 (pop-up-frame-function, split-window-preferred-function)
24423 (split-height-threshold, split-width-threshold)
24424 (even-window-heights): Make obsolete.
24425
24426 2011-06-12 Glenn Morris <rgm@gnu.org>
24427
24428 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24429 Misc simplifications.
24430
24431 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24432
24433 * window.el (window-safely-shrinkable-p): Restore function which
24434 was inadvertently removed in change from 2011-06-11. Declare as
24435 obsolete.
24436
24437 * calendar/calendar.el (calendar-generate-window):
24438 Use window-iso-combined-p instead of combination of one-window-p and
24439 window-safely-shrinkable-p.
24440
24441 2011-06-12 Glenn Morris <rgm@gnu.org>
24442
24443 * progmodes/fortran.el (fortran-mode-syntax-table):
24444 * progmodes/f90.el (f90-mode-syntax-table):
24445 Set % to punctuation. (Bug#8820)
24446 (f90-find-tag-default): Remove, no longer needed.
24447
24448 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24449
24450 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24451
24452 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24453
24454 * image.el (image-animated-p): Return animation delay in seconds.
24455 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24456 (image-animate-timeout): Remove DELAY argument. Don't assume
24457 every subimage has the same delay; get it from image-animated-p.
24458 (image-animate): Caller changed.
24459
24460 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24461
24462 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24463 to ignored backtrace functions.
24464
24465 2011-06-11 Glenn Morris <rgm@gnu.org>
24466
24467 * calendar/appt.el (appt-disp-window-function): Doc fix.
24468 (appt-check): Handle overlapping appointments. (Bug#8337)
24469
24470 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24471
24472 * window.el (window-tree-1, window-tree): New functions, moving
24473 the latter to window.el.
24474 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24475 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24476 (bw-refresh-edges): Remove.
24477 (balance-windows-1, balance-windows-2): New functions.
24478 (balance-windows): Rewrite in terms of window tree functions,
24479 balance-windows-1 and balance-windows-2.
24480 (bw-adjust-window): Remove.
24481 (balance-windows-area-adjust): New function with functionality of
24482 bw-adjust-window but using resize-window.
24483 (set-window-text-height): Rewrite doc-string.
24484 Use normalize-live-window and resize-window.
24485 (enlarge-window-horizontally, shrink-window-horizontally):
24486 Rename argument to DELTA.
24487 (window-buffer-height): New function.
24488 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24489 Rewrite using new window resize routines.
24490 (kill-buffer-and-window, mouse-autoselect-window-select):
24491 Use ignore-errors instead of condition-case.
24492 (quit-window): Call delete-frame instead of delete-windows-on
24493 for the only buffer on frame.
24494
24495 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24496
24497 * loadup.el (top-level): Load window before files for the sake
24498 of replace-buffer-in-windows.
24499
24500 * files.el (read-buffer-to-switch)
24501 (switch-to-buffer-other-window)
24502 (switch-to-buffer-other-frame, display-buffer-other-frame):
24503 Move to window.el.
24504
24505 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24506 (previous-buffer): Move to window.el.
24507
24508 * bindings.el (unbury-buffer): Move to window.el.
24509
24510 * window.el (delete-other-windows-vertically): Move after
24511 definition of delete-other-windows.
24512 (other-window, delete-windows-on, replace-buffer-in-windows):
24513 Move here from window.c.
24514 (record-window-buffer, unrecord-window-buffer)
24515 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24516 (switch-to-next-buffer): New functions.
24517 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24518 from simple.el. Call switch-to-next-buffer.
24519 (previous-buffer): Move here from simple.el.
24520 Call switch-to-prev-buffer.
24521 (bury-buffer): Move here from buffer.c. Switch to previous
24522 buffer when window cannot be deleted.
24523 (unbury-buffer): Move here from bindings.el.
24524 (ctl-x-map): Move binding for other-window from window.c to
24525 here.
24526 (read-buffer-to-switch, switch-to-buffer-other-window)
24527 (switch-to-buffer-other-frame): Move here from files.el.
24528 (normalize-buffer-to-switch-to): New functions.
24529 (switch-to-buffer): Move here from buffer.c.
24530 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24531
24532 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24533
24534 * window.el (window-min-height, window-min-width): Move here
24535 from window.c. Add defcustoms and rewrite doc-strings.
24536 (resize-mini-window, resize-window): New functions.
24537 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24538 Move here from window.c.
24539 (maximize-window, minimize-window): New functions.
24540 (delete-window, delete-other-windows, split-window): Move here
24541 from window.c.
24542 (window-split-min-size): New function.
24543 (split-window-keep-point): Mention split-window-above-each-other
24544 instead of split-window-vertically.
24545 (split-window-above-each-other, split-window-vertically):
24546 Rename split-window-vertically to split-window-above-each-other
24547 and provide defalias for old definition.
24548 (split-window-side-by-side, split-window-horizontally):
24549 Rename split-window-horizontally to split-window-side-by-side
24550 and provide defalias for the old definition.
24551 (ctl-x-map): Move bindings for delete-window,
24552 delete-other-windows and enlarge-window here from window.c.
24553 Replace bindings for split-window-vertically and
24554 split-window-horizontally by bindings for
24555 split-window-above-each-other and split-window-side-by-side.
24556
24557 * cus-start.el (all): Remove entries for window-min-height and
24558 window-min-width. Add entries for window-splits and
24559 window-nest.
24560
24561 2011-06-09 Glenn Morris <rgm@gnu.org>
24562
24563 * calendar/appt.el (appt-mode-line): New function.
24564 (appt-check, appt-disp-window): Use it.
24565
24566 * files.el (hack-one-local-variable-eval-safep):
24567 Allow minor-modes with explicit +/-1 arguments.
24568
24569 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24570
24571 * term/xterm.el (xterm): Add defgroup.
24572 (xterm-extra-capabilities): Add defcustom to supply known xterm
24573 capabilities, skip querying them, or query them (default).
24574 (terminal-init-xterm): Use it.
24575 (terminal-init-xterm-modify-other-keys): New function to set up
24576 modifyOtherKeys support to simplify `terminal-init-xterm'.
24577
24578 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24579
24580 * window.el (resize-window-reset, resize-window-reset-1)
24581 (resize-subwindows-skip-p, resize-subwindows-normal)
24582 (resize-subwindows, resize-other-windows, resize-this-window)
24583 (resize-root-window, resize-root-window-vertically)
24584 (window-deletable-p, window-or-subwindow-p)
24585 (frame-root-window-p): New functions.
24586
24587 2011-06-09 Glenn Morris <rgm@gnu.org>
24588
24589 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24590 (ange-ftp-get-files): Use it.
24591
24592 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24593
24594 * mail/sendmail.el (mail-recover-1, mail-recover):
24595 * files.el (recover-file, recover-session):
24596 Handle dired-listing-switches not being just a single short option.
24597
24598 2011-06-09 Glenn Morris <rgm@gnu.org>
24599
24600 * calendar/appt.el (appt-display-message, appt-disp-window):
24601 Handle lists of appointments.
24602
24603 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24604
24605 * window.el (one-window-p): Move down in code.
24606 Rewrite doc-string.
24607 (window-current-scroll-bars): Rewrite doc-string.
24608 Normalize live window argument.
24609 (walk-windows, get-window-with-predicate, count-windows):
24610 Rewrite doc-string. Use window-list-1.
24611 (window-in-direction-2, window-in-direction, get-mru-window):
24612 New functions.
24613
24614 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24615
24616 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24617 Doc fix (Bug#8713).
24618
24619 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24620
24621 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24622
24623 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24624
24625 * loadhist.el (unload-feature-special-hooks):
24626 Add `comint-output-filter-functions'.
24627
24628 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24629
24630 * calendar/appt.el (appt-check): Move some initializations into the let.
24631
24632 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24633
24634 * window.el (window-height): Defalias to window-total-height.
24635 (window-width): Defalias to window-body-width.
24636
24637 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24638
24639 * image-mode.el (image-toggle-animation): New command.
24640 (image-mode-map): Bind it to RET.
24641 (image-mode): Update message.
24642 (image-toggle-display-image): Avoid a spurious cache flush.
24643 (image-transform-rotation): Doc fix.
24644 (image-transform-properties): Return quickly in the normal case.
24645 (image-animate-loop): Rename from image-animate-max-time.
24646
24647 * image.el (image-animate-max-time): Move to image-mode.el.
24648 (create-animated-image): Remove unnecessary function.
24649 (image-animate): Rename from image-animate-start. New arg.
24650 (image-animate-stop): Remove; just use image-animate-timer.
24651 (image-animate-timer): Use car-safe.
24652 (image-animate-timeout): Rename argument.
24653
24654 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24655
24656 * window.el (get-lru-window, get-largest-window): Move here from
24657 window.c. Rename first argument to ALL-FRAMES.
24658 Rephrase doc-strings.
24659 (get-buffer-window-list): Rewrite using window-list-1.
24660 Rephrase doc-string.
24661 (window-safe-min-height, window-safe-min-width): New constants.
24662 (window-size-ignore, window-min-size, window-min-size-1)
24663 (window-sizable, window-sizable-p, window-size-fixed-1)
24664 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24665 (window-max-delta-1, window-max-delta, window-resizable)
24666 (window-resizable-p, window-total-height, window-total-width)
24667 (window-body-width): New functions.
24668 (window-full-height-p, window-full-width-p): Rewrite using
24669 window-total-size.
24670 (window-body-height): Rewrite using window-body-size.
24671
24672 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24673
24674 * window.el (window-right, window-left, window-child)
24675 (window-child-count, window-last-child, window-any-p)
24676 (normalize-live-buffer, normalize-live-frame)
24677 (normalize-any-window, normalize-live-window)
24678 (window-iso-combination-p, window-iso-combined-p)
24679 (window-iso-combinations)
24680 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24681 (windows-with-parameter, window-with-parameter)
24682 (window-atom-root, make-window-atom, window-atom-check-1)
24683 (window-atom-check, window-side-check, window-check):
24684 New functions.
24685 (ignore-window-parameters, window-sides, window-sides-vertical)
24686 (window-sides-slots): New variables.
24687 (window-size-fixed): Move down in code. Minor doc-string fix.
24688
24689 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24690
24691 * comint.el (comint-dynamic-complete-as-filename)
24692 (comint-dynamic-complete-filename): Correctly call
24693 completion-in-region.
24694
24695 2011-06-05 Deniz Dogan <deniz@dogan.se>
24696
24697 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24698 in last change.
24699
24700 2011-06-05 Deniz Dogan <deniz@dogan.se>
24701
24702 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24703 (rcirc): Use it to prompt for encryption.
24704
24705 2011-06-05 Roland Winkler <winkler@gnu.org>
24706
24707 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24708 (bibtex-search-entries): New command bound to C-c C-a.
24709 (bibtex-display-entries): New function.
24710
24711 2011-06-05 Roland Winkler <winkler@gnu.org>
24712
24713 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24714 (bibtex-insert-kill): After yanking insert newline if necessary.
24715 (bibtex-initialize): Call bibtex-string-files-init only once.
24716 (bibtex-mode): Do not call easy-menu-add.
24717 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24718 (bibtex-yank): Set arg properly if nil.
24719
24720 2011-06-05 Roland Winkler <winkler@gnu.org>
24721
24722 * textmodes/bibtex.el (bibtex-search-entry-globally):
24723 New variable.
24724 (bibtex-search-entry): Use it.
24725
24726 2011-06-05 Roland Winkler <winkler@gnu.org>
24727
24728 * textmodes/bibtex.el (bibtex-entry-format): New option
24729 sort-fields.
24730 (bibtex-format-entry, bibtex-reformat): Honor this option.
24731 (bibtex-parse-entry): Return fields in proper order.
24732
24733 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24734
24735 * doc-view.el (doc-view-remove-if): Move computation of result out
24736 of `dolist' to silence misleading lexical-binding warning.
24737
24738 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24739
24740 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24741 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24742
24743 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24744
24745 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24746 "SunOS 5.10".
24747
24748 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24749
24750 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24751 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24752 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24753 (tramp-parse-putty):
24754 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24755 (tramp-completion-function-alist-ssh)
24756 (tramp-completion-function-alist-telnet)
24757 (tramp-completion-function-alist-su)
24758 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24759 cookie.
24760
24761 * net/tramp-ftp.el:
24762 * net/tramp-sh.el:
24763 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24764 load "tramp.el" `tramp-set-completion-function'.
24765
24766 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24767
24768 * shell.el: Require and use pcomplete.
24769 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24770 (shell-completion-vars): Set pcomplete-default-completion-function.
24771
24772 2011-06-04 Deniz Dogan <deniz@dogan.se>
24773
24774 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24775 `memq' (Bug#8799).
24776
24777 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24778
24779 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24780
24781 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24782
24783 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24784 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24785 * vc/log-view.el (log-view-beginning-of-defun):
24786 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24787 (smerge-refine-forward, smerge-refine-chopup-region):
24788 Silence warning for unused `dotimes' counter variables.
24789
24790 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24791
24792 * net/tramp.el (tramp-with-progress-reporter): Rename from
24793 with-progress-reporter. Use `declare'.
24794 * net/tramp-smb.el:
24795 * net/tramp-sh.el:
24796 * net/tramp-gvfs.el: Update all uses.
24797
24798 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24799
24800 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24801 buffer isn't killed before making it current.
24802
24803 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24804
24805 Silence various byte-compiler warnings.
24806 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24807 `access-type' and new obsolescence format.
24808 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24809 new format.
24810 (byte-compile-check-variable): New `access-type' argument.
24811 Only warn if the access-type is obsolete.
24812 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24813 (byte-compile-variable-set): Adjust callers.
24814 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24815 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24816 setting it as obsolete.
24817 * simple.el (minibuffer-completing-symbol):
24818 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24819 access as obsolete.
24820 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24821 obsolete yet.
24822 * international/quail.el (quail-mouse-choose-completion): Remove unused
24823 code referring to obsolete var.
24824 (quail-choose-completion-string): Remove.
24825 * server.el (server-clients-with, server-kill-buffer-query-function)
24826 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24827 * proced.el (proced-send-signal):
24828 * emacs-lisp/lisp.el (lisp-complete-symbol):
24829 Replace completion-annotate-function with completion-extra-properties.
24830
24831 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24832
24833 * simple.el (goto-line): Use read-number.
24834 (overriding-map-is-bound): Remove.
24835 (saved-overriding-map): Change default.
24836 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24837 Take the map as argument.
24838 (universal-argument, negative-argument, digit-argument): Use it.
24839 (restore-overriding-map): Adjust.
24840 (do-auto-fill): Use fill-forward-paragraph.
24841 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24842
24843 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24844 (minibuffer-inactive-mode): New major mode.
24845 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24846 the *Messages* buffer" hack.
24847 (mouse-popup-menubar): Don't burp if the event is a normal key.
24848
24849 Miscellaneous tweaks.
24850 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24851 lexical scoping as in subr.el's dolist and dotimes.
24852 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24853 Silence compiler warning.
24854 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24855 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24856 * international/ccl.el (ccl-compile): Trivial simplification.
24857 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24858 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24859 `printflag' argument.
24860 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24861 Purecopy the whole obsolescence data.
24862
24863 2011-06-01 Leo Liu <sdl.web@gmail.com>
24864
24865 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24866 improve doc-string as suggested by Marco Pessotto
24867 <melmothx@gmail.com>.
24868 (rcirc-print): Fix last change.
24869
24870 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24871
24872 * minibuffer.el (complete-with-action): Return nil for the metadata and
24873 boundaries of non-functional tables.
24874 (completion-table-dynamic): Return nil for the metadata.
24875 (completion-table-with-terminator): Add default case, using
24876 complete-with-action.
24877 (completion--metadata): New function.
24878 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24879 to try and avoid pathological performance problems.
24880 (completion--embedded-envvar-table): Return `category' metadata.
24881
24882 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24883
24884 * subr.el (process-alive-p): New tiny convenience function.
24885
24886 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24887
24888 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24889 content but also its previous major mode.
24890
24891 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24892
24893 * emacs-lisp/debug.el (debug): Restore the previous content of the
24894 *Backtrace* buffer when we exit with C-M-c.
24895
24896 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24897
24898 * minibuffer.el: Add metadata method to completion tables.
24899 (completion-category-overrides): New defcustom.
24900 (completion-metadata, completion--field-metadata)
24901 (completion-metadata-get, completion--styles)
24902 (completion--cycle-threshold): New functions.
24903 (completion-try-completion, completion-all-completions):
24904 Add `metadata' argument to choose completion-styles.
24905 (completion--do-completion): Use metadata to choose cycling.
24906 (completion-all-sorted-completions): Use metadata for sorting.
24907 Remove :completion-cycle-penalty which is not needed any more.
24908 (completion--try-word-completion): Add `metadata' argument.
24909 (minibuffer-completion-help): Check metadata for annotation function
24910 and sorting.
24911 (completion-file-name-table): Return `category' metadata.
24912 (minibuffer-completing-file-name): Make obsolete.
24913 * simple.el (minibuffer-completing-symbol): Make obsolete.
24914 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24915 completion-try-completion.
24916
24917 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24918
24919 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24920
24921 2011-05-30 Leo Liu <sdl.web@gmail.com>
24922
24923 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24924 (rcirc-print): Decode all incoming messages (bug#8744).
24925 (rcirc-decode-coding-system): Allow value nil for automatic coding
24926 system detection.
24927
24928 2011-06-01 Glenn Morris <rgm@gnu.org>
24929
24930 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24931
24932 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24933
24934 * image.el (image-animate-max-time): Allow nil and t values.
24935 Default to nil.
24936 (create-animated-image): Doc fix.
24937 (image-animate-start): Remove second arg; just use
24938 image-animate-max-time.
24939 (image-animate-timeout): Doc fix. Args changed.
24940
24941 * image-mode.el (image-toggle-display-image): Ensure that the
24942 image spec passed to the animate timer is the same object as in
24943 the buffer's display property (Bug#6981).
24944 (image-transform-properties): Doc fix.
24945
24946 * image.el (image-animate-max-time): Default to nil.
24947
24948 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24949
24950 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24951 entire buffer list (Bug#8184).
24952
24953 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24954
24955 * image.el (imagemagick-types-inhibit)
24956 (imagemagick-register-types): Doc fix.
24957
24958 2011-05-29 Deniz Dogan <deniz@dogan.se>
24959
24960 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24961 default.
24962
24963 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24964
24965 * select.el: Don't perform clipboard-manager saving in hooks;
24966 leave the hooks empty.
24967
24968 2011-05-28 Leo Liu <sdl.web@gmail.com>
24969
24970 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24971 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24972 (occur-edit-mode): New major mode (Bug#8463).
24973 (occur-after-change-function): New function.
24974 (occur-engine): Give Occur tags a read-only property.
24975
24976 2011-05-28 Kevin Ryde <user42@zip.com.au>
24977
24978 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24979
24980 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24981
24982 * bindings.el (help-echo): Make the initial non-indicator dash
24983 empty on graphical terminals (Bug#7295).
24984
24985 * files.el (auto-mode-alist): Move config rule after the
24986 in-stripping one (Bug#8547).
24987
24988 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24989
24990 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24991 setting (Bug#8740).
24992
24993 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24994
24995 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24996 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24997 (Bug#8539).
24998
24999 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25000
25001 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
25002
25003 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
25004
25005 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
25006 (hs-hide-block-at-point, hs-find-block-beginning)
25007 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
25008 (Bug#8279).
25009
25010 2011-05-28 Glenn Morris <rgm@gnu.org>
25011
25012 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
25013
25014 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25015
25016 * help-fns.el (describe-function-1): If the function is a derived
25017 major mode, print the parent mode.
25018
25019 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
25020 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
25021
25022 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
25023
25024 * minibuffer.el (completion--capf-wrapper): Check applicability before
25025 returning non-nil for non-exclusive completion data.
25026 * progmodes/etags.el (tags-completion-at-point-function):
25027 * info-look.el (info-lookup-completions-at-point): Mark as
25028 non-exclusive.
25029 (info-complete): Adjust accordingly.
25030
25031 * info-look.el: Convert to lexical-binding and completion-at-point.
25032 (info-lookup-completions-at-point): New function.
25033 (info-complete): Use it and completion-in-region.
25034
25035 2011-05-28 Drew Adams <drew.adams@oracle.com>
25036
25037 * isearch.el: Let M-e start with point at the first mismatched char.
25038 (isearch-fail-pos): New function.
25039 (isearch-edit-string): Use it.
25040
25041 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25042
25043 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25044
25045 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
25046
25047 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
25048 traversal functions for avl-trees.
25049 (avl-tree--stack): New struct.
25050 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
25051 (avl-tree-enter): Add optional `updatefun' arg.
25052 (avl-tree--do-enter): Add optional `updatefun' arg.
25053 Change return value.
25054 (avl-tree-delete): Add optional `test' and `nilflag' args.
25055 (avl-tree--do-delete): Add `test' and `nilflag' args.
25056 Change return value.
25057 (avl-tree-member): Add optional `nilflag'
25058 (avl-tree-member-p): New function.
25059 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
25060 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
25061 (avl-tree-stack-empty-p): New functions.
25062
25063 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
25064 avl-tree--del-balance1 and make it work both ways.
25065 (avl-tree--del-balance2): Remove.
25066 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
25067 make it work both ways.
25068 (avl-tree--enter-balance2): Remove.
25069 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
25070 New macros.
25071 (avl-tree--mapc, avl-tree-map): Add direction argument.
25072
25073 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
25074
25075 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
25076
25077 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
25078
25079 * select.el: Support clipboard managers with built-in function
25080 x-clipboard-manager-save, via delete-frame-functions and
25081 kill-emacs-hook.
25082 (xselect-convert-to-targets): Add MULTIPLE target to list.
25083 (xselect-convert-to-save-targets): New function.
25084
25085 2011-05-27 Kenichi Handa <handa@m17n.org>
25086
25087 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
25088 let-binding rfc2047-encode-encoded-words to nil.
25089
25090 2011-05-27 Glenn Morris <rgm@gnu.org>
25091
25092 * mail/emacsbug.el: Don't require url-util.
25093
25094 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
25095
25096 * files.el (set-auto-mode):
25097 Also respect mode: entries at the end of the file. (Bug#8586)
25098
25099 2011-05-26 Glenn Morris <rgm@gnu.org>
25100
25101 * files.el (hack-local-variables-prop-line, hack-local-variables):
25102 Downcase mode names, as seems to be traditional.
25103 (hack-local-variables, hack-local-variables-apply): Doc fixes.
25104
25105 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
25106 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
25107
25108 2011-05-25 Julien Danjou <julien@danjou.info>
25109
25110 * textmodes/rst.el (rst-define-level-faces): Do not define face
25111 symbol if it is already defined.
25112
25113 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
25114
25115 * play/5x5.el (5x5-new-game, 5x5-randomize):
25116 Reset 5x5-solver-output to nil when a new grid is cast.
25117 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
25118 these debugging traces, as defmacro breaks the compiled code.
25119
25120 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25121
25122 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25123
25124 2011-05-24 Leo Liu <sdl.web@gmail.com>
25125
25126 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
25127 (vc-bzr-sha1): Adapt.
25128
25129 * sha1.el: Remove. Function `sha1' is now builtin.
25130
25131 * bindings.el: Provide sha1 feature.
25132
25133 2011-05-24 Kenichi Handa <handa@m17n.org>
25134
25135 * mail/sendmail.el: Require `rfc2047'.
25136 (mail-insert-from-field): Do not perform RFC2047 encoding.
25137 (mail-encode-header): New function.
25138 (sendmail-send-it): Set buffer-file-coding-system of the work
25139 buffer to the return value of select-message-coding-system.
25140 Call mail-encode-header.
25141
25142 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
25143
25144 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
25145
25146 * mail/supercite.el (sc-default-cite-frame):
25147 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
25148
25149 2011-05-24 Glenn Morris <rgm@gnu.org>
25150
25151 * progmodes/python.el (brm-menu): Declare.
25152
25153 * emulation/viper.el (viper-set-hooks): Declare.
25154
25155 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
25156 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
25157 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
25158 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
25159 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
25160 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
25161
25162 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
25163
25164 Add an :exit-function for completion-at-point.
25165
25166 * minibuffer.el (completion--done): New fun.
25167 (completion--do-completion): Use it. New arg `expect-exact'.
25168 (minibuffer-complete, minibuffer-complete-word): Don't output message,
25169 since completion--do-completion does it for us now.
25170 (minibuffer-force-complete): Use completion--done and
25171 completion--replace. Handle sole-completion case with more care.
25172 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
25173 (completion-extra-properties): New var.
25174 (completion-annotate-function): Make obsolete.
25175 (minibuffer-completion-help): Adjust accordingly.
25176 Use completion-list-insert-choice-function.
25177 (completion-at-point, completion-help-at-point):
25178 Bind completion-extra-properties.
25179 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
25180 * simple.el (completion-list-insert-choice-function): New var.
25181 (completion-setup-function): Preserve it.
25182 (choose-completion): Pay attention to it, shuffle the code a bit.
25183 (choose-completion-string): New arg `insert-function'.
25184
25185 * textmodes/bibtex.el: Convert to lexical binding.
25186 (bibtex-mode-map): Use completion-at-point.
25187 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
25188 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
25189 (bibtex-complete): Define as obsolete alias.
25190 (bibtex-complete-internal): Remove.
25191 (bibtex-format-entry): Remove unused sub-group in regexp.
25192 * shell.el (shell--command-completion-data)
25193 (shell-environment-variable-completion):
25194 * pcomplete.el (pcomplete-completions-at-point):
25195 * comint.el (comint--complete-file-name-data): Use :exit-function
25196 instead of completion-table-with-terminator so it also works for
25197 choose-completion.
25198
25199 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25200
25201 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
25202
25203 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
25204 (bug#8710).
25205
25206 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
25207
25208 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
25209
25210 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
25211 customization variable and implement: If non-nil, auto-fill will
25212 be inhibited while on topic's header line.
25213
25214 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
25215
25216 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
25217 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
25218 always have a solution in grid size = 5 cases.
25219 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
25220 (5x5-solver-output, 5x5-log-buffer): New vars.
25221 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
25222 Make these variables buffer local to achieve 5x5 multi-session-ness.
25223 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
25224 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
25225 (5x5-solve-suggest): New funs.
25226 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
25227 randomize a grid so that we ensure that there is always a solution.
25228 (5x5-make-random-grid): Allow other movement than flipping.
25229
25230 2011-05-23 Kevin Ryde <user42@zip.com.au>
25231
25232 * emacs-lisp/advice.el (ad-read-advised-function):
25233 Use `function-called-at-point' as the default, if it has
25234 advice and passes PREDICATE.
25235
25236 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25237
25238 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
25239 byte-compile-lambda if it's actually a lambda.
25240
25241 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
25242 Fix function quoting. Use backquote better.
25243
25244 2011-05-22 Yuanle Song <sylecn@gmail.com>
25245
25246 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
25247 matching (Bug#8516).
25248
25249 2011-05-22 Jari Aalto <jari.aalto@cante.net>
25250
25251 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
25252 different face (Bug#8178).
25253
25254 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
25255
25256 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
25257 defface (Bug#8144).
25258
25259 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
25260
25261 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
25262 funcall as well (bug#8712). Warn when performing those conversions.
25263 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
25264
25265 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25266
25267 2011-05-22 Glenn Morris <rgm@gnu.org>
25268
25269 * files.el (hack-local-variables-prop-line): Small simplifications.
25270 (hack-local-variables, hack-local-variables-prop-line):
25271 If MODE-ONLY, return the mode, rather than just `t'.
25272
25273 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
25274
25275 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25276
25277 2011-05-21 Glenn Morris <rgm@gnu.org>
25278
25279 * files.el (hack-local-variables-prop-line, hack-local-variables):
25280 If only interested in the mode, don't bother doing the other stuff.
25281
25282 * image-mode.el (image-after-revert-hook):
25283 Redraw all frames on which the image is visible. (Bug#8567)
25284
25285 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
25286
25287 * wid-edit.el (widget-checklist-match-inline):
25288 Fix 2011-04-19 change. (Bug#8649)
25289
25290 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
25291
25292 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25293 Also allow singlespace after single-letter capitals followed by a dot.
25294
25295 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25296 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25297
25298 2011-05-20 Nix <nix@esperi.org.uk>
25299
25300 * files.el (basic-save-buffer-2):
25301 Fix handling of break-hardlink-on-save with non-existent files.
25302
25303 2011-05-19 Deniz Dogan <deniz@dogan.se>
25304
25305 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25306 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25307
25308 2011-05-19 Glenn Morris <rgm@gnu.org>
25309
25310 * progmodes/f90.el (f90-type-def-re):
25311 Handle "type, bind(c)". (Bug#8691)
25312
25313 * emacs-lisp/autoload.el (batch-update-autoloads):
25314 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25315
25316 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25317
25318 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25319 property for the correct connection in case of multihops.
25320
25321 2011-05-18 Glenn Morris <rgm@gnu.org>
25322
25323 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25324 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25325
25326 Rationalize calendar handling of day and month abbrev-arrays.
25327 * calendar/calendar.el (calendar-customized-p): New function.
25328 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25329 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25330 Add :set function.
25331 (calendar-abbrev-length, calendar-day-abbrev-array)
25332 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25333 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25334 Elements may no longer be nil.
25335 (calendar-day-name, calendar-month-name):
25336 Update for changed nature of abbrev arrays.
25337 * calendar/diary-lib.el (diary-name-pattern):
25338 Update for changed nature of abbrev arrays.
25339 (diary-mark-entries-1): Update calendar-make-alist calls.
25340 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25341 * calendar/cal-html.el (cal-html-day-abbrev-array):
25342 Simply inherit from calendar-day-abbrev-array.
25343
25344 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25345
25346 * progmodes/grep.el (grep-mode): Disable default
25347 compilation-directory-matcher setting (bug#8684).
25348
25349 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25350
25351 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25352 instead of "head" and "tail". There were problems with SunOS 5.9,
25353 and it performs better.
25354
25355 2011-05-17 Glenn Morris <rgm@gnu.org>
25356
25357 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25358
25359 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25360 Replace obsolete function.
25361
25362 * shell.el (pcomplete-parse-arguments-function): Declare.
25363
25364 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25365 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25366 (appt-check): Doc fixes.
25367 (appt-disp-window-function, appt-delete-window-function):
25368 Remove needless special case in custom :type.
25369 (appt-display-count): Default to 0, not nil.
25370 (appt-check): Reset appt-display-count to 0, not nil.
25371
25372 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25373
25374 * progmodes/python.el (python-font-lock-keywords):
25375 Add the Python 3.X keyword "nonlocal" (bug#8639).
25376
25377 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25378
25379 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25380
25381 2011-05-16 Kevin Ryde <user42@zip.com.au>
25382
25383 * info-look.el (makefile-automake-mode): New setups, looking in
25384 automake manual, then makefile-mode.
25385 (makefile-mode): Remove automake manual, have it just in
25386 makefile-automake-mode since there's various things different or
25387 not relevant to plain make.
25388 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25389 believe a hypothetical automake-mode would go to makefile-mode,
25390 not the other way around.
25391
25392 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25393
25394 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25395 hunk-end tags (Bug#8672).
25396
25397 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25398 vc-annotate-show-diff-revision-at-line (Bug#8671).
25399
25400 2011-05-14 Glenn Morris <rgm@gnu.org>
25401
25402 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25403 in the middle of an existing one with multiple authors. (Bug#8645)
25404 (change-log-font-lock-keywords): Also handle multiple author lines
25405 with leading tabs. (Bug#8644)
25406
25407 * calendar/appt.el (appt-check): Rename some local variables.
25408 Some simplification/reordering.
25409
25410 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25411 (feedmail-sendmail-f-doesnt-sell-me-out)
25412 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25413 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25414 (feedmail-queue-runner-message-sender): Set :version.
25415 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25416 (bbdb-dwim-net-address, vm-mail): Declare.
25417 (feedmail-binmail-gnulinuxish-template):
25418 Rename from feedmail-binmail-linuxish-template.
25419 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25420 Use insert-buffer-substring.
25421
25422 2011-05-14 Bill Carpenter <bill@carpenter.org>
25423
25424 * mail/feedmail.el (feedmail-patch-level): Increase.
25425 (feedmail-debug): New custom group.
25426 (feedmail-confirm-outgoing-timeout)
25427 (feedmail-sendmail-f-doesnt-sell-me-out)
25428 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25429 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25430 (feedmail-sender-line, feedmail-from-line)
25431 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25432 (feedmail-spray-this-address)
25433 (feedmail-spray-address-fiddle-plex-list)
25434 (feedmail-queue-use-send-time-for-date)
25435 (feedmail-queue-use-send-time-for-message-id)
25436 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25437 (feedmail-buffer-eating-function):
25438 Doc fixes.
25439 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25440 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25441 (feedmail-message-action-scroll-down): New functions.
25442 (feedmail-queue-directory, feedmail-queue-draft-directory):
25443 Use expand-file-name.
25444 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25445 Remove C-v help entry.
25446 (feedmail-queue-buffer-file-name): New variable.
25447 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25448 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25449 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25450 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25451 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25452 (feedmail-message-action-toggle-spray)
25453 (feedmail-run-the-queue-no-prompts)
25454 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25455 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25456 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25457 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25458 (feedmail-envelope-deducer, feedmail-fiddle-from)
25459 (feedmail-fiddle-sender, feedmail-default-date-generator)
25460 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25461 (feedmail-fiddle-spray-address)
25462 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25463 (feedmail-fiddle-list-of-fiddle-plexes)
25464 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25465 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25466 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25467 Change default. Doc fix.
25468 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25469 (feedmail-binmail-linuxish-template): New constant.
25470 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25471 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25472 (feedmail-send-it): Add debug call.
25473 Use feedmail-queue-buffer-file-name, and
25474 feedmail-send-it-immediately-wrapper.
25475 (feedmail-message-action-send): Add debug call.
25476 Use feedmail-send-it-immediately-wrapper.
25477 (feedmail-queue-express-to-queue): Add debug call.
25478 Run feedmail-queue-express-hook.
25479 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25480 (feedmail-message-action-help-blat):
25481 Rename from feedmail-queue-send-edit-prompt-help-first.
25482 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25483 Check line-endings. Handle errors better.
25484 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25485 Doc fix. Add debug call.
25486 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25487 Use feedmail-queue-send-edit-prompt-inner.
25488 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25489 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25490 from feedmail-queue-send-edit-prompt.
25491 (feedmail-queue-send-edit-prompt-help)
25492 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25493 (feedmail-tidy-up-slug): Add debug call.
25494 Respect feedmail-queue-slug-suspect-regexp.
25495 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25496 (feedmail-dump-message-to-queue): Add debug call.
25497 Expand queue-directory.
25498 (feedmail-dump-message-to-queue): Change message slightly.
25499 Use feedmail-say-chatter.
25500 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25501 (feedmail-send-it-immediately-wrapper): New function.
25502 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25503 Insert empty string rather than newline. Handle full-frame case.
25504 Use catch/throw. Use feedmail-say-chatter.
25505 (feedmail-fiddle-from): Try mail-host-address.
25506 (feedmail-default-message-id-generator): Doc fix.
25507 Bind system-time-locale. Handle missing end.
25508 (feedmail-fiddle-x-mailer): Add debug call.
25509 Handle feedmail-x-mailer-line being nil.
25510 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25511 Add debug call. Use buffer-substring-no-properties.
25512 (feedmail-say-debug, feedmail-say-chatter): New functions.
25513 (feedmail-find-eoh): Give an explicit error.
25514
25515 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25516
25517 * net/newst-treeview.el (newsticker-treeview-face): Change default
25518 family from helvetica to sans.
25519 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25520 etc/images/newsticker.
25521
25522 * net/newst-reader.el (newsticker-feed-face): Change default
25523 family from helvetica to sans.
25524
25525 * net/newst-plainview.el (newsticker-new-item-face)
25526 (newsticker-old-item-face, newsticker-immortal-item-face)
25527 (newsticker-obsolete-item-face, newsticker-date-face)
25528 (newsticker-statistics-face): Change default family from
25529 helvetica to sans.
25530 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25531 etc/images/newsticker.
25532
25533 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25534 (newsticker--process-auto-mark-filter-match): Tell user about
25535 auto-marking.
25536
25537 2011-05-13 Didier Verna <didier@xemacs.org>
25538
25539 Common Lisp indentation improvements on defmethod and lambda-lists.
25540 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25541 TODO entries.
25542 (lisp-lambda-list-keyword-parameter-indentation)
25543 (lisp-lambda-list-keyword-parameter-alignment)
25544 (lisp-lambda-list-keyword-alignment): New customizable user options.
25545 (lisp-indent-defun-method): Improve docstring.
25546 (extended-loop-p): Fix comment.
25547 (lisp-indent-lambda-list-keywords-regexp): New variable.
25548 (lisp-indent-lambda-list): New function.
25549 (lisp-indent-259): Use it.
25550 (lisp-indent-defmethod): Support for more than one
25551 method qualifier and properly indent methods lambda-lists.
25552 (defgeneric): Provide a missing common-lisp-indent-function property.
25553
25554 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25555
25556 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25557 bounds for the empty string (bug#8667).
25558
25559 2011-05-13 Glenn Morris <rgm@gnu.org>
25560
25561 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25562
25563 * mail/sendmail.el (sendmail-program): Try executable-find first.
25564 (sendmail-send-it): `sendmail-program' cannot be unbound.
25565
25566 * calendar/appt.el (appt-make-list): Simplify.
25567 (appt-time-msg-list): Doc fix.
25568 (appt-check): Change mode-line message at the time of the appointment.
25569
25570 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25571
25572 * progmodes/ld-script.el (ld-script-keywords)
25573 (ld-script-builtins): Update keywords list.
25574
25575 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25576
25577 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25578
25579 * shell.el (shell-completion-vars): New function.
25580 (shell-mode):
25581 * simple.el (read-shell-command): Use it.
25582 (blink-matching-open): No need for " [...]" in minibuffer-message.
25583
25584 2011-05-12 Glenn Morris <rgm@gnu.org>
25585
25586 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25587 (appt-check): Simplify.
25588
25589 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25590
25591 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25592 literal "/dev/null".
25593
25594 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25595
25596 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25597 Fix typo.
25598
25599 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25600
25601 * progmodes/which-func.el (which-function):
25602 Use add-log-current-defun instead of add-log-current-defun-function,
25603 which might not be defined (Bug#8260).
25604
25605 2011-05-12 Glenn Morris <rgm@gnu.org>
25606
25607 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25608 Let byte-compile-initial-macro-environment always take precedence.
25609
25610 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25611
25612 * net/rcirc.el: Add support for SSL/TLS connections.
25613 (rcirc-server-alist): New field `encryption'.
25614 (rcirc): Check `encryption' settings.
25615 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25616 Merge make-local-variable into `set'.
25617 (rcirc--connection-open-p): New function.
25618 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25619 the process is not a network process (e.g. running gnutls-cli).
25620 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25621 Make rcirc-(en|de)code-coding-system local here.
25622 (rcirc-mode): Merge make-local-variable into `set'.
25623 (rcirc-parent-buffer): Make permanent buffer-local.
25624 (rcirc-multiline-minor-mode): Don't do it here.
25625 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25626 there's no server buffer.
25627
25628 2011-05-11 Glenn Morris <rgm@gnu.org>
25629
25630 * newcomment.el (comment-kill): Prefix "unused" local.
25631
25632 * term/w32console.el (get-screen-color): Declare.
25633
25634 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25635 Handle symbol elements of byte-compile-initial-macro-environment.
25636
25637 2011-05-10 Leo Liu <sdl.web@gmail.com>
25638
25639 * bookmark.el (bookmark-bmenu-mode-map):
25640 Bind bookmark-bmenu-search to `/'.
25641
25642 * mail/footnote.el: Convert to utf-8 encoding.
25643 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25644 (Footnote-unicode): New function.
25645 (footnote-style-alist): Add unicode style to the list.
25646 (footnote-style): Doc fix.
25647
25648 2011-05-10 Jim Meyering <meyering@redhat.com>
25649
25650 Fix doubled-word typos.
25651 * international/quail.el (quail-insert-kbd-layout): and and -> and
25652 * kermit.el: and and -> and
25653 * net/ldap.el (ldap-search-internal): to to -> to
25654 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25655 * progmodes/js.el (js-mode): and and -> and
25656 * textmodes/artist.el (artist-move-to-xy): at at -> at
25657 (artist-draw-region-trim-line-endings): if if -> if
25658 And Safetyc -> Safety.
25659 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25660
25661 2011-05-10 Glenn Morris <rgm@gnu.org>
25662 Stefan Monnier <monnier@iro.umontreal.ca>
25663
25664 * files.el (hack-one-local-variable-eval-safep):
25665 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25666
25667 2011-05-10 Glenn Morris <rgm@gnu.org>
25668
25669 * calendar/diary-lib.el (diary-list-entries-hook)
25670 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25671 (diary-nongregorian-marking-hook, diary-list-entries)
25672 (diary-include-other-diary-files, diary-mark-entries)
25673 (diary-mark-included-diary-files): Doc fixes.
25674
25675 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25676
25677 * misc.el: Require tabulated-list.el during compilation.
25678
25679 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25680
25681 * progmodes/compile.el (compilation-start):
25682 Run compilation-filter-hook for the async case too.
25683 (compilation-filter-hook): Doc fix.
25684
25685 2011-05-09 Deniz Dogan <deniz@dogan.se>
25686
25687 * wdired.el: Remove outdated installation comment. Fix usage
25688 comment.
25689
25690 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25691
25692 * misc.el: Implement new command `list-dynamic-libraries'.
25693 (list-dynamic-libraries--loaded-only-p): New variable.
25694 (list-dynamic-libraries--refresh): New function.
25695 (list-dynamic-libraries): New command.
25696
25697 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25698
25699 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25700 Fix the ant regexp to handle end-line and end-column info from jikes.
25701 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25702 higher priority to avoid clobbering by gnu.
25703
25704 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25705
25706 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25707 if the face has existing theme settings (Bug#8454).
25708
25709 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25710
25711 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25712 Only match variables declared via `my' or `our' (Bug#8261).
25713
25714 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25715 special file names `.' and `..' (Bug#8259).
25716
25717 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25718
25719 * progmodes/grep.el (grep-mode-font-lock-keywords):
25720 Remove buffer-changing entries.
25721 (grep-filter): New function.
25722 (grep-mode): Add it to compilation-filter-hook.
25723
25724 * progmodes/compile.el (compilation-filter-hook)
25725 (compilation-filter-start): New defvars.
25726 (compilation-filter): Call compilation-filter-hook prior to
25727 updating the process mark.
25728
25729 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25730
25731 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25732
25733 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25734
25735 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25736 mailclient-send-it even if window-system is nil. (Bug#8595)
25737
25738 * term/w32console.el (terminal-init-w32console):
25739 Call get-screen-color and use its output to set the frame
25740 background-mode. (Bug#8597)
25741
25742 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25743
25744 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25745 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25746 New functions.
25747 (defgeneric, eieio--defmethod): Use them.
25748 (eieio-defgeneric): Remove.
25749 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25750
25751 2011-05-07 Glenn Morris <rgm@gnu.org>
25752
25753 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25754 Use let rather than let*.
25755 (timeclock-find-discrep): Remove unused local.
25756
25757 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25758
25759 * calendar/appt.el (appt-time-msg-list): Doc fix.
25760
25761 2011-05-06 Noah Friedman <friedman@splode.com>
25762
25763 * apropos.el (apropos-print-doc): Only use
25764 emacs-lisp-docstring-fill-column when it is bound to an integer,
25765 per that variable's documentation.
25766
25767 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25768
25769 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25770 and warnings are not silently discarded (e.g. use -d instead of -P).
25771
25772 2011-05-06 Glenn Morris <rgm@gnu.org>
25773
25774 * calendar/appt.el (appt-message-warning-time): Doc fix.
25775 (appt-warning-time-regexp): New option.
25776 (appt-make-list): Respect appt-message-warning-time.
25777
25778 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25779 New options.
25780 (diary-add-to-list): Strip comments from the displayed string.
25781 (diary-mode): Set comment-start and comment-end.
25782
25783 * vc/diff-mode.el (smerge-refine-subst): Declare.
25784 (diff-refine-hunk): Don't require smerge-mode when compiling.
25785
25786 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25787
25788 * simple.el (list-processes): Return nil as the docstring says.
25789
25790 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25791
25792 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25793 to "".
25794 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25795 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25796 determining of binary transfer. (Bug#7383)
25797
25798 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25799
25800 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25801 Fix port computation bug. (Bug#8618)
25802
25803 2011-05-05 Glenn Morris <rgm@gnu.org>
25804
25805 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25806
25807 * simple.el (shell-dynamic-complete-functions)
25808 (comint-dynamic-complete-functions): Declare.
25809
25810 * net/network-stream.el (gnutls-negotiate):
25811 * simple.el (tabulated-list-print): Fix declarations.
25812
25813 * progmodes/gud.el (syntax-symbol, syntax-point):
25814 Remove unnecessary and incorrect declarations.
25815
25816 * emacs-lisp/check-declare.el (check-declare-scan):
25817 Handle byte-compile-initial-macro-environment in bytecomp.el.
25818
25819 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25820
25821 Fix earlier half-done eieio-defmethod change (bug#8338).
25822 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25823 Streamline and change calling convention.
25824 (defmethod): Adjust accordingly and simplify.
25825 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25826 new eieio--defmethod.
25827 (slot-boundp): Minor CSE simplification.
25828
25829 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25830
25831 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25832 (glasses-make-readable): Use glasses-separate-capital-groups.
25833
25834 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25835
25836 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25837 (warning-series): Doc fix.
25838 (display-warning): Don't try to create the buffer if we just found it.
25839
25840 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25841
25842 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25843 (autoload-find-generated-file): New function.
25844 (generate-file-autoloads): Bind generated-autoload-file to
25845 buffer-file-name.
25846 (update-file-autoloads, update-directory-autoloads):
25847 Use autoload-find-generated-file. If called interactively, prompt for
25848 output file (Bug#7989).
25849 (batch-update-autoloads): Doc fix.
25850
25851 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25852
25853 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25854
25855 2011-05-04 Glenn Morris <rgm@gnu.org>
25856
25857 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25858 function, so it follows changes in calendar-date-style.
25859 (diary-fancy-date-matcher): New function.
25860 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25861 (diary-fancy-font-lock-fontify-region-function):
25862 Use diary-fancy-date-pattern as a function.
25863
25864 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25865 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25866
25867 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25868
25869 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25870 instead of positional arguments. Allow :keylist and :crlfiles
25871 arguments.
25872 (open-gnutls-stream): Call it.
25873
25874 * net/network-stream.el (network-stream-open-starttls): Adjust to
25875 call `gnutls-negotiate' with :process and :hostname arguments.
25876
25877 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25878
25879 * minibuffer.el (completion--message): New function.
25880 (completion--do-completion, minibuffer-complete)
25881 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25882 (completion--do-completion): Don't ignore completion-auto-help when in
25883 icomplete-mode.
25884
25885 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25886 internal encoding (e.g. tibetan zero is not whitespace).
25887 (global-whitespace-mode): Prefer save-current-buffer.
25888 (whitespace-trailing-regexp): Remove useless save-match-data.
25889 (whitespace-empty-at-bob-regexp): Minor simplification.
25890
25891 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25892
25893 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25894
25895 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
25896
25897 * textmodes/ispell.el (ispell-add-per-file-word-list):
25898 Use `concat' to create string for insertion.
25899
25900 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25901
25902 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25903 Avoid open-line which runs post-self-insert-hook.
25904 (bibtex-fill-entry): Remove unused `end' var.
25905
25906 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25907
25908 * textmodes/ispell.el (ispell-add-per-file-word-list):
25909 Protect against `nil' value of `comment-start' (Bug#8579).
25910
25911 2011-05-03 Leo Liu <sdl.web@gmail.com>
25912
25913 * isearch.el (isearch-yank-pop): New command.
25914 (isearch-mode-map): Bind it to `M-y'.
25915 (isearch-forward): Mention it.
25916
25917 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25918
25919 * simple.el (minibuffer-complete-shell-command): Remove.
25920 (minibuffer-local-shell-command-map): Use completion-at-point.
25921 (read-shell-command): Setup completion vars here instead.
25922 (read-expression-map): Bind TAB to symbol completion.
25923
25924 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25925 error directly rather via storing it into `results'.
25926
25927 2011-05-02 Leo Liu <sdl.web@gmail.com>
25928
25929 * vc/diff.el: Fix description.
25930
25931 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25932
25933 * server.el (server-eval-at): New function.
25934
25935 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25936
25937 * net/network-stream.el (open-network-stream): Take a :nowait
25938 parameter and pass it on to `make-network-process'.
25939 (network-stream-open-plain): Ditto.
25940
25941 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25942
25943 * faces.el (face-spec-set-match-display): Don't match toolkit
25944 options on terminal frames.
25945
25946 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25947
25948 * progmodes/pascal.el: Use lexical binding.
25949 (pascal-mode-map): Remove author preferences.
25950
25951 * pcomplete.el (pcomplete-std-complete): Don't abuse
25952 completion-at-point.
25953
25954 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25955
25956 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25957 removing code that has been dead since 1991 or so.
25958
25959 * startup.el (command-line): When warning about "_emacs", use a
25960 delayed warning to allow the user to filter it out.
25961
25962 2011-04-28 Deniz Dogan <deniz@dogan.se>
25963
25964 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25965 user has not joined.
25966
25967 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25968
25969 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25970 aren't any completions at point.
25971
25972 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25973
25974 * subr.el (display-delayed-warnings): New function.
25975 (delayed-warnings-hook): New variable.
25976
25977 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25978
25979 * minibuffer.el (completion-at-point, completion-help-at-point):
25980 Don't presume that a given completion-at-point-function will always
25981 use the same calling convention.
25982
25983 * pcomplete.el (pcomplete-completions-at-point):
25984 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25985 pcomplete-seen is non-nil.
25986 (pcomplete-comint-setup): Also recognize the new comint/shell
25987 completion functions.
25988 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25989 pcomplete-seen is non-nil.
25990
25991 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25992
25993 * calendar/icalendar.el (diary-lib): Add require statement.
25994 (icalendar--create-uid): Read out a uid from a text-property on
25995 the first character in the entry. This allows for code to add its
25996 own uid to the entry.
25997 (icalendar--convert-float-to-ical): Add export of
25998 `diary-float'-entries save for those with the optional DAY
25999 argument.
26000
26001 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
26002
26003 * subr.el (shell-quote-argument): Use alternate escaping strategy
26004 when we spot a variable reference in a string.
26005
26006 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26007
26008 * cus-start.el (all): Define customization for debug-on-event.
26009
26010 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26011
26012 * subr.el (shell-quote-argument): Escape correctly under Windows.
26013
26014 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26015
26016 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
26017
26018 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
26019
26020 * net/tramp.el (tramp-process-actions): Add POS argument.
26021 Delete region between POS and (pos).
26022
26023 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26024 Use `nil' position in `tramp-process-actions' call.
26025 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
26026
26027 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
26028 position in `tramp-process-actions' call.
26029
26030 * net/trampver.el: Update release number.
26031
26032 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26033
26034 * custom.el (defcustom): Obey lexical-binding.
26035
26036 Fix octave-inf completion problems reported by Alexander Klimov.
26037 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
26038 Inherit from octave-mode-syntax-table.
26039 (inferior-octave-mode): Set info-lookup-mode.
26040 (inferior-octave-completion-at-point): New function.
26041 (inferior-octave-complete): Use it and completion-in-region.
26042 (inferior-octave-dynamic-complete-functions): Use it as well, and use
26043 comint-filename-completion.
26044 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
26045 symbol elements which shouldn't be word elements.
26046 (octave-font-lock-keywords, octave-beginning-of-defun)
26047 (octave-function-header-regexp): Adjust regexps accordingly.
26048 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
26049
26050 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
26051
26052 * net/gnutls.el (gnutls-errorp): Declare before first use.
26053
26054 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
26055
26056 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
26057 verify-error, and verify-hostname-error parameters. Check whether
26058 default trustfile exists before going to use it. Add missing
26059 argument to gnutls-message-maybe call. Return value.
26060 Reported by Claudio Bley <claudio.bley@gmail.com>.
26061 (open-gnutls-stream): Add usage example.
26062
26063 * net/network-stream.el (network-stream-open-starttls): Give host
26064 parameter to `gnutls-negotiate'.
26065 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
26066 * subr.el (shell-quote-argument): Escape correctly under Windows.
26067
26068 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
26069
26070 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
26071 Use correct match group (bug#8438).
26072
26073 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26074
26075 * emacs-lisp/package.el (package-built-in-p): Fix typo.
26076 (package-menu--generate): New arg specifying packages to show.
26077 (package-menu-refresh, package-menu-execute, list-packages):
26078 Callers changed.
26079 (package-show-package-list): New function, replacing deleted
26080 package--list-packages (renamed because it is non-internal).
26081
26082 * finder.el (finder-list-matches): Use package-show-package-list
26083 instead of deleted package--list-packages.
26084
26085 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
26086 Based on a previous implementation by Juanma Barranquero (Bug#8366).
26087 (vc-annotate-mode-map): Bind it to RET.
26088
26089 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
26090
26091 * progmodes/etags.el (next-file): Don't use set-buffer to change
26092 buffers (Bug#8478).
26093
26094 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26095
26096 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
26097
26098 * apropos.el (apropos-label-face): Avoid variable-pitch face.
26099 (apropos-accumulator): Doc fix.
26100 (apropos-function, apropos-macro, apropos-command)
26101 (apropos-variable, apropos-face, apropos-group, apropos-widget)
26102 (apropos-plist): Add face property.
26103 (apropos-symbols-internal): Fix indentation.
26104 (apropos-print): Simplify help, and recognize apropos-multi-type.
26105 (apropos-print-doc): Use button-type-get to extract the button's
26106 face property. Fill docstring (Bug#8352).
26107
26108 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
26109
26110 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
26111
26112 * play/mpuz.el (mpuz-silent): Doc fix.
26113 (mpuz-mode-map): Use mapc.
26114 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
26115 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
26116 Fix typos in docstrings.
26117
26118 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
26119 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
26120
26121 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
26122
26123 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
26124
26125 * minibuffer.el (completion--do-completion): Avoid the "Next char
26126 not unique" prompt if icomplete-mode is enabled (Bug#5849).
26127
26128 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
26129 mouse-2 into unread-command-events, it is interpreted correctly.
26130
26131 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
26132 (image-toggle-display): Doc fix.
26133
26134 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
26135
26136 * textmodes/page.el (what-page): Use line-number-at-pos to
26137 calculate line number (Bug#6825).
26138
26139 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26140
26141 * eshell/esh-mode.el (find-tag-interactive): Declare function.
26142 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
26143 Pass argument NO-DEFAULT to `find-tag-interactive'.
26144
26145 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26146
26147 Lexical-binding cleanup.
26148
26149 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
26150 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
26151 * progmodes/ada-prj.el (ada-prj-initialize-values)
26152 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
26153 (ada-prj-show-value):
26154 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
26155 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
26156 (antlr-invalidate-context-cache, antlr-options-menu-filter)
26157 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
26158 * progmodes/bug-reference.el (bug-reference-push-button):
26159 * progmodes/fortran.el (fortran-line-length):
26160 * progmodes/glasses.el (glasses-change):
26161 * progmodes/octave-mod.el (octave-fill-paragraph):
26162 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
26163 (python-pdbtrack-grub-for-buffer, python-sentinel):
26164 * progmodes/sql.el (sql-save-connection):
26165 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
26166 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
26167 Mark unused parameters.
26168
26169 * progmodes/compile.el (compilation--flush-directory-cache)
26170 (compilation--flush-parse, compile-internal): Mark unused parameters.
26171 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
26172 (compilation-next-error-function): Remove unused variable `timestamp'.
26173
26174 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
26175 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
26176
26177 * progmodes/dcl-mode.el (dcl-end-of-command):
26178 Remove unused variable `start'.
26179 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
26180 (dcl-option-value-basic, dcl-option-value-offset)
26181 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
26182 Mark unused parameters.
26183 (dcl-save-local-variable): Remove unused variable `val'.
26184 (mode): Declare.
26185
26186 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
26187 Mark unused parameters.
26188 (delphi-ignore-changes): Move before first use.
26189 (delphi-charset-token-at): Remove unused variable `start'.
26190 (delphi-else-start): Remove unused variable `if-count'.
26191 (delphi-comment-block-start, delphi-comment-block-end):
26192 Remove unused variable `kind'.
26193 (delphi-indent-line): Remove unused variable `new-point'.
26194
26195 * progmodes/ebrowse.el (ebrowse-files-list)
26196 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
26197 Mark unused parameters. Don't quote `lambda'.
26198 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
26199 Don't quote `lambda'.
26200 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
26201 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
26202 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
26203 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
26204 Use `ignore-errors'.
26205 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
26206 (ebrowse-view/find-file-and-search-pattern)
26207 (ebrowse-view/find-member-declaration/definition):
26208 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
26209 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
26210 Rename parameter PREFIX-ARG to PREFIX.
26211 (ebrowse-tags-read-name): Remove unused variables `start' and
26212 `member-info'.
26213 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
26214 to `tags-file'.
26215
26216 * progmodes/etags.el (local-find-tag-hook): Declare.
26217 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
26218 Mark unused parameters.
26219
26220 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
26221 (executable-interpret): Mark unused parameter.
26222
26223 * progmodes/flymake.el (flymake-process-sentinel)
26224 (flymake-after-change-function)
26225 (flymake-create-temp-with-folder-structure)
26226 (flymake-get-include-dirs-dot): Mark unused parameters.
26227 (flymake-safe-delete-directory): Remove unused variable `err'.
26228
26229 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
26230 (speedbar-timer-fn, speedbar-line-text)
26231 (speedbar-change-expand-button-char, speedbar-delete-subblock)
26232 (speedbar-center-buffer-smartly): Declare functions.
26233 (gdb-find-watch-expression): Remove unused variable `array'.
26234 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
26235 (gdb-starting): Mark unused parameters.
26236 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
26237 (gdb-table-string): Remove unused variable `res'.
26238 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
26239 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
26240 (gdb-display-buffer): Remove unused variable `cur-size'.
26241
26242 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
26243 allow lexical-binding compilation.
26244 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
26245 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
26246 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
26247 Mark unused parameters.
26248 (gud-gdb-marker-filter): Remove unused variable `match'.
26249 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
26250 lambda expressions and funcall them, instead of using `fset'.
26251
26252 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
26253 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
26254
26255 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
26256 variable `header-beg'; use `let'.
26257
26258 * progmodes/icon.el (indent-icon-exp): Remove unused variables
26259 `restart', `last-sexp' and `at-do'.
26260
26261 * progmodes/js.el (js--debug): Mark unused parameter.
26262 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
26263 (js--splice-into-items): Remove unused variable `item'.
26264 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
26265
26266 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26267 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26268 (makefile-complete): Remove unused variable `try'.
26269 (makefile-fill-paragraph, makefile-match-function-end):
26270 Mark unused parameters.
26271
26272 * progmodes/octave-inf.el (inferior-octave-complete):
26273 Remove unused variable `proc'.
26274 (inferior-octave-output-digest): Mark unused parameter.
26275
26276 * progmodes/perl-mode.el (perl-calculate-indent):
26277 Remove unused variable `err'.
26278
26279 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26280 (prolog-indent-line): Mark unused parameters.
26281 (prolog-indent-line): Remove unused variable `beg'.
26282
26283 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26284 (reporter-dont-compact-list): Declare.
26285
26286 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26287 Remove unused variable `char'.
26288 (sh-debug): Mark unused parameter.
26289 (sh-get-indent-info): Remove unused variable `start'.
26290 (sh-calculate-indent): Remove unused variable `var'.
26291
26292 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26293 (simula-electric-keyword): Remove unused variable `null'.
26294 (simula-search-backward, simula-search-forward): Remove unused
26295 variables `begin' and `end'.
26296
26297 * progmodes/vera-mode.el (vera-guess-basic-syntax):
26298 Remove unused variable `pos'.
26299 (vera-electric-tab, vera-comment-uncomment-region):
26300 Mark unused parameters.
26301 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
26302
26303 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
26304
26305 * emacs-lisp/package.el (package--builtins, package-alist)
26306 (package-load-descriptor, package-built-in-p, package-activate)
26307 (define-package, package-installed-p)
26308 (package-compute-transaction, package-buffer-info)
26309 (package--push): Doc fix. Distinguish more clearly between
26310 version strings and version lists.
26311
26312 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26313
26314 Lexical-binding cleanup.
26315
26316 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26317 (5x5-make-mutate-best):
26318 * play/fortune.el (fortune-in-buffer):
26319 * play/gomoku.el (gomoku-init-display):
26320 * play/solitaire.el (solitaire, solitaire-do-check):
26321 * play/tetris.el (tetris-default-update-speed-function):
26322 Mark unused parameters.
26323
26324 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26325 (bubbles--shift): Remove unused variable `char-org'.
26326 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26327 (bubbles--show-images): Remove unused variable `char'.
26328
26329 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26330 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26331 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26332 (decipher-analyze-buffer): Use ?\s.
26333 (decipher-make-checkpoint): Remove unused variable `mapping'.
26334
26335 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26336
26337 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26338 Remove unused variable `result'; use `let'.
26339
26340 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26341 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26342 (gametree-children-shown-p, gametree-compute-reduced-score):
26343 Use `ignore-errors'.
26344
26345 * play/handwrite.el (ps-lpr-switches): Declare.
26346 (handwrite): Remove unused variables `pmin' and `lastp'.
26347
26348 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26349
26350 * play/landmark.el (landmark-init-display)
26351 (landmark-update-naught-weights): Mark unused parameters.
26352 (landmark-y): Remove unused variable `noise'. Simplify.
26353 (landmark-human-plays): Remove unused variable `score'.
26354
26355 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26356 (mpuz-try-proposal): Remove unused variable `game'.
26357
26358 * play/zone.el (life-patterns): Declare.
26359
26360 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26361
26362 * vc/vc.el (ediff-vc-internal): Declare function.
26363
26364 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26365
26366 * shell.el: Use lexical-binding and std completion UI.
26367 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26368 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26369 comint-preoutput-filter-functions rather than on
26370 comint-output-filter-functions.
26371 (shell-command-completion, shell--command-completion-data)
26372 (shell-filename-completion, shell-environment-variable-completion)
26373 (shell-c-a-p-replace-by-expanded-directory): New functions.
26374 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26375 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26376 (shell-dynamic-complete-environment-variable): Use them.
26377 (shell-dynamic-complete-as-environment-variable)
26378 (shell-dynamic-complete-as-command): Remove.
26379 (shell-match-partial-variable): Match past point.
26380 * comint.el: Clean up use of completion-at-point-functions.
26381 (comint-completion-at-point): New function.
26382 (comint-mode): Use it completion-at-point-functions.
26383 (comint-dynamic-complete): Make it obsolete.
26384 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26385 (comint-c-a-p-replace-by-expanded-history): New function.
26386 (comint-dynamic-complete-functions)
26387 (comint-replace-by-expanded-history): Use it.
26388 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26389 termination strings. Try harder to avoid second try-completion.
26390 (completion-in-region-mode-map): Disable bindings that don't work yet.
26391
26392 * comint.el: Use lexical-binding. Require CL.
26393 (comint-dynamic-complete-functions): Use comint-filename-completion.
26394 (comint-completion-addsuffix): Tweak custom type.
26395 (comint-filename-completion, comint--common-suffix)
26396 (comint--common-quoted-suffix, comint--table-subvert)
26397 (comint--complete-file-name-data): New functions.
26398 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26399 (comint-dynamic-list-filename-completions): Use them.
26400 (comint-dynamic-simple-complete): Make obsolete.
26401
26402 * minibuffer.el (completion-in-region-mode):
26403 Keep completion-in-region-mode--predicate global.
26404 (completion-in-region--postch):
26405 Assume completion-in-region-mode--predicate is not null.
26406
26407 * progmodes/flymake.el (flymake-start-syntax-check-process):
26408 Obey `dir'. Simplify.
26409
26410 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26411 we're in VC after all.
26412
26413 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26414
26415 * vc/vc.el (vc-diff-build-argument-list-internal)
26416 (vc-version-ediff, vc-ediff): New commands.
26417 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26418
26419 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26420
26421 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26422 add sanity check.
26423
26424 * obsolete/erc-hecomplete.el: Make obsolete.
26425 * obsolete/: Standardize obsolescence info in the header.
26426
26427 2011-04-20 Glenn Morris <rgm@gnu.org>
26428
26429 * calendar/solar.el (solar-horizontal-coordinates):
26430 Use the longitude argument rather than `calendar-longitude'.
26431 (solar-date-next-longitude): Remove unused locals.
26432
26433 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26434
26435 * whitespace.el: New version 13.2.1.
26436
26437 2011-04-20 felix <EmacsWiki> (tiny change)
26438
26439 * whitespace.el (global-whitespace-mode): Keep highlight when
26440 switching between major modes on a file.
26441
26442 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26443
26444 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26445 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26446 multi-line comments as well.
26447
26448 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26449
26450 Lexical-binding cleanup.
26451
26452 * arc-mode.el (archive-mode-revert):
26453 * cmuscheme.el (scheme-interactively-start-process):
26454 * custom.el (custom-initialize-delay):
26455 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26456 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26457 * emacs-lock.el (emacs-lock-clear-sentinel):
26458 * ezimage.el (defezimage):
26459 * follow.el (follow-avoid-tail-recenter):
26460 * fringe.el (set-fringe-mode-1):
26461 * generic-x.el (bat-generic-mode-compile):
26462 * help-mode.el (help-info-variable, help-do-xref)
26463 (help-mode-revert-buffer):
26464 * help.el (view-emacs-todo):
26465 * iswitchb.el (iswitchb-completion-help):
26466 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26467 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26468 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26469 * locate.el (locate-update):
26470 * longlines.el (longlines-encode-region)
26471 (longlines-after-change-function):
26472 * outline.el (outline-isearch-open-invisible):
26473 * ps-def.el (declare-function, charset-dimension, char-width)
26474 (encode-char):
26475 * ps-mule.el (ps-mule-plot-string):
26476 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26477 (recentf-edit-list-select, recentf-edit-list-validate)
26478 (recentf-open-files-action):
26479 * rect.el (delete-whitespace-rectangle-line)
26480 (rectangle-number-line-callback):
26481 * register.el (window-configuration-to-register)
26482 (frame-configuration-to-register):
26483 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26484 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26485 (xselect-convert-to-targets, xselect-convert-to-delete)
26486 (xselect-convert-to-filename, xselect-convert-to-charpos)
26487 (xselect-convert-to-lineno, xselect-convert-to-colno)
26488 (xselect-convert-to-os, xselect-convert-to-host)
26489 (xselect-convert-to-user, xselect-convert-to-class)
26490 (xselect-convert-to-name, xselect-convert-to-integer)
26491 (xselect-convert-to-atom, xselect-convert-to-identity):
26492 * subr.el (declare, ignore, process-kill-without-query)
26493 (text-clone-maintain):
26494 * terminal.el (te-get-char, te-tic-sentinel):
26495 * tool-bar.el (tool-bar-make-keymap):
26496 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26497 * type-break.el (type-break-mode, type-break-noninteractive-query):
26498 * view.el (View-back-to-mark):
26499 * wid-browse.el (widget-browse-action, widget-browse-widget)
26500 (widget-browse-widgets, widget-browse-sexp):
26501 * widget.el (define-widget-keywords):
26502 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26503 Mark unused parameters.
26504
26505 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26506 (align-areas): Remove unused variable `look'.
26507 (align-region): Remove unused variables `real-end' and `pos-list'.
26508
26509 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26510
26511 * bindings.el (mode-line-modified, mode-line-remote):
26512 Mark unused parameters.
26513 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26514
26515 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26516 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26517
26518 * comint.el (comint-history-isearch-pop-state)
26519 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26520 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26521 (comint-substitute-in-file-name): Doc fix.
26522
26523 * completion.el (cmpl-statistics-block): Mark unused parameter.
26524 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26525 (save-completions-to-file, load-completions-from-file):
26526 Remove unused local variable `e'.
26527
26528 * composite.el (compose-chars): Remove unused variable `len'.
26529 (lgstring-insert-glyph): Remove unused variable `g'.
26530 (compose-glyph-string): Remove unused variables `ascent',
26531 `descent', `lbearing' and `rbearing'.
26532 (compose-glyph-string-relative): Remove unused variables
26533 `lbearing', `rbearing' and `wadjust'.
26534 (compose-gstring-for-graphic): Remove unused variables `header',
26535 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26536 (compose-gstring-for-terminal): Remove unused variables `header'
26537 and `nchars'. Use `let', not `let*'.
26538
26539 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26540 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26541 (Custom-buffer-done, custom-buffer-create-internal)
26542 (custom-browse-visibility-action, custom-browse-group-tag-action)
26543 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26544 (widget-magic-mouse-down-action, custom-toggle-parent)
26545 (custom-add-parent-links, custom-toggle-hide-variable)
26546 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26547 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26548 (custom-face-menu-create, custom-variable-menu-create, get)
26549 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26550 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26551 (customize-apropos): Remove unused variable `tests'.
26552 (custom-group-value-create): Remove unused variable `hidden-p'.
26553 (sort-fold-case): Declare.
26554
26555 * cus-theme.el (custom-reset-standard-faces-list)
26556 (custom-reset-standard-variables-list): Declare.
26557 (customize-create-theme, custom-theme-revert, custom-theme-write)
26558 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26559 Mark unused parameters.
26560
26561 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26562
26563 * delim-col.el (delimit-columns-max): Move defvar before first use.
26564
26565 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26566 (describe-char): Don't quote `lambda'. Mark unused parameter.
26567
26568 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26569 (auto-insert): Declare.
26570 (desktop-restore-file-buffer): Rename desktop-* parameters;
26571 mark unused ones.
26572 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26573 (desktop-buffer): Rename desktop-* parameters.
26574
26575 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26576 (dframe-reposition-frame-xemacs, dframe-help-echo)
26577 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26578 Mark unused parameters.
26579
26580 * dired-aux.el (backup-extract-version-start, overwrite-query)
26581 (overwrite-backup-query, rename-regexp-query)
26582 (rename-non-directory-query): Declare.
26583 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26584 (dired-add-entry): Remove unused variable `orig-file-name'.
26585 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26586 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26587 `dired-copy-preserve-time' directly.
26588 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26589 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26590
26591 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26592 (dired-virtual-revert, dired-make-relative-symlink):
26593 Mark unused parameters.
26594 (manual-program): Declare.
26595 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26596 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26597 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26598
26599 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26600
26601 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26602
26603 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26604 Declare.
26605
26606 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26607
26608 * electric.el (Electric-command-loop): Rename parameter
26609 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26610
26611 * expand.el (expand-in-literal): Remove unused variable `here'.
26612
26613 * facemenu.el (facemenu-add-new-color):
26614 Remove unused variable `docstring'.
26615
26616 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26617 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26618 (face-attr-construct): Mark unused parameter. Doc fix.
26619 (read-color): Remove unused variable `hex-string'.
26620
26621 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26622 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26623 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26624 (display-buffer-other-frame): Remove unused variable `old-window'.
26625 (kill-buffer-hook): Declare.
26626 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26627 Mark unused parameters.
26628 (after-find-file): Pass 1 to `auto-save-mode', not t.
26629
26630 * files-x.el (auto-insert): Declare.
26631 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26632
26633 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26634 variable `buf'. Mark unused parameter.
26635 (find-lisp-insert-directory): Mark unused parameter.
26636
26637 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26638 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26639 (format-common-tail): Remove, unused.
26640 (format-deannotate-region): Remove unused variable `loc'.
26641 (format-annotate-region): Remove unused variable `p'.
26642 (format-annotate-single-property-change): Remove unused variables
26643 `default' and `tail'.
26644
26645 * forms.el (read-file-filter): Declare.
26646 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26647
26648 * frame.el (frame-creation-function-alist): Mark unused parameter.
26649 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26650
26651 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26652 Remove unused parameters.
26653 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26654 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26655
26656 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26657 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26658 (hfy-prepare-tag-map): Mark unused parameters.
26659 (htmlfontify-buffer): Use `called-interactively-p'.
26660
26661 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26662 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26663 (ibuffer-do-occur): Mark unused parameters.
26664 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26665 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26666
26667 * ibuffer.el: Don't quote `lambda'.
26668 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26669 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26670 Mark unused parameters.
26671
26672 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26673 (ido-completing-read): Mark unused parameters.
26674 (ido-copy-current-word): Mark unused parameters;
26675 remove unused variable `name'.
26676 (ido-sort-merged-list): Remove unused parameter `dirs'.
26677
26678 * ielm.el (ielm-input-sender): Mark unused parameter.
26679 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26680 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26681 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26682 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26683 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26684
26685 * image-dired.el (image-dired-display-thumbs): Remove unused
26686 variables `curr-file' and `count'.
26687 (image-dired-remove-tag): Remove unused variable `start'.
26688 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26689 variable `curr-file'
26690 (image-dired-rotate-original): Remove unused variable `temp-file'.
26691 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26692 Remove unused variable `file'.
26693 (image-dired-gallery-generate): Remove unused variable `curr'.
26694 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26695
26696 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26697
26698 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26699
26700 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26701
26702 * isearch.el (minibuffer-history-symbol): Declare.
26703 (isearch-edit-string): Remove unused variable `err'.
26704 (isearch-message-prefix, isearch-message-suffix):
26705 Mark unused parameters.
26706
26707 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26708
26709 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26710
26711 * makesum.el (double-column): Remove unused variable `cnt'.
26712
26713 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26714 (ido-ignore-item-temp-list): Declare.
26715
26716 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26717 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26718 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26719 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26720 `mouse-col-delta'.
26721
26722 * mouse-sel.el (mouse-extend-internal):
26723 Remove unused variable `orig-window-frame'.
26724
26725 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26726 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26727 Move declarations before first use.
26728 (pcomplete-opt): Mark unused parameters; doc fix.
26729
26730 * proced.el (proced-revert): Mark unused parameter.
26731 (proced-send-signal): Remove unused variable `err'.
26732
26733 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26734 Rename parameter PREFIX-ARG to ARG.
26735 (ps-basic-plot-string, ps-basic-plot-whitespace):
26736 Mark unused parameters.
26737
26738 * replace.el (replace-count): Define.
26739 (occur-revert-function): Mark unused parameters.
26740 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26741 (isearch-case-fold-search, isearch-string): Declare.
26742 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26743 bind `case-fold-search'. Remove unused variables `beg' and `end',
26744 and simplify.
26745 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26746 COUNT and bind `replace-count'.
26747 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26748 to COUNT.
26749
26750 * savehist.el (print-readably, print-string-length): Declare.
26751
26752 * shadowfile.el (shadow-expand-cluster-in-file-name):
26753 Remove unused variable `cluster'.
26754 (shadow-copy-file): Remove unused variable `i'.
26755 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26756 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26757 (shadow-define-literal-group, shadow-define-regexp-group)
26758 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26759
26760 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26761 (shell): Use `called-interactively-p'.
26762 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26763
26764 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26765 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26766 (delete-backward-char): Remove unused variable `ocol'.
26767 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26768 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26769 (event-apply-hyper-modifier, event-apply-shift-modifier)
26770 (event-apply-control-modifier, event-apply-meta-modifier):
26771 Mark unused parameters.
26772 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26773 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26774
26775 * speedbar.el (speedbar-ignored-directory-expressions)
26776 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26777 (speedbar-find-file, speedbar-dir-follow)
26778 (speedbar-directory-buttons-follow, speedbar-tag-find)
26779 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26780 (speedbar-buffers-line-directory, speedbar-buffer-click):
26781 Mark unused parameters.
26782 (speedbar-tag-file): Remove unused variable `mode'.
26783 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26784
26785 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26786
26787 * talk.el (talk): Remove unused variable `display'.
26788
26789 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26790 (tar-write-region-annotate): Mark unused parameter.
26791
26792 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26793 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26794 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26795 warning by another.
26796
26797 * time-stamp.el (time-stamp-string-preprocess):
26798 Remove unused variable `require-padding'.
26799
26800 * tree-widget.el (widget-glyph-enable): Declare.
26801 (tree-widget-action): Mark unused parameter.
26802
26803 * w32-fns.el (x-get-selection): Mark unused parameter.
26804 (autoload-make-program, generated-autoload-file): Declare.
26805
26806 * wdired.el (wdired-revert): Mark unused parameters.
26807 (wdired-xcase-word): Remove unused variable `err'.
26808
26809 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26810 (whitespace-help-scroll): Remove unused variable `data-help'.
26811
26812 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26813 (widget-image-insert, widget-after-change, default)
26814 (widget-default-format-handler, widget-default-notify)
26815 (widget-default-prompt-value, widget-info-link-action)
26816 (widget-url-link-action, widget-function-link-action)
26817 (widget-variable-link-action, widget-file-link-action)
26818 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26819 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26820 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26821 (widget-insert-button-action, widget-delete-button-action, visibility)
26822 (widget-documentation-link-action, widget-documentation-string-action)
26823 (widget-const-prompt-value, widget-regexp-match, symbol)
26824 (widget-coding-system-prompt-value)
26825 (widget-key-sequence-value-to-external, sexp)
26826 (widget-sexp-value-to-internal, character, vector, cons)
26827 (widget-choice-prompt-value, widget-boolean-prompt-value)
26828 (widget-color--choose-action): Mark unused parameters.
26829 (widget-item-match-inline, widget-choice-match-inline)
26830 (widget-checklist-match, widget-checklist-match-inline)
26831 (widget-group-match): Rename parameter VALUES to VALS.
26832 (widget-field-value-set): Remove unused variable `size'.
26833 (widget-color-action): Remove unused variables `value' and `start'.
26834
26835 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26836 variable `dir'. Doc fix.
26837 (windmove-find-other-window): Don't pass it.
26838
26839 * window.el (count-windows): Mark unused parameter.
26840 (bw-adjust-window): Remove unused variable `err'.
26841
26842 * woman.el (woman-file-name): Remove unused variable `default'.
26843 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26844 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26845 (global-font-lock-mode): Declare.
26846 (woman-decode-region): Mark unused parameter.
26847 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26848
26849 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26850 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26851 (x-dnd-handle-moz-url): Remove unused variable `title'.
26852 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26853
26854 * xml.el (xml-parse-tag, xml-parse-attlist):
26855 Remove unused variable `pos'.
26856
26857 2011-04-19 Glenn Morris <rgm@gnu.org>
26858
26859 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26860 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26861 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26862 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26863 * calendar/cal-html.el (cal-html-insert-minical):
26864 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26865 (calendar-mark-date-pattern):
26866 Prefix "unused" locals.
26867
26868 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26869 optional argument `style'.
26870
26871 * calendar/appt.el (appt-make-list):
26872 * calendar/cal-china.el (calendar-chinese-date-string):
26873 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26874 (diary-hebrew-yahrzeit):
26875 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26876 * calendar/calendar.el (calendar-generate-window):
26877 * calendar/time-date.el (time-to-days):
26878 Remove unused local variables.
26879
26880 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26881
26882 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26883 glyphless-char-display table.
26884 (tabulated-list-glyphless-char-display): New var.
26885
26886 2011-04-18 Sam Steingold <sds@gnu.org>
26887
26888 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26889 to acknowledgments.
26890
26891 2011-04-17 Glenn Morris <rgm@gnu.org>
26892
26893 * calendar/diary-lib.el (diary-sexp-entry):
26894 * calendar/holidays.el (holiday-sexp):
26895 Set debug-on-error rather than the removed stack-trace-on-error.
26896
26897 2011-04-16 Glenn Morris <rgm@gnu.org>
26898
26899 * progmodes/f90.el: Use lexical-binding.
26900 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26901
26902 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26903
26904 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26905 (mail-mode): Setup mailalias completion here instead.
26906 * mail/mailalias.el: Use lexical-binding.
26907 (pattern, mailalias-done): Declare dynamic.
26908 (mail-completion-at-point-function): New function, from mail-complete.
26909 (mail-complete): Use it.
26910 (mail-completion-expand): New function.
26911 (mail-get-names): Use it.
26912 (mail-directory, mail-directory-process, mail-directory-stream):
26913 Don't use `pattern' for lexically bound arg.
26914
26915 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26916
26917 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26918 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26919 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26920
26921 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26922 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26923 (byte-interactive-p): Define them again, for use when inlining
26924 old code.
26925
26926 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26927
26928 * loadup.el: Use `string-to-number', not `string-to-int'.
26929
26930 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26931
26932 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26933 gud-gdb-complete-command.
26934 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26935 (gud-gdb-completion-at-point): New function.
26936 (gud-gdb-completions): Remove.
26937
26938 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26939
26940 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26941 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26942 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26943 whether `executable-find' is bound.
26944
26945 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26946
26947 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26948
26949 * minibuffer.el (completion-in-region-mode-predicate)
26950 (completion-in-region-mode--predicate): New vars.
26951 (completion-in-region, completion-in-region--postch)
26952 (completion-in-region-mode): Use them.
26953 (completion--capf-wrapper): Also return the hook function.
26954 (completion-at-point, completion-help-at-point):
26955 Adjust and provide a predicate.
26956
26957 Preserve arg names for advice of subr and lexical functions (bug#8457).
26958 * help-fns.el (help-function-arglist): Consolidate the subr and
26959 new-byte-code cases. Add argument `preserve-names' to extract names
26960 from the docstring when needed.
26961 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26962 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26963 (ad-arglist): Use help-function-arglist's new arg.
26964 (ad-definition-type): Use cond.
26965
26966 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26967
26968 * autorevert.el (auto-revert-handler):
26969 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26970 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26971 Don't quote lambda.
26972
26973 * image-mode.el (image-transform-set-scale):
26974 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26975
26976 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26977
26978 * net/network-stream.el (network-stream-open-starttls): Only do
26979 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26980 Upgrades via gnutls-cli are too slow to be done opportunistically.
26981
26982 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26983
26984 * dframe.el (dframe-current-frame): Remove spurious quote.
26985
26986 2011-04-12 Glenn Morris <rgm@gnu.org>
26987
26988 * calendar/cal-tex.el (cal-tex-end-document):
26989 Try to automatically use latin1 input if needed.
26990
26991 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26992 Don't try to cons a mark onto an empty element.
26993
26994 2011-04-11 Leo Liu <sdl.web@gmail.com>
26995
26996 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26997 buffers.
26998 (ido-kill-buffer-at-head): Support killing virtual buffers.
26999
27000 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
27001
27002 * minibuffer.el (completion-show-inline-help): New var.
27003 (completion--do-completion, minibuffer-complete)
27004 (minibuffer-force-complete, minibuffer-complete-word):
27005 Inhibit minibuffer messages if completion-show-inline-help is nil.
27006
27007 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
27008 to avoid interference from inline help (Bug#5849).
27009
27010 2011-04-10 Leo Liu <sdl.web@gmail.com>
27011
27012 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
27013 Fix typo.
27014
27015 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
27016
27017 * image-mode.el (image-toggle-display-image): Signal an error if
27018 not in Image mode.
27019 (image-transform-mode, image-transform-resize)
27020 (image-transform-set-rotation): Doc fix.
27021 (image-transform-set-resize): Delete.
27022 (image-transform-set-scale, image-transform-fit-to-height)
27023 (image-transform-fit-to-width): Handle image-toggle-display-image
27024 and image-transform-resize directly.
27025
27026 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
27027
27028 * doc-view.el (doc-view-fit-width-to-window)
27029 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
27030 New functions for fitting the shown image to the Emacs window size.
27031 (doc-view-mode-map): Add bindings for the new functions.
27032
27033 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
27034
27035 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
27036 Fix typo in docstring.
27037
27038 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27039
27040 * files.el (file-size-human-readable): Produce one digit after
27041 decimal, like "ls -lh" does.
27042
27043 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
27044 the file size representation.
27045
27046 * simple.el (list-processes): If async subprocesses are not
27047 available, error out with a clear error message.
27048
27049 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
27050
27051 * help.el (help-form-show): New function, to be called from C.
27052 Put help-form output in a buffer named differently than *Help*.
27053
27054 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27055
27056 * files.el (file-size-human-readable): New function.
27057
27058 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
27059 computing the representation inline. Don't require `cl'.
27060
27061 2011-04-08 Glenn Morris <rgm@gnu.org>
27062
27063 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
27064
27065 * net/browse-url.el (browse-url-firefox):
27066 Test system-type, not system-configuration.
27067
27068 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
27069 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
27070 Use log-edit-empty-buffer-p. (Bug#7598)
27071
27072 * net/rlogin.el (rlogin-process-connection-type): Simplify.
27073 (rlogin-mode-map): Initialize in the defvar.
27074 (rlogin): Use ignore-errors.
27075
27076 * replace.el (occur-mode-map): Some fixes for menu items.
27077
27078 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
27079
27080 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
27081
27082 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27083
27084 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
27085 issuing unused warnings.
27086
27087 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
27088 macro directly.
27089
27090 * simple.el: Lisp reimplement of list-processes. Based on an
27091 earlier reimplementation by Leo Liu, but using tabulated-list.el.
27092 (process-menu-mode): New major mode.
27093 (list-processes--refresh, list-processes):
27094 (process-menu-visit-buffer): New functions.
27095
27096 * files.el (save-buffers-kill-emacs): Don't assume any return
27097 value of list-processes, which is undocumented anyway.
27098
27099 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27100
27101 * emacs-lisp/tabulated-list.el: New file.
27102
27103 * emacs-lisp/package.el: Use Tabulated List mode.
27104 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
27105 (package-menu-mode): Derive from tabulated-list-mode. Set up the
27106 table format using Tabulated List mode variables.
27107 (package--push): New macro, replacing package-list-maybe-add.
27108 (package-menu--generate): Use package--push. Renamed from
27109 package--generate-package-list.
27110 (package-menu-refresh, list-packages): Use it.
27111 (package-menu--print-info): Rename from package-print-package.
27112 Return insertion data instead of inserting it directly.
27113 (package-menu-describe-package, package-menu-execute):
27114 Use tabulated-list-get-id.
27115 (package-menu-mark-delete, package-menu-mark-install)
27116 (package-menu-mark-unmark, package-menu-backup-unmark)
27117 (package-menu-mark-obsolete-for-deletion):
27118 Use tabulated-list-put-tag.
27119 (package--list-packages, package-menu-revert)
27120 (package-menu-get-package, package-menu-get-version)
27121 (package-menu-sort-by-column): Functions deleted.
27122 (package-menu-package-list, package-menu-sort-key): Vars deleted.
27123 (package-menu--status-predicate, package-menu--version-predicate)
27124 (package-menu--name-predicate)
27125 (package-menu--description-predicate): Handle arguments in the
27126 Tabulated List format.
27127 (package-list-packages-no-fetch): Call list-packages.
27128
27129 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
27130
27131 * files.el (after-find-file-from-revert-buffer): Remove variable.
27132 (after-find-file): Don't bind it.
27133 (revert-buffer-in-progress-p): New variable.
27134 (revert-buffer): Bind it.
27135 Pass nil for `after-find-file-from-revert-buffer'.
27136
27137 * saveplace.el (save-place-find-file-hook): Use new variable
27138 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
27139
27140 2011-04-06 Glenn Morris <rgm@gnu.org>
27141
27142 * Makefile.in (AUTOGEN_VCS): New variable.
27143 (autoloads): Use $AUTOGEN_VCS.
27144
27145 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
27146 * calendar/calendar.el (calendar-mode-map):
27147 Check for toolkit scroll bars. (Bug#8305)
27148
27149 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27150
27151 * minibuffer.el (completion-in-region--postch)
27152 (completion-in-region-mode): Remove unnecessary messages.
27153
27154 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
27155
27156 * font-lock.el (font-lock-refresh-defaults):
27157 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
27158 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
27159
27160 * info.el (Info-directory-list, Info-read-node-name-2)
27161 (Info-split-parameter-string): Doc fixes.
27162 (Info-virtual-nodes): Reflow docstring.
27163 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
27164 (Info-apropos-toc-nodes, info-finder, Info-get-token)
27165 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
27166 Fix typos in docstrings.
27167 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
27168 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
27169 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
27170 (Info-restore-desktop-buffer): Mark unused parameters.
27171 (Info-directory-find-file, Info-directory-find-node)
27172 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
27173 (Info-virtual-index-find-node, Info-apropos-find-file)
27174 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
27175 Mark unused parameters; fix typos in docstrings.
27176 (Info-virtual-index): Remove unused local variable `nodename'.
27177
27178 2011-04-05 Deniz Dogan <deniz@dogan.se>
27179
27180 * net/rcirc.el: Update my e-mail address.
27181 (rcirc-mode-map): Remove M-o binding.
27182
27183 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27184
27185 * startup.el (command-line): Save the cursor's theme-face
27186 directly, instead of using face-override-spec.
27187
27188 * custom.el (load-theme): Minor optimization in assigning faces.
27189
27190 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27191
27192 * help-fns.el (describe-variable): Complete all variables having
27193 documentation, including keywords.
27194 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
27195
27196 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27197
27198 Convert to lexical-binding.
27199
27200 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
27201 (bs--get-marked-string, bs--get-modified-string)
27202 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
27203 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
27204 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
27205
27206 * ehelp.el (electric-help-execute-extended)
27207 (electric-help-ctrl-x-prefix):
27208 * hexl.el (hexl-revert-buffer-function):
27209 * linum.el (linum-after-change, linum-after-scroll):
27210 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
27211
27212 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
27213
27214 2011-04-04 Daiki Ueno <ueno@unixuser.org>
27215
27216 * epa-dired.el:
27217 * epa-mail.el:
27218 * epa-hook.el:
27219 * epa-file.el:
27220 * epa.el:
27221 * epg.el: Use lexical binding.
27222
27223 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
27224
27225 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
27226
27227 * textmodes/flyspell.el (flyspell-word): Recognize default
27228 dictionary case for flyspell-mark-duplications-exceptions.
27229 Use regexp matching for languages.
27230 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
27231 default dictionary (Bug#7926).
27232
27233 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
27234
27235 * emacs-lisp/package.el (package--with-work-buffer):
27236 Recognize https URLs.
27237
27238 * net/network-stream.el: Move from gnus/proto-stream.el.
27239 Change prefix to network-stream throughout.
27240 (open-protocol-stream): Merge into open-network-stream, leaving
27241 open-protocol-stream as an alias. Handle nil BUFFER args.
27242
27243 * subr.el (open-network-stream): Move to net/network-stream.el.
27244
27245 2011-04-02 Glenn Morris <rgm@gnu.org>
27246
27247 * find-dired.el (find-exec-terminator): New option.
27248 (find-ls-option): Test for -ls support.
27249 (find-ls-subdir-switches): Test for -b in find-ls-option.
27250 (find-dired, find-grep-dired): Doc fixes.
27251 (find-dired): Use find-exec-terminator.
27252
27253 * find-dired.el (find-ls-option, find-ls-subdir-switches)
27254 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
27255 (find-name-arg): Remove purecopy.
27256
27257 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
27258 (grep-compute-defaults): Check for `-exec COMMAND +' support.
27259 Set grep-find-use-xargs, grep-find-command, and grep-find-template
27260 accordingly. Don't add the null-device if not needed.
27261
27262 * files.el (save-some-buffers): Doc fix.
27263
27264 2011-04-02 Eli Zaretskii <eliz@gnu.org>
27265
27266 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27267
27268 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
27269
27270 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27271 Use `dolist' rather than `mapcar'.
27272
27273 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
27274
27275 Add lexical binding.
27276
27277 * subr.el (apply-partially): Use new closures rather than CL.
27278 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27279 (dolist, dotimes): Use slightly different expansion for lexical code.
27280 (functionp): Move to C.
27281 (letrec): New macro.
27282 (with-wrapper-hook): Use it and apply-partially instead of CL.
27283 (eval-after-load): Preserve lexical-binding.
27284 (save-window-excursion, with-output-to-temp-buffer): Turn them
27285 into macros.
27286
27287 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27288
27289 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27290 than the arglist.
27291 (help-add-fundoc-usage): Don't add `Not documented'.
27292 (help-function-arglist): Handle closures, subroutines, and new
27293 byte-code-functions.
27294 (help-make-usage): Remove leading underscores.
27295 (describe-function-1): Handle closures.
27296 (describe-variable): Use special-variable-p for completion.
27297
27298 * files.el (lexical-binding): Declare safe.
27299
27300 * emacs-lisp/pcase.el: Don't use destructuring-bind.
27301 (pcase--memoize): Rename from pcase-memoize. Change weakness.
27302 (pcase): Add `let' pattern.
27303 Change memoization so it actually works.
27304 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27305 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27306 <let>: New case.
27307
27308 * emacs-lisp/macroexp.el: Use lexical binding.
27309 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27310 Don't convert ' to #' without checking that it's indeed quoting
27311 a lambda.
27312
27313 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27314 Use eval-sexp-add-defvars.
27315 (eval-sexp-add-defvars): New fun.
27316
27317 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27318
27319 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27320 Don't autoload.
27321 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27322 than the internal `byte-compile-lambda'.
27323 (defmethod): Don't hide code under quotes.
27324 (eieio-defmethod): New `code' argument.
27325
27326 * emacs-lisp/eieio-comp.el: Remove.
27327
27328 * emacs-lisp/edebug.el (edebug-eval-defun)
27329 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27330 (edebug-toggle): Avoid `eval'.
27331
27332 * emacs-lisp/disass.el (disassemble-internal): Handle new
27333 `closure' objects.
27334 (disassemble-1): Handle new byte codes.
27335
27336 * emacs-lisp/cl.el (pushnew): Silence warning.
27337
27338 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27339 (cl-byte-compile-throw): Remove.
27340 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27341
27342 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27343 closures.
27344
27345 * emacs-lisp/cconv.el: New file.
27346
27347 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27348 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27349 (byte-compile-initial-macro-environment):
27350 Handle declare-function here.
27351 (byte-compile--lexical-environment): New var.
27352 (byte-stack-ref, byte-stack-set, byte-discardN)
27353 (byte-discardN-preserve-tos): New lap codes.
27354 (byte-interactive-p): Don't use any more.
27355 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27356 New macros.
27357 (byte-compile-lapcode): Use them and handle new lap codes.
27358 (byte-compile-obsolete): Remove.
27359 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27360 (byte-compile-arglist-warn): Check late def of inlinable funs.
27361 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27362 since they should have been expanded by now.
27363 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27364 (byte-compile-from-buffer): Remove unused second arg.
27365 (byte-compile-preprocess): New function.
27366 (byte-compile-toplevel-file-form): New function to distinguish
27367 file-form calls from outside from file-form calls from hunk-handlers.
27368 (byte-compile-file-form): Simplify.
27369 (byte-compile-file-form-defsubst): Remove.
27370 (byte-compile-file-form-defmumble): Simplify now that
27371 byte-compile-lambda always returns a byte-code-function.
27372 (byte-compile): Preprocess.
27373 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27374 Remove, not used any more.
27375 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27376 (byte-compile-make-args-desc): New funs.
27377 (byte-compile-lambda): Handle lexical functions. Always return
27378 a byte-code-function.
27379 (byte-compile-reserved-constants): New var, to make up room for
27380 closed-over variables.
27381 (byte-compile-constants-vector): Obey it.
27382 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27383 (byte-compile-macroexpand-declare-function): New function.
27384 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27385 byte-code-functions.
27386 (byte-compile-form): Check obsolescence here.
27387 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27388 (byte-compile-variable-ref): Remove.
27389 (byte-compile-dynamic-variable-op): New fun.
27390 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27391 (byte-compile-variable-set): New funs.
27392 (byte-compile-discard): Add 2 args.
27393 (byte-compile-stack-ref, byte-compile-stack-set)
27394 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27395 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27396 macroexpand-all instead.
27397 (byte-compile-quote-form): Remove.
27398 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27399 (byte-compile-bind, byte-compile-unbind): New funs.
27400 (byte-compile-let): Handle let* and lexical binding.
27401 (byte-compile-let*): Remove.
27402 (byte-compile-catch, byte-compile-unwind-protect)
27403 (byte-compile-track-mouse, byte-compile-condition-case):
27404 Handle a new :fun-body form, used for lexical scoping.
27405 (byte-compile-save-window-excursion)
27406 (byte-compile-with-output-to-temp-buffer): Remove.
27407 (byte-compile-defun): Simplify.
27408 (byte-compile-stack-adjustment): New fun.
27409 (byte-compile-out): Use it.
27410 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27411
27412 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27413 handler any more.
27414
27415 * emacs-lisp/byte-opt.el: Use lexical binding.
27416 (byte-inline-lapcode): Remove (to bytecomp).
27417 (byte-compile-inline-expand): Pay attention to inlining to/from
27418 lexically bound code.
27419 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27420 any more.
27421 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27422 any more and don't call compiler-macros.
27423 (byte-compile-splice-in-already-compiled-code): Remove.
27424 (byte-code): Don't inline any more.
27425 (disassemble-offset): Receive `bytes' as argument rather than via
27426 dynamic scoping.
27427 (byte-compile-tag-number): Declare before first use.
27428 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27429 `return' even if make-spliceable.
27430 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27431 obsolete interactive-p.
27432 (byte-optimize-lapcode): Optimize new lap-codes.
27433 Don't trip up on new form of `byte-constant' lap code.
27434
27435 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27436
27437 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27438
27439 * custom.el (custom-initialize-default, custom-declare-variable):
27440 Use `defvar'.
27441
27442 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27443 New variables.
27444 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27445 (COMPILE_FIRST): Add macroexp and cconv.
27446 * makefile.w32-in: Mirror changes in Makefile.in.
27447
27448 * vc/cvs-status.el:
27449 * vc/diff-mode.el:
27450 * vc/log-edit.el:
27451 * vc/log-view.el:
27452 * vc/smerge-mode.el:
27453 * textmodes/bibtex-style.el:
27454 * textmodes/css-mode.el:
27455 * startup.el:
27456 * uniquify.el:
27457 * minibuffer.el:
27458 * newcomment.el:
27459 * reveal.el:
27460 * server.el:
27461 * mpc.el:
27462 * emacs-lisp/smie.el:
27463 * doc-view.el:
27464 * dired.el:
27465 * abbrev.el: Use lexical binding.
27466
27467 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27468
27469 * info.el (info-display-manual): New function.
27470
27471 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27472
27473 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27474
27475 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27476
27477 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27478 an entry for that server in rcirc-authinfo. (Bug#8385)
27479
27480 2011-03-31 Glenn Morris <rgm@gnu.org>
27481
27482 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27483
27484 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27485
27486 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27487
27488 * progmodes/python.el (python-default-interpreter)
27489 (python-python-command-args, python-jython-command-args)
27490 (python-which-shell, python-which-args, python-which-bufname)
27491 (python-file-queue, python-comint-output-filter-function)
27492 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27493 variables and functions.
27494
27495 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27496
27497 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27498 (completion-in-region-mode): New minor mode.
27499 (completion-in-region): Use it.
27500 (completion-in-region--data, completion-in-region-mode-map): New vars.
27501 (completion-in-region--postch): New function.
27502 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27503 New vars.
27504 (completion--capf-wrapper): New function.
27505 (completion-at-point): Use it to track well-behavedness of
27506 hook functions.
27507 (completion-help-at-point): New command.
27508
27509 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27510
27511 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27512 syntax class to search for whitespace on a single line
27513 (Message-ID: <4D938140.4030905@redhat.com>).
27514
27515 2011-03-30 Leo Liu <sdl.web@gmail.com>
27516
27517 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27518 New commands.
27519 (edit-abbrevs-map): Bind them here.
27520 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27521
27522 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27523
27524 * allout.el (allout-hide-by-annotation, allout-flag-region):
27525 Reduce possibility of overlay leakage by making them volatile.
27526
27527 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27528 hash is not shared between buffers. Mode initialization is
27529 responsible for giving it a useful starting value.
27530 (allout-item-span): Reduce possibility of overlay leakage by
27531 making them volatile.
27532 (allout-widgets-count-buttons-in-region): Add diagnostic function
27533 for tracking down button overlay leaks.
27534
27535 2011-03-29 Leo Liu <sdl.web@gmail.com>
27536
27537 * ido.el (ido-read-internal): Use the default history var
27538 minibuffer-history if no HISTORY is specified.
27539
27540 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27541
27542 * net/imap.el (imap-shell-open, imap-process-connection-type):
27543 Use imap-process-connection-type for 'shell' streams as well as
27544 Kerberos, SSL, other subprocesses.
27545
27546 2011-03-28 Leo Liu <sdl.web@gmail.com>
27547
27548 * abbrev.el (abbrev-table-empty-p): New function.
27549 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27550 nonempty ones. (Bug#5937)
27551
27552 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27553
27554 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27555
27556 2011-03-27 Leo Liu <sdl.web@gmail.com>
27557
27558 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27559 for foreground and background colors.
27560 (ansi-color-make-color-map): Adapt.
27561
27562 2011-03-25 Leo Liu <sdl.web@gmail.com>
27563
27564 * midnight.el (midnight-time-float): Remove. Note it calculates
27565 the microsecond component incorrectly and seconds-to-time does the
27566 same job.
27567 Remove redundant (require 'timer).
27568
27569 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27570 (ido-completions): Remove unused arguments. (Bug#8329)
27571
27572 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27573
27574 * minibuffer.el (completion--flush-all-sorted-completions):
27575 Remove itself from hook.
27576 (completion-at-point): Let the functions perform the completion
27577 immediately and return nil or t.
27578 * comint.el (comint-dynamic-complete-functions): Now identical to
27579 completion-at-point-functions.
27580 (comint-dynamic-list-input-ring): Remove unused var `index'.
27581 (comint--match-partial-filename, comint--unquote&expand-filename):
27582 New funs, split from comint-match-partial-filename.
27583 (comint-dynamic-complete): Use completion-at-point.
27584 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27585
27586 2011-03-24 Drew Adams <drew.adams@oracle.com>
27587
27588 * thingatpt.el: Support `defun'.
27589
27590 2011-03-23 Leo Liu <sdl.web@gmail.com>
27591
27592 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27593
27594 * help-mode.el (help-mode-finish): Tweak regexp.
27595
27596 2011-03-23 Glenn Morris <rgm@gnu.org>
27597
27598 * eshell/esh-opt.el (eshell-eval-using-options):
27599 Do not bind unused local variable `eshell-option-stub'.
27600
27601 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27602
27603 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27604
27605 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27606 keymap variable in `with-no-warnings' to avoid a warning when the
27607 keymap has been already `defconst'ed.
27608
27609 2011-03-22 Leo Liu <sdl.web@gmail.com>
27610
27611 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27612 encode all chars in abbrevs; otherwise use emacs-mule or
27613 utf-8-emacs. (Bug#8308)
27614
27615 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27616
27617 * simple.el (backward-delete-char-untabify):
27618 Avoid warning about using `delete-backward-char'.
27619
27620 * image.el (image-type-file-name-regexps): Make it variable.
27621 `imagemagick-register-types' modifies it, and the user may want
27622 to add new extensions for known image types.
27623 (imagemagick-register-types): Throw error if not using ImageMagick.
27624
27625 2011-03-22 Leo Liu <sdl.web@gmail.com>
27626
27627 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27628 located before rcirc-prompt-end-marker.
27629 (rcirc-complete): Error if point is not after rcirc prompt.
27630 Handle the case when table is nil.
27631 (rcirc-user-authenticated): Define to fix compiler warning.
27632
27633 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27634
27635 * custom.el (custom--inhibit-theme-enable): Make it affect only
27636 custom-theme-set-variables and custom-theme-set-faces.
27637 (provide-theme): Ignore custom--inhibit-theme-enable.
27638 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27639 (custom-enabling-themes): Delete variable.
27640 (enable-theme): Accept only loaded themes as arguments.
27641 Ignore the special custom-enabled-themes variable.
27642 (custom-enabled-themes): Forbid themes from setting this.
27643 Eliminate use of custom-enabling-themes.
27644 (custom-push-theme): Quote "changed" custom var entry.
27645
27646 2011-03-21 Leo Liu <sdl.web@gmail.com>
27647
27648 * ido.el (ido-read-internal): Add ido-selected to history instead
27649 of user input.
27650
27651 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27652
27653 * subr.el (deferred-action-list, deferred-action-function):
27654 Mark obsolete.
27655
27656 2011-03-21 Leo Liu <sdl.web@gmail.com>
27657
27658 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27659 change on 2011-02-13 (bug#8309).
27660
27661 * minibuffer.el (read-file-name-function): Change default value.
27662 (read-file-name--defaults): Rename from read-file-name-defaults.
27663 (read-file-name-default): Rename from read-file-name.
27664 (read-file-name): Call read-file-name-function.
27665
27666 2011-03-21 Glenn Morris <rgm@gnu.org>
27667
27668 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27669 Doc fixes.
27670
27671 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27672
27673 * cus-theme.el: Add missing provide statement.
27674 (customize-create-theme): Extract theme value correctly.
27675 (custom-theme-visit-theme): Autoload.
27676 (customize-create-theme): Prompt before inserting default faces.
27677
27678 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27679
27680 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27681 units and musical notes.
27682
27683 2011-03-20 Leo Liu <sdl.web@gmail.com>
27684
27685 * ido.el (ido-read-internal): Use completing-read-default.
27686 (ido-completing-read): Fix compatibility with completing-read.
27687
27688 2011-03-20 Christian Ohler <ohler@gnu.org>
27689
27690 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27691 (ert-delete-all-tests): Use `called-interactively-p' rather than
27692 `interactive-p'.
27693 (ert--make-xrefs-region): Respect END.
27694
27695 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27696
27697 * dired-aux.el (dired-create-directory): Signal an error if the
27698 directory already exists (Bug#8246).
27699
27700 * facemenu.el (list-colors-display): Call list-faces-display
27701 inside with-help-window.
27702 (list-colors-print): Use display property to align the final
27703 column, instead of checking window-width.
27704
27705 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27706
27707 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27708 windows-nt systems.
27709 (emerge-protect-metachars): Quote correctly for ms-dos and
27710 windows-nt systems.
27711
27712 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27713
27714 * info.el (info-initialize): Replace all uses of `:' with
27715 path-separator for compatibility with non-Unix systems.
27716 Cache quoting of path-separator. (Bug#8258)
27717
27718 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27719
27720 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27721 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27722 (mouse-avoidance-mode): Fix typos in docstrings.
27723
27724 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27725
27726 * startup.el (package-subdirectory-regexp): Move from package.el.
27727 Omit \\` and \\', and let callers add them.
27728
27729 * emacs-lisp/package.el (package-strip-version)
27730 (package-load-all-descriptors): Add \\` and \\' to
27731 package-subdirectory-regexp before using it.
27732 (package-untar-buffer): New arg DIR; ensure that file untars only
27733 into this expected directory. Remove superfluous delete-region.
27734 (package-unpack): Caller changed.
27735 (package-tar-file-info): Use package-subdirectory-regexp.
27736
27737 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27738
27739 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27740 diff-mode-shared-map (bug#8284).
27741 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27742
27743 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27744
27745 * calendar/time-date.el (format-seconds): Use assoc instead of
27746 assoc-string, since assoc-string doesn't exist in XEmacs.
27747
27748 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27749
27750 * custom.el (custom-known-themes): Reflow docstring.
27751 (custom-theme-load-path): Fix typo in docstring.
27752 (load-theme): Fix typo in error message.
27753 (custom-available-themes, custom-variable-theme-value):
27754 Use `let', not `let*'.
27755
27756 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27757
27758 * calc/README: Mention inclusion of musical notes.
27759
27760 * calc/calc-units.el (calc-lu-quant): Rename from
27761 `calc-logunits-quantity'.
27762 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27763 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27764 (calc-db): Rename from `calc-dblevel'.
27765 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27766 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27767 (calc-np): Rename from `calc-nplevel'.
27768 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27769 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27770 (calc-lu-plus): Rename from `calc-logunits-add'.
27771 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27772 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27773 (calc-lu-minus): Rename from `calc-logunits-sub'.
27774 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27775 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27776 (calc-lu-times): Rename from `calc-logunits-mul'.
27777 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27778 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27779 (calc-lu-divide): Rename from `calc-logunits-div'.
27780 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27781 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27782
27783 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27784 functions being autoloaded.
27785
27786 * calc/calc.el (calc-lu-power-reference): Rename from
27787 `calc-logunits-power-reference'.
27788 (calc-lu-field-reference): Rename from
27789 `calc-logunits-field-reference'.
27790
27791 * calc/calc-help.el (calc-l-prefix-help):
27792 Mention musical note functions.
27793
27794 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27795
27796 * minibuffer.el (completion-all-sorted-completions):
27797 Use :completion-cycle-penalty text property if present.
27798
27799 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27800
27801 * allout.el (allout-yank-processing): Adjust for new rebulleting
27802 regime so bullet being yanked is used without prompting the user
27803 for a choice.
27804
27805 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27806
27807 * startup.el (command-line): Warn the user that _emacs is deprecated.
27808
27809 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27810
27811 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27812 (delphi-verbose, delphi-comment-face, delphi-string-face)
27813 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27814 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27815 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27816 (delphi-new-comment-line, delphi-font-lock-defaults)
27817 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27818 Fix typos in docstrings.
27819
27820 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27821
27822 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27823 Invert the roles of character and string values for INSTEAD, so a
27824 string is used for the more common case of a defaulting prompt.
27825
27826 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27827
27828 * progmodes/ruby-mode.el (ruby-backward-sexp):
27829 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27830 * play/gamegrid.el (gamegrid-make-face):
27831 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27832 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27833 * notifications.el (notifications-notify):
27834 * net/xesam.el (xesam-search-engines):
27835 * net/quickurl.el (quickurl-list-insert):
27836 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27837
27838 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27839
27840 * startup.el (command-line): Update package subdirectory regexp.
27841
27842 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27843
27844 * allout.el (allout-abbreviate-flattened-numbering)
27845 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27846
27847 * subr.el (read-char-choice): Only show the cursor after the prompt,
27848 not after the answer.
27849
27850 2011-03-15 Kevin Ryde <user42@zip.com.au>
27851
27852 * help-fns.el (variable-at-point): Skip leading quotes, if any
27853 (bug#8253).
27854
27855 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27856
27857 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27858 warning message.
27859
27860 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27861
27862 * shell.el (shell): When called interactively, offer to change the
27863 shell file name on remote hosts.
27864
27865 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27866
27867 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27868 integration for LDAP parameters. The host, base, user or binddn,
27869 and secret tokens can be specified in a netrc file, for instance.
27870 This is optional because an `auth-source' parameter must be
27871 specified in the search attributes.
27872
27873 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27874
27875 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27876
27877 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27878
27879 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27880 into declaration. Remove redundant and harmful binding.
27881
27882 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27883
27884 * files.el (file-ownership-preserved-p): Pass `integer' as an
27885 explicit 2nd argument to `file-attributes'. If the file's owner
27886 is the Administrators group on Windows, and the current user is
27887 Administrator, consider that a match.
27888
27889 * server.el (server-ensure-safe-dir): Consider server directory
27890 safe on MS-Windows if its owner is the Administrators group while
27891 the current Emacs user is Administrator. Use `=' to compare
27892 numerical UIDs, since they could be integers or floats.
27893
27894 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27895
27896 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27897
27898 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27899
27900 Sync with Tramp 2.2.1.
27901
27902 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27903
27904 * net/trampver.el: Update release number.
27905
27906 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27907
27908 * progmodes/compile.el (compilation--previous-directory): Fix up
27909 various nil/dead-marker mismatches (bug#8014).
27910 (compilation-directory-properties, compilation-error-properties):
27911 Don't call it at a position past the one we're about to change.
27912
27913 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27914 Disable obsolescence warnings in the file that declares it.
27915
27916 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27917
27918 * allout-widgets.el (allout-widgets-tally):
27919 Initialize allout-widgets-tally as a hash table rather than nil to
27920 prevent mode-line redisplay warnings. Also, clarify the module
27921 description and fix a comment typo.
27922
27923 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27924
27925 * help-fns.el (describe-variable): Don't complete keywords.
27926 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27927
27928 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27929
27930 * emacs-lisp/package.el (package-version-join): Impose a standard
27931 string representation for pre/alpha/beta version lists.
27932 (package-unpack-single): Standardize the directory name by passing
27933 it through package-version-join.
27934 (package-strip-rcs-id): Accept any version string that does not
27935 signal an error in version-to-list.
27936
27937 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27938
27939 * simple.el (delete-trailing-whitespace): Return nil for the
27940 benefit of `write-file-functions'.
27941
27942 2011-03-10 Glenn Morris <rgm@gnu.org>
27943
27944 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27945
27946 * vc/vc-git.el (vc-git-program): New option.
27947 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27948 (vc-git--call): Use it.
27949
27950 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27951
27952 * cus-edit.el (Custom-newline): If no button at point, look
27953 for a subgroup button at start-of-line. (Bug#2298)
27954
27955 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27956
27957 2011-03-10 Julien Danjou <julien@danjou.info>
27958
27959 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27960 `cursor-type' is nil.
27961
27962 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27963
27964 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27965
27966 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27967
27968 * allout.el: Change so yank of distinctive-bullet items
27969 preserves the existing header prefix, rebulleting it if necessary,
27970 rather than replacing it. This is necessary for proper operation
27971 of cooperative addons like allout-widgets.
27972 (allout-make-topic-prefix, allout-rebullet-heading):
27973 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27974 value as alternate bullet to be used, instead of prompting the user
27975 for a bullet character.
27976
27977 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27978
27979 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27980 Do not use `tramp-file-name-port', because this returns also
27981 `tramp-default-port'.
27982
27983 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27984
27985 * net/rcirc.el (rcirc-handler-001): Remove useless
27986 with-rcirc-process-buffer.
27987 (rcirc-check-auth-status): Swap arguments to string-match.
27988
27989 2011-03-09 Glenn Morris <rgm@gnu.org>
27990
27991 * shell.el (shell-mode):
27992 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27993
27994 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27995 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27996
27997 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27998
27999 * emacs-lisp/package.el (package-refresh-contents)
28000 (package-menu-execute): Use condition-case-no-debug.
28001
28002 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
28003
28004 * simple.el (shell-command-to-string): Use `process-file'.
28005
28006 * emacs-lisp/package.el (package-tar-file-info): Handle also
28007 remote files.
28008
28009 * emacs-lisp/package-x.el (package-upload-buffer-internal):
28010 Use `equal' for upload base check.
28011
28012 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
28013
28014 * textmodes/texinfo.el (texinfo-environments):
28015 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
28016
28017 2011-03-08 Glenn Morris <rgm@gnu.org>
28018
28019 * cus-start.el (cursor-in-non-selected-windows):
28020 Fix :set quoting oddness. (Bug#8192)
28021
28022 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
28023 in some setf expressions. (Bug#2159)
28024
28025 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28026
28027 * custom.el (custom-available-themes): Return themes in
28028 alphabetical order.
28029
28030 See ChangeLog.15 for earlier changes.
28031
28032 ;; Local Variables:
28033 ;; coding: utf-8
28034 ;; End:
28035
28036 Copyright (C) 2011-2013 Free Software Foundation, Inc.
28037
28038 This file is part of GNU Emacs.
28039
28040 GNU Emacs is free software: you can redistribute it and/or modify
28041 it under the terms of the GNU General Public License as published by
28042 the Free Software Foundation, either version 3 of the License, or
28043 (at your option) any later version.
28044
28045 GNU Emacs is distributed in the hope that it will be useful,
28046 but WITHOUT ANY WARRANTY; without even the implied warranty of
28047 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28048 GNU General Public License for more details.
28049
28050 You should have received a copy of the GNU General Public License
28051 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.