idlwave-concatenate-rinfo-lists fix
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-29 Leo Liu <sdl.web@gmail.com>
2
3 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
4 (octave-help): Small simplification.
5
6 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7 off the highlight first.
8
9 2013-05-29 Glenn Morris <rgm@gnu.org>
10
11 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12 Handle idlwave-last-system-routine-info-cons-cell being nil.
13
14 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15 (idlwave-write-paths): Simplify via with-temp-buffer.
16
17 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
18 * emulation/cua-rect.el: Also load cua-base at run time.
19
20 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
21 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
22 (cperl-imenu-on-info): Require imenu.
23
24 2013-05-28 Alan Mackenzie <acm@muc.de>
25
26 Handle "capitalised keywords" correctly.
27 * progmodes/cc-mode.el (c-after-change): bind case-fold-search to
28 nil.
29
30 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
31
32 * eshell/em-unix.el: Added -r option to cp
33
34 2013-05-28 Glenn Morris <rgm@gnu.org>
35
36 * vc/vc-arch.el (vc-exec-after): Declare.
37 (vc-switches): Autoload.
38 * vc/vc-bzr.el: No need to require vc when compiling.
39 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
40 (vc-resynch-buffer, vc-dir-refresh): Declare.
41 (vc-setup-buffer, vc-switches): Autoload.
42 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
43 (vc-resynch-buffer): Declare.
44 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
45 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
46 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
47 (grep-read-regexp, grep-read-files, grep-expand-template)
48 (vc-dir-refresh): Declare.
49 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
50 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
51 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
52 * vc/vc-mtn.el (vc-exec-after): Declare.
53 (vc-switches): Autoload.
54 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
55 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
56 (vc-file-tree-walk): Declare.
57 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
58 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
59 (vc-tag-precondition, vc-rename-master): Autoload.
60 * vc/vc-svn.el (vc-exec-after): Declare.
61 (vc-switches, vc-setup-buffer): Autoload.
62 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
63 Autoload.
64 (vc-resynch-buffer): Declare.
65
66 * obsolete/fast-lock.el (byte-compile-warnings):
67 Don't warn about obsolete features in this obsolete file.
68
69 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
70 Move definition before use.
71
72 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
73 (dun-unix-verbs): Remove dun-zippy.
74 (dun-zippy): Remove function.
75
76 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
77
78 2013-05-27 Juri Linkov <juri@jurta.org>
79
80 * replace.el (replace-search): New function with code moved out
81 from `perform-replace'.
82 (replace-highlight, replace-dehighlight): Move function definitions
83 up closer to `replace-search'. (Bug#11746)
84
85 2013-05-27 Juri Linkov <juri@jurta.org>
86
87 * replace.el (perform-replace): Ignore invisible matches.
88 In addition to checking `query-replace-skip-read-only', also
89 filter out matches by calling `run-hook-with-args-until-failure'
90 on `isearch-filter-predicates', and also check `search-invisible'
91 for t or call `isearch-range-invisible'.
92 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
93
94 2013-05-27 Juri Linkov <juri@jurta.org>
95
96 * isearch.el (isearch-filter-predicates): Rename from
97 `isearch-filter-predicate'. Doc fix. (Bug#11378)
98 (isearch-message-prefix): Display text from the property
99 `isearch-message-prefix' of the currently active filters.
100 (isearch-search): Don't compare `isearch-filter-predicate' with
101 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
102 on `isearch-filter-predicates'. Also check `search-invisible' for t
103 or call `isearch-range-invisible'.
104 (isearch-filter-visible): Make obsolete.
105 (isearch-lazy-highlight-search):
106 Call `run-hook-with-args-until-failure' on
107 `isearch-filter-predicates' and use `isearch-range-invisible'.
108
109 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
110 `isearch-filter-predicates' instead of `funcall'ing
111 `isearch-filter-predicate'.
112 (Info-mode): Set `Info-isearch-filter' to
113 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
114
115 * dired-aux.el (dired-isearch-filter-predicate-orig):
116 Remove variable.
117 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
118 (dired-isearch-filenames-end): Add and remove
119 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
120 instead of changing the value of `isearch-filter-predicate'.
121 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
122 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
123 Put property `isearch-message-prefix' to "filename " on
124 `dired-isearch-filter-filenames'.
125
126 * wdired.el (wdired-change-to-wdired-mode):
127 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
128 locally instead of changing `isearch-filter-predicate'.
129 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
130
131 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
132
133 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
134 return the commit hash (Bug#14459). Also set the
135 `vc-git-detached' property.
136 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
137 (vc-git-mode-line-string): Use the same help-echo format whether
138 in detached mode or not, because we know the actual revision now.
139 When in detached mode, shorten the revision to 7 chars.
140
141 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
142
143 * emacs-lisp/easy-mmode.el (define-minor-mode):
144 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
145 mode hook and provide a docstring.
146
147 2013-05-27 Alan Mackenzie <acm@muc.de>
148
149 Remove spurious syntax-table text properties inserted by C-y.
150 * progmodes/cc-mode.el (c-after-change): Also clear hard
151 syntax-table property with value nil.
152
153 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
154
155 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
156 when reading the events; the buffer layout shall not be changed.
157
158 2013-05-27 Leo Liu <sdl.web@gmail.com>
159
160 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
161 New variable.
162 (inferior-octave-directory-tracker): Automatically re-sync
163 default-directory.
164 (octave-help): Improve handling of 'See also'.
165
166 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
167
168 * doc-view.el: Minor naming convention tweaks.
169 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
170
171 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
172 even if there's no `display' property yet (bug#14435).
173
174 2013-05-25 Eli Zaretskii <eliz@gnu.org>
175
176 * subr.el (unmsys--file-name): Rename from reveal-filename.
177
178 * Makefile.in (custom-deps, finder-data, autoloads)
179 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
180 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
181 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
182
183 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
184
185 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
186 error-completion on the first 2 args of condition-case (bug#14446).
187 Don't burp at EOB.
188
189 2013-05-25 Leo Liu <sdl.web@gmail.com>
190
191 * comint.el (comint-previous-matching-input): Do not flood the
192 *Messages* buffer with trivial messages.
193
194 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
195
196 * progmodes/flymake.el (flymake-nop): Don't return a string.
197 (flymake-set-at): Fix typo.
198
199 * simple.el (read--expression): New function, extracted from
200 eval-expression. Set completion-at-point-functions (bug#14465).
201 (eval-expression, eval-minibuffer): Use it.
202
203 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
204
205 * progmodes/flymake.el (flymake-save-buffer-in-file)
206 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
207 (flymake-selected-frame, flymake-log, flymake-ins-after)
208 (flymake-set-at, flymake-get-buildfile-from-cache)
209 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
210 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
211 Refine the doc string.
212 (flymake-get-file-name-mode-and-masks): Reformat.
213 (flymake-get-real-file-name-function): Fix a minor bug.
214
215 2013-05-24 Juri Linkov <juri@jurta.org>
216
217 * progmodes/grep.el (grep-mode-font-lock-keywords):
218 Support =linenumber= format used by git-grep for lines with
219 function names. (Bug#13549)
220
221 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
222
223 * progmodes/octave.el (octave-smie-rules): Return nil rather than
224 0 after a semi-colon; it works better for smie-auto-fill.
225 (octave--indent-new-comment-line): New function.
226 (octave-indent-new-comment-line): Use it (indirectly).
227 (octave-mode): Don't disable smie-auto-fill. Use add-function to
228 modify comment-line-break-function.
229
230 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
231 (smie-setup): Use add-function to set it.
232
233 2013-05-24 Sam Steingold <sds@gnu.org>
234
235 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
236 argument (before the `interactive' argument).
237
238 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
239
240 * image-mode.el (image-mode-winprops): Add winprops to
241 image-mode-winprops-alist before running
242 image-mode-new-window-functions.
243 * doc-view.el (doc-view-new-window-function): Don't delay
244 doc-view-goto-page via timers (bug#14435).
245
246 2013-05-24 Tassilo Horn <tsdh@gnu.org>
247
248 * doc-view.el: Integrate with desktop.el. (Bug#14435)
249 (doc-view-desktop-save-buffer): New function.
250 (doc-view-restore-desktop-buffer): New function.
251 (desktop-buffer-mode-handlers):
252 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
253 handler.
254 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
255 `desktop-save-buffer' function.
256
257 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
258
259 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
260 (tramp-gvfs-file-name-handler): Raise a user error when
261 `tramp-gvfs-enabled' is nil.
262 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
263 Do not raise a user error when loading package. (Bug#14447)
264
265 * net/xesam.el: Move to obsolete/.
266
267 2013-05-24 Glenn Morris <rgm@gnu.org>
268
269 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
270
271 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
272
273 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
274 (Info-find-node, Man-getpage-in-background): Declare.
275
276 * mail/unrmail.el (unrmail):
277 Replace obsolete detect-coding-with-priority.
278
279 * net/socks.el (socks-split-string): Use this rather than split-string.
280 (socks-nslookup-host): Update for above change.
281 (dynamic-choice, s5-dynamic-choice-match)
282 (s5-dynamic-choice-match-inline, s5-widget-value-create):
283 Comment out unused code.
284
285 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
286 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
287 (gud-tooltip-echo-area): Make obsolete.
288 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
289
290 * progmodes/js.el (js--optimize-arglist): Declare.
291
292 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
293
294 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
295 (ediff-window-C): Declare.
296
297 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
298 Tweak requires to silence compiler.
299
300 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
301 (he-search-string, he-tried-table, he-expand-list)
302 (he-init-string, he-string-member, he-substitute-string)
303 (he-reset-string): Declare.
304
305 * obsolete/options.el (list-options): Use custom-variable-p,
306 rather than obsolete alias.
307
308 2013-05-23 Sam Steingold <sds@gnu.org>
309
310 * simple.el (shell-command-on-region): Pass the `replace' argument
311 down to `call-process-region' to comply with the doc as reported on
312 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
313
314 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
315
316 * emacs-lisp/smie.el (smie-indent-forward-token)
317 (smie-indent-backward-token): Handle string tokens (bug#14381).
318
319 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
320
321 * ielm.el (ielm-menu): New menu.
322 (inferior-emacs-lisp-mode): Set comment-start.
323
324 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
325
326 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
327 Fix deactivate action.
328
329 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
330 Add cleveref macros.
331
332 * lisp/textmodes/reftex-parse.el
333 (reftex-locate-bibliography-files): Accept options for
334 bibliography commands.
335 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
336 Add addbibresource. Basic Biblatex support.
337
338 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
339
340 * net/tramp-gvfs.el (top):
341 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
342 when loading package. (Bug#14447)
343
344 2013-05-23 Glenn Morris <rgm@gnu.org>
345
346 * progmodes/js.el: No need to load comint when compiling.
347 (ring-insert, comint-send-string, comint-send-input)
348 (comint-last-input-end, ido-chop): Declare.
349
350 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
351 * vc/ediff-mult.el: Adjust requires.
352 (ediff-directories-internal, ediff-directory-revisions-internal)
353 (ediff-patch-file-internal): Declare.
354 * vc/ediff-ptch.el: Adjust requires.
355 (ediff-use-last-dir, ediff-buffers-internal): Declare.
356 (ediff-find-file): Autoload.
357 * vc/ediff-util.el: No need to load ediff when compiling.
358 (ediff-regions-internal): Declare.
359 * vc/ediff-wind.el: Adjust requires.
360 (ediff-compute-toolbar-width): Define when compiling.
361 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
362 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
363 (dired-get-filename, dired-get-marked-files)
364 (ediff-last-dir-patch, ediff-patch-default-directory)
365 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
366 (ediff-patch-buffer-internal): Declare.
367
368 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
369 (ispell-process, ispell-buffer-local-words, lm-summary)
370 (lm-section-start, lm-section-end): Declare.
371 (checkdoc-ispell-init): Simplify.
372
373 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
374 (he-string-member, he-reset-string, he-substitute-string): Declare.
375
376 * eshell/em-ls.el: Adjust requires.
377 (eshell-glob-regexp): Declare.
378 * eshell/em-tramp.el: Adjust requires.
379 (eshell-parse-command): Autoload.
380 * eshell/em-xtra.el: Adjust requires.
381 (eshell-parse-command): Autoload.
382 * eshell/esh-ext.el: Adjust requires.
383 (eshell-parse-command, eshell-close-handles): Autoload.
384 * eshell/esh-io.el: Adjust requires.
385 (eshell-output-filter): Autoload.
386 * eshell/esh-util.el: No need to load tramp when compiling.
387 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
388 Declare.
389 (eshell-parse-ange-ls): Require ange-ftp and tramp.
390 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
391 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
392 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
393 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
394 * eshell/esh-opt.el, eshell/esh-proc.el:
395 * eshell/esh-var.el: Adjust requires.
396 * eshell/eshell.el: Do not require esh-util twice.
397 (eshell-add-input-to-history): Declare.
398 (eshell-command): Check history module is active before using it.
399
400 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
401
402 2013-05-22 Leo Liu <sdl.web@gmail.com>
403
404 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
405
406 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
407
408 * autorevert.el (auto-revert-notify-add-watch)
409 (auto-revert-notify-handler): Add `attrib' for the inotify case,
410 it indicates changes in file modification time.
411
412 2013-05-22 Glenn Morris <rgm@gnu.org>
413
414 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
415 Always delete the autoloaded function from the noruntime and
416 unresolved functions lists.
417
418 * allout.el: No need to load epa, epg, overlay when compiling.
419 (epg-context-set-passphrase-callback, epg-list-keys)
420 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
421 (epg-key-user-id-list): Declare.
422
423 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
424 (viper-set-parsing-style-toggling-macro)
425 (viper-set-emacs-state-searchstyle-macros):
426 Use called-interactively-p on Emacs.
427 (viper-looking-back): Make it an obsolete alias. Update callers.
428 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
429 Use looking-back rather than viper-looking-back.
430 (viper-tmp-insert-at-eob, viper-enlarge-region)
431 (viper-read-string-with-history, viper-register-to-point)
432 (viper-append-to-register, viper-change-state-to-vi)
433 (viper-backward-char-carefully, viper-forward-char-carefully)
434 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
435 (viper-change-state-to-emacs): Declare.
436 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
437 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
438 * emulation/viper-mous.el: Do not load viper-cmd.
439 (viper-backward-char-carefully, viper-forward-char-carefully)
440 (viper-forward-word, viper-adjust-window): Declare.
441
442 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
443
444 * progmodes/idlw-help.el (idlwave-help-fontify):
445 Use called-interactively-p.
446
447 * term/w32console.el (w32-get-console-codepage)
448 (w32-get-console-output-codepage): Declare.
449
450 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
451 Remove unnecessary declarations.
452 (dframe-message): Doc fix.
453
454 * info.el (dframe-select-attached-frame, dframe-current-frame):
455 Declare.
456
457 * speedbar.el (speedbar-message): Make it an obsolete alias.
458 Update all callers.
459 (speedbar-with-attached-buffer)
460 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
461 (speedbar-with-writable): Use backquote.
462 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
463 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
464 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
465 rather than speedbar- aliases.
466 * mail/rmail.el: Load dframe rather than speedbar when compiling.
467 (speedbar-make-specialized-keymap, speedbar-insert-button)
468 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
469 (speedbar-do-function-pointer): Declare.
470 (rmail-speedbar-button, rmail-speedbar-find-file)
471 (rmail-speedbar-move-message):
472 Use dframe-with-attached-buffer rather than speedbar- alias.
473 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
474 (dframe-message, speedbar-make-specialized-keymap)
475 (speedbar-add-expansion-list, speedbar-mode-functions-list)
476 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
477 (speedbar-insert-button, dframe-select-attached-frame)
478 (dframe-maybee-jump-to-attached-frame)
479 (speedbar-change-initial-expansion-list)
480 (speedbar-previously-used-expansion-list-name): Declare.
481 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
482 Use dframe-message, dframe-with-attached-buffer rather than
483 speedbar- aliases.
484 (gud-sentinel): Silence compiler.
485 * progmodes/vhdl-mode.el (speedbar-refresh)
486 (speedbar-do-function-pointer, speedbar-add-supported-extension)
487 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
488 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
489 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
490 (speedbar-file-lists, speedbar-make-tag-line)
491 (speedbar-line-directory, speedbar-goto-this-file)
492 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
493 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
494 (speedbar-make-button, speedbar-reset-scanners)
495 (speedbar-files-item-info, speedbar-line-text)
496 (speedbar-find-file-in-frame, speedbar-set-timer)
497 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
498 (speedbar-with-writable): Do not (re)define it.
499 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
500 rather than speedbar- alias.
501
502 2013-05-21 Leo Liu <sdl.web@gmail.com>
503
504 * progmodes/octave.el (octave-mode-menu): Update and re-organize
505 menu items.
506 (octave-mode): Tweak fill-nobreak-predicate.
507 (inferior-octave-startup): Check process to avoid infinite loop.
508 (inferior-octave): Pop to buffer first to show abornmal process
509 exit information.
510
511 2013-05-21 Glenn Morris <rgm@gnu.org>
512
513 * printing.el (pr-menu-bar): Define when compiling.
514
515 2013-05-21 Leo Liu <sdl.web@gmail.com>
516
517 * progmodes/octave.el (octave-auto-fill): Remove.
518 (octave-indent-new-comment-line): Improve.
519 (octave-mode): Use auto fill mode through
520 comment-line-break-function and fill-nobreak-predicate
521 (octave-goto-function-definition): Support DEFUN_DLD.
522 (octave-beginning-of-defun): Small Tweak
523 (octave-help): Show parent directory.
524
525 2013-05-21 Glenn Morris <rgm@gnu.org>
526
527 * files.el (dired-unmark):
528 * progmodes/gud.el (gdb-input): Update declarations.
529
530 * calculator.el (electric, ehelp): No need to load when compiling.
531 (Electric-command-loop, electric-describe-mode): Declare.
532
533 * doc-view.el (doc-view-current-converter-processes): Move before use.
534
535 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
536 Move MODE-set-explicitly definition before use.
537
538 * international/mule-diag.el (mule-diag):
539 Don't use obsolete window-system-version.
540
541 * mail/feedmail.el (smtpmail): No need to load when compiling.
542 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
543
544 * mail/mail-utils.el (rfc822): No need to load when compiling.
545 (rfc822-addresses): Autoload it.
546 (mail-strip-quoted-names): Trivial simplification.
547
548 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
549 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
550
551 * net/snmp-mode.el (tempo): Don't duplicate requires.
552
553 * progmodes/prolog.el (info): No need to load when compiling.
554 (comint): Require before shell requires it.
555 (Info-goto-node): Autoload it.
556 (Info-follow-nearest-node): Declare.
557 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
558
559 * textmodes/artist.el (picture-mode-exit): Declare.
560
561 * textmodes/reftex-parse.el (reftex-parse-from-file):
562 Trivial rewrite so the compiler can parse it better.
563
564 2013-05-20 Leo Liu <sdl.web@gmail.com>
565
566 * progmodes/octave.el (octave-help-mode-map)
567 (octave-help-mode-finish-hook): New variables.
568 (octave-help-mode, octave-help-mode-finish): New functions.
569 (octave-help): Use octave-help-mode.
570
571 2013-05-20 Glenn Morris <rgm@gnu.org>
572
573 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
574
575 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
576
577 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
578 start at point, so that expansion starting right after opening
579 slash in a regexp is recognized.
580 (ruby-syntax-before-regexp-re): New defvar, extracted from
581 ruby-syntax-propertize-function. Since the value of this regexp
582 is looked up at runtime now, we should be able to turn
583 `ruby-syntax-methods-before-regexp' into a defcustom later.
584 (ruby-syntax-propertize-function): Split regexp matching into two
585 parts, for opening and closing slashes. That allows us to skip
586 over string interpolations and support multiline regexps.
587 Don't call `ruby-syntax-propertize-expansions', instead use another rule
588 for them, which calls `ruby-syntax-propertize-expansion'.
589 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
590 call to `ruby-syntax-propertize-function'.
591 (ruby-syntax-propertize-expansion): Extracted from
592 `ruby-syntax-propertize-expansions'. Handles one expansion.
593 (ruby-syntax-propertize-percent-literal): Leave point right after
594 the percent symbol, so that the expression expansion rule can
595 propertize the contents.
596 (ruby-syntax-propertize-heredoc): Leave point at bol following the
597 heredoc openers.
598 (ruby-syntax-propertize-expansions): Remove.
599
600 2013-05-18 Juri Linkov <juri@jurta.org>
601
602 * man.el (Man-default-man-entry): Remove `-' from the end
603 of the default value. (Bug#14400)
604
605 2013-05-18 Glenn Morris <rgm@gnu.org>
606
607 * comint.el (comint-password-prompt-regexp):
608 Allow "password for XXX" where XXX contains colons (eg https://...).
609
610 2013-05-18 Leo Liu <sdl.web@gmail.com>
611
612 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
613 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
614 (octave-source-directories): Don't check process.
615 (octave-source-directories, octave-find-definition): Doc fix.
616
617 2013-05-18 Glenn Morris <rgm@gnu.org>
618
619 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
620 Remove backspace/delete bindings. (Bug#14392)
621
622 * cus-dep.el (custom-make-dependencies): Sort the output.
623 (custom-versions-load-alist): Convert comment to doc.
624
625 2013-05-17 Leo Liu <sdl.web@gmail.com>
626
627 * newcomment.el (comment-search-backward): Stricter in finding
628 comment start. (Bug#14303)
629
630 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
631 (octave-comment-start-skip): Properly anchored.
632
633 2013-05-17 Leo Liu <sdl.web@gmail.com>
634
635 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
636 Clean up when turned off. (Bug#14395)
637 (smie--highlight-matching-block-overlay): No longer buffer-local.
638 (smie-highlight-matching-block): Adjust.
639
640 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
641
642 Doc string fix for "nanoseconds" (Bug#14406).
643 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
644 Fix doc string typo that had "nanoseconds" instead of "microseconds".
645
646 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
647
648 * calc/calc-units.el (math-extract-units): Preserve powers
649 of units.
650
651 2013-05-17 Leo Liu <sdl.web@gmail.com>
652
653 * subr.el (delete-consecutive-dups): New function.
654 * ido.el (ido-set-matches-1): Use it.
655 * progmodes/octave.el (inferior-octave-completion-table): Use it.
656 * ido.el (ido-remove-consecutive-dups): Remove.
657
658 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
659
660 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
661 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
662 regexp-opt's `words'.
663
664 2013-05-16 Leo Liu <sdl.web@gmail.com>
665
666 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
667 (smie--highlight-matching-block-overlay)
668 (smie--highlight-matching-block-lastpos)
669 (smie--highlight-matching-block-timer): New variables.
670 (smie-highlight-matching-block): New function.
671 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
672 (smie-setup): Conditionally enable smie-blink-matching-open.
673
674 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
675
676 Sync with upstream verilog-mode r840.
677 * progmodes/verilog-mode.el (verilog-mode-version)
678 (verilog-mode-release-date): Update.
679 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
680 (verilog-sig-tieoff): Fix string error on
681 AUTORESET with colon define, bug594. Reported by Andrew Hou.
682 (verilog-read-decls): Fix parameters confusing
683 AUTOINST interfaces, bug565. Reported by Leith Johnson.
684
685 2013-05-16 Eli Zaretskii <eliz@gnu.org>
686
687 * subr.el (reveal-filename): New function.
688
689 * loadup.el: Compute Emacs executable versions on MS-Windows,
690 where executables have the .exe extension. Add a hard link
691 emacs-XX.YY.ZZ.exe on MS-Windows.
692
693 * Makefile.in (XARGS_LIMIT): New variable.
694 (custom-deps, finder-data, autoloads)
695 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
696 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
697 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
698 (compile-main): Limit xargs according to $(XARGS_LIMIT).
699
700 2013-05-16 Leo Liu <sdl.web@gmail.com>
701
702 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
703 (octave-mode-menu, octave-mode-map): Remove its uses.
704
705 2013-05-16 Reto Zimmermann <reto@gnu.org>
706
707 Sync with upstream vhdl mode v3.34.2.
708 * progmodes/vhdl-mode.el: Use `push' throughout.
709 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
710 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
711 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
712 (vhdl-actual-generic-name): New option to derive actual generic name.
713 (vhdl-port-paste-signals): Replace formal by actual generics.
714 (vhdl-beautify): New name for old group vhdl-align. Update users.
715 (vhdl-beautify-options): New option.
716 (vhdl-last-input-event): New compat alias. Use throughout.
717 (vhdl-goto-line): Replace user level function `goto-line'.
718 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
719 vhdl-fix-statement-buffer.
720 (vhdl-create-mode-menu): Add some entries.
721 (vhdl-align-region-groups): Respect vhdl-beautify-options.
722 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
723 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
724 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
725 to force statements on one line.
726 (vhdl-remove-trailing-spaces-region):
727 New, split from vhdl-remove-trailing-spaces.
728 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
729 Respect vhdl-beautify-options.
730 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
731 (vhdl-update-sensitivity-list): Not add with index if exists without.
732 Not include array index with signal. Ignore keywords in comments.
733 (vhdl-get-visible-signals): Regexp tweaks.
734 (vhdl-template-component-inst): Handle empty library.
735 (vhdl-template-type): Add template for 'enum' type.
736 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
737 Use vhdl-replace-string.
738 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
739 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
740 (vhdl-speedbar-initialize): Update for above name change.
741 (vhdl-compose-wire-components): Fix in handling of constants.
742 (vhdl-error-regexp-emacs-alist): New variable.
743 (vhdl-error-regexp-add-emacs): New function;
744 adds support for new compile.el (Emacs 22+)
745 (vhdl-generate-makefile-1): Change target order for single lib. units.
746 Allow use of absolute file names.
747
748 2013-05-16 Leo Liu <sdl.web@gmail.com>
749
750 * simple.el (prog-indent-sexp): Indent enclosing defun.
751
752 2013-05-15 Glenn Morris <rgm@gnu.org>
753
754 * cus-start.el (show-trailing-whitespace): Move to editing basics.
755 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
756 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
757 (whitespace-highlight): Move to whitespace group.
758
759 * comint.el (comint-source):
760 * pcmpl-linux.el (pcmpl-linux):
761 * shell.el (shell-faces):
762 * eshell/esh-opt.el (eshell-opt):
763 * international/ccl.el (ccl): Remove empty custom groups.
764
765 * completion.el (dynamic-completion-mode):
766 * jit-lock.el (jit-lock-debug-mode):
767 * minibuffer.el (completion-in-region-mode):
768 * type-break.el (type-break-mode-line-message-mode)
769 (type-break-query-mode):
770 * emulation/tpu-edt.el (tpu-edt-mode):
771 * progmodes/subword.el (global-subword-mode, global-superword-mode):
772 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
773 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
774
775 * term/xterm.el (xterm): Change parent group to terminals.
776
777 * master.el (master): Remove empty custom group.
778 (master-mode): Remove unused :group argument.
779 * textmodes/refill.el (refill): Remove empty custom group.
780 (refill-mode): Remove unused :group argument.
781
782 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
783
784 * cus-dep.el: Provide a feature.
785 (custom-make-dependencies): Ignore dotfiles (dir-locals).
786 Don't mistakenly ignore files whose basenames match a basename
787 from preloaded-file-list (eg cedet/ede/simple.el).
788 Add a fallback method for getting :group.
789
790 2013-05-15 Juri Linkov <juri@jurta.org>
791
792 * isearch.el (isearch-char-by-name): Rename from
793 `isearch-insert-char-by-name'. Doc fix.
794 (isearch-forward): Mention `isearch-char-by-name' in
795 the docstring. (Bug#13348)
796
797 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
798 `exit-minibuffer' instead of
799 `isearch-nonincremental-exit-minibuffer'.
800 (isearch-edit-string): Remove mention of
801 `isearch-nonincremental-exit-minibuffer' from docstring.
802 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
803 (isearch-forward-exit-minibuffer)
804 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
805
806 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
807
808 * loadup.el: Just use unversioned DOC.
809
810 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
811 literals as extending to EOB.
812 (nxml-last-fontify-end): Remove unused variable.
813 (nxml-after-change1): Use with-silent-modifications.
814 (nxml-extend-after-change-region): Simplify.
815 (nxml-extend-after-change-region1): Remove function.
816 (nxml-after-change1): Don't adjust for dependent regions.
817 (nxml-fontify-matcher): Simplify.
818 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
819 (xmltok-add-dependent): Remove function.
820 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
821 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
822 (xmltok-scan-prolog-after-processing-instruction-open): Treat
823 unclosed <[[, <?, comment, and other literals as extending to EOB.
824 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
825 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
826 Remove functions.
827 (rng-do-some-validation-1): Don't mark dependent regions.
828 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
829 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
830 (nxml-clear-dependent-regions): Remove functions.
831 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
832 (nxml-ensure-scan-up-to-date):
833 Don't clear&mark dependent regions.
834
835 2013-05-15 Leo Liu <sdl.web@gmail.com>
836
837 * progmodes/octave.el (octave-goto-function-definition):
838 Improve and fix callers.
839
840 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
841
842 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
843 the setter (bug#14387).
844
845 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
846 surrounding group (bug#14402).
847
848 2013-05-14 Juri Linkov <juri@jurta.org>
849
850 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
851 (Bug#14390)
852
853 2013-05-14 Glenn Morris <rgm@gnu.org>
854
855 * progmodes/f90.el (f90-imenu-generic-expression):
856 Fix typo in 2013-05-08 change. (Bug#14402)
857
858 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
859
860 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
861 Remove signals for which replies are never received.
862
863 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
864
865 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
866 (gdb-handler-alist, gdb-handler-number): Remove variables.
867 (gdb-handler-list): New variable.
868 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
869 (gdb-pending-handler-p, gdb-handle-reply)
870 (gdb-remove-all-pending-triggers): New functions.
871 (gdb-discard-unordered-replies): New defcustom.
872 (gdb-handler): New defstruct.
873 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
874 instead of gdb-pending-triggers. Update docstring.
875 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
876 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
877 (gdb-var-update-handler, def-gdb-auto-update-trigger)
878 (def-gdb-auto-update-handler, gdb-get-changed-registers)
879 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
880 (gdb-frame-handler): Pending triggers are now automatically managed.
881 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
882 Remove argument.
883 (gdb-input): Automatically handles pending triggers. Update docstring.
884 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
885 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
886 Update comments.
887 (gdb-done-or-error): Now use gdb-handle-reply.
888
889 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
890
891 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
892 gdb-debug-log.
893
894 2013-05-14 Glenn Morris <rgm@gnu.org>
895
896 * subr.el (user-emacs-directory-warning): New option.
897 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
898
899 2013-05-14 Leo Liu <sdl.web@gmail.com>
900
901 * progmodes/octave.el (octave-font-lock-keywords): Fix error
902 during redisplay.
903 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
904 (octave-font-lock-texinfo-comment): Fix invalid search bound
905 error: wrong side of point.
906
907 2013-05-14 Glenn Morris <rgm@gnu.org>
908
909 * progmodes/flymake.el (flymake-xml-program): New option.
910 (flymake-xml-init): Use it.
911
912 * term/xterm.el: Provide a feature.
913
914 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
915
916 2013-05-13 Glenn Morris <rgm@gnu.org>
917
918 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
919 Add compat aliases as a hack workaround. (Bug#14384)
920
921 2013-05-13 Leo Liu <sdl.web@gmail.com>
922
923 * progmodes/octave.el (octave-indent-comment): Fix indentation for
924 ###, and %!.
925 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
926 C-M-q.
927 (octave-comment-start-skip): Include %!.
928 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
929
930 2013-05-12 Leo Liu <sdl.web@gmail.com>
931
932 * progmodes/octave.el (inferior-octave-startup): Store the value
933 of __octave_srcdir__ for octave-source-directories.
934 (inferior-octave-check-process): New function refactored out of
935 inferior-octave-send-list-and-digest.
936 (octave-source-directories)
937 (octave-find-definition-filename-function): New variables.
938 (octave-source-directories)
939 (octave-find-definition-default-filename): New functions.
940 (octave-find-definition): Improve to find functions implemented in C++.
941
942 2013-05-12 Glenn Morris <rgm@gnu.org>
943
944 * calendar/diary-lib.el (diary-outlook-format-1):
945 Don't include dayname in the output. (Bug#14349)
946
947 2013-05-11 Glenn Morris <rgm@gnu.org>
948
949 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
950
951 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
952 Treat cc-provide like provide.
953
954 2013-05-11 Kevin Ryde <user42@zip.com.au>
955
956 * cus-dep.el (custom-make-dependencies):
957 Use generated-autoload-load-name for the sake of files such
958 such cedet/semantic/bovine/c.el, where the base file name
959 is not in load-path. (Bug#5277)
960
961 2013-05-11 Glenn Morris <rgm@gnu.org>
962
963 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
964 Provide features.
965
966 2013-05-11 Leo Liu <sdl.web@gmail.com>
967
968 * progmodes/octave.el (octave-indent-comment): Improve.
969 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
970 (octave-eldoc-function-signatures, octave-eldoc-function):
971 New functions.
972 (octave-mode, inferior-octave-mode): Add eldoc support.
973
974 2013-05-11 Richard Stallman <rms@gnu.org>
975
976 * epa.el (epa-decrypt-file): Take output file name as argument
977 and read it using `interactive'.
978
979 2013-05-11 Leo Liu <sdl.web@gmail.com>
980
981 * progmodes/octave.el (octave-beginning-of-line)
982 (octave-end-of-line): Check before using up-list because it jumps
983 out of more syntactic contructs since moving to smie.
984 (octave-indent-comment): New function.
985 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
986 (octave-begin-keywords, octave-end-keywords)
987 (octave-reserved-words, octave-smie-bnf-table)
988 (octave-smie-rules): Add new keywords from Octave 3.6.4.
989
990 2013-05-11 Glenn Morris <rgm@gnu.org>
991
992 * faces.el (internal-face-x-get-resource):
993 * frame.el (ns-display-monitor-attributes-list):
994 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
995
996 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
997
998 * calc/calc-menu.el: Make it loadable in isolation.
999
1000 * net/eudcb-bbdb.el: Make it loadable without bbdb.
1001 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
1002 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
1003 (eudc-bbdb-query-internal): Require 'bbdb.
1004
1005 * lpr.el (lpr-headers-switches):
1006 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
1007
1008 * progmodes/sql.el (sql-login-params): Fix and improve :type.
1009
1010 * emulation/edt-mapper.el: In batch mode, error rather than hang.
1011
1012 * term.el (term-set-escape-char): Make it idempotent.
1013
1014 2013-05-10 Leo Liu <sdl.web@gmail.com>
1015
1016 * progmodes/octave.el (inferior-octave-completion-table):
1017 No longer a function and all uses changed. Use cache to speed up
1018 completion due to bug#11906.
1019 (octave-beginning-of-defun): Re-write to be more general.
1020
1021 2013-05-10 Glenn Morris <rgm@gnu.org>
1022
1023 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
1024
1025 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1026
1027 * comint.el (comint-redirect-send-command-to-process): Use :around
1028 rather than :override for comint-redirect-filter.
1029 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
1030 Call it instead of comint-redirect-original-filter-function (which
1031 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
1032
1033 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
1034
1035 * frame.el (display-monitor-attributes-list): Add NS case.
1036 (ns-display-monitor-attributes-list): Declare.
1037
1038 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
1039
1040 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
1041
1042 2013-05-09 Glenn Morris <rgm@gnu.org>
1043
1044 * international/fontset.el (vertical-centering-font-regexp):
1045 Set standard-value.
1046
1047 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
1048
1049 * bookmark.el (bookmark-search-delay):
1050 * cus-start.el (vertical-centering-font-regexp):
1051 * ps-mule.el (ps-mule-font-info-database-default):
1052 * ps-print.el (ps-default-fg, ps-default-bg):
1053 * type-break.el (type-break-good-break-interval):
1054 * whitespace.el (whitespace-indentation-regexp)
1055 (whitespace-space-after-tab-regexp):
1056 * emacs-lisp/testcover.el (testcover-1value-functions)
1057 (testcover-noreturn-functions, testcover-progn-functions)
1058 (testcover-prog1-functions):
1059 * emulation/viper-init.el (viper-emacs-state-cursor-color):
1060 * eshell/em-glob.el (eshell-glob-translate-alist):
1061 * play/tetris.el (tetris-tty-colors):
1062 * progmodes/cpp.el (cpp-face-default-list):
1063 * progmodes/flymake.el (flymake-allowed-file-name-masks):
1064 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
1065 (idlwave-help-browser-generic-args):
1066 * progmodes/make-mode.el (makefile-special-targets-list):
1067 * progmodes/python.el (python-shell-virtualenv-path):
1068 * progmodes/verilog-mode.el (verilog-active-low-regexp)
1069 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
1070 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
1071 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
1072 * textmodes/reftex-vars.el (reftex-format-label-function):
1073 * textmodes/remember.el (remember-diary-file): Fix custom types.
1074
1075 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
1076 Add :version.
1077
1078 2013-05-09 Leo Liu <sdl.web@gmail.com>
1079
1080 * progmodes/octave.el (inferior-octave-completion-at-point):
1081 Restore file completion. (Bug#14300)
1082 (inferior-octave-startup): Fix incorrect highlighting for the
1083 first prompt.
1084
1085 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1086
1087 * progmodes/ruby-mode.el: First cut at SMIE support.
1088 (ruby-use-smie): New var.
1089 (ruby-smie-grammar): New constant.
1090 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
1091 (ruby-smie--forward-token, ruby-smie--backward-token)
1092 (ruby-smie-rules): New functions.
1093 (ruby-mode-variables): Setup SMIE if applicable.
1094
1095 2013-05-08 Eli Zaretskii <eliz@gnu.org>
1096
1097 * simple.el (line-move-visual): Signal beginning/end of buffer
1098 only if vertical-motion moved less than it was requested. Avoids
1099 silly incorrect error messages when there are display strings with
1100 multiple newlines at EOL.
1101
1102 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1103
1104 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1105 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1106 (prolog-char-quote-workaround):
1107 * progmodes/cperl-mode.el (cperl-under-as-char):
1108 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1109 Mark as obsolete.
1110 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1111 their declaration.
1112 (vhdl-mode-syntax-table-init): Remove.
1113
1114 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1115 last change.
1116
1117 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1118 syntax for "_".
1119 (ld-script-font-lock-keywords):
1120 Change regexps to use things like \_< and \_>.
1121
1122 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1123 Change all regexps to use things like \_< and \_>.
1124
1125 * progmodes/autoconf.el (autoconf-definition-regexp)
1126 (autoconf-font-lock-keywords, autoconf-current-defun-function):
1127 Handle a _ with symbol syntax.
1128 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1129
1130 * progmodes/ada-mode.el (ada-mode-abbrev-table):
1131 Consolidate declaration.
1132 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1133 the declaration.
1134 (ada-create-syntax-table): Remove.
1135 (ada-capitalize-word): Don't mess with the syntax of "_" since it
1136 already has the right syntax nowadays.
1137 (ada-goto-next-word): Don't change the syntax of "_".
1138
1139 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1140 with-wrapper-hook.
1141
1142 2013-05-08 Sam Steingold <sds@gnu.org>
1143
1144 * thingatpt.el (thing-at-point): Accept optional second argument
1145 NO-PROPERTIES to strip the text properties from the return value.
1146 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1147 to `thing-at-point' instead of stripping the properties ourselves.
1148 Also, when `thing-at-point' fails to find a url, prepend "http://"
1149 to the filename at point on the assumption that the user is
1150 pointing at something like gnu.org/gnu.
1151
1152 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1153
1154 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1155 * faces.el (crm-separator):
1156 Silence byte-compiler.
1157
1158 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1159 (tool-bar-map): Remove unneeded defvars.
1160
1161 2013-05-08 Leo Liu <sdl.web@gmail.com>
1162
1163 Re-work a fix for bug#10994 based on Le Wang's patch.
1164 * ido.el (ido-remove-consecutive-dups): New helper.
1165 (ido-completing-read): Use it.
1166 (ido-chop): Revert fix for bug#10994.
1167
1168 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1169
1170 * cus-edit.el (custom-save-variables):
1171 Pretty-print long values. (Bug#14187)
1172
1173 2013-05-08 Glenn Morris <rgm@gnu.org>
1174
1175 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1176 (m4-mode-syntax-table): Init in the defvar.
1177 (m4-mode-abbrev-table): Let define-derived-mode define it.
1178
1179 2013-05-08 Tom Tromey <tromey@redhat.com>
1180
1181 * progmodes/m4-mode.el (m4-mode-syntax-table):
1182 Do not treat "_" as word constituent. (Bug#14167)
1183
1184 2013-05-07 Glenn Morris <rgm@gnu.org>
1185
1186 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1187 Remove explicit eshell-isearch-cancel-map.
1188
1189 * progmodes/f90.el (f90-smart-end-names): New option.
1190 (f90-smart-end): Doc fix.
1191 (f90-end-block-optional-name): New constant.
1192 (f90-block-match): Respect f90-smart-end-names.
1193
1194 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1195
1196 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1197 about implicit semi-colons (bug#14218).
1198
1199 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1200
1201 * frame.el (display-monitor-attributes-list)
1202 (frame-monitor-attributes): New functions.
1203
1204 2013-05-06 Leo Liu <sdl.web@gmail.com>
1205
1206 * progmodes/octave.el (octave-syntax-propertize-function): Change
1207 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1208 (octave-font-lock-keywords): Use octave-operator-regexp.
1209 (octave-completion-at-point): Rename from
1210 octave-completion-at-point-function.
1211 (inferior-octave-directory-tracker): Robustify.
1212 (octave-text-functions): Remove and fix its uses. No such things
1213 any more.
1214
1215 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1216
1217 * emacs-lisp/trace.el (trace--display-buffer): New function.
1218 (trace-make-advice): Use it.
1219
1220 2013-05-06 Juri Linkov <juri@jurta.org>
1221
1222 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1223 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1224 Doc fix.
1225 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1226 in the help string. (Bug#12985)
1227
1228 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1229
1230 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1231
1232 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1233
1234 * progmodes/perl-mode.el: Add support for here documents.
1235 (perl-syntax-propertize-function): Match here-doc markers.
1236 (perl-syntax-propertize-special-constructs): Find their end.
1237 (perl-imenu-generic-expression): Use [:alnum:].
1238
1239 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1240 (advice--add-function): Refresh the advice if already present
1241 (bug#14317).
1242
1243 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1244
1245 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1246
1247 2013-05-06 Glenn Morris <rgm@gnu.org>
1248
1249 * w32-fns.el (w32-charset-info-alist): Declare.
1250
1251 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1252 of its defcustom properties.
1253 (eshell-cmpl-initialize): No need to load pcomplete.
1254
1255 * generic-x.el: No need to require comint when compiling.
1256
1257 * net/eudc-export.el: Make it loadable without bbdb.
1258 (top-level): Use require rather than load-library.
1259 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1260 (eudc-batch-export-records-to-bbdb)
1261 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1262 Require bbdb.
1263
1264 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1265
1266 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1267 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1268 some tweaks, instead.
1269
1270 2013-05-05 Leo Liu <sdl.web@gmail.com>
1271
1272 * progmodes/octave.el (octave-font-lock-keywords)
1273 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1274 (inferior-octave-send-list-and-digest): Improve error message.
1275 (octave-mode, inferior-octave-mode): Use setq-local.
1276 (octave-help): Set info-lookup-mode.
1277
1278 2013-05-05 Richard Stallman <rms@gnu.org>
1279
1280 * vc/compare-w.el (compare-windows-whitespace):
1281 Treat no-break space as whitespace.
1282
1283 * mail/rmailsum.el (rmail-summary-rmail-update):
1284 Detect empty summary and don't change selected message.
1285 (rmail-summary-goto-msg): Likewise.
1286
1287 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1288 Doc fixes, rename args.
1289
1290 2013-05-05 Alan Mackenzie <acm@muc.de>
1291
1292 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1293
1294 2013-05-05 Juri Linkov <juri@jurta.org>
1295
1296 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1297 to not add the length of the summary segment to the return value.
1298 (Bug#14125)
1299
1300 2013-05-05 Leo Liu <sdl.web@gmail.com>
1301
1302 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1303 (inferior-octave-output-filter): Remove.
1304 (octave-send-region, inferior-octave-startup): Fix callers.
1305 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1306 (octave-binary-file-extensions): New user variable.
1307 (octave-find-definition): Confirm if opening binary files.
1308 (octave-help-file): Use octave-find-definition to get the binary
1309 confirmation.
1310 (octave-help): Adjust for octave-help-file change.
1311
1312 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1313
1314 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1315 Merge the two entries that handle function definitions.
1316 (pascal--syntax-propertize): New const.
1317 (pascal-mode): Use it. Use setq-local.
1318
1319 2013-05-04 Glenn Morris <rgm@gnu.org>
1320
1321 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1322 (diary-from-outlook): Respect diary-from-outlook-function.
1323
1324 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1325
1326 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1327 Move the declaration from C.
1328 (read-minibuffer, eval-minibuffer): Move from C.
1329 (completion-setup-function): Avoid minibuffer-completion-contents.
1330
1331 2013-05-03 Leo Liu <sdl.web@gmail.com>
1332
1333 * progmodes/octave.el (octave-font-lock-keywords): Do not
1334 dehighlight 'end' in comments or strings.
1335 (octave-completing-read, octave-goto-function-definition):
1336 New helpers.
1337 (octave-help-buffer): New user variable.
1338 (octave-help-file, octave-help-function): New button types.
1339 (octave-help): New command and bind it to C-h ;.
1340 (octave-find-definition): New command and bind it to M-.
1341 (user-error): Alias to error if not defined.
1342
1343 2013-05-02 Leo Liu <sdl.web@gmail.com>
1344
1345 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1346 for \. (bug#14332)
1347 (octave-font-lock-keywords): Include [ and {.
1348
1349 2013-05-02 Leo Liu <sdl.web@gmail.com>
1350
1351 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1352 (inferior-octave): Remove calling comint-mode and return the buffer.
1353 (inferior-octave-startup): Cosmetic changes.
1354
1355 2013-05-02 Leo Liu <sdl.web@gmail.com>
1356
1357 * progmodes/octave.el (octave-syntax-propertize-function):
1358 Include the case when ' is at line beginning. (Bug#14336)
1359
1360 2013-05-02 Glenn Morris <rgm@gnu.org>
1361
1362 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1363 * desktop.el (vc-dir-mode): Just autoload it here.
1364
1365 2013-05-02 Alan Mackenzie <acm@muc.de>
1366
1367 Eliminate variable c-standard-font-lock-fontify-region-function.
1368 * progmodes/cc-mode.el
1369 (c-standard-font-lock-fontify-region-function): Remove.
1370 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1371
1372 2013-05-01 Leo Liu <sdl.web@gmail.com>
1373
1374 * progmodes/octave.el: Compatible with older emacs-24 releases.
1375 (inferior-octave-has-built-in-variables): Remove. Built-in
1376 variables were removed from Octave in 2007.
1377 (inferior-octave-startup): Fix uses.
1378 (comint-line-beginning-position): Remove compatibility code for
1379 emacs 21.
1380
1381 2013-05-01 Juri Linkov <juri@jurta.org>
1382
1383 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1384
1385 2013-05-01 Juri Linkov <juri@jurta.org>
1386
1387 * comint.el (comint-previous-matching-input): Don't print message
1388 "History item: %d" when `isearch-mode' is active.
1389 (comint-history-isearch-message): Print message "History item: %d"
1390 when `comint-input-ring-index' is not empty and this function is
1391 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1392
1393 2013-05-01 Leo Liu <sdl.web@gmail.com>
1394
1395 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1396 definitions. Use completion-at-point to insert keywords.
1397 (octave-abbrev-start): Remove.
1398 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1399
1400 2013-04-30 Leo Liu <sdl.web@gmail.com>
1401
1402 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1403 change.
1404
1405 2013-04-30 Alan Mackenzie <acm@muc.de>
1406
1407 Handle arbitrarily long C++ member initialisation lists.
1408 * progmodes/cc-engine.el (c-back-over-member-initializers):
1409 new function.
1410 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1411 (most) member init lists.
1412
1413 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1414
1415 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1416 variable.
1417
1418 2013-04-30 Leo Liu <sdl.web@gmail.com>
1419
1420 * progmodes/octave.el (octave-variables): Remove. No builtin
1421 variables any more. All converted to functions.
1422 (octave-font-lock-keywords, octave-completion-at-point-function):
1423 Fix uses.
1424 (octave-font-lock-texinfo-comment): New user variable.
1425 (octave-texinfo-font-lock-keywords): New variable for texinfo
1426 comment block.
1427 (octave-function-comment-block): New face.
1428 (octave-font-lock-texinfo-comment): New function.
1429 (octave-mode): Font lock texinfo comment block.
1430
1431 2013-04-29 Leo Liu <sdl.web@gmail.com>
1432
1433 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1434 indexing expression.
1435 (octave-continuation-string): Do not use \.
1436 (inferior-octave-complete-impossible): Remove.
1437 (inferior-octave-completion-table)
1438 (inferior-octave-completion-at-point): Remove its uses.
1439 (inferior-octave-startup): completion_matches was introduced to
1440 Octave in 1996 so safe to assume it.
1441 (octave-function-file-comment): Improve to follow how Octave does it.
1442 (octave-update-function-file-comment): Tweak.
1443
1444 2013-04-29 Leo Liu <sdl.web@gmail.com>
1445
1446 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1447 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1448 (octave-function-file-comment): Fix typo.
1449 (octave-sync-function-file-names): Use read-char-choice.
1450
1451 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1452
1453 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1454 to t for the less important warnings.
1455
1456 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1457
1458 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1459
1460 2013-04-27 Glenn Morris <rgm@gnu.org>
1461
1462 * vc/log-view.el (log-view-current-entry):
1463 Treat "---" separator lines as part of the following rev. (Bug#14169)
1464
1465 2013-04-27 Juri Linkov <juri@jurta.org>
1466
1467 * subr.el (read-number): Doc fix about using it by interactive
1468 code letter `n'. (Bug#14254)
1469
1470 2013-04-27 Juri Linkov <juri@jurta.org>
1471
1472 * desktop.el (desktop-auto-save-timeout): New option.
1473 (desktop-file-checksum): New variable.
1474 (desktop-save): Add optional arg `auto-save' and don't auto-save
1475 if nothing changed.
1476 (desktop-auto-save-timer): New variable.
1477 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1478 (after-init-hook): Call `desktop-auto-save-set-timer'.
1479 Suggested by Reuben Thomas <rrt@sc3d.org> in
1480 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1481
1482 2013-04-27 Leo Liu <sdl.web@gmail.com>
1483
1484 * progmodes/octave.el (octave-function-file-p)
1485 (octave-skip-comment-forward, octave-function-file-comment)
1486 (octave-update-function-file-comment): New functions.
1487 (octave-mode-map): Bind C-c ; to
1488 octave-update-function-file-comment.
1489 (octave-mode-menu): Add octave-update-function-file-comment.
1490 (octave-mode, inferior-octave-mode): Fix doc-string.
1491 (octave-insert-defun): Conform to Octave's coding convention.
1492 (Bug#14285)
1493
1494 * files.el (basic-save-buffer): Don't let errors in
1495 before-save-hook prevent saving buffer.
1496
1497 2013-04-20 Roland Winkler <winkler@gnu.org>
1498
1499 * faces.el (read-face-name): Use completing-read if arg multiple
1500 is nil.
1501
1502 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1503
1504 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1505 displayed, move point to after the totals line.
1506 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1507 for the details.
1508
1509 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1510
1511 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1512 Add current dir to the load-path.
1513 (package-generate-autoloads): Don't rely on
1514 autoload-ensure-default-file.
1515
1516 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1517
1518 * textmodes/remember.el (remember-store-in-files): Document that
1519 the file name format is passed to `format-time-string'.
1520
1521 2013-04-26 Leo Liu <sdl.web@gmail.com>
1522
1523 * progmodes/octave.el (octave-sync-function-file-names): New function.
1524 (octave-mode): Use it in before-save-hook.
1525
1526 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1527
1528 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1529 (bug#14274).
1530
1531 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1532 \n and comment, even if it's not an implicit ; (bug#14218).
1533
1534 2013-04-26 Glenn Morris <rgm@gnu.org>
1535
1536 * subr.el (read-number): Once more use `read' rather than
1537 `string-to-number', to trap non-numeric input. (Bug#14254)
1538
1539 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1540
1541 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1542 Use `syntax-multiline' text property consistently instead of
1543 `font-lock-multiline'. (bug#14237).
1544
1545 2013-04-26 Glenn Morris <rgm@gnu.org>
1546
1547 * emacs-lisp/shadow.el (list-load-path-shadows):
1548 No longer necessary to check for duplicate simple.el, since
1549 2012-07-07 change to init_lread to not include installation lisp
1550 directories in load-path when running uninstalled. (Bug#14270)
1551
1552 2013-04-26 Leo Liu <sdl.web@gmail.com>
1553
1554 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1555 (octave-mode, inferior-octave-mode): Use setq-local.
1556 (octave-not-in-string-or-comment-p): Rename to
1557 octave-in-string-or-comment-p.
1558 (octave-in-comment-p, octave-in-string-p)
1559 (octave-in-string-or-comment-p): Replace defsubst with defun.
1560
1561 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1562
1563 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1564
1565 2013-04-25 Bastien Guerry <bzg@gnu.org>
1566
1567 * textmodes/remember.el (remember-data-directory)
1568 (remember-directory-file-name-format): Fix custom types.
1569
1570 2013-04-25 Leo Liu <sdl.web@gmail.com>
1571
1572 * progmodes/octave.el (octave-completion-at-point-function):
1573 Make use of inferior octave process.
1574 (octave-initialize-completions): Remove.
1575 (inferior-octave-completion-table): New function.
1576 (inferior-octave-completion-at-point): Use it.
1577 (octave-completion-alist): Remove.
1578
1579 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1580
1581 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1582 (opascal-mode-syntax-table): New var.
1583 (opascal-literal-kind, opascal-is-literal-end)
1584 (opascal-literal-token-at): Rewrite.
1585 (opascal--literal-start-re, opascal-font-lock-keywords)
1586 (opascal--syntax-propertize): New constants.
1587 (opascal-font-lock-defaults): Adjust.
1588 (opascal-mode): Use them. Set comment-<foo> variables as well.
1589 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1590 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1591 (delphi-other-face, opascal-other-face): Remove face variables.
1592 (opascal-save-state): Remove macro.
1593 (opascal-fontifying-progress-step): Remove constant.
1594 (opascal--ignore-changes): Remove var.
1595 (opascal-set-token-property, opascal-parse-next-literal)
1596 (opascal-is-stable-literal, opascal-complete-literal)
1597 (opascal-is-literal-start, opascal-face-of)
1598 (opascal-parse-region, opascal-parse-region-until-stable)
1599 (opascal-fontify-region, opascal-after-change)
1600 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1601 (opascal-debug-parse-region, opascal-debug-parse-window)
1602 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1603 (opascal-debug-fontify-buffer): Remove.
1604 (opascal-debug-mode-map): Adjust accordingly.
1605
1606 2013-04-25 Leo Liu <sdl.web@gmail.com>
1607
1608 Merge octave-mod.el and octave-inf.el into octave.el with some
1609 cleanups.
1610 * progmodes/octave.el: New file renamed from octave-mod.el.
1611 * progmodes/octave-inf.el: Merged into octave.el.
1612 * progmodes/octave-mod.el: Renamed to octave.el.
1613
1614 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1615
1616 * textmodes/reftex-vars.el
1617 (reftex-label-ignored-macros-and-environments): New defcustom.
1618
1619 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1620
1621 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1622
1623 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1624 (smie-indent-keyword): Improve the check to ensure that the next
1625 comment is really on the same line.
1626 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1627
1628 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1629 semi-colons if the line is not otherwise empty (bug#14218).
1630
1631 2013-04-25 Glenn Morris <rgm@gnu.org>
1632
1633 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1634
1635 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1636
1637 * progmodes/opascal.el (opascal-set-token-property): Rename from
1638 opascal-set-text-properties and only set `token' (bug#14134).
1639 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1640 (opascal-literal-text-properties): Remove.
1641 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1642 Adjust callers.
1643
1644 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1645
1646 * textmodes/remember.el (remember-handler-functions): Add an
1647 option for a new handler `remember-store-in-files'.
1648 (remember-data-directory, remember-directory-file-name-format):
1649 New options.
1650 (remember-store-in-files): New function to store remember notes
1651 as separate files within a directory.
1652
1653 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1654
1655 * progmodes/compile.el (compilation-next-error-function):
1656 Pass "formats" to compilation-find-file (bug#11777).
1657
1658 2013-04-24 Glenn Morris <rgm@gnu.org>
1659
1660 * vc/vc-bzr.el (vc-bzr-print-log):
1661 * vc/vc-hg.el (vc-hg-print-log):
1662 * vc/vc-svn.el (vc-svn-print-log):
1663 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1664
1665 * vc/vc-bzr.el (vc-bzr-print-log):
1666 * vc/vc-cvs.el (vc-cvs-print-log):
1667 * vc/vc-git.el (vc-git-print-log):
1668 * vc/vc-hg.el (vc-hg-print-log):
1669 * vc/vc-mtn.el (vc-mtn-print-log):
1670 * vc/vc-rcs.el (vc-rcs-print-log):
1671 * vc/vc-sccs.el (vc-sccs-print-log):
1672 * vc/vc-svn.el (vc-svn-print-log):
1673 * vc/vc.el (vc-print-log-internal): Doc fixes.
1674
1675 2013-04-23 Glenn Morris <rgm@gnu.org>
1676
1677 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1678 Remove venerable code attempting to avoid substitute-command-keys.
1679
1680 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1681
1682 * textmodes/reftex-vars.el (reftex-label-regexps):
1683 Call `reftex-compile-variables' after changes to this variable.
1684
1685 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1686
1687 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1688 Use lexical-binding.
1689 (jit-lock-force-redisplay): Use markers, check buffer's continued
1690 existence and beware narrowed buffers.
1691 (jit-lock-fontify-now): Adjust call accordingly.
1692
1693 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1694
1695 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1696 to avoid misleading the user.
1697
1698 2013-04-22 Leo Liu <sdl.web@gmail.com>
1699
1700 * info-look.el: Prefer latex2e.info. (Bug#14240)
1701
1702 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1703
1704 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1705
1706 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1707 * net/tramp.el (tramp-call-process): ... here
1708 (tramp-set-completion-function, tramp-parse-putty):
1709 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1710 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1711 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1712 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1713 (tramp-call-local-coding-command): Use `tramp-call-process'
1714 instead of `tramp-compat-call-process'.
1715
1716 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1717 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1718 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1719 (tramp-find-inline-compress): Improve traces.
1720 (tramp-maybe-send-script): Check for Perl binary.
1721 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1722
1723 2013-04-22 Daiki Ueno <ueno@gnu.org>
1724
1725 * epg.el (epg-context-pinentry-mode): New function.
1726 (epg-context-set-pinentry-mode): New function.
1727 (epg--start): Pass --pinentry-mode option to gpg command.
1728
1729 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1730
1731 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1732 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1733 `completion-at-point'. (Bug#13774)
1734
1735 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1736 default key binding for `describe-distribution' has been moved to
1737 `C-h C-o'. (Bug#13970)
1738
1739 2013-04-21 Glenn Morris <rgm@gnu.org>
1740
1741 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1742 Add doc strings.
1743 (vc-print-log): Clarify interactive prompt.
1744
1745 2013-04-20 Glenn Morris <rgm@gnu.org>
1746
1747 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1748 No longer include timestamp etc information.
1749
1750 2013-04-20 Roland Winkler <winkler@gnu.org>
1751
1752 * faces.el (read-face-name): Bug fix, return just one face if arg
1753 multiple is nil. (Bug#14209)
1754
1755 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1756
1757 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1758 (remove-function): Autoload.
1759
1760 * comint.el (comint-redirect-original-filter-function): Remove.
1761 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1762 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1763 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1764 * progmodes/prolog.el (prolog-consult-compile):
1765 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1766 Use add/remove-function instead.
1767 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1768 (gud-tooltip-process-output, gud-tooltip-tips):
1769 Use add/remove-function instead.
1770 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1771 (scheme-interaction-mode, exit-scheme-interaction-mode):
1772 Use add/remove-function instead.
1773
1774 * vc/vc-dispatcher.el: Use lexical-binding.
1775 (vc--process-sentinel): Rename from vc-process-sentinel.
1776 Change last arg to be the code to run. Don't use vc-previous-sentinel
1777 and vc-sentinel-commands any more.
1778 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1779 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1780
1781 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1782
1783 * progmodes/sh-script.el (sh-imenu-generic-expression):
1784 Handle function names with a single character. (Bug#14111)
1785
1786 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1787
1788 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1789 for subroutines defined in an eval (bug#14182).
1790
1791 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1792
1793 * bookmark.el (bookmark-completing-read): Improve handling of empty
1794 string (bug#14176).
1795
1796 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1797
1798 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1799
1800 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1801
1802 New faster Imenu implementation (bug#14058).
1803 * progmodes/python.el:
1804 (python-imenu-prev-index-position):
1805 (python-imenu-format-item-label-function)
1806 (python-imenu-format-parent-item-label-function)
1807 (python-imenu-format-parent-item-jump-label-function):
1808 New vars.
1809 (python-imenu-format-item-label)
1810 (python-imenu-format-parent-item-label)
1811 (python-imenu-format-parent-item-jump-label)
1812 (python-imenu--put-parent, python-imenu--build-tree)
1813 (python-imenu-create-index, python-imenu-create-flat-index)
1814 (python-util-popn): New functions.
1815 (python-mode): Set imenu-create-index-function to
1816 python-imenu-create-index.
1817
1818 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1819
1820 * winner.el (winner-active-region): Use region-active-p, activate-mark
1821 and deactivate-mark (bug#14225).
1822
1823 * simple.el (deactivate-mark): Don't inline it.
1824
1825 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1826
1827 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1828
1829 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1830
1831 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1832 file extensions from the archive-mode entry in order to prefer
1833 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1834
1835 2013-04-18 Leo Liu <sdl.web@gmail.com>
1836
1837 * bindings.el (help-event-list): Add ?\?.
1838
1839 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1840
1841 * subr.el (with-wrapper-hook): Declare obsolete.
1842 * simple.el (filter-buffer-substring-function): New hook.
1843 (filter-buffer-substring): Use it.
1844 (filter-buffer-substring-functions): Mark obsolete.
1845 * minibuffer.el (completion-in-region-function): New hook.
1846 (completion-in-region): Use it.
1847 (completion-in-region-functions): Mark obsolete.
1848 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1849 * abbrev.el (abbrev-expand-function): New hook.
1850 (expand-abbrev): Use it.
1851 (abbrev-expand-functions): Mark obsolete.
1852 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1853 and :filter-return.
1854
1855 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1856
1857 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1858 and do not care about match data.
1859
1860 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1861
1862 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1863 completion tables when completing error conditions and
1864 `declare' arguments.
1865 (lisp-complete-symbol, field-complete): Mark as obsolete.
1866 (check-parens): Unmatched parens are user errors.
1867 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1868
1869 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1870
1871 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1872 command changed buffer (ie. `flyspell-pre-buffer' is not current
1873 buffer), which prevents making decisions based on invalid value of
1874 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1875 cause an error when `flyspell-pre-point' was nil after switching
1876 buffers.
1877 (flyspell-post-command-hook): No longer needs to change buffers when
1878 checking pre-word. While at it remove unnecessary progn.
1879
1880 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1881
1882 * textmodes/ispell.el (ispell-add-per-file-word-list):
1883 Fix `flyspell-correct-word-before-point' error when accepting
1884 words and `coment-padding' is an integer by using
1885 `comment-normalize-vars' (Bug #14214).
1886
1887 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1888
1889 New defun movement commands.
1890 * progmodes/python.el (python-nav--syntactically)
1891 (python-nav--forward-defun, python-nav-backward-defun)
1892 (python-nav-forward-defun): New functions.
1893
1894 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1895
1896 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1897 (python-syntax-context): Use named compiler-macro for backwards
1898 compatibility with Emacs 24.x.
1899
1900 2013-04-17 Leo Liu <sdl.web@gmail.com>
1901
1902 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1903 octave-hide-process-buffer.
1904
1905 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1906
1907 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1908 (bug#14216).
1909
1910 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1911
1912 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1913 Fix adjustment of offset when receiving incomplete responses from GDB
1914 (bug#14129).
1915
1916 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1917
1918 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1919 python-mode-abbrev-table.
1920 (python-skeleton-define): Adjust accordingly.
1921 (python-mode-abbrev-table): New table that inherits from it so that
1922 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1923
1924 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1925 (abbrev-symbol): Use it.
1926 (abbrev--before-point): Use it since we already handle inheritance.
1927
1928 2013-04-16 Leo Liu <sdl.web@gmail.com>
1929
1930 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1931 binding to info-lookup-symbol.
1932
1933 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1934
1935 * minibuffer.el (completion--twq-all):
1936 * term/ns-win.el (ns-initialize-window-system):
1937 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1938
1939 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1940
1941 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1942 global bindings.
1943
1944 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1945
1946 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1947
1948 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1949 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1950 to nil.
1951 (ruby-end-of-defun): Remove the unused arg, change the docstring
1952 to reflect that this function is only used as the value of
1953 `end-of-defun-function'.
1954 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1955 to reflect an earlier change that beginning/end-of-defun functions
1956 jump between methods in a class definition, as well as top-level
1957 functions.
1958
1959 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1960
1961 * minibuffer.el (minibuffer-complete): Don't just scroll
1962 a *Completions* that's been iconified.
1963 (minibuffer-force-complete): Make sure repetitions do cycle when going
1964 through completion-in-region -> minibuffer-complete.
1965
1966 2013-04-15 Alan Mackenzie <acm@muc.de>
1967
1968 Correct the placement of c-cpp-delimiters when there're #s not at
1969 col 0.
1970
1971 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1972 place a submatch around the #.
1973 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1974 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1975 on the #, not BOL.
1976
1977 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1978
1979 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1980 (advice--member-p): New arg `name'.
1981 (advice--add-function, advice-member-p): Use it (bug#14202).
1982
1983 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1984
1985 Reformulate java imenu-generic-expression.
1986 The old expression contained ill formed regexps.
1987
1988 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1989 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1990 (cc-imenu-java-method-arg-regexp): New defconsts.
1991 (cc-imenu-java-build-type-args-regex): New defun.
1992 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1993 handling of spaces in the regexp.
1994
1995 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1996
1997 * textmodes/ispell.el (ispell-command-loop): Remove
1998 flyspell highlight of a word when ispell accepts it (bug #14178).
1999
2000 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
2001
2002 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
2003 uses code from the previous `ange-ftp-run-real-handler'.
2004 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
2005 only in case that function exist. This is needed for proper
2006 unloading of Tramp.
2007
2008 2013-04-15 Tassilo Horn <tsdh@gnu.org>
2009
2010 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
2011
2012 * textmodes/reftex.el (reftex-compile-variables): Use it.
2013
2014 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2015
2016 * files.el (normal-mode): Only use default major-mode if no other mode
2017 was specified.
2018
2019 * emacs-lisp/trace.el (trace-values): New function.
2020
2021 * files.el: Allow : in local variables (bug#14089).
2022 (hack-local-variable-regexp): New var.
2023 (hack-local-variables-prop-line, hack-local-variables): Use it.
2024
2025 2013-04-13 Roland Winkler <winkler@gnu.org>
2026
2027 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
2028 data before it gets modified by bibtex-beginning-of-entry.
2029
2030 2013-04-13 Roland Winkler <winkler@gnu.org>
2031
2032 * textmodes/bibtex.el (bibtex-url): Doc fix.
2033
2034 2013-04-13 Roland Winkler <winkler@gnu.org>
2035
2036 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
2037 does not visit a BibTeX file, exclude it from the list of buffers
2038 returned by bibtex-initialize.
2039
2040 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
2041
2042 * window.el (split-window): Remove interactive form, since as a
2043 command this function is a special case of split-window-below.
2044 Correct doc string.
2045
2046 2013-04-12 Roland Winkler <winkler@gnu.org>
2047
2048 * faces.el (read-face-name): Do not override value of arg default.
2049 Allow single faces and strings as default values. Remove those
2050 elements from return value that are not faces.
2051 (describe-face): Simplify.
2052 (face-at-point): New optional args thing and multiple so that this
2053 function can provide the same functionality previously provided by
2054 read-face-name.
2055 (make-face-bold, make-face-unbold, make-face-italic)
2056 (make-face-unitalic, make-face-bold-italic, invert-face)
2057 (modify-face, read-face-and-attribute): Use face-at-point.
2058
2059 * cus-edit.el (customize-face, customize-face-other-window)
2060 * cus-theme.el (custom-theme-add-face)
2061 * face-remap.el (buffer-face-set)
2062 * facemenu.el (facemenu-set-face): Use face-at-point.
2063
2064 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
2065
2066 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
2067
2068 2013-04-10 Tassilo Horn <tsdh@gnu.org>
2069
2070 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
2071 off leading { and trailing } from field values.
2072
2073 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2074
2075 * emacs-lisp/timer.el (timer--check): New function.
2076 (timer--time, timer-set-function, timer-event-handler): Use it.
2077 (timer-set-idle-time): Simplify.
2078 (timer--activate): CSE.
2079 (timer-event-handler): Give more info in error message.
2080 (internal-timer-start-idle): New function, moved from C.
2081
2082 * mpc.el (mpc-proc): Add `restart' argument.
2083 (mpc-proc-cmd): Use it.
2084 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
2085 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
2086 less often.
2087
2088 2013-04-10 Masatake YAMATO <yamato@redhat.com>
2089
2090 * progmodes/sh-script.el: Implement `sh-mode' own
2091 `add-log-current-defun-function' (bug#14112).
2092 (sh-current-defun-name): New function.
2093 (sh-mode): Use the function.
2094
2095 2013-04-09 Bastien Guerry <bzg@gnu.org>
2096
2097 * simple.el (choose-completion-string): Fix docstring (bug#14163).
2098
2099 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2100
2101 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2102
2103 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2104 timer (bug#14156).
2105
2106 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
2107
2108 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2109 declaration.
2110
2111 2013-04-07 Leo Liu <sdl.web@gmail.com>
2112
2113 * pcmpl-x.el: New file.
2114
2115 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2116
2117 Do not set x-display-name until X connection is established.
2118 This is needed to prevent from weird situation described at
2119 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2120 * frame.el (make-frame): Set x-display-name after call to
2121 window system initialization function, not before.
2122 * term/x-win.el (x-initialize-window-system): Add optional
2123 display argument and use it.
2124 * term/w32-win.el (w32-initialize-window-system):
2125 * term/ns-win.el (ns-initialize-window-system):
2126 * term/pc-win.el (msdos-initialize-window-system):
2127 Add compatible optional display argument.
2128
2129 2013-04-06 Eli Zaretskii <eliz@gnu.org>
2130
2131 * files.el (normal-backup-enable-predicate): On MS-Windows and
2132 MS-DOS compare truenames of temporary-file-directory and of the
2133 file, so that 8+3 aliases (usually found in $TEMP on Windows)
2134 don't fail comparison by compare-strings. Also, compare file
2135 names case-insensitively on MS-Windows and MS-DOS.
2136
2137 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2138
2139 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2140 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2141
2142 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
2143
2144 * whitespace.el (whitespace-color-on, whitespace-color-off):
2145 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2146
2147 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2148
2149 * ispell.el (ispell-set-spellchecker-params):
2150 Really set `ispell-args' for all equivs.
2151
2152 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2153
2154 * ido.el (ido-completions): Use extra elements of ido-decorations
2155 (bug#14143).
2156 (ido-decorations): Update docstring.
2157
2158 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2159
2160 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2161 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2162 nil during initialization, in order not to miss changes since the
2163 file was opened. (Bug#14140)
2164
2165 2013-04-05 Leo Liu <sdl.web@gmail.com>
2166
2167 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2168
2169 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2170
2171 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2172
2173 2013-04-04 Glenn Morris <rgm@gnu.org>
2174
2175 * electric.el (electric-pair-inhibit-predicate): Add :version.
2176
2177 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2178
2179 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2180 when a package is required several times (bug#14082).
2181
2182 2013-04-04 Roland Winkler <winkler@gnu.org>
2183
2184 * faces.el (read-face-name): Behave as promised by the docstring.
2185 Assume that arg default is a list of faces.
2186 (describe-face): Call read-face-name with list of default faces.
2187
2188 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2189
2190 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2191 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2192 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2193 the header.
2194 (bookmark-exit-hook-internal): Save even if list is empty.
2195
2196 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2197
2198 * emacs-lisp/package.el (package-pinned-packages): New var.
2199 (package--add-to-archive-contents): Obey it (bug#14118).
2200
2201 2013-04-03 Alan Mackenzie <acm@muc.de>
2202
2203 Handle `parse-partial-sexp' landing inside a comment opener
2204 (Bug#13244). Also adapt to the new values of element 7 of a parse
2205 state.
2206
2207 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2208 parameter `not-in-delimiter'. Handle being inside comment opener.
2209 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2210 character in case we're typing a '*' after a '/'.
2211 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2212 instead by passing the parameter to c-state-pp-to-literal.
2213
2214 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2215 for elt. 7 of a parse state.
2216
2217 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2218
2219 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2220 * international/latin1-disp.el, international/mule-util.el:
2221 * language/cyril-util.el, language/european.el, language/ind-util.el:
2222 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2223 * language/tibetan.el, language/viet-util.el:
2224 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2225
2226 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2227
2228 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2229 (electric-pair-post-self-insert-function): Use it.
2230 (electric-pair-default-inhibit): New function, extracted from
2231 electric-pair-post-self-insert-function.
2232
2233 2013-03-31 Roland Winkler <winkler@gnu.org>
2234
2235 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2236
2237 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2238
2239 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2240
2241 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
2242
2243 Un-indent after "pass" and "return" statements (Bug#13888)
2244 * progmodes/python.el (python-indent-block-enders): New var.
2245 (python-indent-calculate-indentation): Use it.
2246
2247 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2248
2249 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2250 defun. Defining it as defalias could introduce too eager
2251 byte-compiler optimization. (Bug#14030)
2252
2253 2013-03-30 Chong Yidong <cyd@gnu.org>
2254
2255 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2256
2257 2013-03-30 Leo Liu <sdl.web@gmail.com>
2258
2259 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2260 (kmacro-execute-from-register): Pass the keyboard macro to
2261 kmacro-call-macro or repeating won't work correctly.
2262
2263 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2264
2265 * progmodes/subword.el: Back to using `forward-symbol'.
2266
2267 * subr.el (forward-whitespace, forward-symbol)
2268 (forward-same-syntax): Move from thingatpt.el.
2269
2270 2013-03-29 Leo Liu <sdl.web@gmail.com>
2271
2272 * kmacro.el (kmacro-to-register): New command.
2273 (kmacro-execute-from-register): New function.
2274 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2275
2276 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2277
2278 * mpc.el: Use defvar-local and setq-local.
2279 (mpc--proc-connect): Connection failures are not bugs.
2280 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2281 (mpc-volume-map): Bind to the up-events.
2282
2283 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2284
2285 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2286 instead of `forward-symbol'.
2287
2288 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2289
2290 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2291 (edebug--recursive-edit): Use it.
2292 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2293 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2294
2295 2013-03-28 Leo Liu <sdl.web@gmail.com>
2296
2297 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2298
2299 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2300
2301 * facemenu.el (list-colors-callback): New defvar.
2302 (list-colors-redisplay): New function.
2303 (list-colors-display): Install list-colors-redisplay as the
2304 revert-buffer-function. (Bug#14063)
2305
2306 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2307
2308 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2309 and suffixes don't overlap (bug#14061).
2310
2311 * case-table.el: Use lexical-binding.
2312 (case-table-get-table): New function.
2313 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2314
2315 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2316
2317 * progmodes/subword.el: Add `superword-mode' to do word motion
2318 over symbol_words (parallels and leverages `subword-mode' which
2319 does word motion inside MixedCaseWords).
2320
2321 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2322
2323 * eshell/em-unix.el: Move su and sudo to...
2324 * eshell/em-tramp.el: ...Eshell tramp module.
2325
2326 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2327
2328 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2329 Change return value to be a sexp. Delay `get-buffer' to after
2330 restoring the desktop (bug#13951).
2331
2332 2013-03-26 Leo Liu <sdl.web@gmail.com>
2333
2334 * register.el: Move semantic tag handling back to
2335 cedet/semantic/senator.el. (Bug#14052)
2336
2337 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2338
2339 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2340 into the prompt either (bug#13963).
2341
2342 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2343
2344 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2345 part of "(error-foo)".
2346
2347 2013-03-24 Juri Linkov <juri@jurta.org>
2348
2349 * replace.el (list-matching-lines-prefix-face): New defcustom.
2350 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2351 `occur-engine' if `face-differs-from-default-p' returns t.
2352 (occur-engine): Add `,' inside backquote construct to evaluate
2353 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2354 Pass `prefix-face' to the functions `occur-context-lines' and
2355 `occur-engine-add-prefix'.
2356 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2357 `prefix-face' and propertize the prefix with `prefix-face'.
2358 (Bug#14017)
2359
2360 2013-03-24 Leo Liu <sdl.web@gmail.com>
2361
2362 * nxml/rng-valid.el (rng-validate-while-idle)
2363 (rng-validate-quick-while-idle): Guard against deleted buffer.
2364 (Bug#13999)
2365
2366 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2367 is the last entry in kill-buffer-hook.
2368
2369 * files.el (kill-buffer-hook): Doc fix.
2370
2371 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2372
2373 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2374 Make it safe-local.
2375
2376 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2377
2378 2013-03-23 Leo Liu <sdl.web@gmail.com>
2379
2380 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2381 Remove.
2382
2383 * nxml/rng-valid.el (rng-validate-mode)
2384 (rng-after-change-function, rng-do-some-validation):
2385 * nxml/rng-maint.el (rng-validate-buffer):
2386 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2387 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2388 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2389 (nxml-extend-after-change-region): Use with-silent-modifications.
2390
2391 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2392 timer-idle-list.
2393
2394 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2395 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2396 timer-idle-list. (Bug#13999)
2397
2398 2013-03-23 Juri Linkov <juri@jurta.org>
2399
2400 * info.el (info-index-match): New face.
2401 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2402 main pattern and add text properties with the new face to matches
2403 in index entries relative to the beginning of the index entry.
2404 (Bug#14015)
2405
2406 2013-03-21 Eric Ludlam <zappo@gnu.org>
2407
2408 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2409 Inhibit read only while inserting objects.
2410
2411 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2412
2413 * progmodes/cfengine.el: Update docs to mention
2414 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2415 symbol motion. Remove "_" from the word syntax.
2416
2417 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2418
2419 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2420 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2421
2422 2013-03-20 Juri Linkov <juri@jurta.org>
2423
2424 * info.el (Info-next-reference-or-link)
2425 (Info-prev-reference-or-link): New functions.
2426 (Info-next-reference, Info-prev-reference): Use them.
2427 (Info-try-follow-nearest-node): Handle footnote navigation.
2428 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2429
2430 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2431
2432 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2433 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2434
2435 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2436
2437 Suppress unnecessary non-ASCII chatter during build process.
2438 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2439 (batch-skkdic-convert): Suppress most of the chatter.
2440 It's not needed so much now that machines are faster,
2441 and its non-ASCII component was confusing; see Dmitry Gutov in
2442 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2443
2444 2013-03-20 Leo Liu <sdl.web@gmail.com>
2445
2446 * ido.el (ido-chop): Fix bug#10994.
2447
2448 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2449
2450 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2451 Remove vars.
2452 (whitespace-color-on, whitespace-color-off):
2453 Use `font-lock-fontify-buffer' (Bug#13817).
2454
2455 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2456
2457 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2458 remapping in mode-line.
2459 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2460
2461 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2462
2463 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2464 value for `whitespace-line' face (Bug#13875).
2465 (whitespace-font-lock-keywords): Change description.
2466 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2467 the constructed keywords instead.
2468 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2469
2470 2013-03-19 Leo Liu <sdl.web@gmail.com>
2471
2472 * progmodes/compile.el (compilation-display-error): New command.
2473 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2474 C-o. (Bug#13992)
2475
2476 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2477
2478 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2479
2480 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2481
2482 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2483
2484 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2485
2486 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2487
2488 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2489 * net/tramp-gvfs.el (top):
2490 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2491 (tramp-handle-shell-command): Use it.
2492 (tramp-dissect-file-name): Raise an error when hostname is a
2493 method name, and neither method nor user is specified.
2494
2495 * net/trampver.el: Update release number.
2496
2497 2013-03-18 Leo Liu <sdl.web@gmail.com>
2498
2499 Make sure eldoc can be turned off properly.
2500 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2501 eldoc-mode.
2502 (eldoc-display-message-p): Revert last change.
2503 (eldoc-display-message-no-interference-p)
2504 (eldoc-print-current-symbol-info): Tweak.
2505
2506 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2507
2508 * doc-view.el (doc-view-new-window-function): Check the new window
2509 overlay's display property instead the char property of the
2510 buffer's first char. Use `with-selected-window' instead of
2511 `save-window-excursion' with `select-window'.
2512 (doc-view-document->bitmap): Check the current doc-view overlay's
2513 display property instead the char property of the buffer's first char.
2514
2515 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2516
2517 Automate the build of ja-dic.el (Bug#13984).
2518 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2519 from the input, rather than assume that it's been done for us by the
2520 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2521 the current date into a ja-dic.el comment, as that complicates
2522 regression testing.
2523
2524 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2525
2526 * whitespace.el: Fix double evaluation.
2527 (whitespace-space, whitespace-hspace, whitespace-tab)
2528 (whitespace-newline, whitespace-trailing, whitespace-line)
2529 (whitespace-space-before-tab, whitespace-indentation)
2530 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2531 obsolete defvars.
2532 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2533 (whitespace-color-on): Use a single font-lock-add-keywords call.
2534 Fix double-evaluation of face variables.
2535
2536 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2537
2538 * net/tramp-adb.el (tramp-adb-parse-device-names):
2539 Use `start-process' instead of `call-process'. Otherwise, the
2540 function might be blocked under MS Windows. (Bug#13299)
2541
2542 2013-03-17 Leo Liu <sdl.web@gmail.com>
2543
2544 Extend eldoc to display info in the mode-line. (Bug#13978)
2545 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2546 (eldoc-mode-line-string): New variable.
2547 (eldoc-minibuffer-message): New function.
2548 (eldoc-message-function): New variable.
2549 (eldoc-message): Use it.
2550 (eldoc-display-message-p)
2551 (eldoc-display-message-no-interference-p):
2552 Support eldoc-post-insert-mode.
2553
2554 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2555 (eval-expression): Run it.
2556
2557 2013-03-17 Roland Winkler <winkler@gnu.org>
2558
2559 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2560 strings in the list of return values.
2561
2562 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2563
2564 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2565 radix before checking for HMS forms.
2566
2567 2013-03-16 Leo Liu <sdl.web@gmail.com>
2568
2569 * progmodes/scheme.el: Add indentation and font-locking for λ.
2570 (Bug#13975)
2571
2572 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2573
2574 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2575 token before point (bug#13942).
2576
2577 2013-03-16 Leo Liu <sdl.web@gmail.com>
2578
2579 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2580
2581 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2582
2583 * startup.el (command-line-normalize-file-name): Fix handling of
2584 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2585 <xfq.free@gmail.com> in
2586 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2587
2588 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2589
2590 Sync with Tramp 2.2.7.
2591
2592 * net/trampver.el: Update release number.
2593
2594 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2595
2596 * doc-view.el Fix bug#13887.
2597 (doc-view-insert-image): Don't modify overlay associated to
2598 non-live windows, and implement horizontal centering of image in
2599 case it's smaller than the window.
2600 (doc-view-new-window-function): Force redisplay of new windows on
2601 doc-view buffers.
2602
2603 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2604
2605 * saveplace.el (save-place-alist-to-file): Don't sort
2606 `save-place-alist', just pretty-print it (bug#13882).
2607
2608 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2609
2610 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2611 whether `default-file-name-coding-system' is bound. It isn't in
2612 XEmacs.
2613
2614 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2615
2616 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2617 backquotes for `obsolete' (bug#13929).
2618
2619 * international/mule.el (find-auto-coding): Include file name in
2620 obsolescence warning (bug#13922).
2621
2622 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2623
2624 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2625 for CFEngine 3-specific indentation.
2626 (cfengine3-indent-line): Use it. Fix up category regex.
2627 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2628
2629 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2630
2631 * type-break.el (type-break-file-name):
2632 * textmodes/remember.el (remember-data-file):
2633 * strokes.el (strokes-file):
2634 * shadowfile.el (shadow-initialize):
2635 * saveplace.el (save-place-file):
2636 * ps-bdf.el (bdf-cache-file):
2637 * progmodes/idlwave.el (idlwave-config-directory):
2638 * net/quickurl.el (quickurl-url-file):
2639 * international/kkc.el (kkc-init-file-name):
2640 * ido.el (ido-save-directory-list-file):
2641 * emulation/viper.el (viper-custom-file-name):
2642 * emulation/vip.el (vip-startup-file):
2643 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2644 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2645
2646 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2647
2648 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2649 * language/thai-word.el: Switch to UTF-8.
2650
2651 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2652
2653 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2654
2655 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2656
2657 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2658 Use with-current-buffer and don't move point.
2659 (net-utils-run-simple): Remove useless code.
2660 (net-utils-remove-ctl-m): Remove unused custom.
2661
2662 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2663
2664 * international/characters.el (glyphless-set-char-table-range): New fun.
2665 (update-glyphless-char-display): Use it (bug#13744).
2666
2667 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2668
2669 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2670 namespaces in the syntax, indent closer for hanging brace
2671 correctly, allow single-quote delimited 'strings', and make
2672 `cfengine3-mode' the default.
2673
2674 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2675
2676 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2677 Use lexical-binding. Fix up docstring according to conventions.
2678 (gdbmi-debug-mode): New var.
2679 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2680 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2681 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2682 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2683 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2684 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2685 (gdbmi-bnf-incomplete-record-result): New functions.
2686 (gdb-car<): Remove function.
2687 (gdbmi-record-list): Remove variable.
2688 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2689 (gdbmi-bnf-result-state-configs): New const.
2690 (gud-gdbmi-marker-filter): Rewrite.
2691 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2692 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2693 Add `token' argument.
2694 (gdb-done, gdb-error): New functions.
2695 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2696
2697 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2698
2699 * term/xterm.el (xterm--report-background-handler): Don't burp
2700 upon timeout.
2701 (xterm--version-handler): Extract from terminal-init-xterm.
2702 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2703 Allow multiple handlers.
2704 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2705
2706 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2707 (xterm--report-background-handler, xterm--query): New functions.
2708 (terminal-init-xterm): Use them.
2709
2710 2013-03-11 Michael R. Mauger <michael@mauger.com>
2711
2712 * progmodes/sql.el Version 3.2
2713 Please note that my address changed to <michael@mauger.com>;
2714 the <mmaug@yahoo.com> address remains active.
2715 (sql-connection-alist): Updates documentation to fix bug#13715.
2716 (sql-connect): Handle missing `sql-connection-alist' correctly.
2717 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2718 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2719 property.
2720 (sql-default-value): New function.
2721 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2722 values were not used.
2723 (sql-rename-buffer): Make sure alternate buffer name has no text
2724 properties.
2725 (sql-input-sender, sql-execute-feature): Fetch variable with
2726 `buffer-local-value' rather than `with-current-buffer'.
2727 (sql-*): Use #' function syntax consistently.
2728 (sql-*): Use message/error/user-error consistently.
2729
2730 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2731
2732 * xt-mouse.el (xterm-mouse-event-read): Remove.
2733 (xterm-mouse--read-event-sequence-1000)
2734 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2735
2736 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2737
2738 * term/xterm.el (xterm-function-map): Support format used with
2739 formatOtherKeys=1 (bug#13839).
2740
2741 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2742 (with-no-warnings): Use `declare'.
2743
2744 * whitespace.el (whitespace-enable-predicate): New variable.
2745 (whitespace-enable-predicate): Use it.
2746
2747 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2748 (comint-output-filter, comint-update-fence):
2749 Use with-silent-modifications.
2750
2751 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2752
2753 * replace.el (occur-read-regexp-defaults-function): New var.
2754 (occur-read-regexp-defaults): New defun.
2755 (occur-read-primary-args): Propagate above change (bug#13892).
2756
2757 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2758
2759 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2760
2761 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2762
2763 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2764
2765 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2766 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2767 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2768 New defconst.
2769 (tramp-gvfs-file-name-handler-alist) [directory-files]
2770 [directory-files-and-attributes, file-exists-p, file-modes]:
2771 Use Tramp default handler.
2772 [file-acl, file-selinux-context, process-file, set-file-acl]:
2773 [set-file-modes, set-file-selinux-context, shell-command]:
2774 [start-file-process]: Remove handler.
2775 [verify-visited-file-modtime]: New handler.
2776 (tramp-gvfs-dbus-string-to-byte-array)
2777 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2778 calls of `dbus-string-to-byte-array' and
2779 `tramp-gvfs-dbus-byte-array-to-string'.
2780 (tramp-gvfs-handle-copy-file)
2781 (tramp-gvfs-handle-delete-directory)
2782 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2783 (tramp-gvfs-handle-file-directory-p)
2784 (tramp-gvfs-handle-file-executable-p)
2785 (tramp-gvfs-handle-file-name-all-completions)
2786 (tramp-gvfs-handle-file-readable-p)
2787 (tramp-gvfs-handle-file-writable-p)
2788 (tramp-gvfs-handle-insert-directory)
2789 (tramp-gvfs-handle-insert-file-contents)
2790 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2791 (tramp-gvfs-handle-set-visited-file-modtime)
2792 (tramp-gvfs-handle-write-region): Rewrite.
2793 (tramp-gvfs-handle-file-acl)
2794 (tramp-gvfs-handle-file-selinux-context)
2795 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2796 (tramp-gvfs-handle-set-file-modes)
2797 (tramp-gvfs-handle-set-file-selinux-context)
2798 (tramp-gvfs-handle-shell-command)
2799 (tramp-gvfs-handle-start-file-process)
2800 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2801 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2802 over the symlinks. Fix user handling.
2803 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2804 of the D-Bus signals.
2805 (tramp-gvfs-connection-mounted-p): Handle different names of the
2806 D-Bus methods.
2807 (tramp-gvfs-mount-spec-entry): New defun.
2808 (tramp-gvfs-mount-spec): Use it.
2809 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2810 there is a share name. Handle different names of the D-Bus
2811 signals and methods. Set connection properties needed for
2812 `tramp-check-cached-permissions'.
2813 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2814 Return t or nil.
2815
2816 * net/tramp.el (tramp-backtrace): Move up.
2817 (tramp-error): Dump a backtrace into the debug buffer when
2818 `tramp-verbose > 9.
2819 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2820 (tramp-file-mode-permissions, tramp-get-local-uid)
2821 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2822 tramp-sh.el.
2823
2824 * net/tramp-sh.el (tramp-file-mode-type-map)
2825 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2826 (tramp-file-mode-permissions, tramp-get-local-uid)
2827 (tramp-get-local-gid): Move to tramp.el.
2828
2829 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2830
2831 Separate mouse-1-click-follows-link from mouse-drag-region.
2832 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2833 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2834 (mouse-drag-line, mouse-drag-track):
2835 Remove mouse-1-click-follows-link code.
2836 (mouse--remap-link-click-p): Remove.
2837
2838 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2839
2840 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2841 (hi-lock-read-regexp-defaults): New defun.
2842 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2843 (hi-lock-face-phrase-buffer): Propagate above change.
2844 Update docstring (bug#13892).
2845
2846 * subr.el (find-tag-default-as-regexp): New defun.
2847 * replace.el (read-regexp): Propagate above change.
2848
2849 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2850
2851 * calc/calc-units.el (calc-convert-units): Fix the way that default
2852 new units are stored.
2853
2854 2013-03-07 Matthias Meulien <orontee@gmail.com>
2855
2856 * bookmark.el: Define a face to highlight bookmark names in
2857 bookmark menu buffers, where the default is a bold face similarly
2858 to buffer names in buffer menu buffers.
2859 (bookmark-menu-bookmark): New face to highlight bookmark names.
2860 (bookmark-insert-location): Remove duplicated text property to
2861 conform to buffer list (see `list-buffers').
2862 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2863 `bookmark-menu-bookmark' to bookmark names.
2864
2865 2013-03-07 Matthias Meulien <orontee@gmail.com>
2866 Karl Fogel <kfogel@red-bean.com>
2867
2868 * bookmark.el: Display the bookmark list header similarly to the
2869 buffer list header (see `list-buffers'), where the default is now
2870 an immovable/immutable header line.
2871 (bookmark-bmenu-use-header-line): New variable.
2872 (bookmark-bmenu-inline-header-height): New name for
2873 `bookmark-bmenu-header-height', to avoid confusion with the code
2874 for the new immovable header. All references changed.
2875 (bookmark-bmenu-set-header): New function.
2876 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2877 Conditionalize header construction accordingly.
2878 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2879 the inline header height.
2880 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2881 Conditionalize the skipping of the inline header height.
2882
2883 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2884
2885 * progmodes/js.el (js--multi-line-declaration-indentation):
2886 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2887
2888 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2889
2890 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2891 Only propertize regexp when not inside a string (Bug#13885).
2892
2893 2013-03-06 Alan Mackenzie <acm@muc.de>
2894
2895 Correct the position of point in some line-up functions.
2896 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2897 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2898 point at column 0 rather than at a random place in the line.
2899
2900 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2901
2902 * net/tramp-compat.el (tramp-compat-delete-directory):
2903 Implement TRASH argument.
2904
2905 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2906
2907 Keep pre-existing highlighting in completion candidates (Bug#13250).
2908 * minibuffer.el (completions-first-difference): State that the
2909 face is "added" in the docstring.
2910 (completions-common-part): Same. And don't inherit from default.
2911 (completion-hilit-commonality): Prepend 'completions-common-part
2912 and 'completion-first-difference faces to the 'face property,
2913 instead of replacing the value(s).
2914 (completion--insert-strings): Same with 'completions-annotations face.
2915 (completion-hilit-commonality): Use 'face instead of
2916 'font-lock-face, because it gets priority if the completion
2917 strings already have 'face set.
2918
2919 2013-03-04 Alan Mackenzie <acm@muc.de>
2920
2921 Replace `last-command-event' by `last-command-char' in XEmacs.
2922 * progmodes/cc-defs.el (c-last-command-char): New macro.
2923 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2924 (c-semi&comma-no-newlines-before-nonblanks)
2925 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2926 in place of `last-command-event'.
2927 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2928 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2929 (c-electric-paren, c-electric-continued-statement): Use the new
2930 macro in place of `last-command-event'.
2931
2932 2013-03-04 Glenn Morris <rgm@gnu.org>
2933
2934 * files.el (inhibit-local-variables-regexps):
2935 Add .diff and .patch. (Bug#13862)
2936
2937 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2938
2939 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2940 whether the "su" command is available on the device.
2941
2942 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2943
2944 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2945 (tramp-adb-handle-process-file): Remove superfluous setting.
2946 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2947 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2948 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2949
2950 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2951
2952 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2953 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2954 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2955 Use dict-key rather than dict-name for the error message.
2956
2957 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2958
2959 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2960 when reverting (bug#13831).
2961
2962 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2963
2964 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2965 Always expand affix-file before storing to protect against changed
2966 `default-directory'.
2967 (ispell-print-if-debug): Make sure message is printed at the end
2968 of the debug buffer.
2969
2970 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2971
2972 * net/tramp.el (tramp-obsolete-methods): New defconst.
2973 (tramp-warned-obsolete-methods): New defvar.
2974 (tramp-find-method): Check for obsolete methods. Map them to a
2975 replacement method if appropriate.
2976
2977 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2978 Remove methods.
2979 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2980 "ssh2" and "plink1".
2981
2982 2013-02-28 Dale Sedivec <dale@codefu.org>
2983
2984 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2985 Return valid syntax-table property value when converting
2986 quotes within text from string syntax to punctuation syntax (bug#13844).
2987
2988 2013-02-28 Juri Linkov <juri@jurta.org>
2989
2990 * dired-aux.el (dired-diff): If file at point is a backup file,
2991 use its original as the default value, and reverse the order
2992 of arguments to the `diff' call. Doc fix. (Bug#13772)
2993
2994 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2995
2996 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2997 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2998
2999 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3000
3001 Initial support for hunspell dictionaries auto-detection (Bug#13639)
3002
3003 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3004 Ask hunspell about available and default dictionaries.
3005 (ispell-parse-hunspell-affix-file): Extract relevant info from
3006 hunspell affix file.
3007 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
3008 `ispell-dictionary-alist' entry for given dictionary after info
3009 provided by `ispell-parse-hunspell-affix-file'.
3010 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
3011 of parsed hunspell dicts and associated affix files.
3012 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
3013 of parsed hunspell dicts and associated parameters.
3014 (ispell-set-spellchecker-params):
3015 Call `ispell-find-hunspell-dictionaries' if hunspell and not
3016 previously done.
3017 (ispell-start-process):
3018 Call `ispell-hunspell-fill-dictionary-entry' for current
3019 dictionary if it is not initialized.
3020
3021 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3022
3023 * imenu.el: Comment nitpicks.
3024
3025 2013-02-28 Sam Steingold <sds@gnu.org>
3026
3027 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
3028 See <http://stackoverflow.com/questions/14720205>.
3029
3030 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3031
3032 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
3033 (net-utils-mode): Use it.
3034 (net-utils--revert-cmd): New var.
3035 (net-utils-run-simple): Set it, and remove bogus interactive spec.
3036 (traceroute): Use net-utils-run-simple.
3037
3038 2013-02-28 Glenn Morris <rgm@gnu.org>
3039
3040 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
3041
3042 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3043
3044 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
3045 (doc-view-fallback-mode): Remove overlays here.
3046 (doc-view-toggle-display): Instead of here. Don't throw away
3047 image-mode-winprops-alist.
3048 (doc-view-goto-page): Don't mess with hscroll.
3049
3050 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3051
3052 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
3053 &optional (bug#13819).
3054
3055 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
3056
3057 * net/tramp-adb.el (tramp-adb-parse-device-names)
3058 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
3059
3060 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
3061
3062 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3063 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
3064 defined. POSIX environments fall back to the "C" locale then and
3065 emit a warning, which shall be suppressed.
3066
3067 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
3068
3069 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
3070 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
3071
3072 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3073
3074 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
3075
3076 2013-02-25 Juri Linkov <juri@jurta.org>
3077
3078 * replace.el (read-regexp): Let-bind `default' to the first
3079 element of `defaults' if it's a list, otherwise it should be
3080 a string or nil. Let-bind `suggestions' to `defaults' if it's
3081 a list, otherwise make a list with the string value. Doc fix.
3082 (Bug#13805)
3083
3084 2013-02-25 Eli Zaretskii <eliz@gnu.org>
3085
3086 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
3087 that match "\`\.#", to avoid compiling lock files, even if they
3088 are readable (as they are on MS-Windows).
3089
3090 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3091
3092 * files.el (basic-save-buffer): Remove redundant directory-creation.
3093
3094 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
3095
3096 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
3097 Add option to force `pi' to remain symbolic.
3098 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
3099 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
3100 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
3101 derivatives, when necessary.
3102
3103 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
3104
3105 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3106 (ps-mode-octal-region): Use string-make-unibyte.
3107
3108 2013-02-23 Glenn Morris <rgm@gnu.org>
3109
3110 * emulation/viper-cmd.el (viper-submit-report):
3111 * progmodes/ps-mode.el (ps-mode-maintainer-address):
3112 * progmodes/vera-mode.el (vera-mode-help-address):
3113 * textmodes/artist.el (artist-maintainer-address):
3114 * textmodes/reftex.el (reftex-report-bug):
3115 * vc/ediff-util.el (ediff-submit-report):
3116 Add bug-gnu-emacs to bug report address.
3117
3118 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3119 Remove bug report entries.
3120 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3121
3122 * emacs-lisp/bytecomp.el (byte-compile-level): New.
3123 (byte-compile-file, byte-compile-from-buffer):
3124 Use separate input/output buffers for each level of recursive
3125 byte-compile-file calls. (Bug#13787)
3126
3127 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
3128
3129 * net/tramp.el (tramp-methods): Fix docstring.
3130 (tramp-ssh-controlmaster-options): Rename it from
3131 `tramp-ssh-controlmaster-template'. Return a string.
3132 (tramp-default-method): Adapt check for
3133 `tramp-ssh-controlmaster-options'.
3134
3135 * net/tramp-sh.el (tramp-methods):
3136 Replace `tramp-ssh-controlmaster-template' by "%c".
3137 (tramp-do-copy-or-rename-file-out-of-band)
3138 (tramp-maybe-open-connection): Use it in format spec. Ensure,
3139 that it is applied for the first hop only.
3140
3141 2013-02-22 Juri Linkov <juri@jurta.org>
3142
3143 * isearch.el (isearch-lazy-highlight-new-loop):
3144 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3145 to `isearch-other-end' if it is not nil. (Bug#13402)
3146
3147 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3148 to `match-beg'.
3149
3150 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3151 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3152 and `isearch-error' to nil.
3153
3154 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
3155
3156 * progmodes/python.el (python-info-current-defun):
3157 Enhance match-data cluttering prevention.
3158
3159 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3160
3161 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3162
3163 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3164 Handle multibyte file names.
3165
3166 2013-02-22 Glenn Morris <rgm@gnu.org>
3167
3168 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3169 (sgml-transformation-function): Give it a :set function.
3170 (sgml-tag): Doc fix.
3171
3172 * cmuscheme.el (scheme-buffer):
3173 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3174 * progmodes/tcl.el (inferior-tcl-buffer):
3175 * textmodes/tex-mode.el (tex-command): Doc fixes.
3176
3177 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3178
3179 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3180
3181 2013-02-21 Bastien Guerry <bzg@gnu.org>
3182
3183 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3184
3185 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3186
3187 * progmodes/python.el (python-info-current-defun):
3188 Enhance match-data cluttering prevention.
3189
3190 2013-02-21 Glenn Morris <rgm@gnu.org>
3191
3192 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3193 loaded while outline-regexp is let bound. (Bug#9584)
3194
3195 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3196
3197 * progmodes/python.el (python-info-current-defun): Fix failed
3198 defun name retrieval because of unwanted match-data cluttering.
3199
3200 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3201
3202 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3203 defconst. Apply independent check for ControlPersist.
3204
3205 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3206 temporarily, via "env".
3207
3208 2013-02-21 Glenn Morris <rgm@gnu.org>
3209
3210 * info.el (Info-enable-edit): Remove.
3211 (Info-edit): Disable it rather than using Info-enable.
3212 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3213 (Info-cease-edit): Make editing of Info files obsolete.
3214
3215 * informat.el (Info-tagify):
3216 Handle buffers not visiting files. (Bug#13763)
3217
3218 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3219
3220 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3221
3222 2013-02-21 Glenn Morris <rgm@gnu.org>
3223
3224 * files.el (basic-save-buffer): Move check for existing parent
3225 directory after hooks. (Bug#13773)
3226
3227 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3228
3229 * simple.el (command-execute): Move from C. Add obsolete check.
3230 (extended-command-history): Move from C.
3231
3232 2013-02-20 Ulrich Müller <ulm@gentoo.org>
3233
3234 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3235 (jka-compr-mode-alist-additions): Handle .txz suffix for
3236 XZ-compressed tar archives (bug#13770).
3237
3238 2013-02-20 Bastien Guerry <bzg@gnu.org>
3239
3240 * outline.el (outline-regexp, outline-heading-end-regexp):
3241 Make variables, not options (bug#13731).
3242
3243 2013-02-20 Glenn Morris <rgm@gnu.org>
3244
3245 * image.el (image-current-frame): Change from variable to function.
3246 (image-show-frame): Rename from image-nth-frame. Update callers.
3247 * image-mode.el (image-multi-frame): New variable.
3248 (image-mode-map, image-mode, image-goto-frame):
3249 Use image-multi-frame rather than image-current-frame.
3250 (image-mode, image-goto-frame): Use image-current-frame as
3251 function rather than as variable.
3252
3253 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3254 * emacs-lisp/cl-macs.el (cl--make-type-test)
3255 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3256
3257 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3258
3259 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3260 (tramp-get-file-property, tramp-set-file-property)
3261 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3262 (tramp-flush-file-property, tramp-flush-directory-property):
3263 Rename argument to KEY.
3264 (tramp-flush-connection-property): Simplify a little bit.
3265 (tramp-connection-property-p): New defun.
3266 (top): Reapply saved values only if there isn't a corresponding
3267 entry in `tramp-connection-properties'.
3268
3269 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
3270
3271 * progmodes/python.el (python-indent-context):
3272 Fix python-info-line-ends-backslash-p call.
3273 (python-info-line-ends-backslash-p)
3274 (python-info-beginning-of-backslash): Respect line-number argument.
3275 (python-info-current-line-comment-p):
3276 Fix behavior when not at beginning-of-line.
3277 (python-util-position): Remove function.
3278 (python-util-goto-line): New function.
3279
3280 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3281
3282 * eshell/em-unix.el (eshell/su): Require tramp.
3283 (eshell/sudo): Require tramp. Remove now unnecessary check.
3284
3285 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3286 `tramp-current-connection' in order to avoid an error when several
3287 commands are invoked in a short time in eshell and friends.
3288
3289 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3290
3291 Cleanup some of EIEIO's namespace.
3292 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3293 Use it to define all the class-* and object-* field accessors (renamed
3294 to eieio--class-* and eieio--object-*). Update all uses.
3295 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3296 class-num-slots and object-num-slots.
3297 (eieio--check-type): New macro.
3298 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3299 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3300 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3301 (object-assoc-list-safe): Use it.
3302 (eieio-defclass): Tighten regexp.
3303 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3304 Remove unreachable code.
3305 (object-class-fast): Declare obsolete.
3306 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3307 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3308 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3309 Rename from class-name, object-name, object-set-name-string,
3310 object-class, object-class-name, class-parents, class-children,
3311 class-precedence-list, class-parent; with obsolete alias.
3312 (class-of, class-direct-superclasses, class-direct-subclasses):
3313 Declare obsolete.
3314 (eieio-defmethod): Use `memq'; remove unreachable code.
3315 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3316 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3317 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3318
3319 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3320
3321 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3322 commentary.
3323
3324 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3325
3326 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3327 Use font-lock-keyword-face for macros and special forms (bug#8345).
3328
3329 2013-02-17 Didier Verna <didier@didierverna.net>
3330
3331 * net/network-stream.el (network-stream-open-starttls):
3332 Check that response to the starttls-command is non-nil. (Bug#13706)
3333
3334 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3335
3336 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3337 Don't assume all identifier chars have syntax word.
3338 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3339 Remove bar-not-symbol. Adjust callers.
3340 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3341
3342 2013-02-17 Leo Liu <sdl.web@gmail.com>
3343
3344 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3345
3346 2013-02-17 Glenn Morris <rgm@gnu.org>
3347
3348 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3349
3350 * image-mode.el (image-mode-map): Add image-dired menu entry.
3351
3352 * image-dired.el (tumme): Make this alias obsolete.
3353
3354 2013-02-16 Glenn Morris <rgm@gnu.org>
3355
3356 * image.el (image-animated-types): Remove.
3357 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3358 (image-animated-p): Make obsolete alias.
3359 (image-animate, image-nth-frame, image-animate-timeout):
3360 Use image-multi-frame-p.
3361 (image-animate-timeout): If no delay, use image-default-frame-delay.
3362 * image-mode.el (image-mode, image-toggle-animation):
3363 Use image-multi-frame-p. (Bug#763, bug#10739)
3364 (image-mode): Adjust startup message for a multi-frame image.
3365
3366 * image-mode.el (image-mode-map): Give it a menu.
3367
3368 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3369
3370 * net/tramp-cache.el (tramp-connection-properties): New customer
3371 option.
3372 (tramp-get-connection-property): Use it.
3373
3374 * net/tramp-compat.el (top): Require 'trampver.
3375
3376 * net/tramp-sh.el (tramp-remote-process-environment):
3377 Set tramp-autoload cookie.
3378
3379 2013-02-16 Kevin Ryde <user42@zip.com.au>
3380
3381 * info-look.el (info-lookup-select-mode): If major-mode has no
3382 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3383
3384 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3385
3386 * replace.el (read-regexp): Tighten the regexp that matches tag.
3387 When tag is retrieved with `find-tag-default', use regexp that
3388 matches tag at point. Also update docstring (Bug#13687).
3389
3390 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3391
3392 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3393 add watch for the file, not its parent directory, since w32notify
3394 sets up the watch for the directory internally. (Bug#13725)
3395
3396 2013-02-16 Glenn Morris <rgm@gnu.org>
3397
3398 * image.el (image-default-frame-delay): New variable.
3399 (image-animated-p): Use image-default-frame-delay.
3400 (image-minimum-frame-delay): New constant.
3401 (image-animate-timeout): Use image-minimum-frame-delay.
3402
3403 * image.el (image-nth-frame): New, split from image-animate-timeout.
3404 (image-animate-timeout): Use image-nth-frame.
3405 * image-mode.el (image-goto-frame, image-next-frame)
3406 (image-previous-frame): New commands.
3407 (image-mode-map): Add new frame commands.
3408
3409 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3410
3411 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3412 If col-desc already has help-echo, use it. (Bug#13563)
3413
3414 2013-02-16 Glenn Morris <rgm@gnu.org>
3415
3416 * image.el (image-current-frame): New variable.
3417 (image-animate-timeout): Set image-current-frame.
3418 * image-mode.el (image-mode): For animated images,
3419 display a frame counter via mode-line-process.
3420
3421 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3422
3423 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3424
3425 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3426
3427 2013-02-15 Alan Mackenzie <acm@muc.de>
3428
3429 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3430 global minor mode has been enabled, call the minor mode function
3431 for a new buffer once only, after the major mode hook, whilst
3432 allowing that hook explicitly to disable the minor mode.
3433 (MODE-disable-in-buffer): New (generated) function.
3434 (disable-MODE): New (generated) buffer local variable.
3435
3436 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3437
3438 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3439 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3440 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3441 `ido-next-match' and `ido-prev-match' resply.
3442 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3443 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3444 `icomplete-backward-completions' (Bug#13708).
3445
3446 2013-02-15 Glenn Morris <rgm@gnu.org>
3447
3448 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3449
3450 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3451
3452 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3453 (goto-address-fontify-region): Use them instead of narrowing, so
3454 syntax-ppss has access to the whole buffer.
3455
3456 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
3457
3458 * progmodes/python.el: Explain how to restore "cc-mode"-like
3459 forward-sexp movement in header documentation (Bug#13642).
3460 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3461 comments and strings (GH bug 114).
3462
3463 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
3464
3465 * progmodes/python.el (python-info-current-defun): Fix current
3466 defun detection (Bug#13618).
3467
3468 2013-02-15 Chong Yidong <cyd@gnu.org>
3469
3470 * xml.el (xml-parse-string): Fix typo in handling of bad character
3471 references.
3472
3473 2013-02-15 Glenn Morris <rgm@gnu.org>
3474
3475 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3476
3477 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3478
3479 * net/tramp.el (tramp-debug-message):
3480 Add `tramp-condition-case-unless-debug'.
3481 (tramp-debug-on-error): New defvar.
3482 (tramp-condition-case-unless-debug): New defun.
3483 (tramp-file-name-handler): Use it.
3484
3485 2013-02-14 Juri Linkov <juri@jurta.org>
3486
3487 * info.el (Info-isearch-filter): Treat non-nil values of
3488 `search-invisible' including its default value `open'
3489 like the value `t' to match hidden text. (Bug#13402)
3490
3491 2013-02-14 Glenn Morris <rgm@gnu.org>
3492
3493 * help-fns.el (find-lisp-object-file-name): Give special treatment
3494 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3495
3496 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3497
3498 * net/quickurl.el (quickurl-save-urls):
3499 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3500
3501 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3502
3503 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3504 depth for unfinished percent literal. Not using it in the caller.
3505 (ruby-move-to-block): Jump over multiline literals of all types,
3506 ignoring code-looking contents inside them.
3507 (ruby-add-log-current-method): Improve performance at the expense
3508 of accuracy. `ruby-block-contains-point' is relatively slow, so
3509 only use it for method and singleton class blocks.
3510
3511 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3512
3513 Use ControlMaster where applicable. (Bug#13677)
3514
3515 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3516 replacing `tramp-detect-ssh-controlmaster'.
3517 (tramp-default-method): Use it.
3518
3519 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3520 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3521 arguments.
3522 [scpc, rsyncc]: Remove methods.
3523 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3524 and "ssh2_old".
3525 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3526 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3527
3528 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3529
3530 * emacs-lisp/package.el (package--initialized): Move before first use.
3531
3532 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3533
3534 * icomplete.el (icomplete-hide-common-prefix): New user option.
3535 (icomplete-first-match): New face.
3536 (icomplete-completions): Correct handling of "complete but not
3537 unique" (Bug#12638).
3538
3539 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3540
3541 * descr-text.el (describe-char): Display the script (bug#13698).
3542
3543 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3544
3545 * tmm.el: Use lexical-binding and current-active-maps.
3546 (tmm-menubar): Use map-keymap and pcase.
3547 (tmm--completion-table): New function.
3548 (tmm-prompt): Use it to fix the menu order.
3549 (tmm-get-keybind): Use current-active-maps.
3550
3551 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3552
3553 Add dired-hide-details-mode. (Bug#6799)
3554
3555 * locate.el (locate-mode): Set parent mode property to dired-mode.
3556
3557 * find-dired.el (find-dired): Call dired-insert-set-properties on
3558 initial information line. Set process mark on end of buffer.
3559 (find-dired-sentinel):
3560 Call dired-insert-set-properties on summary.
3561
3562 * dired.el (dired-hide-details-hide-symlink-targets)
3563 (dired-hide-details-hide-information-lines): New options.
3564 (dired-insert-directory):
3565 Set properties after final treatment of output.
3566 (dired-insert-set-properties):
3567 Set dired-hide-details-* properties.
3568 (dired-mode-map): Bind dired-hide-details-mode.
3569 (dired-mode): Set buffer-invisibility-spec to a list.
3570 (dired-next-line): Skip hidden lines.
3571 (dired-previous-line): Use dired-next-line.
3572 (dired-hide-details-mode): New minor mode.
3573 (dired-hide-details-update-invisibility-spec): New function.
3574
3575 2013-02-13 Glenn Morris <rgm@gnu.org>
3576
3577 * play/yow.el: Move to obsolete/. (Bug#9384)
3578
3579 2013-02-13 Juri Linkov <juri@jurta.org>
3580
3581 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3582 to select `ediff-control-frame' and set input focus correctly on Xfce.
3583 (Bug#12218)
3584
3585 2013-02-13 Juri Linkov <juri@jurta.org>
3586
3587 * image-mode.el (image-mode-map):
3588 * doc-view.el (doc-view-mode-map):
3589 * vc/ediff-util.el (ediff-setup-keymap):
3590 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3591
3592 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3593
3594 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3595 performance. Instead of recalculating indentation fully for each
3596 line, sum up indentation depth based only on visited lines.
3597 (ruby-parse-partial): Increase the depth after "do" even when END
3598 is right after it.
3599 (ruby-parse-partial): When END is in the middle of a percent
3600 literal, increase the depth if the delimiter chars belong to the
3601 paren syntax class.
3602
3603 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3604
3605 * play/fortune.el (fortune-compile): Also make the compiled file
3606 if it does not exist at all, not just if it is old. (Bug#5338)
3607
3608 2013-02-13 Glenn Morris <rgm@gnu.org>
3609
3610 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3611
3612 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3613
3614 * lisp/emacs-lisp/package.el (package-menu-execute):
3615 Add optional noquery argument. (Bug#13625)
3616
3617 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3618
3619 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3620 if DIR exists and PARENTS is non-nil.
3621
3622 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3623
3624 * progmodes/js.el (js--multi-line-declaration-indentation):
3625 Silence byte-compiler warning.
3626
3627 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3628
3629 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3630
3631 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3632 only if it doesn't exist.
3633
3634 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3635 Set process marker.
3636
3637 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3638
3639 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3640 UserInstallation when calling soffice to work around LibreOffice
3641 bug 37531.
3642
3643 2013-02-12 Glenn Morris <rgm@gnu.org>
3644
3645 * files.el (basic-save-buffer):
3646 Offer to create a non-existing directory. (Bug#3016)
3647
3648 * calc/calc-graph.el (calc-graph-show-dumb):
3649 * calendar/calendar.el (calendar-mode-map):
3650 * cus-edit.el (custom-mode-map):
3651 * ehelp.el (electric-help-map):
3652 * emulation/vip.el (vip-mode-map):
3653 * epa.el (epa-key-list-mode-map):
3654 * info.el (Info-mode-map):
3655 * mail/rmail.el (rmail-mode-map):
3656 * mail/rmailsum.el (rmail-summary-mode-map):
3657 * man.el (Man-mode-map):
3658 * net/newst-plainview.el (newsticker-mode-map):
3659 * progmodes/cpp.el (cpp-edit-mode-map):
3660 * progmodes/grep.el (grep-mode-map):
3661 * progmodes/idlw-help.el (idlwave-help-mode-map):
3662 * simple.el (special-mode-map):
3663 * startup.el (splash-screen-keymap):
3664 * view.el (view-mode-map):
3665 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3666
3667 2013-02-11 Elias Pipping <pipping@lavabit.com>
3668
3669 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3670 (bug#13679).
3671
3672 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3673
3674 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3675
3676 2013-02-11 Glenn Morris <rgm@gnu.org>
3677
3678 * vc/diff.el (diff-use-labels): New variable.
3679 (diff-no-select): Use --label rather than -L, and first
3680 check that it is supported. (Bug#11067)
3681
3682 * files.el (enable-dir-local-variables): New variable.
3683 (hack-dir-local-variables): Respect enable-dir-local-variables.
3684 * tutorial.el (help-with-tutorial):
3685 Ignore directory-local variables. (Bug#11127)
3686
3687 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3688 (vc-svn-global-switches): ... to here. (Bug#13513)
3689
3690 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3691
3692 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3693 Handle "foo (bar, default: xxx): " prompts.
3694
3695 2013-02-10 Chong Yidong <cyd@gnu.org>
3696
3697 * files.el (basic-save-buffer-1): Do not set
3698 buffer-file-coding-system-explicit (Bug#4533).
3699
3700 * mail/emacsbug.el (report-emacs-bug): Change binding of
3701 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3702
3703 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3704
3705 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3706 * calc/calc-units.el (calc-convert-units): Use new variable.
3707
3708 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3709
3710 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3711
3712 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3713 buffer-file-type.
3714
3715 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3716 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3717 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3718 coding-system-for-write instead.
3719
3720 * jka-compr.el (jka-compr-write-region): Don't bind
3721 buffer-file-type.
3722
3723 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3724 buffer-file-type.
3725
3726 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3727 (insert-file-contents-literally): Remove reference to
3728 file-name-buffer-file-type-alist.
3729
3730 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3731 make-obsolete.
3732 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3733 (find-buffer-file-type-coding-system): Remove references to
3734 find-buffer-file-type-match, find-buffer-file-type, and
3735 buffer-file-type.
3736 Don't put find-buffer-file-type-coding-system into
3737 file-coding-system-alist.
3738 (find-file-binary, find-file-text): Bind coding-system-for-read
3739 instead of file-name-buffer-file-type-alist.
3740
3741 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3742
3743 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3744 converter (Bug#13622).
3745 (doc-view-unoconv-program): Make obsolete alias.
3746 (doc-view-odf->pdf-converter-program): New variable.
3747 (doc-view-odf->pdf-converter-function): New variable.
3748 (doc-view-mode-p): Use it.
3749 (doc-view-odf->pdf-converter-unoconv):
3750 Rename from `doc-view-odf->pdf-converter-unoconv'.
3751 (doc-view-odf->pdf-converter-soffice): New function.
3752 (doc-view-convert-current-doc):
3753 Use `doc-view-odf->pdf-converter-function'.
3754
3755 2013-02-09 Chong Yidong <cyd@gnu.org>
3756
3757 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3758 view-echo-area-messages (Bug#13340).
3759
3760 * help.el (view-echo-area-messages): Use display-buffer.
3761
3762 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3763 (Bug#13561).
3764
3765 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3766
3767 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3768 Eval body right away, now that we do eager macroexpansion (bug#13605).
3769
3770 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3771 (fundamental-mode): Use run-mode-hooks.
3772
3773 * eshell/esh-proc.el (eshell/kill): Fix last change.
3774 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3775
3776 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3777
3778 * eshell/esh-proc.el (eshell/kill): Rewrite.
3779
3780 * eshell/em-ls.el (show-almost-all): Declare.
3781 (eshell-do-ls): Add support for -A argument.
3782
3783 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3784
3785 * icomplete.el (icomplete-forward-completions)
3786 (icomplete-backward-completions): Handle corner case (bug#13602).
3787
3788 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3789
3790 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3791 be nil. Handle this. (Bug#13636)
3792
3793 2013-02-07 Richard Stallman <rms@gnu.org>
3794
3795 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3796 `save-buffer-coding-system'.
3797
3798 2013-02-07 Alan Mackenzie <acm@muc.de>
3799
3800 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3801 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3802 (c-parse-state-get-strategy): Don't return 'BOD any more.
3803 (c-append-lower-brace-pair-to-state-cache):
3804 Extra parameter HERE instead of narrowing.
3805 Widen to top of buffer before searching backwards for a brace pair.
3806 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3807 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3808 Narrow to parameter HERE, in place of being called narrowed.
3809 (c-remove-stale-state-cache): Extra parameter HERE in place of
3810 narrowing. Check there's an open brace in the cache before
3811 searching for its match.
3812 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3813 (c-parse-state-1): Don't narrow here for 'forward strategy,
3814 instead passing extra parameter HERE to several functions.
3815 Remove 'BOD strategy.
3816
3817 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3818
3819 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3820 used to install the package.
3821
3822 2013-02-06 Glenn Morris <rgm@gnu.org>
3823
3824 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3825 if we can't get user input. (Bug#6567)
3826
3827 * startup.el (command-line): If simple.el is missing,
3828 test and warn about for some possible causes.
3829
3830 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3831
3832 * cus-start.el (all): Add ns-use-native-fullscreen.
3833
3834 2013-02-05 Glenn Morris <rgm@gnu.org>
3835
3836 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3837
3838 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3839 Fix directory creation in fallback case.
3840
3841 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3842
3843 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3844 (vc-update-change-log): Use dolist.
3845
3846 2013-02-04 Chong Yidong <cyd@gnu.org>
3847
3848 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3849 code from ffap.el.
3850 (thing-at-point-beginning-of-url-regexp): New var.
3851 (thing-at-point-uri-schemes): Update list of URI schemes.
3852 (thing-at-point-url-regexp): Variable deleted.
3853 (thing-at-point-markedup-url-regexp): Disallow newlines.
3854 (thing-at-point-newsgroup-regexp)
3855 (thing-at-point-newsgroup-heads)
3856 (thing-at-point-default-mail-uri-scheme): New variables.
3857 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3858 method to find the possible bounds of the URI at point.
3859 New optional argument to find ill-formed URIs.
3860 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3861 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3862 the scheme-adding heuristics from ffap-url-at-point.
3863 (thing-at-point--bounds-of-well-formed-url): New function.
3864 Do parens matching to decide whether to include parens in the URI
3865 (Bug#9153).
3866
3867 * ffap.el: Require thingatpt.
3868 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3869 All URI-valid characters are now recognized (Bug#5673).
3870 (ffap-string-at-point): Use use-region-p.
3871 (ffap-url-regexp): Extra character is handled by thing-at-point.
3872 (ffap-string-at-point-mode-alist): Allow parentheses.
3873 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3874 Convert to aliases; code moved to thingatpt.el.
3875 (ffap-gnus-hook): Use setq-local.
3876
3877 2013-02-04 Glenn Morris <rgm@gnu.org>
3878
3879 * emacs-lisp/ert.el (ert--explain-format-atom):
3880 Don't try to print non-characters as characters. (Bug#13543)
3881
3882 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3883
3884 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3885 (tramp-backtrace): New defun.
3886 (tramp-handle-insert-file-contents): Use `visit' when inserting
3887 the local copy.
3888
3889 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3890 Use `remote-file-name-inhibit-cache'.
3891
3892 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3893
3894 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3895 (bug#13614).
3896
3897 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3898 current-load-list (bug#13366).
3899
3900 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3901
3902 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3903 Identify g++ template instantiation trace. (Bug#12287)
3904 (compilation-mode-hook, compilation-start-hook)
3905 (compilation-window-height): Simplify docstrings. (Bug#13379)
3906
3907 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3908
3909 * mouse.el (mouse-drag-track): Always deactivate the mark before
3910 running the final event's command since that command is in charge of
3911 activating the mark if needed (bug#13523).
3912
3913 2013-02-02 Juri Linkov <juri@jurta.org>
3914
3915 * replace.el (perform-replace): Move let-bindings of isearch-*
3916 variables deeper to the loop that searches for the next match.
3917 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3918 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3919 (Bug#13579)
3920
3921 * isearch.el (isearch-search-fun-default): Check for null
3922 first element of isearch-cmds as a precaution when it's used
3923 with inactive isearch.
3924
3925 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3926
3927 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3928 error when buffer in question is narrowed so position 1 is out of
3929 visible part.
3930
3931 2013-02-02 Glenn Morris <rgm@gnu.org>
3932
3933 * textmodes/remember.el (remember-clipboard): Doc fix.
3934
3935 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3936
3937 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3938 properties (bug#13179).
3939
3940 2013-02-02 Juri Linkov <juri@jurta.org>
3941
3942 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3943 instead of hard-coded default face `match'. (Bug#9438)
3944
3945 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3946
3947 * vc/vc-arch.el (vc-arch-registered):
3948 * vc/vc-bzr.el (vc-bzr-registered):
3949 * vc/vc-cvs.el (vc-cvs-registered):
3950 * vc/vc-git.el (vc-git-registered):
3951 * vc/vc-hg.el (vc-hg-registered):
3952 * vc/vc-mtn.el (vc-mtn-registered):
3953 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3954 (Bug#13139)
3955
3956 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3957 prefix argument. (Bug#11656)
3958
3959 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3960
3961 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3962
3963 2013-02-01 Glenn Morris <rgm@gnu.org>
3964
3965 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3966 if the backend is known not to support it.
3967
3968 * imenu.el (imenu-default-create-index-function):
3969 Tweak infinite loop test to check for forward motion as well as none.
3970
3971 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3972
3973 * net/soap-client.el (soap-invoke): Encode the string for
3974 `url-request-data' as UTF-8.
3975 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3976
3977 2013-02-01 Glenn Morris <rgm@gnu.org>
3978
3979 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3980
3981 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3982
3983 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3984
3985 * net/tramp.el (tramp-tramp-file-p): Comment check for
3986 `string-as-unibyte'. The function does not exist on XEmacs, and
3987 likely we need another approach.
3988
3989 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3990 `tramp-gw-*' variables are bound.
3991
3992 2013-01-31 Glenn Morris <rgm@gnu.org>
3993
3994 * files.el (basic-save-buffer-2): Choose coding system for
3995 writing the file before backing it up, to reduce delay between
3996 backing up and writing the new version. (Bug#13522)
3997
3998 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3999
4000 * simple.el (cycle-spacing): New command.
4001 (just-one-space): Use it.
4002
4003 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
4004
4005 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
4006 (opascal-newline-always-indents): Remove custom.
4007 (opascal-tab, opascal-newline): Remove commands.
4008 (opascal-new-comment-line): Insert "\n" instead of calling newline.
4009 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
4010 (opascal-save-match-data): Remove, use save-match-data instead.
4011 (opascal-save-state): Use with-silent-modifications.
4012
4013 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
4014 (bug#13585).
4015
4016 2013-01-30 Juri Linkov <juri@jurta.org>
4017
4018 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4019 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
4020 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
4021
4022 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4023
4024 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
4025 column if we're just deleting the backslashes.
4026 (makefile-fill-paragraph): Use eolp.
4027
4028 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4029
4030 * autorevert.el (auto-revert-use-notify): Fix docstring.
4031
4032 2013-01-30 Leo Liu <sdl.web@gmail.com>
4033
4034 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
4035
4036 2013-01-30 Glenn Morris <rgm@gnu.org>
4037
4038 * mouse.el (mouse-drag-line): Avoid pushing same event onto
4039 unread-command-events twice in some cases. This tries to implement
4040 the 2012-07-26 changes in a different way. (Bug#13560)
4041
4042 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4043
4044 * progmodes/python.el
4045 (python-pdbtrack-comint-output-filter-function): Enhancements on
4046 stacktrace detection. (thanks @gnovak)
4047
4048 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4049
4050 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
4051 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
4052 Use defvar-local.
4053 (jit-lock-register): Use setq-local.
4054
4055 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
4056
4057 * calc-units.el (math-default-units-table): Remove initial value.
4058 (calc-convert-units): Treat expressions where all the units cancel as
4059 if they didn't have units.
4060
4061 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4062
4063 * net/tramp.el (tramp-process-connection-type): Fix docstring.
4064 (tramp-completion-reread-directory-timeout): Fix type.
4065 (tramp-connection-min-time-diff): New defcustom.
4066
4067 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4068
4069 2013-01-30 Glenn Morris <rgm@gnu.org>
4070
4071 * imenu.el (imenu-default-create-index-function):
4072 Put back a version of the infinite loop test removed 2013-01-23.
4073
4074 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4075
4076 * progmodes/python.el (python-shell-parse-command):
4077 Find python-shell-interpreter with modified environment.
4078
4079 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4080
4081 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4082
4083 2013-01-29 Alan Mackenzie <acm@muc.de>
4084
4085 Amend to fontify /regexp/s in actions correctly.
4086 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
4087 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
4088 are no longer included.
4089 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
4090 What used to be these variables without "-line" in the name.
4091 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
4092 (c-awk-non-arith-op-bra-re): Now also matches {.
4093 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
4094 "return", and "case".
4095 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
4096 by /.
4097 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
4098 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
4099
4100 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
4101
4102 * autorevert.el (auto-revert-use-notify):
4103 Use `custom-initialize-default' for initialization. (Bug#13583)
4104
4105 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4106
4107 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4108 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
4109 in `tramp-file-name-handler'.
4110 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4111 compatibility.
4112 (tramp-compute-multi-hops): Check, whether
4113 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4114
4115 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
4116
4117 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4118 (bug#13297).
4119
4120 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
4121
4122 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4123 checks made superfluous by the \_< operator.
4124 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4125 temporarily) broken indentation.
4126 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4127 Highlight nested constants, too. \_< broke that.
4128
4129 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
4130
4131 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4132 instead of "\\b".
4133
4134 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
4135
4136 * autorevert.el (auto-revert-handler): Notifications which result
4137 from a saved file shall not be taken into account. (Bug#13557)
4138
4139 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
4140
4141 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4142 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4143 (lisp-mode): Pass t for it. (Bug#13556)
4144
4145 2013-01-25 Alan Mackenzie <acm@muc.de>
4146
4147 AWK Mode: Fix indentation bug at top level. Bug #12274.
4148
4149 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4150 just before CASE 5D.
4151
4152 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4153
4154 * net/socks.el (socks-nslookup-host): Use string-to-number.
4155
4156 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4157
4158 * autorevert.el (auto-revert-remote-files)
4159 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4160 (auto-revert-notify-enabled, auto-revert-use-notify)
4161 (auto-revert-notify-watch-descriptor-hash-list)
4162 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4163 (auto-revert-notify-event-descriptor)
4164 (auto-revert-notify-event-action)
4165 (auto-revert-notify-event-file-name): Doc fix.
4166 (global-auto-revert-mode): Reorder checks.
4167 (auto-revert-notify-rm-watch): Respect changed values of
4168 `auto-revert-notify-watch-descriptor-hash-list'.
4169 (auto-revert-notify-add-watch): Check for
4170 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4171 `inotify-add-watch'. Watch `default-directory' instead of
4172 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4173 has a changed meaning now. (Bug#13540)
4174 (auto-revert-notify-handler): Change implementation wrt events
4175 returning from a directory.
4176 (auto-revert-handler): Reorder implementation for checks of remote
4177 files.
4178 (auto-revert-buffers): Fix parentheses error.
4179
4180 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
4181
4182 * progmodes/python.el: Enhancements to header documentation about
4183 skeletons. (Bug#5716)
4184
4185 * imenu.el (imenu-default-create-index-function): Remove useless
4186 infinite loop check. (Bug#13438)
4187
4188 2013-01-25 Alan Mackenzie <acm@muc.de>
4189
4190 Fix a bug in the state cache mechanism. Refactor this a bit.
4191
4192 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4193 `cache-pos' element from the return value.
4194 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4195 buffer to enable proper searching from beyond HERE. Amend the
4196 test for detecting the sought brace pair. Amend the value written
4197 to the "brace desert cache" when the brace isn't found.
4198 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4199 and several other variables analogously.
4200 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4201 parameter to a locally calculated variable.
4202 (c-parse-state-1): Change the calling conventions to the two
4203 defuns involving `cache-pos'.
4204
4205 2013-01-25 Chong Yidong <cyd@gnu.org>
4206
4207 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4208
4209 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4210
4211 * paren.el (show-paren-function): Make sure to set 'priority and
4212 'face only if the overlay does exist.
4213
4214 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4215
4216 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4217
4218 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4219 basic attributes.
4220 (tramp-sh-handle-set-file-acl): Improve error checking.
4221
4222 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4223
4224 * doc-view.el (doc-view-display): Force mode line update until all
4225 document is converted. Suggested by Stefan Monnier (Bug#13164).
4226
4227 2013-01-23 Bastien Guerry <bzg@gnu.org>
4228
4229 * paren.el (show-paren-function): Make sure an overlay exists
4230 before trying to delete it. Also use `pos' as a position only
4231 when it is an integer.
4232
4233 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4234
4235 * play/gametree.el (gametree-break-line-here): Use point-marker.
4236
4237 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4238
4239 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4240 Mark descriptive parts with `display' property.
4241
4242 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4243
4244 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4245 New variable to map standard dict names to hunspell ones.
4246 (ispell-set-spellchecker-params): Make sure specific dict names
4247 are used for standard dicts with hunspell.
4248
4249 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4250
4251 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4252 chars for note (%N) and url (%U).
4253 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4254
4255 2013-01-21 Juri Linkov <juri@jurta.org>
4256
4257 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4258 in addition to existing separate binding `meta f10' in `global-map'.
4259 (Bug#13484)
4260
4261 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4262
4263 Improve XEmacs compatibility.
4264
4265 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4266
4267 * net/tramp-adb.el (top): Require `time-date'.
4268 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4269 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4270 Use `tramp-file-name-handler'.
4271 (tramp-adb-maybe-open-connection):
4272 Use `tramp-compat-set-process-query-on-exit-flag'.
4273
4274 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4275 Use `tramp-compat-funcall'.
4276
4277 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4278 `tramp-compat-funcall'.
4279
4280 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
4281
4282 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4283 reimplementation using "adb shell command ..." instead of running
4284 remote shell interactively.
4285
4286 2013-01-20 Glenn Morris <rgm@gnu.org>
4287
4288 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4289 Add native profiler menu entries.
4290
4291 * profiler.el (profiler-running-p): New function.
4292 (profiler-cpu-profile): Use profiler-running-p.
4293 (profiler-report-mode-map): Add some more menu entries.
4294
4295 2013-01-19 Glenn Morris <rgm@gnu.org>
4296
4297 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4298 fixes 2012-12-07 change. (Bug#13499)
4299
4300 2013-01-19 Leo Liu <sdl.web@gmail.com>
4301
4302 * dired.el (dired-get-marked-files): Prune erroneous values due to
4303 last change. (Bug#13152)
4304
4305 2013-01-19 Glenn Morris <rgm@gnu.org>
4306
4307 * progmodes/etags.el (tags-table-check-computed-list):
4308 Preserve point in tags buffer. (Bug#13412)
4309
4310 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4311
4312 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4313 Chong Yidong <cyd@gnu.org>
4314
4315 * image-mode.el (image-next-file, image-previous-file):
4316 New commands (Bug#8453).
4317 (image-mode-map): Bind them to n and p.
4318 (image-mode--images-in-directory): New helper function.
4319
4320 2013-01-19 Chong Yidong <cyd@gnu.org>
4321
4322 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4323 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4324 save and restore the old window configuration.
4325
4326 2013-01-18 Leo Liu <sdl.web@gmail.com>
4327
4328 * progmodes/js.el: Tweak autoload cookie for alias.
4329
4330 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4331
4332 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4333 buffer local, again. This was lost with the fix on 2013-01-12.
4334
4335 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
4336
4337 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4338 order to support several eshell buffers in parallel.
4339
4340 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4341
4342 * autorevert.el (auto-revert-use-notify): In the :set function, do
4343 not modify `kill-buffer-hook'.
4344 (auto-revert-notify-rm-watch):
4345 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4346 (auto-revert-notify-add-watch): Do not call
4347 `auto-revert-notify-rm-watch', but add it to a buffer local
4348 `kill-buffer-hook'.
4349
4350 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4351
4352 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4353 call to `eval' rather than a backquoted lambda.
4354
4355 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4356
4357 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4358 to return an explicit nil.
4359 (advice--remove-function): Change accordingly.
4360
4361 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4362 the use of nadvice.el.
4363
4364 * progmodes/which-func.el (which-function): Silence imenu errors
4365 (bug#13433).
4366
4367 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4368
4369 * progmodes/sql.el (sql-imenu-generic-expression):
4370 (sql-mode-font-lock-object-name): Match schema qualified names.
4371 (sql-connect): Use string keys.
4372 (sql-product-interactive): Wait for interpreter prompt.
4373 (sql-comint-oracle): Set process coding based on NLS_LANG.
4374
4375 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4376
4377 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4378 (sql-interactive-remove-continuation-prompt):
4379 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4380
4381 2013-01-14 Leo Liu <sdl.web@gmail.com>
4382
4383 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4384 (Bug#13420)
4385
4386 2013-01-14 Glenn Morris <rgm@gnu.org>
4387
4388 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4389 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4390
4391 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
4392
4393 * progmodes/python.el (python-nav-end-of-statement):
4394 Fix cornercase when handling multiline strings.
4395
4396 2013-01-13 Richard Stallman <rms@gnu.org>
4397
4398 * mail/sendmail.el (mail-position-on-field): Add doc string.
4399
4400 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4401 Get current message boundaries and pass them to
4402 message-forward-make-body-mime. Minor style changes.
4403
4404 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4405
4406 * cus-start.el (all): Avoid warnings about
4407 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4408
4409 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4410
4411 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4412
4413 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4414
4415 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4416 (jit-lock--debug-fontifying): New var.
4417 (jit-lock--debug-fontify): New function.
4418 * subr.el (condition-case-unless-debug): Don't prevent catching the
4419 error, just let the debbugger run.
4420 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4421 timer code and don't drop errors silently.
4422
4423 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4424
4425 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4426 `permanent-local' property.
4427 (auto-revert-notify-handler): Use `file-equal-p'.
4428
4429 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4430
4431 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4432 file notification by ACTION. For filtering by file name, compare
4433 only the non-directory part of the file name.
4434
4435 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4436
4437 * autorevert.el: Use cl-lib instead of cl.
4438
4439 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4440 (vc-bzr-checkin): Use it.
4441 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4442 will preserve match-data.
4443
4444 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4445
4446 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4447 (js--declaration-keyword-re): New var.
4448 (js--multi-line-declaration-indentation): New function.
4449 (js--proper-indentation): Use it.
4450
4451 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4452
4453 * calc/calc.el (calc-highlight-selections-with-faces)
4454 (calc-dispatch):
4455 * comint.el (comint-history-isearch-message):
4456 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4457 * ffap.el (ffap-string-at-point-region, ffap-next)
4458 (ffap-string-at-point, ffap-string-around)
4459 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4460 (ffap-literally):
4461 * font-lock.el (font-lock-keywords-alist)
4462 (font-lock-removed-keywords-alist):
4463 * help-mode.el (help-xref-symbol-regexp):
4464 * info.el (Info-find-emacs-command-nodes):
4465 * international/mule.el (add-to-coding-system-list):
4466 * isearch.el (isearch-message-function, isearch-fail-pos):
4467 * misearch.el (multi-isearch-next-buffer-function):
4468 * newcomment.el (comment-box):
4469 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4470 (pr-setting-database):
4471 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4472 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4473 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4474 (pike-font-lock-keywords-3):
4475 * progmodes/compile.el (compile):
4476 * progmodes/etags.el (tags-table-files)
4477 (tags-table-files-function, tags-included-tables-function):
4478 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4479 (gdb-restore-windows):
4480 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4481 (ps-n-up-filling-database):
4482 * server.el (server-buffer, server-log):
4483 * simple.el (newline, delete-backward-char, delete-forward-char)
4484 (minibuffer-history-isearch-message, kill-line, track-eol)
4485 (temporary-goal-column):
4486 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4487 (flyspell-default-deplacement-commands):
4488 * textmodes/ispell.el (ispell-accept-output):
4489 * textmodes/sgml-mode.el (html-tag-help):
4490 * vc/compare-w.el (compare-ignore-whitespace)
4491 (compare-ignore-case, compare-windows-dehighlight):
4492 * vc/diff.el (diff):
4493 * whitespace.el (whitespace-point)
4494 (whitespace-font-lock-refontify, whitespace-bob-marker)
4495 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4496
4497 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4498
4499 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4500 (auto-revert-notify-rm-watch): Ignore errors.
4501 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4502 inotify, and '(size last-write-time) for w32notify.
4503 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4504 watch fails - this is a fallback to the file modification check.
4505 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4506 (auto-revert-notify-event-action)
4507 (auto-revert-notify-event-file-name): New defuns.
4508 (auto-revert-notify-handler): Use them. Implement first
4509 plausibility checks.
4510 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4511
4512 2013-01-11 Julien Danjou <julien@danjou.info>
4513
4514 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4515 max are almost equal. Also return the correct value for V which is
4516 already between 0 and 1.
4517
4518 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4519
4520 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4521
4522 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4523
4524 * autorevert.el (auto-revert-notify-rm-watch)
4525 (auto-revert-notify-add-watch): Fix typos in w32notify function
4526 names.
4527
4528 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4529
4530 * autorevert.el (auto-revert-notify-enabled): Move up.
4531 (auto-revert-use-notify): New defcustom.
4532 (auto-revert-mode, global-auto-revert-mode)
4533 (auto-revert-notify-add-watch, auto-revert-handler)
4534 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4535 `auto-revert-notify-enabled'.
4536
4537 2013-01-10 Elias Pipping <pipping@exherbo.org>
4538
4539 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4540 * doc-view.el (doc-view-document->bitmap):
4541 Use doc-view-single-page-converter-function instead of
4542 single-page-converter arg; adjust callers.
4543
4544 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4545
4546 * progmodes/which-func.el (which-function): Understand Semantic's use
4547 of overlays in imenu--index-alist.
4548
4549 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4550
4551 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4552 (Man-man-k-use-anchor): New var.
4553 (Man-parse-man-k): New function.
4554 (Man-completion-table): Use it.
4555 (man): Flush the completion cache between uses.
4556
4557 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4558
4559 * autorevert.el: Add file watch support.
4560 (auto-revert-notify-enabled): New defconst.
4561 (auto-revert-notify-watch-descriptor-hash-list)
4562 (auto-revert-notify-watch-descriptor)
4563 (auto-revert-notify-modified-p): New defvars.
4564 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4565 (auto-revert-notify-handler): New defuns.
4566 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4567 when mode is disabled.
4568 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4569 (auto-revert-buffers): Add file watches for active buffers.
4570
4571 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4572
4573 * cus-start.el (toplevel): Only allow float values for
4574 scroll-up-aggressively and scroll-down-aggressively.
4575 Allow any number for line-spacing.
4576
4577 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4578
4579 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4580 (doc-view-pdf->png-converter-function): Use mupdf if available.
4581 (doc-view-djvu->png-converter-function)
4582 (doc-view-ps->png-converter-function): Remove.
4583 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4584 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4585 (doc-view-already-converted-p): Adjust accordingly.
4586 (doc-view-mode-p): Simplify.
4587 (doc-view-enlarge): Use setq-local.
4588 (doc-view-pdf->png-converter-ghostscript)
4589 (doc-view-djvu->png-converter-ddjvu)
4590 (doc-view-pdf->png-converter-mupdf): Rework to call
4591 doc-view-start-process directly.
4592 (doc-view-pdf/ps->png): Simplify accordingly.
4593 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4594 (doc-view-document->bitmap): Rename from doc-view-document->png.
4595 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4596 (doc-view-set-slice-from-bounding-box): Fix completion table.
4597 (doc-view-mode): Use add-hook for after-revert-hook.
4598
4599 2013-01-10 Glenn Morris <rgm@gnu.org>
4600
4601 * emacs-lisp/authors.el (authors-ignored-files)
4602 (authors-valid-file-names, authors-renamed-files-alist):
4603 Add some more entries.
4604
4605 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4606
4607 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4608 `t' pseudo-window entry.
4609
4610 2013-01-10 Alan Mackenzie <acm@muc.de>
4611
4612 Fix bugs in the c-parse-state mechanism. Reuse some markers
4613 instead of continually generating new ones.
4614
4615 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4616 (c-state-old-cpp-end-marker): New variables.
4617 (c-append-lower-brace-pair-to-state-cache): Start a backward
4618 search for "}" definitively outside CPP constructs.
4619 (c-remove-stale-state-cache): Inform the caller of a need to
4620 search back for a brace pair in certain circumstances.
4621 (c-state-maybe-marker): New macro.
4622 (c-parse-state): Reuse markers when appropriate.
4623
4624 2013-01-10 Glenn Morris <rgm@gnu.org>
4625
4626 * simple.el (execute-extended-command): Doc fix.
4627 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4628
4629 2013-01-10 Chong Yidong <cyd@gnu.org>
4630
4631 * faces.el (read-face-name): Doc fix.
4632
4633 2013-01-10 Roland Winkler <winkler@gnu.org>
4634
4635 * emacs-lisp/crm.el: Allow any regexp for separators.
4636 (crm-default-separator): All spaces around the default comma separator.
4637 (crm--completion-command): New macro.
4638 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4639 (crm-complete-and-exit): Handle non-single-char separators.
4640
4641 2013-01-09 Elias Pipping <pipping@lavabit.com>
4642
4643 * doc-view.el: Add support for DjVu (bug#13164).
4644 (doc-view-djvu->png-converter-function): New config var.
4645 (doc-view-single-page-converter-function, doc-view--image-type)
4646 (doc-view--image-file-extension): New vars.
4647 (doc-view-mode): Initialize them.
4648 (doc-view-goto-page): Use them.
4649 (doc-view-mode-p): Add support for ddjvu.
4650 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4651 (doc-view-set-up-single-converter): New funs.
4652 (doc-view-pdf/ps->png): Extend for djvu.
4653 (doc-view-document->png): Rename from doc-view-pdf->png.
4654 (doc-view-convert-current-doc): Handle djvu.
4655 (doc-view-insert-image, doc-view-display)
4656 (doc-view-already-converted-p): Don't hardcode png.
4657 (doc-view-set-doc-type): Recognize djvu docs.
4658
4659 2013-01-09 Elias Pipping <pipping@lavabit.com>
4660
4661 * doc-view.el: Add support for mupdf converter (bug#13164).
4662 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4663 (doc-view-ps->png-converter-function): New config vars.
4664 (doc-view-pdf->png-converter-ghostscript)
4665 (doc-view-ps->png-converter-ghostscript)
4666 (doc-view-pdf->png-converter-mupdf): New functions.
4667 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4668
4669 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
4670
4671 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4672 first in session cache: When `tramp-own-remote-path' is in
4673 `tramp-remote-path', the remote path is only set in the session
4674 cache.
4675
4676 2013-01-09 Glenn Morris <rgm@gnu.org>
4677
4678 * emacs-lisp/trace.el (trace-function-foreground)
4679 (trace-function-background): Doc fix.
4680
4681 2013-01-09 Juri Linkov <juri@jurta.org>
4682
4683 * international/mule-cmds.el (read-char-by-name): Move let-binding
4684 of completion-ignore-case around completing-read to fix regression
4685 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4686 `string-match-p' using the nil value of `case-fold-search' and
4687 `completion-ignore-case' in `completion-pcm--all-completions'.
4688 (Bug#12615).
4689
4690 2013-01-09 Glenn Morris <rgm@gnu.org>
4691
4692 * progmodes/compile.el (compilation-parse-errors):
4693 Fix typo. (Bug#13369)
4694
4695 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4696
4697 * comint.el (comint-send-input): Check size of buffer before
4698 waiting for process output, in case already accepted. (Bug#13290)
4699
4700 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4701
4702 Spelling fixes.
4703 * net/tramp-adb.el (tramp-adb-get-toolbox):
4704 Fix misspelling of 'unknown'.
4705
4706 2013-01-08 Juri Linkov <juri@jurta.org>
4707
4708 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4709 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4710 Use underline style wave on terminals that support it. (Bug#13000)
4711
4712 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4713
4714 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4715 the predicate returns nil.
4716
4717 * simple.el: Use lexical-binding.
4718 (primitive-undo): Use pcase.
4719 (minibuffer-history-isearch-push-state): Use a closure.
4720
4721 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4722
4723 * simple.el (primitive-undo): Move from undo.c.
4724
4725 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4726
4727 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4728 (cvs-mode-remove-handled): Use it (bug#13380).
4729
4730 * emacs-lisp/nadvice.el (advice--tweak): New function.
4731 (advice--remove-function, advice--subst-main): Use it.
4732
4733 * emacs-lisp/advice.el: Update commentary.
4734
4735 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4736
4737 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4738 Remove spurious entry.
4739
4740 2013-01-08 Glenn Morris <rgm@gnu.org>
4741
4742 * net/tramp.el (tramp-default-host-alist): Add :version.
4743
4744 2013-01-08 Juri Linkov <juri@jurta.org>
4745
4746 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4747 single completion. (Bug#12456)
4748 (info--manual-names): Expand node completions into an explicit list
4749 before appending it to another list. Filter out internal buffers
4750 with the leading space in the buffer name. (Bug#10771)
4751
4752 2013-01-08 Juri Linkov <juri@jurta.org>
4753
4754 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4755 that defaults to the Top node.
4756 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4757 the short format (FILENAME) goes to the Top node.
4758 (Info-build-node-completions): Rename arg `file' to `filename'.
4759 (Bug#13365)
4760
4761 2013-01-07 Bastien Guerry <bzg@gnu.org>
4762
4763 * menu-bar.el (menu-bar-search-documentation-menu):
4764 Use `apropos-user-option' and fix the help message.
4765
4766 2013-01-07 Bastien Guerry <bzg@gnu.org>
4767
4768 * apropos.el (apropos-do-all): Update docstring.
4769 (apropos-user-option-button): New face.
4770 (apropos-user-option): Rename from `apropos-variable' and update
4771 docstring.
4772 (apropos-variable): Rewrite, now show all variables by default.
4773 (apropos-print): Mention "User option" instead of "Variable" when
4774 printing doc for user options. (Bug#13276)
4775
4776 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
4777
4778 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4779 Handle filename correctly, when parsing "source -> target" symlink
4780 output.
4781 (tramp-adb-handle-set-file-times): New defun.
4782
4783 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4784
4785 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4786 advice list when the interactive-spec of ad-Advice-* changes.
4787
4788 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4789
4790 * wid-edit.el (widget-default-get): Work for inlined elements.
4791 (Bug#12670)
4792
4793 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4794
4795 * net/tramp.el (tramp-default-host-alist): New defcustom.
4796 (tramp-find-host): Use it.
4797 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4798 `eshell-directory-change-hook'.
4799
4800 * net/tramp-adb.el (top): Add adb specific entry in
4801 `tramp-default-host-alist'.
4802 (tramp-adb-file-name-host): Remove function.
4803 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4804 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4805
4806 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4807
4808 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
4809
4810 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4811
4812 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4813
4814 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4815 consist of more than one digit.
4816 (tramp-adb-file-name-handler-alist):
4817 Use `tramp-handle-file-exists-p' consistently.
4818 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4819 (tramp-adb-handle-file-exists-p): Remove function.
4820 (tramp-adb-file-name-host): New defun.
4821 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4822 Use it.
4823 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4824
4825 2013-01-06 Chong Yidong <cyd@gnu.org>
4826
4827 * vc/vc.el (vc-next-action): Detect buffer modifications
4828 conflicting with locking VCS operation (Bug#11490).
4829
4830 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4831
4832 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4833
4834 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4835 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4836
4837 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
4838
4839 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4840 parsing of ls output using regular expression (handle filenames
4841 with spaces). Use virtual device number.
4842 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4843 cleanup).
4844
4845 2013-01-04 Daiki Ueno <ueno@gnu.org>
4846
4847 * epg.el: Silence byte-compiler warnings.
4848 (epg--start): Use delete-char instead of delete-backward-char.
4849 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4850
4851 2013-01-04 Daiki Ueno <ueno@gnu.org>
4852
4853 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4854 Suggested by Eli Zaretskii <eliz@gnu.org>.
4855
4856 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4857
4858 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4859 non-negative integers. Otherwise, the default values are used.
4860 (tramp-convert-file-attributes): Convert uid and gid to integers.
4861
4862 2013-01-04 Glenn Morris <rgm@gnu.org>
4863
4864 * term.el (term-handle-colors-array): Ensure face attributes
4865 are fully specified, not nil. (Bug#13337)
4866
4867 * term.el (term-default-fg-color, term-default-bg-color):
4868 Fix custom type.
4869
4870 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4871 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4872 rather than 'jka-compr being loaded. (Bug#13338)
4873
4874 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4875
4876 * icomplete.el (icomplete-completions):
4877 Honor icomplete-prospects-height once more following
4878 2012-11-29 changes. (Bug#13224)
4879
4880 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4881
4882 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4883 of called-interactively-p as well (bug#13237).
4884
4885 * view.el (view--enable, view--disable): Rename from view-mode-enable
4886 and view-mode-disable and assume it's called from view-mode.
4887 (view-mode-enable, view-mode-disable): Redefine as obsolete
4888 compatibility layer above view-mode.
4889 (view-mode-enter): Call `view-mode'.
4890
4891 * files.el (after-find-file): Call `view-mode'.
4892
4893 * doc-view.el (doc-view-scale-internally): New var.
4894 (doc-view-enlarge, doc-view-insert-image): Obey it.
4895
4896 2013-01-03 Daiki Ueno <ueno@gnu.org>
4897
4898 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4899 exist. (Bug#13344)
4900
4901 2013-01-03 Glenn Morris <rgm@gnu.org>
4902
4903 * mail/rmail.el (rmail-set-header-1): Ignore case.
4904 Handle multi-line headers. (Bug#13330)
4905
4906 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4907 Handle paragraph starting at beginning of buffer.
4908
4909 * subr.el (eval-after-load): Don't purecopy the form, so that it
4910 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4911
4912 * emacs-lisp/byte-run.el (defun): Place cl declarations
4913 after any interactive spec. (Bug#13265)
4914
4915 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4916
4917 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4918 defun. Don't check for DECL if DOCSTRING isn't a string.
4919 (defun): Likewise.
4920
4921 2013-01-02 Glenn Morris <rgm@gnu.org>
4922
4923 * eshell/em-cmpl.el (eshell-pcomplete):
4924 More thoroughly imitate pcomplete. (Bug#13293)
4925
4926 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4927 Return nil for empty path elements. (Bug#13296)
4928
4929 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
4930
4931 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4932 order to improve efficiency (Based on Daniel Colascione's
4933 <dancol@dancol.org> patch). (Bug#13182)
4934
4935 2013-01-02 Glenn Morris <rgm@gnu.org>
4936
4937 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4938
4939 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4940
4941 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4942 neither DOCSTRING nor DECL was given. (Bug#13316)
4943
4944 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4945
4946 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4947 `error' call.
4948 (tramp-do-copy-or-rename-file): Ignore errors when calling
4949 `set-file-extended-attributes'.
4950
4951 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4952 Add handler for `file-acl'.
4953 (tramp-smb-handle-file-acl): New defun.
4954
4955 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4956
4957 * calc/README: Mention ISO 8601 week-numbering dates.
4958
4959 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4960
4961 * view.el (view-mode-enable): New argument run-view-mode-hook.
4962 Run view-mode-hook only when it's non-nil (Bug#13315).
4963 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4964 argument t.
4965
4966 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
4967
4968 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4969 (No device connected, invalid device name). (Bug #13299)
4970
4971 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4972
4973 * window.el (window-resizable--p): Rename to window-resizable-p.
4974 (window-resize-no-error): New function.
4975
4976 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4977 broken in fix from 2012-12-28.
4978
4979 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4980
4981 * subr.el (special-form-p): Don't signal errors on undef aliases.
4982
4983 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4984
4985 * calc/calc-forms.el (math-parse-date): Try using
4986 `math-parse-iso-date' when it looks like it might be needed.
4987 Allow times of 24:00.
4988 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4989 of 24:00.
4990
4991 2012-12-30 Glenn Morris <rgm@gnu.org>
4992
4993 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4994 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4995 (rmail-summary-displayed, rmail-summary): Declare.
4996 (mairix-rmail-display): Just require rmail.
4997
4998 2012-12-30 Chong Yidong <cyd@gnu.org>
4999
5000 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
5001 check for the tarball contents.
5002
5003 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
5004
5005 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
5006 tarfile content listings (Bug#13136).
5007
5008 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
5009
5010 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5011 Insert the undecoded text of the message being forwarded. (Bug#9521)
5012
5013 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
5014
5015 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
5016 integers, if they are real numbers. (Bug#13282)
5017
5018 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
5019 Return `t' on success.
5020
5021 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5022 Add handler for `set-file-selinux-context'.
5023
5024 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
5025
5026 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
5027 (tramp-sh-handle-set-file-acl): Return `t' on success.
5028
5029 2012-12-29 Eli Zaretskii <eliz@gnu.org>
5030
5031 * files.el (backup-buffer-copy, basic-save-buffer-2):
5032 If set-file-extended-attributes fails, fall back on set-file-modes
5033 instead of signaling an error. (Bug#13298)
5034 (basic-save-buffer): Likewise.
5035
5036 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5037
5038 * progmodes/python.el: Support other commands triggering
5039 python-indent-line so indentation cycling continues to work.
5040 (python-indent-trigger-commands): New defcustom.
5041 (python-indent-line): Use it.
5042
5043 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5044
5045 * progmodes/python.el (python-shell-send-region): Add blank lines
5046 for non sent code so backtraces remain correct.
5047
5048 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5049
5050 * progmodes/python.el: Remove cl dependency.
5051 (python-syntax-count-quotes): Replace incf call.
5052 (python-fill-string): Replace setf call.
5053
5054 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
5055
5056 * info.el (info-other-window): New arg, for consistency with info.
5057
5058 2012-12-28 Martin Rudalics <rudalics@gmx.at>
5059
5060 * mail/rmail.el (rmail-maybe-display-summary):
5061 Rewrite (Bug#13066).
5062
5063 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
5064
5065 * epg.el (epg--start): Modify process-environment locally.
5066
5067 2012-12-28 Daiki Ueno <ueno@gnu.org>
5068
5069 * epg.el: Support pinentry-curses.
5070 Suggested by Werner Koch in
5071 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
5072 (epg-agent-file, epg-agent-mtime): New variable.
5073 (epg--start): Record the modified time of gpg-agent socket file,
5074 to restore Emacs frame after pinentry-curses termination.
5075 (epg-wait-for-completion): Restore Emacs frame here.
5076
5077 2012-12-27 Juri Linkov <juri@jurta.org>
5078
5079 * info.el (Info-file-completions): New variable.
5080 (Info-read-node-name-1): Complete node names in the Info file
5081 when a file name is given. Call `Info-build-node-completions'
5082 with a file name.
5083 (Info-build-node-completions): Add new arg `file'. When it is
5084 non-nil, visit it in a temporary buffer and cache its completions in
5085 `Info-current-file-completions'. Move most of the function body to
5086 `Info-build-node-completions-1'.
5087 (Info-build-node-completions-1): New function with the body from
5088 `Info-build-node-completions'. (Bug#12456)
5089
5090 2012-12-27 Juri Linkov <juri@jurta.org>
5091
5092 * frame.el (frame-maximization-style): Remove user option.
5093 (cycle-frame-maximized): Remove function.
5094 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
5095 (toggle-frame-fullscreen): New command bound to <f11> instead of
5096 `toggle-frame-maximized'.
5097 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
5098
5099 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
5100
5101 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5102
5103 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5104 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5105 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5106 for `file-accessible-directory-p'. (Bug#13275)
5107
5108 2012-12-27 Sam Steingold <sds@gnu.org>
5109
5110 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5111 continuations, see <http://stackoverflow.com/questions/3582436>.
5112
5113 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
5114
5115 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5116 "module" and "def" to have indentation before them.
5117 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5118
5119 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5120
5121 2012-12-27 Alan Mackenzie <acm@muc.de>
5122
5123 Speed up fontification where there's large brace blocks.
5124 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5125 to a call of c-beginning-of-decl-1.
5126
5127 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5128
5129 * comint.el (comint-adjust-window-point): New function.
5130 (comint-postoutput-scroll-to-bottom):
5131 Call comint-adjust-window-point (Bug#13248).
5132
5133 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
5134
5135 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5136 Rakefile regexp.
5137 (auto-mode-alist): Associate .gemspec files with ruby-mode
5138 (https://bugs.ruby-lang.org/issues/5453).
5139
5140 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
5141
5142 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5143 Suppress coloring, if possible (required for BusyBox based systems like
5144 CyanogenMod).
5145 (tramp-adb-handle-file-attributes)
5146 (tramp-adb-handle-insert-directory)
5147 (tramp-adb-handle-file-name-all-completions): Use it.
5148 (tramp-adb-get-toolbox): New defun. Check for remote shell
5149 implementation (BusyBox or Toolbox).
5150
5151 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5152
5153 * startup.el (initial-buffer-choice): Allow function as value
5154 (Bug#13251).
5155 (command-line-1): Handle case where initial-buffer-choice
5156 specifies a function.
5157 * server.el (server-execute): Handle case where
5158 initial-buffer-choice specifies a function.
5159
5160 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5161
5162 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5163 its own function.
5164 (smtpmail-try-auth-methods): Forget the user name/password if the
5165 login is unsuccessful (bug#12424).
5166
5167 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5168
5169 * notifications.el (notifications-notify): Protect body with
5170 `with-demoted-errors'.
5171
5172 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5173 Check properties of remote device. Restart connection, if there is a
5174 change.
5175
5176 2012-12-21 Chong Yidong <cyd@gnu.org>
5177
5178 * sort.el (sort-subr): Doc fix (Bug#13056).
5179
5180 2012-12-21 Bastien Guerry <bzg@gnu.org>
5181
5182 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5183
5184 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5185
5186 * simple.el (process-file): Overwrite stderr file, if exists.
5187
5188 2012-12-21 Daiki Ueno <ueno@gnu.org>
5189
5190 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5191 (epg-error): Set `error-message' property.
5192
5193 2012-12-21 Chong Yidong <cyd@gnu.org>
5194
5195 * international/mule-cmds.el (read-char-by-name): Signal an error
5196 if the user does not supply a valid character (Bug#13177).
5197
5198 * simple.el (transpose-subr-1): Preserve marker positions by
5199 changing the insertion sequence (Bug#13122).
5200
5201 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5202
5203 * simple.el (kill-region): Deactivate mark even for empty regions
5204 (Bug#13169).
5205
5206 2012-12-21 Chong Yidong <cyd@gnu.org>
5207
5208 * help-fns.el (describe-variable): Make sure we get the right
5209 buffer name (Bug#13105). Suggested by Kelly Dean.
5210
5211 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5212
5213 * comint.el (comint-redirect-previous-input-string): New variable.
5214 (comint-redirect-setup, comint-redirect-cleanup)
5215 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5216 (comint-redirect-preoutput-filter): Fix verbose message.
5217
5218 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5219
5220 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5221 is too long for Tramp. See discussion in
5222 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5223
5224 * progmodes/compile.el (compilation-start): Remove line escape
5225 template.
5226
5227 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5228
5229 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5230 Adjust comment.
5231
5232 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5233
5234 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5235 following non-comment text (bug#13207).
5236 (lm-header-multiline): Continuation lines need to be indented more than
5237 the first line.
5238 (lm-homepage): New function.
5239 (lm-with-file): Don't be confused if narrowing is in effect.
5240
5241 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5242
5243 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5244 very beginning of a hunk (e.g. killing the first line).
5245
5246 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5247
5248 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5249 and text properties from returned ACL string.
5250 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5251 for "setfacl" command.
5252
5253 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5254
5255 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5256 `tramp-cleanup-this-connection', when the process has died.
5257 (Bug#13151)
5258
5259 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5260
5261 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5262
5263 2012-12-17 Kevin Ryde <user42@zip.com.au>
5264
5265 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5266
5267 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5268
5269 Add support for preserving ACL entries of files.
5270
5271 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5272 `set-file-acl' handlers.
5273
5274 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5275 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5276
5277 * net/tramp-compat.el (tramp-compat-copy-file):
5278 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5279
5280 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5281 Add `file-acl' and `set-file-acl' handlers.
5282 (tramp-gvfs-handle-copy-file):
5283 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5284 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5285 New defuns.
5286
5287 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5288 Add `file-acl' and `set-file-acl' handlers.
5289 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5290 (tramp-sh-handle-set-file-acl): New defuns.
5291 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5292 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5293
5294 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5295 Add `file-acl' and `set-file-acl' handlers.
5296 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5297
5298 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5299
5300 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5301 use pop-to-buffer with NORECORD argument t. As buffer name, use
5302 *Metahelp* with a leading space (Bug#13190).
5303
5304 2012-12-16 Romain Francoise <romain@orebokech.com>
5305
5306 * files.el (file-extended-attributes)
5307 (set-file-extended-attributes): New functions.
5308 (backup-buffer): Use them to handle both SELinux context and ACL
5309 entries.
5310 (backup-buffer-copy): Work with an alist of extended attributes,
5311 rather than an SELinux context.
5312 (basic-save-buffer-2): Ditto.
5313
5314 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5315
5316 * battery.el (battery-bsd-apm): New function.
5317
5318 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5319
5320 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5321 standard date formats.
5322
5323 2012-12-15 Juri Linkov <juri@jurta.org>
5324
5325 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5326 `isearch-insert-char-by-name'.
5327 (with-isearch-suspended): New defmacro with body mostly from
5328 `isearch-edit-string' except the part that sets
5329 `isearch-new-string' and `isearch-new-message'.
5330 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5331 body that sets `isearch-new-string' and `isearch-new-message'.
5332 (isearch-insert-char-by-name): New command.
5333 * international/mule-cmds.el (read-char-by-name): Let-bind
5334 `enable-recursive-minibuffers' to t.
5335 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5336
5337 2012-12-15 Juri Linkov <juri@jurta.org>
5338
5339 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5340 (Bug#13175)
5341
5342 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5343
5344 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5345 the prompt. (Bug#13045)
5346
5347 2012-12-14 Glenn Morris <rgm@gnu.org>
5348
5349 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5350 Try to include filename in non-bytecomp warning. (Bug#13132)
5351
5352 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5353
5354 Fix permissions bugs with setgid directories etc. (Bug#13125)
5355 * files.el (backup-buffer): Don't rely on 9th output of
5356 file-attributes, as it's now a placeholder. Instead, use the new
5357 optional arg of file-ownership-preserved-p.
5358 (file-ownership-preserved-p): New optional arg GROUP.
5359 Fix mishandling of setuid directories that would cause this
5360 function to return t when it should have returned nil.
5361 Document what happens if the file does not exist, and when
5362 it's not known whether the ownership will be preserved.
5363 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5364 Likewise.
5365 (tramp-get-local-gid): Use group-gid for integer, as that's
5366 faster and more reliable.
5367
5368 2012-12-14 Julien Danjou <julien@danjou.info>
5369
5370 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5371 Update keywords list, data type and PL/pgSQL.
5372
5373 2012-12-14 Dave Abrahams <dave@boostpro.com>
5374
5375 * vc/ediff-util.el (ediff-buffer-type): New function.
5376 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5377 rather than taking it as as argument.
5378 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5379
5380 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5381
5382 * json.el: Add pretty-print option (bug#12634).
5383 (json-encoding-separator, json-encoding-default-indentation)
5384 (json--encoding-current-indentation, json-encoding-pretty-print)
5385 (json-encoding-lisp-style-closings): New vars.
5386 (json--with-indentation): New macro.
5387 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5388 (json-encode-array): Use it to obey json-encoding-pretty-print.
5389 (json-pretty-print-buffer, json-pretty-print): New commands.
5390
5391 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5392
5393 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5394 Extract `ruby-syntax-propertize-expansions'.
5395 (ruby-syntax-propertize-expansions): Only change syntax on
5396 certain string delimiters, to punctuation. This way the common
5397 functions like forward-word and thing-at-point still work.
5398 (ruby-match-expression-expansion): Improve readability.
5399 (ruby-block-contains-point): New function.
5400 (ruby-add-log-current-method): Handle several edge cases.
5401
5402 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5403
5404 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5405 unload-feature finishes even when aborting an ongoing edebug session.
5406 Also, do not worry about edebug-mode, unload-feature takes care of it.
5407
5408 2012-12-13 Andreas Schwab <schwab@suse.de>
5409
5410 * net/tls.el (tls-program): Update customize type.
5411
5412 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5413
5414 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5415 (edebug-setup-hook, cl-read-load-hooks): Use it.
5416 (edebug-unload-function): New function. (Bug#13163)
5417
5418 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5419
5420 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5421 Otherwise, there could be errors in autoloading. (Bug#13151)
5422
5423 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
5424
5425 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5426 sequences.
5427
5428 2012-12-13 Alan Mackenzie <acm@muc.de>
5429
5430 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5431 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5432 around `forward-comment' not recognizing ^M as whitespace.
5433
5434 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
5435
5436 * progmodes/python.el (python-skeleton-class)
5437 (python-skeleton-def): Do not add space after defun name.
5438
5439 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5440
5441 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5442 (cl--symbol-function): Remove (now that funbound is like nil).
5443
5444 2012-12-12 Glenn Morris <rgm@gnu.org>
5445
5446 * button.el (button--area-button-p): Fix typo.
5447
5448 2012-12-12 Sam Steingold <sds@gnu.org>
5449
5450 * frame.el (frame-maximization-style): New user option.
5451 (toggle-frame-maximized): Toggle frame maximization according to
5452 `frame-maximization-style', bound to <f11>.
5453 (cycle-frame-maximized): Cycle between all maximization styles and
5454 non-maximized frame, bound to shift-<f11>.
5455
5456 2012-12-12 David Cadé <codename68@gmail.com>
5457
5458 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5459
5460 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5461
5462 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5463 (eieio-override-prin1): Don't quote kewords and booleans.
5464 (object-write) <eieio-default-superclass>: Don't put closing parens
5465 on new line, avoid needless empty lines, align values that are objects
5466 with the slot keyword (instead of beginning on the same line).
5467 (eieio-list-prin1): Align value with slot keyword; increase
5468 eieio-print-depth before printing members of the list.
5469
5470 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5471
5472 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5473 a display text-property.
5474 (report-emacs-bug-hook): Don't bother deleting it any more.
5475
5476 * hilit-chg.el (highlight-save-buffer-state): Delete.
5477 Use with-silent-modifications instead.
5478 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5479
5480 * button.el: Handle buttons in display text-properties.
5481 (button--area-button-p, button--area-button-string):
5482 Use (STRING . STRING-POS) representation instead of just STRING.
5483
5484 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5485
5486 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5487 subdirectory be skipped.
5488
5489 2012-12-11 Glenn Morris <rgm@gnu.org>
5490
5491 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5492
5493 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5494 Treat preprocessor lines embedded in continuations like comments.
5495 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5496
5497 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5498
5499 * calc/calc.el (calc-standard-date-formats): Add more date
5500 formats.
5501 * calc/calc-forms.el (math-parse-iso-date): New function.
5502 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5503 (math-parse-iso-date-validate): Add extra error checking.
5504 (calc-date-notation): Add ability to access new date formats.
5505
5506 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5507
5508 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5509 font-lock as well as when there's no text-property.
5510
5511 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5512
5513 * hi-lock.el: Refine the choice of default face.
5514 (hi-lock-keyword->face): New function. Use it wherever we used
5515 cadadadr instead.
5516 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5517 (hi-lock--last-face): Remove var.
5518 (hi-lock--unused-faces): New var to replace it.
5519 (hi-lock-read-face-name): Use/maintain it.
5520 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5521 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5522 if it has another face.
5523
5524 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5525
5526 * subr.el (w32notify-handle-event): New function.
5527 (inotify-handle-event): Doc fix.
5528
5529 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5530
5531 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5532
5533 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5534
5535 * simple.el (just-one-space): Doc fix.
5536
5537 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5538
5539 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5540
5541 2012-12-10 Le Wang <l26wang@gmail.com>
5542
5543 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5544 narrowed buffer (bug#12361).
5545
5546 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5547
5548 * vc/vc-hooks.el (vc-state): Doc fix.
5549
5550 2012-12-10 Glenn Morris <rgm@gnu.org>
5551
5552 * mail/rmail.el (rmail-maybe-display-summary):
5553 Preserve buffer, in case select-window changes it. (Bug#13066)
5554
5555 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5556
5557 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5558 cl-load-hook where they belong.
5559
5560 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5561
5562 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5563
5564 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5565
5566 Parallelize byte compilation on MS-Windows.
5567 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5568 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5569 (WINS_BASIC): Define as concatenation of the above.
5570 (compile): Subdivide into 4 separate and independent jobs that can
5571 be run in parallel.
5572 (compile0-CMD, compile0-SH): New targets for compiling
5573 COMPILE_FIRST files, which are prerequisites for the rest of the
5574 byte-compilation.
5575 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5576 New targets for parallel compilation with cmd.exe.
5577 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5578 compiling under a Unixy shell.
5579
5580 2012-12-09 Chong Yidong <cyd@gnu.org>
5581
5582 * simple.el (set-mark-default-inactive): Delete this
5583 accidentally-introduced option.
5584 (set-mark-command, exchange-point-and-mark): Remove calls.
5585
5586 2012-12-09 Glenn Morris <rgm@gnu.org>
5587
5588 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5589 Respect a defcustom's :set function, if appropriate. (Bug#109)
5590 (eval-defun): Doc fix.
5591
5592 2012-12-08 Juri Linkov <juri@jurta.org>
5593
5594 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5595 (Info-fontify-node, Info-bookmark-make-record): Remove the
5596 file extension from Info-current-file (Bug#13016).
5597
5598 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5599
5600 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5601 point, still provide some default.
5602 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5603 names, since we don't use it right now. Actually return the list.
5604 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5605
5606 2012-12-07 Chong Yidong <cyd@gnu.org>
5607
5608 * novice.el (disabled-command-function): Remove a spurious help
5609 xref (Bug#13043). Suggested by Kelly Dean.
5610
5611 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5612 syntax is specified (Bug#13025).
5613
5614 * info.el (Info-set-mode-line): Remove the file extension from
5615 Info-current-file if there is one (Bug#13016).
5616
5617 2012-12-07 Glenn Morris <rgm@gnu.org>
5618
5619 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5620 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5621 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5622 and rmail-mime-decoded. (Bug#9841)
5623
5624 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5625 (batch-unrmail, unrmail): Doc fixes.
5626 (unrmail): Respect unrmail-mbox-format.
5627 * mail/rmail.el (rmail-mbox-format): New option.
5628 (rmail-show-message-1): Respect rmail-mbox-format.
5629
5630 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5631
5632 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5633
5634 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5635
5636 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5637 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5638 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5639 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5640 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5641 (cl-progv): Don't rely on dynamic scoping to find the body.
5642 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5643 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5644 (cl-declaim): Use backquotes.
5645 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5646 Use "cl--" prefix for the object's tag.
5647
5648 * ses.el: Use advice-add/remove.
5649 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5650 (copy-region-as-kill, yank): Use advice-add.
5651 (ses-unload-function): Use advice-remove.
5652
5653 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5654
5655 * button.el: Make them work in header-lines (bug#12817).
5656 (button-map): Add bindings for header-line and mode-line use.
5657 (button-get, button-put, button-label): `button' may now be a string.
5658 (button-activate): Don't make it a defsubst.
5659 (button--area-button-p, button--area-button-string): New functions.
5660 (make-text-button): Fix the return value when `beg' was a string.
5661 (push-button): Handle the mode-line case.
5662
5663 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5666 (sql-signum): Remove. Use `cl-signum' instead.
5667 (sql-read-passwd): Remove; use read-passwd instread.
5668 (sql-get-login-ext): Use read-string.
5669 (sql-get-login): Use dolist and pcase.
5670 (sql--completion-table): Rename from sql-try-completion.
5671 Use complete-with-action.
5672 (sql-mode): Don't change abbrev-all-caps globally.
5673 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5674 (sql-postgres-completion-object): Initialize vars in their `let'.
5675 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5676 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5677 (sql-comint-interbase): Use a single append, without setq.
5678 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5679
5680 * hi-lock.el: Rework the default face and the serialize regexp code.
5681 (hi-lock--auto-select-face-defaults): Remove.
5682 (hi-lock-string-serialize-serial): Remove.
5683 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5684 make weak.
5685 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5686 equal string.
5687 (hi-lock-set-pattern): Adjust accordingly.
5688 (hi-lock--regexps-at-point): Simplify accordingly.
5689 (hi-lock--auto-select-face-defaults): Remove.
5690 (hi-lock--last-face): New var to replace it.
5691 (hi-lock-read-face-name): Rewrite (bug#11095).
5692 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5693
5694 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5695
5696 * net/tramp.el (tramp-replace-environment-variables):
5697 Hide compiler warning.
5698 (tramp-file-name-for-operation): Remove `executable-find',
5699 `start-process', `call-process' and `call-process-region'.
5700
5701 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5702
5703 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5704 compatibility.
5705
5706 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5707
5708 2012-12-06 Chong Yidong <cyd@gnu.org>
5709
5710 * ffap.el (ffap-replace-file-component): Fix typo.
5711
5712 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5713
5714 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5715 fix open-paren-like token test (bug#12785).
5716
5717 2012-12-06 Glenn Morris <rgm@gnu.org>
5718
5719 * mail/rmailsum.el (rmail-new-summary): Tweak for
5720 rmail-maybe-display-summary changing buffer. (Bug#13066)
5721
5722 2012-12-06 Juri Linkov <juri@jurta.org>
5723
5724 * info.el (Info-fontify-node): Don't hide the last newline.
5725 (Bug#12272)
5726
5727 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5728
5729 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5730 so as to enable message-read-from-minibuffer to expand mail aliases.
5731
5732 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5733
5734 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5735 the `intangible' property.
5736 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5737
5738 2012-12-05 Deniz Dogan <deniz@dogan.se>
5739
5740 * net/rcirc.el (rcirc-urls): Update documentation.
5741 (rcirc-condition-filter): New function.
5742 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5743 and exclude consecutive duplicate URLs (Bug#6082).
5744
5745 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5746
5747 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5748 Check return code of copy command.
5749
5750 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5751 Use group `tramp'. Add version.
5752
5753 2012-12-05 Chong Yidong <cyd@gnu.org>
5754
5755 * ffap.el (ffap-url-regexp): Don't require matching at front of
5756 string (Bug#4952).
5757 (ffap-url-p): If only a substring matches, return that.
5758 (ffap-url-at-point): Use the return value of ffap-url-p.
5759 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5760 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5761 (ffap-guess-file-name-at-point): Likewise.
5762 (ffap-replace-file-component): Fix typo.
5763
5764 * info.el (info-display-manual): Add existing Info buffers, whose
5765 files may not be in Info-directory-list, to the completion.
5766 (info--manual-names): New helper function.
5767
5768 2012-12-05 Glenn Morris <rgm@gnu.org>
5769
5770 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5771 New functions, for detecting and resolving conflicts. (Bug#10709)
5772
5773 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5774
5775 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5776 (hi-lock-auto-select-face-defaults): New buffer local variable.
5777 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5778 (hi-lock-unface-buffer): Prompt user with useful defaults.
5779 With prefix arg, unhighlight all hi-lock patterns in buffer.
5780
5781 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5782
5783 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5784
5785 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5786
5787 * Makefile.in (TRAMP_SRC):
5788 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5789
5790 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5791
5792 * net/tramp-adb.el: New package.
5793
5794 2012-12-04 Chong Yidong <cyd@gnu.org>
5795
5796 * terminal.el: Move to obsolete/.
5797
5798 * longlines.el: Move to obsolete/.
5799
5800 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5801 Remove code referring to longlines mode.
5802
5803 2012-12-03 Juri Linkov <juri@jurta.org>
5804
5805 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5806
5807 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5808
5809 * textmodes/ispell.el (ispell-init-process)
5810 (ispell-start-process, ispell-internal-change-dictionary):
5811 Make sure personal dictionary name is expanded after initial
5812 `default-directory' value. Use expanded strings for
5813 keep/restart checks and for value (Bug#13019).
5814
5815 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5816
5817 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5818
5819 2012-12-03 Leo Liu <sdl.web@gmail.com>
5820
5821 * files.el (dir-locals-read-from-file): Check file non-empty
5822 before reading. (Bug#13038)
5823
5824 2012-12-03 Glenn Morris <rgm@gnu.org>
5825
5826 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5827 Remove any version extension before checking filename. (Bug#13006)
5828 (jka-compr-compression-info-list): Belated :version bump.
5829
5830 2012-12-03 Chong Yidong <cyd@gnu.org>
5831
5832 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5833
5834 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5835 (buffer-menu): Doc fix (Bug#12294).
5836
5837 2012-12-03 Roland Winkler <winkler@gnu.org>
5838
5839 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5840 of diary-show-all-entries in the diary buffer (Bug#12994).
5841
5842 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5843
5844 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5845 "<STDIN>". This is binary safe.
5846
5847 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5848
5849 * calc/calc-forms.el (math-absolute-from-iso-dt)
5850 (math-date-to-iso-dt, math-parse-iso-date-validate)
5851 (math-iso-dt-to-date): New functions.
5852 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5853 (math-fd-isoweekday): New variables.
5854 (calc-date-notation, math-parse-standard-date, math-format-date)
5855 (math-format-date-part): Add support for more formatting codes.
5856
5857 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5858
5859 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5860 current buffer's file name when called interactively (Bug#12488).
5861
5862 2012-12-02 Juri Linkov <juri@jurta.org>
5863
5864 * info.el (info-display-manual): Don't clobber an existing Info
5865 buffer (Bug#10770). Add completion (Bug#10771).
5866
5867 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5868
5869 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5870 before using it for comparison (Bug#5297).
5871
5872 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5873
5874 * textmodes/css-mode.el (css-current-defun-name): New function.
5875 (css-mode): Use it.
5876
5877 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5878 (html-mode): Use it.
5879
5880 2012-12-01 Chong Yidong <cyd@gnu.org>
5881
5882 Modularize add-log-current-defun (Bug#2224).
5883 Suggested by Jari Aalto.
5884
5885 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5886 (add-log-current-defun): Move mode-specific code to other files.
5887 (add-log-lisp-like-modes, add-log-c-like-modes)
5888 (add-log-tex-like-modes): Variables deleted.
5889
5890 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5891 (lisp-mode-variables): Use it.
5892
5893 * progmodes/cc-mode.el (c-common-init):
5894 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5895 add-log-current-defun-function.
5896
5897 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5898 (m4-mode): Use it.
5899
5900 * progmodes/perl-mode.el (perl-current-defun-name): New.
5901 (perl-mode): Use it.
5902
5903 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5904 Use lisp-current-defun-name.
5905
5906 * textmodes/tex-mode.el (tex-current-defun-name): New.
5907 (tex-common-initialization): Use it.
5908
5909 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5910 (texinfo-mode): Use it.
5911
5912 2012-12-01 Chong Yidong <cyd@gnu.org>
5913
5914 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5915 * progmodes/autoconf.el (autoconf-mode):
5916 * progmodes/js.el (js-mode):
5917 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5918 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5919 * progmodes/perl-mode.el (perl-mode):
5920 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5921 * textmodes/css-mode.el (css-mode):
5922 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5923 (sgml-tags-invisible, sgml-guess-indent):
5924 * textmodes/tex-mode.el (tex-common-initialization)
5925 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5926 (doctex-mode, plain-tex-mode, latex-mode):
5927 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5928
5929 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5930
5931 * vc/vc-hg.el (vc-hg-next-revision):
5932 Ensure use of default "tip" output format. (Bug#6968)
5933
5934 2012-12-01 Kim F. Storm <storm@cua.dk>
5935
5936 * startup.el (fancy-startup-tail): Add a clickable link
5937 (Bug#2176).
5938
5939 2012-12-01 Chong Yidong <cyd@gnu.org>
5940
5941 * startup.el (fancy-startup-tail): Improve the message about
5942 auto-save files (Bug#2176).
5943
5944 * files.el (recover-session): Improve the descriptive message, and
5945 use substitute-command-keys.
5946
5947 2012-12-01 Glenn Morris <rgm@gnu.org>
5948
5949 * ido.el (ido-file-internal):
5950 Handle other-window, other-frame for dired. (Bug#13036)
5951
5952 2012-11-30 Glenn Morris <rgm@gnu.org>
5953
5954 * icomplete.el (icomplete-separator): Fix :version.
5955
5956 2012-11-30 Chong Yidong <cyd@gnu.org>
5957
5958 * shell.el (shell): For C-u M-x shell, use an inactive shell
5959 buffer as the default (Bug#1975).
5960 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5961 (shell-mode): Use them to reapply ansi colorization if Shell mode
5962 is re-enabled.
5963
5964 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5965
5966 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5967
5968 2012-11-30 Samuel Bronson <naesten@gmail.com>
5969
5970 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5971 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5972
5973 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5974
5975 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5976 by move-to-column (Bug#3234).
5977
5978 2012-11-30 Chong Yidong <cyd@gnu.org>
5979
5980 * longlines.el (longlines-wrap-line, longlines-encode-region):
5981 Preserve text properties (Bug#1425).
5982
5983 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5984
5985 * vc/vc.el (vc-register): Allow registering a file which is
5986 already registered with a different backend (Bug#10589).
5987
5988 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5989 Stefan Monnier <monnier@iro.umontreal.ca>
5990
5991 * icomplete.el: Change separator; add ido-style commands.
5992 (icomplete-show-key-bindings): Remove custom var.
5993 (icomplete-get-keys): Remove function.
5994 (icomplete-forward-completions, icomplete-backward-completions):
5995 New commands.
5996 (icomplete-minibuffer-map): New var.
5997 (icomplete-minibuffer-setup): Use it.
5998 (icomplete-exhibit): Don't delay if the list of completions is known.
5999 (icomplete-separator): New custom.
6000 (icomplete-completions): Use it.
6001 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
6002 (minibuffer-force-complete-and-exit): New command.
6003 (minibuffer--complete-and-exit): New function extracted from
6004 minibuffer-complete-and-exit.
6005 (minibuffer-complete-and-exit): Use it.
6006
6007 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
6008 error message when the file doesn't exist (bug#12974).
6009
6010 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6011
6012 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
6013
6014 2012-11-29 Glenn Morris <rgm@gnu.org>
6015
6016 * files.el (hack-dir-local-variables): Warn if try to set
6017 coding via dir-locals, since it doesn't work. (Bug#7169)
6018
6019 Add desktop support for restoring vc-dir buffers. (Bug#10606)
6020 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
6021 Set buffer-local value of desktop-save-buffer.
6022 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
6023 New functions.
6024 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
6025 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
6026
6027 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
6028 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
6029 Doc fix.
6030 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
6031 Doc fixes.
6032
6033 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
6034
6035 * calc/calc-forms.el (calc-date-notation): Fix regexp
6036 used to find time codes. Fix symbol for seconds.
6037
6038 2012-11-27 Glenn Morris <rgm@gnu.org>
6039
6040 * emacs-lisp/derived.el (derived-mode-make-docstring):
6041 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
6042
6043 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6044
6045 * textmodes/table.el (table-insert): Don't use `symbol-name' on
6046 lexically scoped variables (bug#13005).
6047
6048 2012-11-27 Glenn Morris <rgm@gnu.org>
6049
6050 * vc/vc-hooks.el (vc-mistrust-permissions):
6051 Default to t, to avoid data-loss. (Bug#11490)
6052
6053 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
6054
6055 * progmodes/python.el (python-indent-guess-indent-offset):
6056 If indentation is guessed make python-indent-offset buffer-local.
6057
6058 Fix Imenu regression.
6059 * progmodes/python.el (python-nav-beginning-of-defun):
6060 Fix forward movement when statement(s) separates point from defun.
6061 (python-imenu-prev-index-position): New function.
6062
6063 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6064
6065 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
6066
6067 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6068 Don't set buffer-file-type. Return nil. (Bug#12989)
6069
6070 2012-11-27 Glenn Morris <rgm@gnu.org>
6071
6072 * hippie-exp.el (hippie-expand-try-functions-list):
6073 Re-autoload it. (Bug#12982)
6074
6075 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6076
6077 * descr-text.el (describe-char-padded-string):
6078 Call internal-char-font only on GUI frames. (Bug#11964)
6079
6080 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
6081
6082 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
6083 and obsoletion message.
6084
6085 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6086
6087 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
6088 the constructs to keep outside of the `cl-block' (bug#12977).
6089
6090 2012-11-27 Chong Yidong <cyd@gnu.org>
6091
6092 * mouse.el (mouse-drag-line): Even if the line is not draggable,
6093 keep reading until we get the up-event anyway, in order to process
6094 the up-event for mouse-1-click-follows-link (Bug#12971).
6095
6096 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
6097
6098 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
6099 base function is not yet defined (bug#12965).
6100 (ad-activate-advised-definition): Use ad-compile-function.
6101 (ad-activate): Use cond.
6102
6103 2012-11-25 Leo Liu <sdl.web@gmail.com>
6104
6105 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6106 (Bug#12979)
6107
6108 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6109
6110 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6111 reftex-section-info-function in order to be compatible with
6112 Texinfo integration.
6113
6114 * textmodes/reftex.el (reftex-section-pre-regexp)
6115 (reftex-section-post-regexp, reftex-section-info-function):
6116 New variable.
6117 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6118 reftex-section-post-regexp, and reftex-section-info-function in order
6119 to be compatible with Texinfo integration.
6120
6121 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6122 use reftex-section-pre-regexp variable in order to be compatible with
6123 Texinfo integration.
6124
6125 2012-11-25 Chong Yidong <cyd@gnu.org>
6126
6127 * faces.el: Make face-spec-set more analogous to setq.
6128 (face-spec-set): Change the third arg to specify whether this
6129 function is being called via defface, customize, or a third party.
6130 Set the appropriate symbol properties. Clear the override spec if
6131 setting via Custom. Initialize face if necessary. (Bug#4988)
6132 (face-spec-recalc): Allow theme faces to completely replace the
6133 defface spec, in the same way as custom faces (Bug#8454).
6134
6135 * cus-face.el (custom-declare-face): Move face initialization to
6136 face-spec-set.
6137 (custom-theme-set-faces): Don't initialize the face name here, as
6138 that is now done in face-spec-set.
6139
6140 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6141 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6142 Simplify by using the new arg to face-spec-set.
6143
6144 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6145 reset face-override-spec too, and use custom-declare-face.
6146
6147 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6148
6149 * term/ns-win.el (ns-initialize-window-system): Move creation of
6150 fontsets here (Bug#11964).
6151
6152 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6153
6154 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6155 cell renaming.
6156
6157 2012-11-24 Chong Yidong <cyd@gnu.org>
6158
6159 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6160 obsolete.
6161
6162 * custom.el (custom-theme-set-variables): Use a topological sort
6163 for ordering by custom dependencies (Bug#12952).
6164 (custom--sort-vars, custom--sort-vars-1): New functions.
6165
6166 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6167
6168 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6169 lexical-binding (bug#12938).
6170
6171 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6172
6173 * image-mode.el (image-transform-check-size): Use assertions only
6174 for images of type imagemagick.
6175
6176 Otherwise no error, image-transform-fit-to-{width,height} is
6177 silently ignored, as before. Doc fix.
6178
6179 2012-11-24 Chong Yidong <cyd@gnu.org>
6180
6181 * faces.el (color-defined-p): Doc fix (Bug#12853).
6182
6183 2012-11-24 Juri Linkov <juri@jurta.org>
6184
6185 * dired.el (dired-mark): Add optional arg `interactive'.
6186 Check for `use-region-p' if `interactive' is non-nil.
6187 (dired-unmark, dired-flag-file-deletion): Add optional arg
6188 `interactive'. Call `dired-mark' with the arg `interactive'.
6189 (Bug#10624)
6190
6191 * wdired.el: Revert 2012-10-17 change partly and replace it with
6192 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6193 (wdired-finish-edit): Add marks for new file names to
6194 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6195 after `revert-buffer'.
6196 (wdired-do-renames): Remove calls to `dired-remove-file',
6197 `dired-add-file', `dired-add-entry'. (Bug#11795)
6198
6199 2012-11-24 Alan Mackenzie <acm@muc.de>
6200
6201 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6202
6203 Fix bugs in the state cache. Enhance a debugging mechanism.
6204 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6205 "brace at column zero" strategy for C++.
6206 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6207 (c-parse-state-point): New variable.
6208 (c-record-parse-state-state): Record old parse state with
6209 `copy-tree'. Record previous value of point.
6210 (c-debug-parse-state-double-cons): New debugging function.
6211 (c-debug-parse-state): Call the above new function.
6212 (c-toggle-parse-state-debug): Output a confirmatory message.
6213
6214 * progmodes/cc-mode.el (c-before-change, c-after-change):
6215 Call c-invalidate-state-cache from `c-before-change' instead of
6216 `c-after-change'.
6217
6218 2012-11-23 Chong Yidong <cyd@gnu.org>
6219
6220 * find-cmd.el (find-constituents): Add executable, ipath,
6221 readable, samefile, writable, daystart, regextype (Bug#12856).
6222
6223 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6224
6225 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6226
6227 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6228
6229 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6230 definition. This fixes a bootstrap failure.
6231 (calc-gregorian-switch): In menu, put dates before regions.
6232 This is easier to follow, lines up better in the menu, and lets us
6233 coalesce regions that switch at the same time. Give country
6234 names, not "Vatican", as that's better for non-expert users.
6235 Use names that are stable between the date of switch and now, e.g.,
6236 Bohemia and Moravia (which existed then and now) and not
6237 Czechoslovakia (which didn't exist then and doesn't exist now).
6238 What is now the U.S. mostly did not switch at the same time as
6239 Britain, so omit the U.S. Correct spelling of "Britain".
6240 Catholic Switzerland was too much of a mess, so omit it.
6241
6242 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6243
6244 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6245 after the variable is changed.
6246
6247 2012-11-21 Daniel Colascione <dancol@dancol.org>
6248
6249 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6250 in SQL declarations for font-lock.
6251 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6252
6253 2012-11-21 Glenn Morris <rgm@gnu.org>
6254
6255 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6256 (face-italic-p): Add optional argument "inherit".
6257
6258 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6259 Remove -p suffix from names, for consistency with other set-face-*.
6260 (set-face-inverse-video): Fix interactive spec.
6261 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6262 * textmodes/table.el (table--update-cell-face):
6263 Use set-face-inverse-video rather than now obsolete alias.
6264
6265 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6266
6267 * simple.el (line-move): Don't call line-move-partial if
6268 scroll-conservatively is in effect. (Bug#12927)
6269
6270 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6271
6272 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6273 Fallback on completion-at-point rather than
6274 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6275 (eshell-cmpl-initialize): Setup completion-at-point.
6276
6277 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6278
6279 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6280
6281 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6282
6283 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6284 are remote, check out-of-band property for both.
6285
6286 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6287
6288 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6289 code rewrite.
6290
6291 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6292
6293 More minor time fixes.
6294 * calendar/time-date.el: Commentary fix.
6295 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6296 too much other code depends on (0 0) time stamps.
6297 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6298 Add a couple of FIXME comments.
6299
6300 Minor cleanup for times as lists of four integers.
6301 * files.el (dir-locals-directory-cache):
6302 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6303 Doc fixes.
6304 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6305 * ps-bdf.el (bdf-file-newer-than-time):
6306 Process four-integers time stamps, not two. Doc fixes.
6307
6308 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6309
6310 * uniquify.el (uniquify-managed): Use defvar-local.
6311 (rename-buffer, create-file-buffer): Advise with advice-add.
6312 (uniquify-unload-function): Unadvise accordingly.
6313
6314 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6315 (trace-buffer): Don't purecopy.
6316 (trace-entry-message, trace-exit-message): Add `context' arg.
6317 (trace--timer): New var.
6318 (trace-make-advice): Adjust for use in nadvice.
6319 Add `context' argument. Delay `display-buffer' via a timer.
6320 (trace-function-internal): Use advice-add.
6321 (trace--read-args): New function.
6322 (trace-function-foreground, trace-function-background): Use it.
6323 (trace-function): Rename to trace-function-foreground and redefine as
6324 an alias to that new name.
6325 (untrace-function, untrace-all): Adjust to the use of nadvice.
6326
6327 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6328
6329 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6330
6331 * subr.el (called-interactively-p-functions): New var.
6332 (internal--called-interactively-p--get-frame): New macro.
6333 (called-interactively-p, interactive-p): Rewrite in Lisp.
6334 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6335 (called-interactively-p-functions): Use it.
6336 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6337 (called-interactively-p-functions): Use it.
6338 * allout.el (allout-called-interactively-p): Don't assume
6339 called-interactively-p is a subr.
6340
6341 2012-11-20 Glenn Morris <rgm@gnu.org>
6342
6343 * profiler.el (profiler-report-mode-map): Add a menu.
6344 No need to bind `q' because we derive from special-mode.
6345 (profiler-report-find-entry): Handle calls from the menu-bar.
6346
6347 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6348
6349 * emacs-lisp/byte-run.el (defun-declarations-alist):
6350 Allow a compiler-macro to be a lambda expression.
6351
6352 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6353 eval-when-compile.
6354 (python-syntax-context): Add compiler-macro.
6355 (python-font-lock-keywords): Simplify with De Morgan.
6356
6357 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6358
6359 * files.el (load-file): Require match in minibuffer selection, as was
6360 the case in Emacs-20 before we changed the spec to allow .elc files
6361 (bug#12935).
6362
6363 * json.el: Don't require cl since we don't use it.
6364 * color.el: Don't require cl.
6365 (color-complement): `caddr' -> `nth 2'.
6366
6367 * calendar/time-date.el (time-to-seconds): De-obsolete.
6368
6369 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6370
6371 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6372 year numbers.
6373 (math-date-to-julian-dt): Adjust the initial approximation for the
6374 year to deal with the new definition of the DATE.
6375
6376 2012-11-19 Daniel Colascione <dancol@dancol.org>
6377
6378 * term/w32-win.el (cygwin-convert-path-from-windows):
6379 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6380
6381 2012-11-18 Chong Yidong <cyd@gnu.org>
6382
6383 * filecache.el (file-cache--read-list): New function.
6384 (file-cache-add-directory-list, file-cache-add-file-list)
6385 (file-cache-delete-file-list, file-cache-delete-directory-list):
6386 Use it to read a list of files or directories (Bug#12846).
6387 (file-cache-add-file, file-cache-add-directory)
6388 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6389 (file-cache-delete-directory): Print an message.
6390
6391 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6392
6393 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6394 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6395
6396 2012-11-18 Glenn Morris <rgm@gnu.org>
6397
6398 * image.el (insert-image, insert-sliced-image): Doc fix.
6399
6400 2012-11-18 Chong Yidong <cyd@gnu.org>
6401
6402 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6403 (Bug#12810).
6404
6405 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6406
6407 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6408 response when the target file is in a subdirectory (Bug#12757).
6409
6410 2012-11-18 Chong Yidong <cyd@gnu.org>
6411
6412 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6413
6414 2012-11-18 Glenn Morris <rgm@gnu.org>
6415
6416 * emacs-lisp/cl-lib.el (face-underline-p):
6417 Use set-face-underline rather than the alias set-face-underline-p.
6418
6419 * window.el (with-temp-buffer-window): Doc fix.
6420 * subr.el (with-output-to-temp-buffer):
6421 Add doc xref to with-temp-buffer-window.
6422
6423 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6424
6425 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6426 * calc/calc.el (math-format-date-cache): Declare.
6427
6428 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6429
6430 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6431 It also uses January 1, 1 AD as its day number 1.
6432 * calc/calc-forms.el (math-julian-date-beginning)
6433 (math-julian-date-beginning-int): Implement this.
6434
6435 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6436
6437 * descr-text.el (quail-find-key):
6438 * dired.el (desktop-file-name):
6439 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6440 * generic-x.el (comint-mode, comint-exec):
6441 * image-dired.el (widget-forward):
6442 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6443 (speedbar-change-expand-button-char)
6444 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6445 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6446 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6447 (widget-field-action, widget-value-set):
6448 * speedbar.el (imenu--make-index-alist):
6449 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6450 (ring-length, ring-insert):
6451 * vcursor.el (compare-windows-skip-whitespace):
6452 * woman.el (dired-get-filename):
6453 Declare functions.
6454
6455 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6456
6457 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6458
6459 * calc/calc.el (calc-gregorian-switch): New variable.
6460
6461 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6462 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6463 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6464 (math-leap-year-p): Add option to distinguish between Julian
6465 and Gregorian calendars.
6466 (math-day-number): Use `math-day-in-year' to do the computations.
6467 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6468 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6469 to do the computations.
6470 (math-date-to-dt): Use `math-date-to-julian-dt' and
6471 `math-date-to-gregorian-dt' to do the computations.
6472 (calcFunc-weekday, math-format-date-part): Use the new version of
6473 the DATE to determine the weekday.
6474 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6475 when necessary.
6476
6477 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6478
6479 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6480 Cygwin; otherwise use 'file:'. (Bug#12914)
6481 (cygwin-convert-path-from-windows): Declare, to avoid
6482 byte-compiler warnings.
6483
6484 2012-11-17 Andreas Politz <politza@fh-trier.de>
6485
6486 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6487 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6488 prefix and negative numeric prefix args (Bug#12795).
6489
6490 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6491
6492 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6493 Don't signal an error with a score that is too low to add to the
6494 list of top scores. (Bug#12779)
6495
6496 2012-11-17 Chong Yidong <cyd@gnu.org>
6497
6498 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6499
6500 * filecache.el (file-cache-add-file): Handle relative file name in
6501 the argument (Bug#12694).
6502
6503 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6504
6505 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6506
6507 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6508
6509 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6510
6511 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6512
6513 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6514
6515 * window.el (enlarge-window, shrink-window): Don't mention return
6516 value in doc-string (Bug#12896).
6517 (window--display-buffer): Don't resize frames - it won't work
6518 with all window managers and defeat pop-up-frame-alist.
6519 (display-buffer-alist): In doc-string explain that CONDITION can
6520 be a function and which arguments are passed to it (Bug#12854).
6521 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6522 expressions (Bug#12854).
6523 (display-buffer): Pass ACTION argument to
6524 display-buffer-assq-regexp.
6525
6526 2012-11-16 Glenn Morris <rgm@gnu.org>
6527
6528 * window.el (fit-frame-to-buffer-bottom-margin)
6529 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6530
6531 * faces.el (face-underline-p): Use face-attribute-specified-or.
6532
6533 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6534
6535 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6536
6537 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6538
6539 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6540
6541 2012-11-16 Glenn Morris <rgm@gnu.org>
6542
6543 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6544 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6545
6546 * faces.el (face-underline-p): Doc fix. Handle :underline being
6547 things other than `t' (a string, a list).
6548 (face-inverse-video-p): Doc fix.
6549 (set-face-underline): Rename it back from set-face-underline-p.
6550 Doc fix. Allow interactive input of values other than t.
6551 (read-face-attribute): Apply formatting to :underline,
6552 since like :box and :stipple it can take list values.
6553
6554 * term.el (ansi-term): Don't let C-x escape-char binding
6555 clobber the more standard C-c binding. (Bug#12842)
6556
6557 * subr.el (set-temporary-overlay-map): Doc fix.
6558
6559 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6560
6561 * window.el (record-window-buffer)
6562 (display-buffer-record-window): When copying the markers to
6563 window-point preserve window-point-insertion-type. (Bug#12588)
6564
6565 2012-11-16 Glenn Morris <rgm@gnu.org>
6566
6567 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6568 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6569 Use new names for hooks rather than obsolete aliases.
6570
6571 2012-11-15 Daniel Colascione <dancol@dancol.org>
6572
6573 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6574 prefix instead of "file:" so that when FILE-NAME begins with "//",
6575 as it does when the target file is on a network share, url-handler
6576 isn't confused.
6577
6578 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6579
6580 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6581 a preactivated advice from an old advice.el; they're not compatible!
6582
6583 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6584
6585 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6586 Fix string-spec case.
6587
6588 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6589
6590 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6591
6592 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6593 (advice--buffer-local-function-sample): New var.
6594 (advice--set-buffer-local, advice--buffer-local): New functions.
6595 (add-function, remove-function): Use them.
6596
6597 2012-11-15 Drew Adams <drew.adams@oracle.com>
6598
6599 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6600
6601 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6602
6603 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6604 potential binding of print-gensym to t, and prettify (back)quotes in
6605 case they appear in args's default values (bug#12884).
6606
6607 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6608
6609 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6610 (advice-eval-interactive-spec): New function.
6611 (advice--make-interactive-form): Support around advice (bug#12844).
6612
6613 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6614
6615 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6616 more strict. Add docstring.
6617 (ruby-expression-expansion-re): Extract from
6618 `ruby-match-expression-expansion'.
6619 (ruby-syntax-propertize-function): After everything else, search
6620 for expansions in string literals, mark their insides as
6621 whitespace syntax and save match data for font-lock.
6622 (ruby-font-lock-keywords): Use the 2nd group from expression
6623 expansion matches.
6624 (ruby-match-expression-expansion): Use the match data saved to the
6625 text property in ruby-syntax-propertize-function.
6626
6627 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6628
6629 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6630 (bug#12879).
6631
6632 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6633
6634 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6635 start/end keyword a bit harder. Works with different values of N.
6636 Add more comments.
6637 (ruby-end-of-block): Update accordingly.
6638
6639 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6640
6641 * woman.el (woman-file-name): Don't mess with unread-command-events
6642 (bug#12861).
6643
6644 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6645 Remove out of date self-require hack.
6646 (ad-do-advised-functions): Use simple `dolist'.
6647 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6648 (ad-advice-definition): Redefine as functions.
6649 (ad-advice-classes): Move before first use.
6650 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6651 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6652 (ad--defalias-fset): Remove functions.
6653 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6654 (ad-get-orig-definition): Rewrite.
6655 (ad-make-advised-definition-docstring): Change base docstring.
6656 (ad-real-orig-definition): Rewrite.
6657 (ad-map-arglists): Change name of called function.
6658 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6659 (ad-make-advised-definition): Simplify.
6660 (ad-assemble-advised-definition): Tweak for new calling context.
6661 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6662 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6663 function and call ad-activate if needed.
6664 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6665 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6666 (ad-compile-function): Compile ad-Advice-*.
6667 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6668 (ad-start-advice, ad-stop-advice): Remove.
6669
6670 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6671
6672 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6673 period before class method names, not after. Remove handling of
6674 one impossible case. Add comments.
6675
6676 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6677
6678 * emacs-lisp/advice.el: Remove support for freezing.
6679 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6680 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6681 Remove support for `freeze'.
6682
6683 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6684 override the default.
6685 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6686 cl--dotimes/dolist.
6687 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6688 `cl' is loaded.
6689
6690 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6691 from add-advice.
6692 (advice--strip-macro): New function.
6693 (advice--defalias-fset): Use them to handle macros.
6694 (advice-add): Use them.
6695 (advice-member-p): Correctly handle macros.
6696
6697 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6698
6699 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6700 Never font-lock the beginning of singleton class as heredoc.
6701
6702 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6703
6704 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6705
6706 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6707
6708 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6709 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6710 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6711
6712 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
6713
6714 Fix end-of-defun misbehavior.
6715 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6716 python-beginning-of-defun-function. Handle nested defuns
6717 correctly.
6718 (python-nav-end-of-defun): Rename from
6719 python-end-of-defun-function. Ensure forward movement.
6720 (python-info-current-defun): Reimplement to work as intended
6721 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6722 parent defuns as soon as possible.
6723
6724 2012-11-13 Glenn Morris <rgm@gnu.org>
6725
6726 * progmodes/flymake.el (flymake-error-bitmap)
6727 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6728 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6729
6730 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6731
6732 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6733 backward, always stop at indentation. Reverts the change from
6734 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6735
6736 2012-11-13 Glenn Morris <rgm@gnu.org>
6737
6738 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6739 Add ibuffer-filter-by-derived-mode.
6740
6741 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6742 the same name shadowing each other.
6743
6744 * window.el (with-temp-buffer-window): Doc tweak.
6745
6746 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6747
6748 * help.el (temp-buffer-max-height):
6749 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6750 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6751
6752 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6753
6754 * emacs-lisp/nadvice.el: New package.
6755 * subr.el (special-form-p): New function.
6756 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6757 (elp-all-instrumented-list): Remove var.
6758 (elp-not-profilable): Remove elp-wrapper.
6759 (elp-profilable-p): Use autoloadp and special-form-p.
6760 (elp--advice-name): New const.
6761 (elp-instrument-function): Use advice-add.
6762 (elp--instrumented-p): New predicate.
6763 (elp-restore-function): Use advice-remove.
6764 (elp-restore-all, elp-reset-all): Use mapatoms.
6765 (elp-set-master): Use elp--instrumented-p.
6766 (elp--make-wrapper): Rename from elp-wrapper, return a function
6767 suitable for advice-add. Use cl-inf.
6768 (elp-results): Use mapatoms+elp--instrumented-p.
6769 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6770 (debug-function-list): Remove var.
6771 (debug): Rename arg, and then let-bind it explicitly inside.
6772 (debugger-setup-buffer): Rename arg.
6773 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6774 (debugger-frame-number): Adjust to new debug-on-entry setup.
6775 (debug--implement-debug-on-entry): Rename from
6776 implement-debug-on-entry, add argument.
6777 (debugger-special-form-p): Remove, use special-form-p instead.
6778 (debug-on-entry): Use advice-add.
6779 (debug--function-list): New function.
6780 (cancel-debug-on-entry): Use it, along with advice-remove.
6781 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6782 (debugger-list-functions): Use debug--function-list instead of
6783 debug-function-list.
6784 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6785 (ad-special-form-p): Remove, use special-form-p instead.
6786 (ad-set-advice-info): Use add-function and remove-function.
6787 (ad--defalias-fset): Adjust accordingly.
6788
6789 2012-11-10 Glenn Morris <rgm@gnu.org>
6790
6791 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6792 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6793 (report-emacs-bug-create-existing-bugs-buffer)
6794 (report-emacs-bug-parse-query-results)
6795 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6796
6797 * term.el (term-default-fg-color, term-default-bg-color):
6798 Make obsolete, rather than just saying "deprecated" in the doc.
6799
6800 * term.el (term): Rename from `term-face'.
6801 (term-current-face, ansi-term-color-vector)
6802 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6803 Update all users.
6804
6805 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6806
6807 * server.el (server-create-window-system-frame): Handle Nextstep
6808 specially (Bug#12780).
6809
6810 2012-11-10 Glenn Morris <rgm@gnu.org>
6811
6812 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6813 Unautoload, and make obsolete. (Bug#7449)
6814
6815 2012-11-10 Chong Yidong <cyd@gnu.org>
6816
6817 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6818 rename from diff-remove-trailing-whitespace (Bug#12831).
6819
6820 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6821
6822 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6823 miscompilation of trace.el.
6824
6825 2012-11-10 Glenn Morris <rgm@gnu.org>
6826
6827 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6828
6829 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6830
6831 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6832 (bug#12812).
6833
6834 2012-11-10 Chong Yidong <cyd@gnu.org>
6835
6836 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6837 a defcustom with an appropriate :set function.
6838 (minibuffer-default--in-prompt-regexps): New function.
6839
6840 2012-11-10 Glenn Morris <rgm@gnu.org>
6841
6842 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6843 (define-modify-macro): Doc fixes.
6844
6845 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6846 (gv-define-simple-setter): Update doc of `fix-return'.
6847
6848 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6849
6850 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6851 twice when `fix-return' is set (bug#12813).
6852
6853 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6854 gv-define-simple-setter (bug#12812).
6855
6856 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6857 (bug#12756).
6858
6859 2012-11-10 Glenn Morris <rgm@gnu.org>
6860
6861 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6862
6863 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6864 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6865 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6866 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6867
6868 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6869
6870 2012-11-10 Leo Liu <sdl.web@gmail.com>
6871
6872 * ido.el (ido-set-matches-1): Improve flex matching performance by
6873 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6874
6875 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6876
6877 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6878 (ad--defalias-fset): New function.
6879 (ad-safe-fset): Remove.
6880 (ad-make-freeze-definition): Use cl-letf*.
6881
6882 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6883
6884 * subr.el (dolist): Don't bind VAR in RESULT.
6885
6886 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6887 (fset, documentation): Don't save real def since we don't advise.
6888 (ad-do-advised-functions): Remove problematic `result-form'.
6889 (ad-safe-fset): `ad-real-fset' => `fset'.
6890 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6891 uses CL's dolist internally.
6892 (ad-arglist): Remove unused arg `name'.
6893 (ad-docstring, ad-make-advised-docstring):
6894 `ad-real-documentation' => `documentation'.
6895 (warning-suppress-types): Declare.
6896 (ad-set-arguments): Simple CSE.
6897 (ad-recover-normality): Sanity check.
6898
6899 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6900 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6901
6902 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
6903
6904 * ses.el: symbol to coordinate mapping is made by symbol property
6905 `ses-cell'. This means that the same mapping is done for all SES
6906 sheets. That is good enough for cells with standard A1 names, but
6907 not for named cell. So a hash map is added for the latter.
6908 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6909 (ses-sym-rowcol): Use hashmap for named cell.
6910 (ses-is-cell-sym-p): New defun.
6911 (ses-decode-cell-symbol): New defun.
6912 (ses-create-cell-variable): Add cell to hashmap when name is not
6913 A1-like.
6914 (ses-rename-cell): Check that cell new name is not already in
6915 spreadsheet with the use of ses-is-cell-sym-p
6916 (ses-rename-cell): Use hash map for named cells, but accept also
6917 renaming back to A1-like.
6918
6919 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6920
6921 * emacs-lisp/advice.el: Use new dynamic docstrings.
6922 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6923 Use dynamic-docstring-function instead of ad-advice-info.
6924 (ad--make-advised-docstring): New function extracted from
6925 ad-make-advised-docstring.
6926 (ad-make-advised-docstring): Use it.
6927 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6928 from sql-help.
6929 (sql-help): Use it with dynamic-docstring-function.
6930
6931 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6932
6933 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6934
6935 * files.el (hack-one-local-variable--obsolete): New function.
6936 (hack-one-local-variable): Use it for obsolete settings.
6937
6938 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6939 the new name.
6940
6941 * progmodes/js.el (js--filling-paragraph): New var.
6942 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6943 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6944 less sneaky.
6945
6946 2012-11-08 Julien Danjou <julien@danjou.info>
6947
6948 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6949 `auto-mode-alist' (Bug#12835).
6950
6951 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6952
6953 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6954 (perl--prettify-symbols-alist): New const.
6955 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6956 New functions.
6957 (perl-font-lock-keywords-2): Use them.
6958 (perl-electric-noindent-p): New function.
6959 (perl-mode): Use it to set up electric-indent-mode.
6960 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6961 (perl-mode-map): Remove bindings for them.
6962 (perl-imenu-generic-expression, perl-outline-level):
6963 Match functions&packages in column>0.
6964
6965 * env.el (env--substitute-vars-regexp): New const.
6966 (substitute-env-vars): Use it. Add `only-defined' arg.
6967 * net/tramp.el (tramp-replace-environment-variables): Use it.
6968
6969 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6970 Byte-compile *before* eval in eval-and-compile.
6971 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6972 (byte-compile-file-form-autoload): Don't hide actual definition.
6973 (byte-compile-maybe-guarded): Accept `functionp' as well.
6974
6975 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6976
6977 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6978
6979 * notifications.el (notifications-get-server-information-method):
6980 New defconst.
6981 (notifications-get-capabilities): Fix docstring.
6982 (notifications-get-server-information): New defun.
6983
6984 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6985
6986 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6987 readability.
6988
6989 * textmodes/ispell.el: Experimental support for support debugging.
6990 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6991 buffer for ispell.
6992 (ispell-print-if-debug): New function to print stuff to
6993 `ispell-debug-buffer' if debugging is enabled.
6994 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6995 show some debugging info.
6996 (ispell-buffer-with-debug): New function that creates a debugging
6997 buffer and calls `ispell-buffer' with debugging enabled.
6998
6999 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
7000 comment in autoconf mode. (Bug#12768)
7001
7002 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
7003
7004 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
7005 frame-first-window, frame-root-window, frame-selected-window,
7006 minibuffer-selected-window, minibuffer-window,
7007 window-absolute-pixel-edges, window-at, window-body-height,
7008 window-body-width, window-display-table, window-combination-limit,
7009 window-frame, window-fringes, window-inside-absolute-pixel-edges,
7010 window-inside-edges, window-inside-pixel-edges, window-left-child,
7011 window-left-column, window-margins, window-next-buffers,
7012 window-next-sibling, window-new-normal, window-new-total,
7013 window-normal-size, window-parameter, window-parameters, window-parent,
7014 window-pixel-edges, window-point, window-prev-buffers,
7015 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
7016 window-start, window-text-height, window-top-child, window-top-line,
7017 window-total-height, window-total-width and window-use-time to the list
7018 of functions without side-effects.
7019 (toplevel): Add window-valid-p to the list of error-free functions
7020 without side-effects.
7021
7022 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7023
7024 * textmodes/ispell.el (ispell-program-name):
7025 Update spellchecker parameters when customized.
7026
7027 2012-11-04 Glenn Morris <rgm@gnu.org>
7028
7029 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
7030
7031 2012-11-04 Chong Yidong <cyd@gnu.org>
7032
7033 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
7034 same-window-* variables.
7035
7036 2012-11-04 Juri Linkov <juri@jurta.org>
7037
7038 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
7039 (isearch-describe-key, isearch-describe-mode): Use a display
7040 action instead of binding same-window-* variables (Bug#10040).
7041
7042 2012-11-03 Glenn Morris <rgm@gnu.org>
7043
7044 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
7045 Rename handler properties back from cl-- to cl-. (Bug#12788)
7046
7047 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
7048
7049 2012-11-03 Eli Zaretskii <eliz@gnu.org>
7050
7051 * term/pc-win.el: Don't load term/internal from here.
7052
7053 * loadup.el: Load term/internal from here.
7054
7055 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
7056
7057 * progmodes/python.el (inferior-python-mode): Fix hang in
7058 jit-lock (Bug#12645).
7059
7060 2012-11-03 Martin Rudalics <rudalics@gmx.at>
7061
7062 * window.el (switch-to-visible-buffer)
7063 (switch-to-buffer-preserve-window-point): Fix doc-strings.
7064
7065 2012-11-03 Glenn Morris <rgm@gnu.org>
7066
7067 * emacs-lisp/cl-lib.el (cl--random-time):
7068 Rename from cl-random-time. (Bug#12773)
7069 (cl--gensym-counter, cl--random-state): Update callers.
7070 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
7071
7072 2012-11-03 Chong Yidong <cyd@gnu.org>
7073
7074 * cus-start.el: Make cursor-type customizable (Bug#11633).
7075
7076 2012-11-02 Glenn Morris <rgm@gnu.org>
7077
7078 * filecache.el: No need to load find-lisp when compiling.
7079 (find-lisp-find-files): Autoload it.
7080 (file-cache-add-directory-recursively): Don't require find-lisp.
7081
7082 * image.el (image-type-from-file-name): Trivial simplification.
7083
7084 * emacs-lisp/bytecomp.el (byte-compile-eval):
7085 Decouple "noruntime" and "cl-functions" warnings.
7086
7087 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
7088
7089 * play/gomoku.el (gomoku-display-statistics): Update mode line
7090 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
7091
7092 2012-10-31 Martin Rudalics <rudalics@gmx.at>
7093
7094 * window.el (quit-restore-window): If the window has been
7095 created on an existing frame and ended up as the sole window on
7096 that frame, do not delete it (Bug#12764).
7097
7098 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
7099
7100 * progmodes/sh-script.el (sh--inside-noncommand-expression):
7101 Rename from sh--inside-arithmetic-expression, handle more cases
7102 (bug#11263).
7103
7104 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7105 (sh-font-lock-open-heredoc): Use it (bug#12770).
7106
7107 2012-10-30 Glenn Morris <rgm@gnu.org>
7108
7109 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
7110
7111 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
7112
7113 2012-10-29 Chong Yidong <cyd@gnu.org>
7114
7115 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7116 function key is stored in a keyboard macro (Bug#4894).
7117
7118 * thingatpt.el (number-at-point): Apply a thing-at-point property.
7119
7120 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7121
7122 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7123 header comments".
7124 (diff-unified->context, diff-context->unified)
7125 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7126
7127 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7128
7129 * files.el (find-alternate-file): Only ask one question (bug#12487).
7130
7131 2012-10-29 Chong Yidong <cyd@gnu.org>
7132
7133 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7134 Suggested by Dan Nicolaescu (Bug#6326).
7135
7136 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7137
7138 * startup.el (fancy-about-screen): Don't message (Bug#12680).
7139
7140 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7141
7142 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7143
7144 * face-remap.el (face-remap-add-relative): Handle the case where a
7145 face-remapping-alist entry is a cons cell (Bug#12762).
7146
7147 2012-10-29 Kevin Ryde <user42@zip.com.au>
7148
7149 * woman.el (woman-parse-numeric-value): Handle picas correctly
7150 (Bug#12639).
7151
7152 2012-10-29 Glenn Morris <rgm@gnu.org>
7153
7154 * emacs-lisp/cl.el (defsetf): Doc fix.
7155
7156 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7157
7158 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7159 syntax to the matching opener, if any (bug#12547).
7160 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7161 matching open as a "case-(".
7162 (sh-smie-rc-grammar): Add a corresponding rule for it.
7163
7164 2012-10-28 Daniel Hackney <dan@haxney.org>
7165
7166 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7167 "PKGNAME-autoloads.el" in case we created it.
7168
7169 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7170
7171 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7172 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7173 (completion--twq-all): Disable too-strict assertions.
7174
7175 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7176
7177 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7178
7179 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7180 text to match the real keybindings.
7181
7182 2012-10-27 Juri Linkov <juri@jurta.org>
7183
7184 * wdired.el (wdired-keep-marker-rename): New defcustom.
7185 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7186 (Bug#11795)
7187
7188 * dired.el (dired-keep-marker-rename): Add reference to
7189 `wdired-keep-marker-rename' in the docstring.
7190 Add default character value ?R to display initially in
7191 Customization UI instead of ?@.
7192
7193 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7194
7195 * window.el (display-buffer): In doc-string describe
7196 window-height and window-width alist entries.
7197
7198 * time.el (display-time-world): Restore fit-window-to-buffer
7199 behavior.
7200
7201 2012-10-27 Chong Yidong <cyd@gnu.org>
7202
7203 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7204
7205 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7206
7207 * minibuffer.el (completion-category-overrides): New completion
7208 category `bookmark' (bug#11131).
7209
7210 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7211
7212 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7213 Silence bogus compiler warnings for ad-do-it.
7214
7215 * bookmark.el (bookmark-completing-read): Set the completion category
7216 to `bookmark' (bug#11131).
7217
7218 2012-10-26 Bastien <bzg@altern.org>
7219 Stefan Monnier <monnier@iro.umontreal.ca>
7220
7221 * face-remap.el: Use lexical-binding.
7222 (text-scale-adjust): Improve docstring. Use itself for the temporary
7223 overlay-map bindings, so as to repeat the "Use..." message each time.
7224
7225 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7226
7227 * emacs-lisp/macroexp.el (macroexp--expand-all):
7228 Obey byte-compile-warning-enabled-p (bug#12486).
7229
7230 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7231 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7232
7233 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7234
7235 * mouse.el (mouse-drag-line): Move last form into preceding when
7236 clause (Bug#12731).
7237
7238 * help.el (resize-temp-buffer-window): Fix doc-string.
7239
7240 2012-10-25 David Engster <deng@randomsample.de>
7241
7242 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7243 Remove. This feature is already integrated in imenu.
7244
7245 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7246 always loaded. Require `speedbar' unconditionally.
7247
7248 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7249
7250 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7251
7252 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7253
7254 * net/ldap.el (ldap-search-internal): The official ldif format starts
7255 with a "version: 1" header (bug#12724).
7256
7257 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7258 (bug#12721).
7259
7260 2012-10-25 Glenn Morris <rgm@gnu.org>
7261
7262 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7263
7264 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7265
7266 * minibuffer.el (minibuffer-force-complete): Use one more marker
7267 for the temporary-overlay-map command (bug#12619).
7268
7269 2012-10-24 Chong Yidong <cyd@gnu.org>
7270
7271 * time.el (display-time-world-mode): Derive from special-mode.
7272 (display-time-world): Use display-buffer (Bug#12708).
7273 (display-time-world-mode-map): Variable deleted.
7274 (display-time-world-display): Wrap the final delete-char inside
7275 inhibit-read-only.
7276
7277 2012-10-24 Chong Yidong <cyd@gnu.org>
7278
7279 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7280 Doc fix.
7281
7282 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7283
7284 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7285
7286 * minibuffer.el (completion--all-sorted-completions-location): New var.
7287 (completion--cache-all-sorted-completions)
7288 (completion--flush-all-sorted-completions): Use it.
7289 (completion-in-region, completion-in-region--postch)
7290 (completion-at-point, completion-help-at-point): Use markers in
7291 completion-in-region--data (bug#12619).
7292
7293 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7294
7295 * progmodes/compile.el (compilation-start): Try to handle common
7296 quoting of `cd' argument (bug#12640).
7297
7298 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7299 (bug#12671).
7300
7301 2012-10-23 Glenn Morris <rgm@gnu.org>
7302
7303 * progmodes/gud.el (gud-menu-map):
7304 Check gdb-active-process is bound. (Bug#12358)
7305
7306 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7307
7308 * repeat.el (repeat): Set real-this-command (bug#12232).
7309
7310 * htmlfontify.el (hfy-post-html-hook):
7311 * filesets.el (filesets-cache-fill-content-hook):
7312 * arc-mode.el (archive-extract-hook):
7313 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7314 * net/rcirc.el (rcirc-sentinel-functions)
7315 (rcirc-receive-message-functions, rcirc-activity-functions)
7316 (rcirc-print-functions):
7317 * net/dbus.el (dbus-event-error-functions):
7318 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7319 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7320 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7321 * term/sun.el (sun-raw-prefix-hooks):
7322 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7323
7324 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7325
7326 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7327 Set `tramp-chunksize' to 1. This improves the performance.
7328 (tramp-smb-wait-for-output): Add timeout to
7329 `tramp-accept-process-output' calls.
7330
7331 2012-10-23 Chong Yidong <cyd@gnu.org>
7332
7333 * faces.el (font-list-limit): Define as an obsolete variable.
7334
7335 * startup.el (command-line):
7336 * cus-start.el: Don't refer to font-list-limit.
7337
7338 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7339
7340 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7341
7342 * subr.el (internal-temp-output-buffer-show): Rename from
7343 temp-output-buffer-show, since previously compiled files expect this name.
7344
7345 2012-10-23 Glenn Morris <rgm@gnu.org>
7346
7347 * image.el (image-type-from-file-name): If multiple types match,
7348 return the first one that is supported. (Bug#9045)
7349
7350 2012-10-22 Glenn Morris <rgm@gnu.org>
7351
7352 * image.el (imagemagick-enabled-types): Doc fix.
7353
7354 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7355
7356 * progmodes/which-func.el (which-func-current): The hash-table may have
7357 an explicit nil (bug#12338).
7358
7359 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7360
7361 * electric.el (electric-pair-delete-selection-self-insert-function):
7362 Rename to electric-pair-will-use-region, return a boolean.
7363 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7364
7365 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7366 (delete-selection-pre-hook): Use use-region-p.
7367 (delete-selection-self-insert-function): Remove.
7368 (self-insert-command): Obey self-insert-uses-region-functions.
7369 (self-insert-iso): Revert to previous setting, since we don't actually
7370 know what that command does.
7371 (delete-selection-self-insert-hooks): Remove.
7372
7373 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7374
7375 * delsel.el (delete-selection-helper): New function, extracted from
7376 delete-selection-pre-hook.
7377 (delete-selection-pre-hook): Use it.
7378 (delete-selection-self-insert-function): New function.
7379 (delete-selection-self-insert-hooks): New hook.
7380 (self-insert-command, self-insert-iso): Use it.
7381 * electric.el (electric-pair-syntax): New function, extracted from
7382 electric-pair-post-self-insert-function.
7383 (electric-pair-post-self-insert-function): Use it.
7384 (electric-pair-delete-selection-self-insert-function): New function.
7385 (electric-pair-mode): Require delsel and setup
7386 delete-selection-self-insert-hooks (bug#11520).
7387
7388 2012-10-20 Chong Yidong <cyd@gnu.org>
7389
7390 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7391 no changes to show (Bug#12586).
7392
7393 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7394 list explicitly (Bug#12571).
7395
7396 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7397
7398 * progmodes/flymake.el (flymake-create-temp-inplace):
7399 Use file-truename.
7400
7401 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7402
7403 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7404
7405 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7406
7407 * calc/calc-units.el (math-extract-units): Properly extract powers
7408 of units.
7409
7410 2012-10-20 Daniel Colascione <dancol@dancol.org>
7411
7412 * frame.el (make-frame): Set x-display-name as we used to in order
7413 to unbreak creating an X11 frame from an Emacs daemon started
7414 without a display.
7415
7416 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7417
7418 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7419 the same completion-field (bug#12221).
7420
7421 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7422
7423 * emacs-lisp/debug.el (debug): Record height of debugger window
7424 also when debugger will be back (Bug#8789).
7425
7426 2012-10-18 Chong Yidong <cyd@gnu.org>
7427
7428 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7429 Convert to defcustom.
7430 (gdb-get-source-file): Don't bind pop-up-windows.
7431
7432 * progmodes/gud.el (gud-display-line): Don't specially re-use
7433 other frames for the gdb-mi case (Bug#12648).
7434
7435 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7436
7437 * emacs-lisp/advice.el: Clean up commentary a bit.
7438 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7439 (byte-code-function-p): Never redefine.
7440
7441 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7442
7443 2012-10-18 Glenn Morris <rgm@gnu.org>
7444
7445 * dired.el (dired-sort-toggle): Some ls implementations only allow
7446 a single option string. (Bug#12666)
7447
7448 * minibuffer.el (completion-cycle-threshold): Doc fix.
7449
7450 2012-10-17 Kenichi Handa <handa@gnu.org>
7451
7452 * international/mule.el (set-keyboard-coding-system):
7453 Recover input meta mode when the new coding system doesn not use 8-bit.
7454 Supply TERMINAL arg to set-input-meta-mode.
7455
7456 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7457
7458 * wdired.el (wdired-old-marks): New variable.
7459 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7460 (wdired-do-renames): Move point with renamed file and don't lose
7461 mark status (Bug#11795).
7462
7463 2012-10-16 Juri Linkov <juri@jurta.org>
7464
7465 * replace.el (query-replace-help): Mention multi-buffer replacement
7466 keys in the Help message. (Bug#12655)
7467
7468 2012-10-15 Chong Yidong <cyd@gnu.org>
7469
7470 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7471
7472 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7473
7474 * window.el (display-buffer): Doc fix.
7475
7476 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7477 Adjust the msft regexp to the output of Studio 2010, and move msft
7478 before edg-1. See the discussion on emacs-devel,
7479 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7480 for the details.
7481
7482 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7483
7484 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7485 (oset): Move uses of object-class-fast macro after its definition.
7486
7487 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7488
7489 2012-10-13 Chong Yidong <cyd@gnu.org>
7490
7491 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7492 enabled, re-enable it (Bug#11963).
7493
7494 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7495
7496 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7497 non-nil, restore window configuration (Bug#12623).
7498
7499 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7500
7501 * help-fns.el (describe-variable, describe-function-1):
7502 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7503
7504 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7505
7506 2012-10-12 Glenn Morris <rgm@gnu.org>
7507
7508 * mail/rmailsum.el (rmail-header-summary):
7509 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7510
7511 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
7512
7513 * progmodes/python.el (python-mode-map):
7514 Replace subtitute-key-definition with proper command remapping.
7515 (python-nav--up-list): Fix behavior for blocks on the same level.
7516
7517 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7518
7519 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7520
7521 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7522 changes to the format of load-history.
7523
7524 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7525 completion-ignore-case in case that var is buffer-local (bug#12615).
7526
7527 2012-10-11 Kenichi Handa <handa@gnu.org>
7528
7529 * international/eucjp-ms.el: Re-generated.
7530
7531 2012-10-10 Kenichi Handa <handa@gnu.org>
7532
7533 * select.el (xselect--encode-string): If a coding is specified for
7534 selection, and that is compatible with COMPOUND_TEXT, use it.
7535
7536 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7537
7538 * window.el (switch-to-buffer-preserve-window-point): New option.
7539 (switch-to-buffer):
7540 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7541
7542 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7543
7544 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7545 Don't document nil as a useful value (bug#12583).
7546
7547 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7548
7549 * net/tramp.el (tramp-debug-message):
7550 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7551 (with-tramp-progress-reporter): Rename from
7552 `tramp-with-progress-reporter'.
7553 (with-tramp-file-property, with-tramp-connection-property):
7554 Move from tramp-cache.el, rename from `with-file-property' and
7555 `with-connection-property', respectively.
7556
7557 * net/tramp-cache.el: Remove `with-file-property' and
7558 `with-connection-property'.
7559
7560 * net/tramp.el:
7561 * net/tramp-gvfs.el:
7562 * net/tramp-sh.el:
7563 * net/tramp-smb.el: Adapt callees.
7564
7565 * net/trampver.el: Update release number.
7566
7567 2012-10-09 Glenn Morris <rgm@gnu.org>
7568
7569 * w32-fns.el (set-message-beep):
7570 * term/w32-win.el (set-message-beep): Update declarations.
7571
7572 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7573
7574 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7575 (mode-line-widen, mode-line-input-method-map)
7576 (mode-line-coding-system-map, mode-line-remote)
7577 (mode-line-unbury-buffer, mode-line-bury-buffer)
7578 (mode-line-next-buffer, mode-line-previous-buffer):
7579 Replace save-selected-window+select-window => with-selected-window.
7580
7581 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7582 * progmodes/cc-vars.el (bq-process): Remove, unused.
7583
7584 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7585
7586 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
7587
7588 Implemented `backward-up-list'-like navigation.
7589 * progmodes/python.el (python-nav-up-list)
7590 (python-nav-backward-up-list): New functions.
7591 (python-mode-map): Define substitute key for backward-up-list to
7592 python-nav-backward-up-list.
7593
7594 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7595
7596 * progmodes/python.el (python-fill-paragraph): Rename from
7597 python-fill-paragraph-function. Fixed fill-paragraph for
7598 decorators (Bug#12605).
7599
7600 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7601
7602 * progmodes/python.el (python-shell-output-filter): Handle extra
7603 carriage return in OSX (Bug#12409).
7604
7605 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7606
7607 Fix shell handling of unbalanced quotes and parens in output.
7608 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7609 (python-syntax-propertize-function): Use it.
7610 (python-shell-output-syntax-table): New var.
7611 (inferior-python-mode): Prevent unbalanced parens/quotes from
7612 previous output mess with current input context.
7613
7614 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7615
7616 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7617 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7618
7619 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7620
7621 * ffap.el (ffap-replace-file-component): Support Tramp file name
7622 syntax, not only ange-ftp's one.
7623
7624 2012-10-08 Glenn Morris <rgm@gnu.org>
7625
7626 * cus-start.el (message-log-max): Set :version.
7627
7628 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7629
7630 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7631
7632 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7633 the minibuffer window (Bug#10851).
7634
7635 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7636
7637 Enhancements on forward-sexp movement.
7638 * progmodes/python.el (python-nav-beginning-of-statement)
7639 (python-nav-end-of-statement): Return point-marker.
7640 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7641 (python-info-current-symbol)
7642 (python-info-statement-starts-block-p): Rename from
7643 python-info-beginning-of-block-p.
7644 (python-info-statement-ends-block-p): Rename from
7645 python-info-end-of-block-p.
7646 (python-info-beginning-of-statement-p)
7647 (python-info-end-of-statement-p)
7648 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7649 New functions.
7650
7651 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7652
7653 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7654 frame-selected-windows.
7655
7656 2012-10-08 Daniel Colascione <dancol@dancol.org>
7657
7658 * battery.el (battery-status-function): Check for
7659 w32-battery-status itself, not system-time windows-nt.
7660
7661 * frame.el: Require cl-lib.
7662 (display-format-alist): New variable mapping frame types to
7663 functions that initialize them.
7664 (window-system-for-display): New function: interprets
7665 display-format-alist.
7666 (make-frame-on-display): Remove existing display-selection logic
7667 and just forward to make-frame, which will now DTRT.
7668 (make-frame): Restructure to use window-system-for-display to
7669 figure out how to create a frame on a given display.
7670 (display-mouse-p): Look for frame-type w32, not a particular
7671 system-type.
7672
7673 * loadup.el: Load w32 lisp code when we have the w32 feature.
7674
7675 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7676 system-type windows-nt.
7677
7678 * server.el (server-create-window-system-frame): Look for window
7679 type.
7680 (server-proces-filter): Only force a window system when windows-nt
7681 _and_ w32. Explain why.
7682
7683 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7684 of window systems we configure for the mode.
7685
7686 * startup.el (command-line): Mark window system is initialized
7687 after we've done it.
7688
7689 * common-win.el (x-select-text): Look for w32, not windows-nt.
7690
7691 * ns-win.el: Require cl-lib. Add ourselves to
7692 display-format-alist.
7693 (ns-initialize-window-system): Assert we're not initialized twice.
7694
7695 * w32-win.el: Enable lexical binding; require cl-lib; add
7696 ourselves to display-format-alist.
7697 (w32-handle-dropped-file): Convert incoming dropped files from
7698 Windows paths to Cygwin ones before passing them on to the rest of
7699 Emacs.
7700 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7701 (w32-initialize-window-system): Assert we're not initialized twice.
7702
7703 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7704 (x-initialize-window-system): Assert we're not initialized twice.
7705
7706 * w32-common-fns.el: New File.
7707 (w32-version, w32-using-nt, w32-get-clipboard-data)
7708 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7709 (w32-charset-info-alist, x-last-selected, text)
7710 (x-get-selection-value, x-selection-value): Move here.
7711
7712 * w32-fns.el: Require w32-common-fns.
7713 (w32-version, w32-using-nt, w32-get-clipboard-data)
7714 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7715 (w32-charset-info-alist, x-last-selected, text)
7716 (x-get-selection-value, x-selection-value): Move to
7717 w32-common-fns.
7718
7719 * w32-vars.el:
7720 (w32-allow-system-shell, w32-system-shells): Define only in
7721 non-cygwin case.
7722
7723 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7724
7725 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7726 (read-passwd): Remove a few more potential sources of leaks.
7727
7728 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7729
7730 * progmodes/python.el (inferior-python-mode)
7731 (python-shell-make-comint): Fix initialization of local
7732 variables copied from parent buffer.
7733
7734 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7735
7736 * term/ns-win.el (ns-read-file-name): Update declaration to match
7737 nsfns.m.
7738 (ns-respond-to-change-font): Change fontsize separately so we are sure
7739 it is set when font is acted upon.
7740
7741 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7742
7743 Enhancements to indentation.
7744 * progmodes/python.el (python-indent-context): Give priority to
7745 inside-string context. Make comments indentation markers.
7746 (python-indent-region): Do not mess with strings, unless it's the
7747 enclosing set of quotes.
7748
7749 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7750
7751 * window.el (internal--before-save-selected-window)
7752 (internal--after-save-selected-window): New functions extracted from
7753 save-selected-window. Make sure we return the `alist' we construct.
7754 (save-selected-window): Use them.
7755
7756 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7757 Use with-selected-window.
7758
7759 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7760 forms that define macros (bug#12593).
7761
7762 2012-10-07 Kenichi Handa <handa@gnu.org>
7763
7764 * international/mule-conf.el (compound-text-with-extensions):
7765 Add :mime-charset property as x-ctext.
7766
7767 2012-10-07 Stefan Merten <smerten@oekonux.de>
7768
7769 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7770 (rst-indent-literal-normal, rst-indent-literal-minimized)
7771 (rst-indent-comment): Correct :version tag.
7772 (rst-official-cvs-rev): Correct version string.
7773
7774 2012-10-07 Glenn Morris <rgm@gnu.org>
7775
7776 * mail/rmailmm.el (rmail-mime-process-multipart):
7777 Do not confuse a multipart message with an epilogue
7778 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7779
7780 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7781
7782 Fix shell output retrieval and comint-prompt-regexp init.
7783 * progmodes/python.el (inferior-python-mode):
7784 (python-shell-make-comint): Fix initialization of
7785 comint-prompt-regexp from copied file local variables.
7786 (python-shell-fetched-lines): Remove var.
7787 (python-shell-output-filter-in-progress): Rename from
7788 python-shell-fetch-lines-in-progress.
7789 (python-shell-output-filter-buffer): Rename from
7790 python-shell-fetch-lines-string.
7791 (python-shell-fetch-lines-filter): Delete function.
7792 (python-shell-output-filter): New function.
7793 (python-shell-send-string-no-output): Use them.
7794
7795 2012-10-07 Glenn Morris <rgm@gnu.org>
7796
7797 * hi-lock.el (hi-lock-process-phrase):
7798 Try to make it less fragile. (Bug#7161)
7799
7800 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7801
7802 2012-10-06 Glenn Morris <rgm@gnu.org>
7803
7804 * ehelp.el (electric-help-mode): Use help-mode rather than
7805 non-existent mode `help'.
7806 (electric-help-map): Use button-buffer-map. (Bug#10917)
7807
7808 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7809 (reftex-create-bibtex-footer): Fix custom types.
7810
7811 * progmodes/sh-script.el (sh-indent-after-continuation):
7812 Add explicit :group.
7813
7814 * textmodes/rst.el (rst-preferred-decorations)
7815 (rst-shift-basic-offset): Clarify obsolescence versions.
7816
7817 * profiler.el (profiler): Add missing group :version tag.
7818 * avoid.el (mouse-avoidance-banish-position):
7819 * proced.el (proced-renice-command):
7820 * calc/calc.el (calc-ensure-consistent-units):
7821 * calendar/icalendar.el (icalendar-import-format-uid):
7822 * net/tramp.el (tramp-save-ad-hoc-proxies):
7823 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7824 * progmodes/flymake.el (flymake-error-bitmap)
7825 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7826 * progmodes/sh-script.el (sh-indent-after-continuation):
7827 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7828 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7829 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7830 (vhdl-array-index-record-field-in-sensitivity-list)
7831 (vhdl-indent-comment-like-next-code-line):
7832 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7833 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7834 (reftex-cite-key-separator, reftex-create-bibtex-header)
7835 (reftex-create-bibtex-footer):
7836 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7837 (rst-indent-literal-normal, rst-indent-literal-minimized)
7838 (rst-indent-comment): Add missing custom :version tags.
7839
7840 * calendar/timeclock.el (timeclock-modeline-display):
7841 Add missing obsolete alias for renamed user option.
7842
7843 * strokes.el (strokes-modeline-string):
7844 * emulation/crisp.el (crisp-mode-modeline-string):
7845 * eshell/esh-mode.el (eshell-status-in-modeline):
7846 Aliases to defcustoms must come before the defcustom.
7847
7848 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7849 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7850 (cal-tex-cursor-week-monday): Doc fixes.
7851 (cal-tex-cursor-week2-summary): Doc fix.
7852 Rename from cal-tex-cursor-week-at-a-glance.
7853
7854 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7855 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7856
7857 * calendar/calendar.el (calendar-mode-map):
7858 Add cal-tex-cursor-week2-summary.
7859
7860 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7861
7862 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7863
7864 * subr.el (read-passwd-map): New var.
7865 (read-passwd): Use `read-string' again.
7866 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7867
7868 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7869
7870 * register.el (append-to-register, prepend-to-register):
7871 Deactivate mark, as does `copy-to-register' (bug#12389).
7872
7873 2012-10-06 Chong Yidong <cyd@gnu.org>
7874
7875 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7876
7877 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7878
7879 * international/characters.el: Fix simple mistake ((car chars) ->
7880 elt), delete duplicated code.
7881
7882 2012-10-06 Glenn Morris <rgm@gnu.org>
7883
7884 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7885
7886 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7887
7888 * color.el (color-hsl-to-rgb): Fix incorrect results for
7889 small and large hue values. (Bug#12559)
7890
7891 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
7892
7893 Enhancements to docstring formatting when filling paragraphs.
7894 * progmodes/python.el (python-fill-docstring-style): Rename from
7895 python-fill-string-style. Added new style.
7896 (python-fill-string): Use new style. Better checks for
7897 docstrings.
7898
7899 2012-10-05 Glenn Morris <rgm@gnu.org>
7900
7901 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7902
7903 * color.el (color-name-to-rgb, color-rgb-to-hex)
7904 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7905 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7906 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7907 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7908
7909 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7910
7911 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7912
7913 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7914 to get the correct size across symlinks.
7915
7916 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7917
7918 2012-10-04 Juri Linkov <juri@jurta.org>
7919
7920 * replace.el (query-replace-interactive): Declare obsolete.
7921 (query-replace-read-from): Add the last incremental search string
7922 to the list of default values accessible via M-n.
7923 (map-query-replace-regexp): Use `read-regexp'.
7924 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7925 (map-query-replace-regexp, replace-string, replace-regexp):
7926 Fix docstrings to replace mentions of `query-replace-interactive'
7927 with alternatives. (Bug#12526)
7928
7929 2012-10-04 Juri Linkov <juri@jurta.org>
7930
7931 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7932 (dired-pop-to-buffer): Declare obsolete.
7933 (dired-mark-pop-up): Doc fix.
7934
7935 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
7936
7937 Allow user to set docstring style for fill-paragraph.
7938 * progmodes/python.el
7939 (python-fill-comment-function, python-fill-string-function)
7940 (python-fill-decorator-function, python-fill-paren-function):
7941 Remove :safe for defcustoms.
7942 (python-fill-string-style): New defcustom
7943 (python-fill-paragraph-function): Enhance context detection.
7944 (python-fill-string): Honor python-fill-string-style settings.
7945
7946 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7947
7948 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7949 after setting its buffer (Bug#10805).
7950
7951 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
7952
7953 Fix cornercase for string syntax.
7954 * progmodes/python.el (python-syntax-propertize-function):
7955 Simplify and enhance the regexp for unescaped quotes. Now it also
7956 matches quotes in weird situations like the single quote in
7957 "something\"'".
7958 (python-syntax-stringify): Simplify num-quotes detecting code.
7959
7960 2012-10-03 Glenn Morris <rgm@gnu.org>
7961
7962 * help-macro.el (three-step-help):
7963 Revert 2012-09-29 change. (Bug#12567)
7964
7965 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7966
7967 * menu-bar.el (kill-this-buffer): Don't do anything when
7968 `menu-frame' is not alive or visible (Bug#8184).
7969
7970 * emacs-lisp/debug.el (debug): When quitting the debugger window
7971 restore current buffer (Bug#12502).
7972
7973 2012-10-02 Chong Yidong <cyd@gnu.org>
7974
7975 * progmodes/hideif.el (hif-lookup, hif-defined):
7976 Handle semantic-c-takeover-hideif.
7977
7978 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7979
7980 Change sampling interval units from ms to ns.
7981 * profiler.el (profiler-sampling-interval): Change units
7982 from ms to ns, multiplying the default by 1000000 so that
7983 it remains 1 ms.
7984 (profiler-report-cpu-line-format): Give enough room for
7985 the maximum counters on 64-bit hosts.
7986 (profiler-report-render-calltree-1): Call them "CPU samples",
7987 not "Time (ms)", since they are not milliseconds now (and
7988 never really were).
7989
7990 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7991
7992 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7993 Fix querying BBDB for entries without a last name (Bug#11580).
7994
7995 2012-10-02 Chong Yidong <cyd@gnu.org>
7996
7997 * emacs-lisp/eieio.el: Restore Version header.
7998
7999 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8000
8001 * vc/diff-mode.el (diff--auto-refine-data): New var.
8002 (diff-hunk): Use it to delay refinement.
8003 (diff-mode): Remove overlays when we turn off font-lock.
8004
8005 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
8006 (table-initialize-table-fixed-width-mode)
8007 (table-set-table-fixed-width-mode): Remove functions.
8008 (table-command-list): Move initialization into declaration.
8009 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
8010 (table-with-cache-buffer): Use `declare'.
8011 (table-span-cell): Simplify via CSE.
8012 (table-fixed-width-mode): Use define-minor-mode.
8013 (table-call-interactively, table-funcall, table-apply): Remove.
8014 (table-function): New function, to replace them.
8015
8016 * bookmark.el (bookmark-search-pattern): Remove var.
8017 (bookmark-read-search-input): Remove function.
8018 (bookmark-bmenu-search): Reimplement using a minibuffer.
8019
8020 * faces.el (modeline): Remove obsolete face name.
8021
8022 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
8023 and give a non-nil default value.
8024 (add-change-log-entry): Simplify accordingly.
8025
8026 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
8027
8028 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
8029 (vc-git-log-edit-toggle-amend): New function.
8030 (vc-git-log-edit-toggle-signoff): New function.
8031 (vc-git-log-edit-mode): New major mode.
8032 (vc-git-log-edit-mode-map): Keymap for it.
8033 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
8034
8035 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
8036 header names.
8037 (log-edit-toggle-header): New function.
8038 (log-edit-extract-headers): Accept function values in HEADERS alist.
8039
8040 2012-10-01 David Engster <deng@randomsample.de>
8041
8042 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
8043 from symbol property and change message to be more consistent with
8044 Emacs proper.
8045 (eieio-describe-generic): Add filename for each implementation.
8046 Fix indices for generic and normal methods.
8047 (eieio-method-def, eieio-class-def): New buttons.
8048 (eieio-help-find-method-definition)
8049 (eieio-help-find-class-definition): New functions.
8050 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
8051 class, constructor and method definitions.
8052
8053 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
8054 information in symbol property.
8055 (scoped-class): Remove.
8056 (eieio-slot-name-index, call-next-method): Check if it is bound.
8057
8058 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
8059
8060 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
8061 (eieio-custom-mode): New major mode.
8062 (eieio-customize-object): Use it.
8063
8064 2012-10-01 Eric Ludlam <zappo@gnu.org>
8065
8066 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
8067 specifying the expected class, and whether subclassing is allowed.
8068 (eieio-persistent-convert-list-to-object):
8069 (eieio-persistent-validate/fix-slot-value)
8070 (eieio-persistent-slot-type-is-class-p): New functions.
8071 (eieio-named::slot-missing): Doc fix.
8072
8073 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
8074 Stop using unused publd variable.
8075
8076 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8077 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
8078 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
8079 (eieio-speedbar-handle-click): Do not specify a class for the
8080 method. Fixes method invocation order problems with EDE.
8081
8082 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8083
8084 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
8085 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
8086
8087 2012-10-01 Karl Fogel <kfogel@red-bean.com>
8088
8089 * bookmark.el (bookmark-version-control): Give tags in the
8090 :type choices (Bug#12309), and improve doc string.
8091 (bookmark-write-file): Bind `print-circle' to `t' to allow
8092 circular custom bookmark types. (Bug#12503)
8093
8094 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
8095
8096 Revert the FOLLOW-SYMLINKS change for file-attributes.
8097 * files.el (remote-file-name-inhibit-cache, after-find-file):
8098 * time.el (display-time-file-nonempty-p): Undo last change.
8099
8100 * profiler.el (profiler-sampling-interval): Change default back to 1.
8101 See Stefan Monnier in
8102 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8103
8104 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
8105
8106 Shell output catching a la gud-gdb.
8107 * progmodes/python.el (python-shell-fetch-lines-in-progress)
8108 (python-shell-fetch-lines-string, python-shell-fetched-lines):
8109 New Vars.
8110 (python-shell-fetch-lines-filter): New function.
8111 (python-shell-send-string-no-output): Use them.
8112
8113 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
8114
8115 * profiler.el (profiler-sampling-interval): Rename from
8116 profiler-sample-interval.
8117 (profiler-sampling-interval): Default to 10.
8118 (profiler-find-profile): New command (was profiler-find-log).
8119 (profiler-find-profile-other-window): New command.
8120 (profiler-find-profile-other-frame): New command.
8121 (profiler-profile): Introduce API-level data structure.
8122
8123 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
8124
8125 file-attributes has a new optional arg FOLLOW-SYMLINKS.
8126 * files.el (remote-file-name-inhibit-cache):
8127 * time.el (display-time-file-nonempty-p): Use it.
8128 * files.el (after-find-file): Don't chase links before calling
8129 file-exists-p, as file-exists-p already does the right thing.
8130
8131 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
8132
8133 Merge from standalone RefTeX repository.
8134
8135 The following ChangeLog entries are shortened versions of the
8136 original ones with file paths adapted. A not so strongly edited
8137 version of the original ChangeLog can be found in the commit log.
8138
8139 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8140 (reftex-arg-cite): Use `reftex-cite-key-separator'.
8141 Correctly handle new value type returned by `reftex-citation'.
8142
8143 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8144 that entries with whitespace at various places are found.
8145 Doc fix. Include entries that are cross-referenced from cited entries.
8146 Include @String definitions in the resulting bib file. Add header
8147 and footer defined in `reftex-create-bibtex-header' and
8148 `reftex-create-bibtex-footer'.
8149 (reftex-do-citation): Make it possible again to insert
8150 non-existent entries. Save match data when asking for optional
8151 arguments. Return all keys, not just the first one.
8152 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8153 all citations in the same line.
8154 (reftex-parse-bibtex-entry): Accept additional optional argument
8155 `raw' and keep quotes or braces if it is non-nil. Match fields
8156 containing hyphens besides word constituents.
8157 (reftex-get-string-refs): New function.
8158 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8159 and ask if it should be reread in case it did.
8160 (reftex-pop-to-bibtex-entry)
8161 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8162 entries with spaces or tabs in front of arguments.
8163 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8164 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8165 Match entries containing numbers and symbol constituents.
8166 (reftex-do-citation, reftex-figure-out-cite-format):
8167 Use `reftex-cite-key-separator'.
8168
8169 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8170 (reftex-mouse-view-crossref): Explain why point is set.
8171
8172 * textmodes/reftex-global.el: Whitespace changes.
8173
8174 * textmodes/reftex-index.el: Move provide statement to end of
8175 file.
8176 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8177 (reftex-index-visit-phrases-buffer): Set marker when visiting
8178 buffer. This allows for returning from the phrases file to the
8179 file one was just editing instead of the file where the last
8180 phrases was added from.
8181 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8182 punctuation syntax as it usually is not used as string quote in
8183 TeX-related modes and may occur unmatched. The change also
8184 prevents fontification of quoted content.
8185 (reftex-index-phrases-mode): Use it.
8186
8187 * textmodes/reftex-parse.el (reftex-parse-from-file):
8188 Move backward one char if a `\' was matched after a section macro.
8189 (reftex-parse-from-file): Use beginning of match instead of end as
8190 bound.
8191
8192 * textmodes/reftex-ref.el: Adapt creation of
8193 `reftex-<package>-<macro>' functions to new structure of
8194 `reftex-ref-style-alist'.
8195 (reftex-reference): Use `reftex-ref-style-list' function.
8196 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8197 reference macro if `reftex-ref-macro-prompt' is non-nil.
8198 (reftex-reference): Pass refstyle to `reftex-format-special'.
8199 Determine reference macro by looking at
8200 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8201 Use only one special format function.
8202 (reftex-varioref-vref, reftex-fancyref-fref)
8203 (reftex-fancyref-Fref): Remove definitions. The functions are now
8204 generated from `reftex-ref-style-alist'.
8205 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8206 Remove.
8207 (reftex-format-special): New function.
8208
8209 * textmodes/reftex-sel.el
8210 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8211 of `reftex-ref-style-alist'. Remove code for testing macro type.
8212 (reftex-select-toggle-varioref)
8213 (reftex-select-toggle-fancyref): Remove.
8214 (reftex-select-cycle-ref-style-internal)
8215 (reftex-select-cycle-ref-style-forward)
8216 (reftex-select-cycle-ref-style-backward): New functions.
8217 (reftex-select-label-map): Use `v' and `V' for general cycling
8218 through reference styles. Add `p' for switching between number
8219 and page reference types.
8220
8221 * textmodes/reftex-toc.el (reftex-re-enlarge):
8222 Call `enlarge-window' only if there is something to do because in Emacs
8223 the horizontal version throws an error even if the parameter is 0.
8224
8225 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8226 (reftex-plug-into-AUCTeX): Doc fix.
8227 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8228 string. Adapt to new name.
8229 (reftex-ref-style-alist): Change structure so that it is not
8230 possible to use multiple different package names within a style.
8231 Remove the symbols for symbols for macro type distinction.
8232 Add characters for macro selection.
8233 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8234 (reftex-create-bibtex-footer): New variables.
8235 (reftex-format-ref-function): Mention third argument of special
8236 format function.
8237 (reftex-ref-style-alist, reftex-ref-style-default-list):
8238 New variables.
8239 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8240 to new implementation. Mark as obsolete. Add compatibility code
8241 for honoring the variable values in case they are set.
8242 (reftex-cite-format-builtin, reftex-bibliography-commands):
8243 Add support for ConTeXt.
8244 (reftex-format-ref-function, reftex-format-cite-function):
8245 Fix custom type.
8246 (reftex-cite-key-separator): New variable.
8247
8248 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8249 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8250 `reftex-syntax-table' because parens have to retain their paren
8251 syntax in order for parsing of BibTeX entries like @book(...) to
8252 work.
8253 (reftex-in-comment): Do not error out if `comment-start-skip' is
8254 not set. Deal correctly with escaped comment characters.
8255 (reftex-tie-multifile-symbols): Add doc string.
8256 Initialize `reftex-ref-style-list'.
8257 (reftex-untie-multifile-symbols): Add doc string.
8258 (reftex-add-index-macros): Doc fix.
8259 (reftex-ref-style-activate, reftex-ref-style-toggle)
8260 (reftex-ref-style-list): New functions.
8261 (reftex-mode-menu): Use them. Adapt to new structure of
8262 `reftex-ref-style-alist'.
8263 (reftex-select-with-char): Kill the RefTeX Select buffer when
8264 done.
8265 (reftex-remove-if): New function.
8266 (reftex-erase-all-selection-and-index-buffers)
8267 (reftex-mode-menu): Reference styles are now computed from
8268 `reftex-ref-style-alist'. Fix typo.
8269 (reftex-report-bug): New function.
8270 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8271 algorithms with O(n log n). Introduce optional argument SORT (not
8272 yet used).
8273
8274 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
8275
8276 Enhancements for triple-quote string syntax.
8277 * progmodes/python.el (python-syntax-propertize-function):
8278 Match both quote cases in one regexp.
8279 (python-syntax-stringify): Handle matches properly.
8280
8281 2012-09-30 Juri Linkov <juri@jurta.org>
8282
8283 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8284 to nil around the call to `insert' to prevent
8285 directory time modification by lock_file. (Bug#2295)
8286 * tar-mode.el (tar-summarize-buffer): Idem.
8287
8288 2012-09-30 Juri Linkov <juri@jurta.org>
8289
8290 * facemenu.el (list-colors-sort): Add option "Luminance".
8291 (list-colors-sort-key): Implement it.
8292
8293 * vc/diff-mode.el (diff-refine-removed):
8294 * vc/ediff-init.el (ediff-fine-diff-A):
8295 * vc/smerge-mode.el (smerge-refined-removed):
8296 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8297
8298 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8299
8300 * term/ns-win.el (x-file-dialog): New function.
8301
8302 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8303
8304 * ido.el (ido-max-directory-size): Default to nil; the current
8305 default is small for POSIX systems, and impractical on Windows 7
8306 now that lstat returns directory sizes for NTFS.
8307
8308 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8309
8310 In buffer display functions handle window-height/window-width
8311 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8312 * window.el (window--display-buffer): New argument ALIST.
8313 Obey window-height and window-width alist entries.
8314 (window--try-to-split-window): New argument ALIST.
8315 Bind window-combination-limit to t when the window's size shall be
8316 changed and window-combination-limit equals `window-size'.
8317 (display-buffer-in-atom-window)
8318 (display-buffer-in-major-side-window)
8319 (display-buffer-in-side-window, display-buffer-same-window)
8320 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8321 (display-buffer-pop-up-window, display-buffer-below-selected)
8322 (display-buffer-at-bottom, display-buffer-in-previous-window)
8323 (display-buffer-use-some-window): Adjust all callers of
8324 window--display-buffer and window--try-to-split-window.
8325 (fit-frame-to-buffer): New option.
8326 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8327 is non-nil.
8328 (display-buffer-in-major-side-window): Evaluate window-height /
8329 window-width alist entries.
8330
8331 * help.el (temp-buffer-resize-frames)
8332 (temp-buffer-resize-regexps): Remove options.
8333 (temp-buffer-resize-mode): Adjust doc-string.
8334 (resize-temp-buffer-window): Don't consult
8335 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8336 temp-buffer-resize-frames.
8337
8338 * dired.el (dired-mark-pop-up):
8339 Call display-buffer-below-selected with a fit-window-to-buffer alist
8340 entry.
8341
8342 2012-09-30 Chong Yidong <cyd@gnu.org>
8343
8344 * server.el (server-host): Document the security implications.
8345 (server-auth-key): Doc fix.
8346
8347 * startup.el (initial-buffer-choice): Doc fix.
8348
8349 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8350
8351 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8352 restriction change.
8353
8354 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8355
8356 * help-fns.el (help-fns--obsolete): Fix last change.
8357
8358 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8359
8360 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8361 (minor-mode-map-alist): Remove redundant code.
8362
8363 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8364 visited in a buffer.
8365 (cvs-insert-visited-file): New function.
8366 (find-file-hook): Use it.
8367
8368 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8369
8370 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8371 chose face.
8372 (log-edit-empty-buffer-p): Don't require a space after a header.
8373
8374 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8375
8376 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8377
8378 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8379 a proper minor-mode.
8380
8381 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8382
8383 2012-09-29 Glenn Morris <rgm@gnu.org>
8384
8385 * winner.el (winner-mode): Remove variable (let define-minor-mode
8386 handle it).
8387 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8388 Doc fixes.
8389 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8390 (winner-mode): Use define-minor-mode.
8391
8392 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8393 the full definition in loaddefs, rather than duplicating it.
8394
8395 * help-macro.el (three-step-help): No need to autoload defcustom.
8396
8397 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8398 (inferior-lisp-program, inferior-lisp-load-command)
8399 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8400 No need to autoload defcustoms.
8401
8402 * hippie-exp.el (hippie-expand-try-functions-list)
8403 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8404 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8405 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8406 (hippie-expand-only-buffers): No need to autoload defcustoms.
8407 * progmodes/vhdl-mode.el (vhdl-line-expand):
8408 Explicitly load hippie-exp, so it does not get autoloaded
8409 while hippie-expand-try-functions-list is let-bound.
8410
8411 2012-09-28 Glenn Morris <rgm@gnu.org>
8412
8413 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8414
8415 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8416 Only "cl.el" counts as cl these days.
8417
8418 2012-09-28 Juri Linkov <juri@jurta.org>
8419
8420 Display archive errors in the echo area instead of inserting
8421 to the file buffer.
8422
8423 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8424 to STDERR-TEST that can be a regexp matching a successful output.
8425 Create a temporary file and redirect stderr to it. Search for
8426 STDERR-TEST in the stderr output and display it in the echo area
8427 if no match is found.
8428 (archive-extract-by-file): New function like
8429 `archive-extract-by-stdout' but extracting archives to files
8430 and looking for successful matches in stdout. Function body is
8431 mostly copied from `archive-rar-extract'.
8432 (archive-rar-extract): Use `archive-extract-by-file'.
8433 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8434
8435 2012-09-28 Leo Liu <sdl.web@gmail.com>
8436
8437 * pcomplete.el (pcomplete-show-completions):
8438 Use minibuffer-message to make pcomplete usable in minibuffer.
8439
8440 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8441
8442 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8443
8444 * type-break.el: Use lexical-binding.
8445 (type-break-mode): Use define-minor-mode.
8446
8447 * emacs-lisp/pcase.el (pcase--mark-used): New.
8448 (pcase--u1): Use it (bug#12512).
8449
8450 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8451 in load-history with the right file name.
8452
8453 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8454
8455 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8456 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8457 (doc-view-get-bounding-box): Make bounding box slicing work for
8458 ODF and DVI documents.
8459
8460 2012-09-28 Glenn Morris <rgm@gnu.org>
8461
8462 * type-break.el (type-break-mode, type-break-interval)
8463 (type-break-good-rest-interval, type-break-keystroke-threshold):
8464 No need to autoload.
8465 (type-break-good-rest-interval, type-break-keystroke-threshold):
8466 Add :set-after.
8467
8468 2012-09-28 Chong Yidong <cyd@gnu.org>
8469
8470 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8471 Add :version tag.
8472
8473 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8474
8475 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8476
8477 2012-09-27 Glenn Morris <rgm@gnu.org>
8478
8479 * faces.el (x-display-name): Declare (for without-x builds).
8480
8481 * linum.el (linum-format): Don't autoload it. Improve :type.
8482
8483 * progmodes/tcl.el: Don't require outline when compiling.
8484 (outline-regexp, outline-level): Declare.
8485 * textmodes/sgml-mode.el: Don't require outline when compiling.
8486 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8487
8488 * term.el (term-ansi-reset):
8489 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8490
8491 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8492 files for RCS and SCCS. (Bug#9781)
8493
8494 2012-09-27 Chong Yidong <cyd@gnu.org>
8495
8496 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8497 change; value should be t.
8498
8499 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8500
8501 * image-mode.el: Use lexical-binding.
8502 (image-mode-winprops): Use t to stand for the window of
8503 a buffer that's not displayed.
8504 * doc-view.el (doc-view-new-window-function): Handle the new
8505 t in winprops.
8506 (doc-view-enlarge): Make it a real nop if the size is not changed.
8507 (doc-view-display): Handle the case where the buffer is not (yet?)
8508 displayed in any window.
8509 (doc-view-saved-settings): New var.
8510 (doc-view-mode): Use it.
8511 (doc-view-fallback-mode): Set it.
8512
8513 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8514 Set lexical-binding.
8515 (minibuffer-eldef-shorten-default): New var.
8516 (minibuffer-default-in-prompt-regexps): Use it for new default.
8517 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8518
8519 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8520
8521 * international/uni-bidi.el:
8522 * international/uni-category.el:
8523 * international/uni-name.el:
8524 * international/uni-numeric.el: Regenerate.
8525
8526 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8527 Stefan Monnier <monnier@iro.umontreal.ca>
8528
8529 * profiler.el: New file.
8530
8531 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8532
8533 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8534 (testcover-reinstrument): Simplify with CSE.
8535
8536 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8537
8538 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8539
8540 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8541
8542 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8543 (verilog-auto-input, verilog-auto-insert-lisp)
8544 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8545 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8546 (verilog-auto-unused, verilog-auto-wire)
8547 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8548 newline. Reported by Andrew Jones.
8549 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8550 Reported by Brad Dobbie.
8551 (verilog-batch-delete-trailing-whitespace):
8552 Create verilog-batch-delete-trailing-whitespace.
8553 Reported by Brad Dobbie.
8554 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8555 parameters from another module. Reported by Dan Katz.
8556 (verilog-auto, verilog-auto-assign-modport)
8557 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8558 AUTOINOUTMODPORT for UVM interface module shell generation.
8559 Reported by Brad Dobbie.
8560 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8561 standard behavior.
8562 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8563 Reported by Matt Martin.
8564
8565 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8566
8567 * window.el (window--resize-child-windows): When resizing child
8568 windows proportionally, process them in reverse order to
8569 preserve the "when splitting a window the new one gets the odd
8570 line" behavior.
8571 (window--resize-root-window-vertically): When resizing the
8572 minibuffer window try to affect only windows at the bottom of the
8573 frame. (Bug#12419)
8574
8575 2012-09-25 Chong Yidong <cyd@gnu.org>
8576
8577 * subr.el (declare): Doc fix.
8578
8579 * help-fns.el (help-fns--obsolete): Handle macros properly.
8580
8581 2012-09-25 Chong Yidong <cyd@gnu.org>
8582
8583 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8584 this function obsolete.
8585
8586 * calendar/cal-x.el (calendar-two-frame-setup)
8587 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8588 * calendar/calendar.el (american-calendar, european-calendar)
8589 (calendar-for-loop):
8590 * comint.el (comint-dynamic-simple-complete)
8591 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8592 * desktop.el (desktop-load-default):
8593 * dired-x.el (dired-omit-here-always)
8594 (dired-hack-local-variables, dired-default-directory):
8595 * emacs-lisp/derived.el (derived-mode-class):
8596 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8597 * emacs-lock.el (toggle-emacs-lock):
8598 * epa.el (epa-display-verify-result):
8599 * epg.el (epg-sign-keys, epg-start-sign-keys)
8600 (epg-passphrase-callback-function):
8601 * eshell/esh-util.el (eshell-for):
8602 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8603 (eshell-add-to-window-buffer-names):
8604 * files.el (locate-file-completion):
8605 * imenu.el (imenu-example--create-c-index)
8606 (imenu-example--create-lisp-index)
8607 (imenu-example--lisp-extract-index-name)
8608 (imenu-example--name-and-position):
8609 * international/mule-cmds.el (princ-list):
8610 * international/mule-diag.el (decode-codepage-char):
8611 * international/mule-util.el (detect-coding-with-priority):
8612 * iswitchb.el (iswitchb-read-buffer):
8613 * mail/mailalias.el (mail-complete):
8614 * mail/sendmail.el (mail-sent-via):
8615 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8616 (mouse-major-mode-menu):
8617 * password-cache.el (password-read-and-add):
8618 * pcomplete.el (pcomplete-parse-comint-arguments):
8619 * progmodes/sh-script.el (sh-maybe-here-document):
8620 * replace.el (query-replace-regexp-eval):
8621 * savehist.el (savehist-load):
8622 * simple.el (choose-completion-delete-max-match):
8623 * term.el (term-dynamic-simple-complete):
8624 * vc/ediff-init.el (ediff-check-version):
8625 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8626 * vc/vc.el (vc-diff-switches-list):
8627 * view.el (view-return-to-alist-update): Likewise.
8628
8629 * subr.el (eval-next-after-load, makehash, insert-string)
8630 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8631 mark obsolete.
8632 (mode-line-inverse-video): Variable deleted.
8633
8634 * international/mule-util.el (string-to-sequence): Remove.
8635
8636 * calendar/calendar.el (calendar-version):
8637 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8638 (icalendar-convert-diary-to-ical):
8639 * cus-edit.el (custom-mode):
8640 * ansi-color.el (ansi-color-unfontify-region):
8641 * international/latin1-disp.el (latin1-char-displayable-p):
8642 * progmodes/cwarn.el (turn-on-cwarn-mode):
8643 * progmodes/which-func.el (which-func-update-1):
8644 Use define-obsolete-function-alias.
8645
8646 * net/newst-backend.el (newsticker-cache-filename):
8647 * net/newst-treeview.el (newsticker-groups-filename):
8648 Fix incorrect obsolescence declaration.
8649
8650 * allout.el (allout-passphrase-hint-string): Likewise.
8651 (allout-init): Use a declare form to mark obsolete.
8652
8653 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8654 this applies to functions.
8655
8656 * iswitchb.el (iswitchb-read-buffer): Move code of
8657 iswitchb-define-mode-map here, and delete that obsolete function.
8658
8659 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8660 font-lock-reference-face.
8661
8662 2012-09-25 Glenn Morris <rgm@gnu.org>
8663
8664 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8665 Doc fixes.
8666
8667 * eshell/em-term.el (eshell-term-name):
8668 Default to term-term-name. (Bug#12485)
8669
8670 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
8671
8672 * progmodes/python.el (python-shell-send-buffer): Better handling
8673 of "if __name__ == '__main__':" conditionals when sending the buffer.
8674
8675 2012-09-24 Glenn Morris <rgm@gnu.org>
8676
8677 * eshell/esh-cmd.el (eshell-find-alias-function):
8678 Tighten up file-name regexp. (Bug#12499)
8679
8680 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
8681
8682 Enhancements for triple-quote string syntax.
8683 * progmodes/python.el (python-quote-syntax): Remove.
8684 (python-syntax-propertize-function): New value.
8685 (python-syntax-count-quotes, python-syntax-stringify):
8686 New functions.
8687
8688 2012-09-24 Chong Yidong <cyd@gnu.org>
8689
8690 * mail/supercite.el (sc-version): Remove obsolete function.
8691 (sc-describe): Don't mark as obsolete, since it is bound.
8692 (sc-submit-bug-report): Remove.
8693
8694 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8695 (cvs-commit-buffer-require-final-newline): Remove.
8696 (log-edit-require-final-newline)
8697 (log-edit-changelog-full-paragraphs): Default to t.
8698
8699 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8700 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8701 * vc/vc.el (vc-checkout-carefully): Likewise.
8702
8703 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8704 (emerge-version): Remove.
8705
8706 * progmodes/compile.el (compile-internal): Remove.
8707 (compilation-parse-errors-function): Fix typo.
8708
8709 * international/mule.el (set-char-table-default): Remove.
8710 (set-coding-priority, make-coding-system, generic-char-p)
8711 (charset-list, charset-bytes, charset-id): Use declare to mark
8712 functions as obsolete.
8713
8714 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8715 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8716 * vc/vc-hooks.el (vc-default-registered): Don't use
8717 vc-master-templates.
8718
8719 * font-lock.el (font-lock-reference-face):
8720 Use define-obsolete-variable-alias.
8721
8722 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8723 * calendar/calendar.el (calendar-font-lock-keywords):
8724 * calendar/diary-lib.el (diary-font-lock-keywords)
8725 (diary-fancy-font-lock-keywords):
8726 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8727 * textmodes/reftex-index.el (reftex-insert-index):
8728 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8729 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8730 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8731 * progmodes/prolog.el (prolog-font-lock-keywords):
8732 * progmodes/idlwave.el (idlwave-idl-keywords):
8733 * progmodes/ada-mode.el (ada-font-lock-keywords):
8734 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8735
8736 2012-09-24 Glenn Morris <rgm@gnu.org>
8737
8738 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8739
8740 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
8741
8742 * progmodes/python.el (python-indent-line): More consistent cursor
8743 movement behavior.
8744
8745 2012-09-23 Stefan Merten <smerten@oekonux.de>
8746
8747 * textmodes/rst.el: Fix compiler warning.
8748
8749 2012-09-23 Roland Winkler <winkler@gnu.org>
8750
8751 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8752 Transcribe also LaTeX hyphenation.
8753 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8754 bibtex-reformat-previous-options.
8755
8756 2012-09-23 Roland Winkler <winkler@gnu.org>
8757
8758 * proced.el (proced-renice-command): New variable.
8759 (proced-marked-processes): New function.
8760 (proced-with-processes-buffer): New macro.
8761 (proced-send-signal): Use them.
8762 (proced-renice): New command bound to r.
8763
8764 2012-09-23 Roland Winkler <winkler@gnu.org>
8765
8766 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8767 ibuffer-saved-filter-groups has one element, shortcut the call of
8768 completing-read. (Bug#12331)
8769
8770 2012-09-23 Chong Yidong <cyd@gnu.org>
8771
8772 * bindings.el (mode-line-toggle-read-only):
8773 * bs.el (bs-toggle-readonly):
8774 * buff-menu.el (Buffer-menu-toggle-read-only):
8775 * dired.el (dired-toggle-read-only):
8776 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8777
8778 2012-09-23 Chong Yidong <cyd@gnu.org>
8779
8780 * image.el (image-type-available-p): Adapt to init-image-library
8781 argument changes.
8782
8783 2012-09-22 Juri Linkov <juri@jurta.org>
8784
8785 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8786 `dired-toggle-read-only'. (Bug#12462)
8787
8788 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8789
8790 * subr.el (temp-output-buffer-show): New function.
8791 (with-output-to-temp-buffer): Call temp-output-buffer-show
8792 instead of internal-temp-output-buffer-show.
8793
8794 2012-09-22 Chong Yidong <cyd@gnu.org>
8795
8796 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8797 (Bug#12462).
8798
8799 * repeat.el (repeat): Doc fix (Bug#12348).
8800
8801 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8802 (Bug#10909).
8803
8804 * simple.el (shell-command-on-region): Doc fix.
8805 (read-only-mode): Doc fix.
8806
8807 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8808
8809 * emacs-lisp/timer.el (run-with-idle-timer)
8810 (timer-activate-when-idle): Warn against reinvoking an idle timer
8811 from within its own timer action. (Bug#12447)
8812
8813 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8814
8815 * cus-start.el (window-combination-limit): Add new optional
8816 values.
8817 * window.el (temp-buffer-window-show)
8818 (window--try-to-split-window): Handle new values of
8819 window-combination-limit (Bug#1806).
8820 (split-window): Test window-combination-limit for t instead of
8821 non-nil.
8822 (display-buffer-at-bottom): New buffer display action function.
8823 * help.el (temp-buffer-resize-regexps): New option.
8824 (temp-buffer-resize-mode): Rewrite doc-string.
8825 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8826 Don't resize reused window. Suggested by Glenn Morris.
8827
8828 2012-09-22 Stefan Merten <smerten@oekonux.de>
8829
8830 * textmodes/rst.el: Revamp section title faces.
8831 (rst-official-version)
8832 (rst-package-emacs-version-alist): Sync with official version
8833 V1.4.0.
8834 (rst-faces-defaults, rst-set-level-default)
8835 (rst-level-face-max, rst-level-face-base-color)
8836 (rst-level-face-base-light, rst-level-face-format-light)
8837 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8838 (rst-adornment-faces-alist): Match new setup.
8839 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8840 (rst-level-5, rst-level-6): New faces.
8841
8842 2012-09-22 Chong Yidong <cyd@gnu.org>
8843
8844 * simple.el (undo): Handle indirect buffers (Bug#8207).
8845
8846 2012-09-21 Leo Liu <sdl.web@gmail.com>
8847
8848 IDO: Disable match re-ordering for buffer switching.
8849 * ido.el (ido-buffer-disable-smart-matches): New variable.
8850 (ido-set-matches-1): Use it. (Bug#2042)
8851
8852 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8853
8854 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8855 Fix 2011-05-17 change. (Bug#12418)
8856
8857 2012-09-21 Leo Liu <sdl.web@gmail.com>
8858
8859 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8860
8861 2012-09-21 Glenn Morris <rgm@gnu.org>
8862
8863 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8864 Be more robust about locating simple.el.
8865
8866 2012-09-21 Glenn Morris <rgm@gnu.org>
8867
8868 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8869
8870 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8871
8872 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8873
8874 2012-09-20 Juri Linkov <juri@jurta.org>
8875
8876 * replace.el (query-replace-read-from): Use `read-regexp' instead
8877 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8878 (occur-read-primary-args): Use `read-regexp' instead of
8879 `read-string'.
8880 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8881 `read-from-minibuffer'.
8882 * isearch.el (isearch-occur): Use `read-regexp' instead of
8883 `read-string'.
8884 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8885 `read-from-minibuffer'.
8886 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8887 of `read-string'. (Bug#7567)
8888
8889 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8890 and allow accepting a list of strings prepended to a list of
8891 standard default values. Doc fix. (Bug#12321)
8892
8893 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8894
8895 * replace.el (read-regexp): Don't add ": " when PROMPT already
8896 ends with a colon and space. (Bug#12321)
8897
8898 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8899
8900 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8901 error.
8902
8903 2012-09-20 Stefan Merten <smerten@oekonux.de>
8904
8905 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8906 Fixes feature request bug#11711.
8907 (rst-mode): Create `imenu-create-index-function'.
8908 (rst-get-stripped-line): Delete after refactoring.
8909 (rst-section-tree, rst-section-tree-rec)
8910 (rst-section-tree-point): Refactor and document properly.
8911 (rst-imenu-find-adornments-for-position)
8912 (rst-imenu-convert-cell, rst-imenu-create-index):
8913 New function.
8914
8915 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8916
8917 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8918 (macroexp--expand-all): Use it.
8919 (macroexp--funcall-and-return): Remove by folding it into its sole
8920 caller (macroexp--warn-and-return).
8921 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8922 Use macroexp--obsolete-warning.
8923
8924 * calc/calc.el: Fix last change by removing the whole chunk, since it
8925 was only needed back when Calc was not bundled.
8926
8927 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8928
8929 * emacs-lisp/debug.el (debug): Restore assignment to
8930 debugger-old-buffer removed on 2012-09-08.
8931
8932 2012-09-20 Juri Linkov <juri@jurta.org>
8933
8934 * dired-aux.el (dired-diff): Remove (require 'diff) since
8935 `diff-latest-backup-file' is now autoloaded.
8936
8937 2012-09-20 Chong Yidong <cyd@gnu.org>
8938
8939 * vc/diff.el (diff-latest-backup-file): Autoload.
8940
8941 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8942
8943 * calc/calc.el: Remove redundant autoload shape check.
8944 (sel-mode): Don't defvar.
8945 (calc-get-stack-element): Add `sel-mode' arg instead.
8946 (calc-top, calc-top-list): Pass it this additional argument.
8947 * calc/calc-store.el (calc-store-map):
8948 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8949 (calc-map-equation, calc-outer-product, calc-inner-product):
8950 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8951
8952 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8953
8954 2012-09-19 Juri Linkov <juri@jurta.org>
8955
8956 * dired-aux.el (dired-diff): Add (require 'diff) because
8957 `diff-latest-backup-file' is not autoloaded.
8958 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8959 of `dired-get-filename' to t to not report error when there is
8960 no default file on the current line.
8961
8962 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8963
8964 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8965 macroexp--eval-if-compile.
8966 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8967 (macroexp--expand-all): Use them (bug#12371).
8968
8969 * doc-view.el (doc-view-guess-paper-size)
8970 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8971
8972 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8973
8974 New feature: set optimal slice from BoundingBox information.
8975 * doc-view.el (doc-view-mode-map): Add keybinding.
8976 (doc-view-menu): Add menu entry.
8977 (doc-view-set-slice): Adapt docstring.
8978 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8979 (doc-view-scale-bounding-box)
8980 (doc-view-set-slice-from-bounding-box): New functions.
8981 (doc-view-paper-sizes): New defvar.
8982
8983 2012-09-19 Glenn Morris <rgm@gnu.org>
8984
8985 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8986 (byte-compile-log-warning): Autoload. (Bug#12371)
8987
8988 * calendar/calendar.el (calendar-american-month-header)
8989 (calendar-european-month-header, calendar-iso-month-header)
8990 (calendar-month-header): New options.
8991 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8992 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8993
8994 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8995
8996 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8997
8998 2012-09-18 Juri Linkov <juri@jurta.org>
8999
9000 * dired-aux.el (dired-diff): Restore original functionality of
9001 getting the default value, but keep new feature of using the
9002 latest existing backup file (`diff-latest-backup-file').
9003
9004 2012-09-18 Juri Linkov <juri@jurta.org>
9005
9006 * dired.el (dired-mark): If the region is active in Transient Mark
9007 mode, mark all files in the active region. Doc fix.
9008 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
9009 Doc fix. (Bug#10624)
9010
9011 2012-09-18 Juri Linkov <juri@jurta.org>
9012
9013 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
9014 attributes for M-n are pulled from the file at point.
9015 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
9016 Suggested by Drew Adams. (Bug#10624)
9017
9018 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
9019
9020 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
9021 whitespace after "end".
9022 (ruby-do-end-to-brace): Collapse block to one line if it fits
9023 within fill-column.
9024
9025 2012-09-18 Martin Rudalics <rudalics@gmx.at>
9026
9027 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
9028 value.
9029 (debug): Don't remove debugger window when debugger is expected
9030 to be back.
9031
9032 2012-09-18 Chong Yidong <cyd@gnu.org>
9033
9034 * custom.el (defface): Doc fix.
9035
9036 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
9037
9038 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
9039
9040 * progmodes/compile.el (compilation-start): Use compilation-always-kill
9041 to initialize query-on-exit; then test that instead (bug#12288).
9042
9043 2012-09-17 Stefan Merten <smerten@oekonux.de>
9044
9045 * textmodes/rst.el: Add support for `testcover'.
9046 (rst-defcustom-testcover, rst-testcover-add-compose)
9047 (rst-testcover-add-1value): New functions.
9048 (rst-portable-mark-active-p): Replace by `use-region-p'.
9049 (rst-update-section, rst-classify-adornment)
9050 (rst-find-title-line): Mark `1value' forms.
9051 (rst-classify-adornment): Remove superfluous form.
9052 (rst-update-section, rst-get-adornments-around)
9053 (rst-adornment-complete-p, rst-get-next-adornment)
9054 (rst-adjust, rst-promote-region)
9055 (rst-display-adornments-hierarchy, rst-straighten-adornments)
9056 (rst-find-pfx-in-region, rst-section-tree-rec)
9057 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
9058 (rst-toc-node, rst-toc, rst-forward-section)
9059 (rst-iterate-leftmost-paragraphs)
9060 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
9061 (rst-bullet-list-region)
9062 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
9063 (rst-compile-find-conf, rst-compile)
9064 (rst-repeat-last-character): Fix style.
9065
9066 2012-09-17 Chong Yidong <cyd@gnu.org>
9067
9068 * comint.el (comint--complete-file-name-data): Don't add a space
9069 if the status is `sole'; that adds a gratuitous space in the
9070 completion-cycling case (Bug#12092).
9071
9072 * pcomplete.el (pcomplete-completions-at-point): Likewise.
9073
9074 2012-09-17 Richard Stallman <rms@gnu.org>
9075
9076 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
9077 only in the mime-shown mode, not in raw mode.
9078 (rmail-mime): Toggle off mime by displaying the message without
9079 mime processing. (Bug#12305)
9080
9081 * mail/rmail.el (rmail-retry-failure):
9082 Turn off mime processing first. (Bug#12037)
9083
9084 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
9085
9086 2012-09-17 Chong Yidong <cyd@gnu.org>
9087
9088 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
9089 (shell-dynamic-complete-functions): Convert to defcustom.
9090 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
9091
9092 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
9093 * comint.el (comint-prompt-read-only):
9094 * custom.el (defcustom):
9095 * hi-lock.el (hi-lock-mode):
9096 * ibuffer.el (ibuffer-formats):
9097 * ielm.el (ielm-prompt-read-only):
9098 * novice.el (disable-command):
9099 * saveplace.el (toggle-save-place):
9100 * speedbar.el (speedbar-supported-extension-expressions):
9101 * startup.el (auto-save-list-file-prefix, init-file-user)
9102 (after-init-hook, inhibit-startup-echo-area-message):
9103 * strokes.el (strokes-help):
9104 * time-stamp.el (time-stamp):
9105 * calendar/calendar.el (calendar, diary-file):
9106 * calendar/diary-lib.el (diary-mail-entries, diary)
9107 (diary-list-entries-hook):
9108 * calendar/holidays.el (holidays, calendar-holidays):
9109 * calendar/lunar.el (lunar-phases):
9110 * calendar/solar.el (sunrise-sunset):
9111 * emulation/edt.el (edt-load-keys):
9112 * emulation/viper.el (viper-mode):
9113 * eshell/em-alias.el (eshell-command-aliases-list):
9114 * eshell/esh-util.el (eshell-convert-numeric-arguments):
9115 * international/ogonek.el (ogonek-information):
9116 * net/tramp-cmds.el (tramp-bug):
9117 * net/quickurl.el (quickurl-reread-hook-postfix):
9118 * play/decipher.el (decipher-font-lock-keywords):
9119 * progmodes/cc-styles.el (c-set-style):
9120 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9121 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9122 * progmodes/octave-mod.el (octave-mode):
9123 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9124 * progmodes/verilog-mode.el (verilog-read-defines):
9125 * textmodes/two-column.el (2C-mode): Likewise.
9126
9127 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
9128
9129 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9130 that holds many addresses.
9131
9132 2012-09-16 Chong Yidong <cyd@gnu.org>
9133
9134 * align.el (align-areas): Call the indication function with
9135 positions instead of markers for arguments (Bug#12343).
9136
9137 * files.el (parse-colon-path): Use split-string (Bug#12351).
9138
9139 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9140 (display-buffer-function): Mark as obsolete.
9141
9142 * progmodes/compile.el (compilation-parse-errors): Accept list
9143 values similar to font-lock-keywords (Bug#12136).
9144 Suggested by Oleksandr Manzyuk.
9145 (compilation-error-regexp-alist): Doc fix.
9146
9147 2012-09-15 Glenn Morris <rgm@gnu.org>
9148
9149 * version.el (emacs-bzr-version-bzr): New function.
9150 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9151
9152 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9153 checkouts, check the parent dirstate matches the branch.
9154 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9155 empty string.
9156
9157 * version.el (emacs-bzr-version): Doc fix.
9158 (emacs-bzr-version-dirstate): New function.
9159 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9160 is local try and check that it matches the branch. If not, just
9161 use dirstate information. (Bug#12441)
9162
9163 2012-09-14 Juri Linkov <juri@jurta.org>
9164
9165 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9166 (Bug#12399)
9167
9168 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9169
9170 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9171
9172 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9173 Remove obsolete byte-compiler hack that tried to silence some warnings.
9174 (edebug-submit-bug-report): Remove.
9175 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9176 Remove aliases, use the un-prefixed name instead.
9177 (edebug-pop-to-buffer): Consider other frames.
9178 (edebug-original-read):: Make it more obvious that it's always defined.
9179 (edebug--make-form-data-entry, edebug--form-data-name)
9180 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9181 single-dashed name, and implement with cl-defstruct.
9182 (edebug-set-form-data-entry): Use the standard accessors.
9183 (edebug-make-top-form-data-entry): Use push.
9184 (edebug-no-match): Drop useless `funcall'.
9185 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9186 to functions.
9187 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9188 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9189 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9190 (easy-menu-define, with-custom-print): Remove redundant specs.
9191 (edebug-outside-overriding-local-map)
9192 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9193 (edebug--display): Bind unread-command-events directly to nil rather
9194 than binding it to unread-command-events and later setting it to nil.
9195 (edebug--display): Kill edebug-eval-buffer here...
9196 (edebug--recursive-edit): ...rather than here.
9197 Bind standard-output and standard-input.
9198 (edebug-eval): Check cl-macroexpand-all is fboundp.
9199 (edebug-temp-display-freq-count): Fix last change.
9200
9201 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9202 * subr.el (noreturn, 1value): Add `debug' spec.
9203 * emacs-lisp/advice.el: Require cl-lib.
9204 (ad-copy-tree): Remove, use copy-tree instead.
9205 (ad-dolist): Remove use dolist or cl-dolist instead.
9206 (ad-do-return): Remove, use cl-return instead.
9207 (defadvice): Add `debug' spec.
9208
9209 2012-09-13 Juri Linkov <juri@jurta.org>
9210
9211 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9212 (Bug#12399)
9213
9214 2012-09-13 Glenn Morris <rgm@gnu.org>
9215
9216 * calc/calc.el (math-compose-expr):
9217 * calc/calc-ext.el (math-compose-expr):
9218 * progmodes/cc-defs.el (cl-macroexpand-all):
9219 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9220 (cl-macroexpand-all): Update declarations.
9221
9222 * vc/vc.el: No need to require ediff.
9223 (ediff-load-version-control): Declare.
9224 (ediff-vc-internal): Fix declaration.
9225 (vc-version-ediff): Require ediff.
9226
9227 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9228
9229 Use a more backwards-compatible timer format (Bug#12430).
9230 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9231 being right after USECS, as that better supports old code that
9232 inadvisedly looked directly at the timer vector.
9233
9234 2012-09-13 Kenichi Handa <handa@gnu.org>
9235
9236 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9237 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9238 `coding-priority' property of these language environment.
9239
9240 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9241
9242 Fix glitches caused by addition of psec to timers (Bug#12430).
9243 * image.el (image-animate-timer):
9244 * time.el (display-time-world-timer):
9245 Use timer--function and timer--args rather than raw access to
9246 timer vector.
9247
9248 2012-09-13 Glenn Morris <rgm@gnu.org>
9249
9250 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9251 If not compiling a file, try using load-file-name.
9252
9253 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9254
9255 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9256 Fix last change.
9257 (edebug-update-eval-list): Use `push'.
9258
9259 * emacs-lisp/edebug.el: Use lexical-binding.
9260 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9261 Mark unused args with underscore.
9262 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9263 (edebug-form-data): Use defvar-local.
9264 (edebug-make-before-and-after-form, edebug-make-after-form):
9265 Use backquote.
9266 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9267 Not dynamically scoped any more.
9268 (edebug--enter-trace): Add arguments `function' and `args'.
9269 Rename from edebug-enter-trace.
9270 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9271 (edebug--update-coverage): Add `after-index' and `value' args.
9272 Rename from edebug-update-coverage.
9273 (edebug-slow-after): Call it accordingly.
9274 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9275 edebug-recursive-edit.
9276 (edebug--display): Call it accordingly. Add args `value',
9277 `offset-index', and `arg-mode'. Rename from edebug-display.
9278 (edebug-debugger, edebug): Call it accordingly.
9279 (edebug-eval-display-list): Use dolist.
9280
9281 2012-09-12 Juri Linkov <juri@jurta.org>
9282
9283 * info.el (Info-search): Don't check for isearch-mode and
9284 isearch-regexp before let-binding search-spaces-regexp to
9285 Info-search-whitespace-regexp.
9286 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9287 search-whitespace-regexp if isearch-lax-whitespace or
9288 isearch-regexp-lax-whitespace is non-nil.
9289 (Info-mode): Don't set local variable search-whitespace-regexp.
9290 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9291
9292 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9293
9294 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9295 (debugger-env-macro): Remove support for unread-command-char.
9296
9297 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9298 the temporary map re-appearing on emulation-mode-map-alists.
9299
9300 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9301 since 22.1.
9302
9303 * ehelp.el (with-electric-help): Accept functions in
9304 electric-help-form-to-execute.
9305 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9306 And replace unread-command-char -> unread-command-events.
9307
9308 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9309
9310 Sync with Tramp 2.2.6.
9311
9312 * net/tramp.el (tramp-accept-process-output): Don't use
9313 JUST-THIS-ONE in the XEmacs case.
9314
9315 * net/trampver.el: Update release number.
9316
9317 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9318
9319 * emacs-lisp/debug.el (debugger-previous-window-height):
9320 New variable.
9321 (debug): When debugger-jumping-flag is non-nil try to restore
9322 height of debugger window. (Bug#8789)
9323
9324 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9325
9326 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9327 overriding-local-map and pre/post-command-hook here.
9328 (edebug-recursive-edit): Do it here instead (bug#12345).
9329 (edebug-outside-unread-command-char): Remove all uses of
9330 unread-command-char.
9331
9332 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9333 inhibit-debugger is bound instead.
9334
9335 2012-09-11 Bastien Guerry <bzg@gnu.org>
9336
9337 * subr.el (set-temporary-overlay-map): Add a docstring.
9338 (Bug#12346)
9339
9340 2012-09-11 Bastien Guerry <bzg@gnu.org>
9341
9342 * minibuffer.el (completion-table-subvert): Fix docstring.
9343 (Bug#12347)
9344
9345 2012-09-11 Bastien Guerry <bzg@gnu.org>
9346
9347 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9348
9349 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9350
9351 * progmodes/sql.el: Version 3.1
9352 (sql-db2-escape-newlines): New variable.
9353 (sql-escape-newlines-filter): Use it.
9354
9355 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9356
9357 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9358
9359 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9360
9361 * vc/diff-mode.el (diff-mode-menu):
9362 Bind diff-remove-trailing-whitespace.
9363
9364 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9365
9366 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9367 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9368 (emacs-lisp-byte-code-mode): New functions.
9369 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9370 (eval-defun-2): Remove bogus interactive spec.
9371 (lisp-indent-line): Remove redundant whole-exp code, now done in
9372 indent-according-to-mode.
9373 (save-match-data): Remove redundant indent data.
9374
9375 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9376 Use `declare'.
9377
9378 2012-09-09 Juri Linkov <juri@jurta.org>
9379
9380 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9381 (replace-lax-whitespace, query-replace-regexp)
9382 (query-replace-regexp-eval, replace-regexp): Doc fix.
9383 (perform-replace, replace-highlight): Let-bind
9384 isearch-lax-whitespace to replace-lax-whitespace and
9385 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9386
9387 * isearch.el (isearch-query-replace): Let-bind
9388 replace-lax-whitespace to isearch-lax-whitespace and
9389 replace-regexp-lax-whitespace to
9390 isearch-regexp-lax-whitespace. (Bug#10885)
9391
9392 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9393
9394 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9395
9396 2012-09-09 Alan Mackenzie <acm@muc.de>
9397
9398 * progmodes/cc-engine.el (c-state-cache-init):
9399 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9400 (c-record-parse-state-state):
9401 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9402
9403 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9404
9405 * register.el (register-separator): Rename from
9406 separator-register. All uses changed. Doc fix.
9407 (register): Fix version.
9408
9409 2012-09-09 Chong Yidong <cyd@gnu.org>
9410
9411 * replace.el (query-replace-map): Bind four new symbols for
9412 requesting window scrolling.
9413
9414 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9415 query-replace-map (Bug#8948).
9416
9417 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9418
9419 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9420 since they are now in query-replace-map.
9421
9422 * window.el (scroll-other-window-down): Make the arg optional.
9423
9424 2012-09-09 Chong Yidong <cyd@gnu.org>
9425
9426 * files.el (hack-local-variables-confirm): Use quit-window to kill
9427 the *Local Variables* buffer.
9428
9429 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9430
9431 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9432 not just expect to be at its beginning. Adjust callees.
9433 Succeed when do-end block has no space before the pipe character.
9434 (ruby-brace-to-do-end): When the original block is one-liner,
9435 convert to multiline. Reindent the result.
9436
9437 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9438
9439 * register.el (register): New group.
9440 (separator-register): New user option.
9441 (increment-register): Route it to `append-to-register', if
9442 register contains text. Implication is that `C-x r +' can now be
9443 used for appending to a text register (bug#12217).
9444 (append-to-register, prepend-to-register): Add separator based on
9445 `separator-register'.
9446
9447 2012-09-08 Alan Mackenzie <acm@muc.de>
9448
9449 AWK Mode: make auto-newline work when there's "==" in the pattern.
9450 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9451 correctly.
9452 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9453 Test more rigorously for "=" token.
9454
9455 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9456
9457 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9458 Only fail when reached LIMIT.
9459
9460 2012-09-08 Chong Yidong <cyd@gnu.org>
9461
9462 * dired.el (dired-mode-map): Don't bind M-=.
9463
9464 * dired-aux.el (dired-diff): Use backup file as default.
9465
9466 2012-09-08 Drew Adams <drew.adams@oracle.com>
9467
9468 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9469
9470 2012-09-08 Chong Yidong <cyd@gnu.org>
9471
9472 * subr.el (syntax-after, syntax-class): Doc fix.
9473
9474 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9475
9476 * window.el (display-buffer-in-previous-window): New buffer
9477 display action function.
9478
9479 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9480 (debugger-previous-window): New variable.
9481 (debug): Rewrite using display-buffer-in-previous-window,
9482 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9483
9484 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9485
9486 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9487
9488 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9489
9490 * progmodes/python.el (python-shell-send-string):
9491 When default-directory is remote, create temp file on remote
9492 filesystem.
9493 (python-shell-send-file): When file is remote, pass local view of
9494 file paths to remote Python interpreter. (Bug#12340)
9495
9496 2012-09-07 Chong Yidong <cyd@gnu.org>
9497
9498 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9499
9500 * files.el (after-find-file): Don't fail on a read-only buffer if
9501 require-final-newline is `visit' or `visit-save' (Bug#11156).
9502
9503 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9504
9505 * userlock.el (ask-user-about-supersession-threat):
9506 Use read-char-choice (Bug#12093).
9507
9508 2012-09-07 Chong Yidong <cyd@gnu.org>
9509
9510 * subr.el (buffer-narrowed-p): New function.
9511
9512 * ses.el (ses-widen):
9513 * simple.el (count-words--buffer-message):
9514 * net/browse-url.el (browse-url-of-buffer): Use it.
9515
9516 * simple.el (count-words-region): Don't signal an error if there
9517 is a non-nil prefix arg and the mark is not set.
9518
9519 * help.el (describe-key-briefly): Allow the message to be seen
9520 when invoked from the minibuffer (Bug#7014).
9521
9522 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9523
9524 * progmodes/ruby-mode.el (ruby-end-of-defun)
9525 (ruby-beginning-of-defun): Simplify, allow indentation before
9526 block beginning and end keywords.
9527 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9528 (ruby-end-of-defun): Expect that the point is at the beginning of
9529 the defun.
9530
9531 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9532
9533 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9534 (bug#12367).
9535 (cl--make-usage-args): Strip _ from argument names.
9536
9537 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9538
9539 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9540 obsolete alias speedbar-key-map.
9541 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9542 (vhdl-index-menu-init): Don't use obsolete variable
9543 font-lock-maximum-size.
9544
9545 2012-09-06 Chong Yidong <cyd@gnu.org>
9546
9547 * frame.el (window-system-version): Mark as obsolete.
9548
9549 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9550 of obsolete variable speedbar-key-map.
9551
9552 2012-09-06 Juri Linkov <juri@jurta.org>
9553
9554 * replace.el (replace-lax-whitespace): New defcustom.
9555 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9556 (replace-string, replace-regexp): Mention it in docstrings.
9557 (perform-replace, replace-highlight): Let-bind
9558 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9559 to the values of replace-lax-whitespace and regexp-flag.
9560 Don't let-bind search-whitespace-regexp. (Bug#10885)
9561
9562 * isearch.el (isearch-query-replace): Let-bind
9563 replace-lax-whitespace instead of let-binding
9564 replace-search-function and replace-re-search-function.
9565 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9566 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9567 (isearch-toggle-symbol): Set isearch-regexp to nil
9568 in isearch-word mode (like in isearch-toggle-word).
9569
9570 2012-09-06 Juri Linkov <juri@jurta.org>
9571
9572 * replace.el (replace-search-function)
9573 (replace-re-search-function): Set default values to nil.
9574 (perform-replace): Let-bind isearch-related variables based on
9575 replace-related values, call `isearch-search-fun' and let-bind
9576 the result to `search-function'. Remove code that sets
9577 `search-function' and `search-string' separately for
9578 `delimited-flag'.
9579 (replace-highlight): Add new argument `delimited-flag' and
9580 rename other arguments to the names used in `perform-replace'.
9581 Let-bind `isearch-word' to the argument `delimited-flag'.
9582 (Bug#10885, bug#10887)
9583
9584 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9585
9586 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9587 ruby-beginning-of-indent, simplify, allow all keywords to have
9588 indentation before them.
9589 (ruby-beginning-of-indent): Adjust for above. Search until the
9590 found point is not inside a string or comment.
9591 (ruby-font-lock-keywords): Allow symbols to start with "@"
9592 character, give them higher priority than variables.
9593 (ruby-syntax-propertize-function)
9594 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9595 matchers. Expression expansions are not comments when inside a
9596 string, and there comment syntax status is irrelevant.
9597 (ruby-match-expression-expansion): New function. Check that
9598 expression expansion is inside a string, and it's not escaped.
9599 (ruby-font-lock-keywords): Use it.
9600
9601 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9602
9603 * help.el (temp-buffer-max-height): New default value.
9604 (temp-buffer-resize-frames): New option.
9605 (resize-temp-buffer-window): Optionally resize frame.
9606
9607 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9608 (fit-frame-to-buffer): New function.
9609
9610 2012-09-05 Glenn Morris <rgm@gnu.org>
9611
9612 * emulation/cua-rect.el (cua--init-rectangles):
9613 * textmodes/picture.el (picture-mode-map):
9614 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9615 like forward-char and backward-char. (Bug#12317)
9616
9617 2012-09-05 Leo Liu <sdl.web@gmail.com>
9618
9619 * progmodes/flymake.el (flymake-warning-re): New variable.
9620 (flymake-parse-line): Use it.
9621
9622 2012-09-05 Glenn Morris <rgm@gnu.org>
9623
9624 * calendar/holidays.el (holiday-christian-holidays):
9625 Rename an entry. (Bug#12289)
9626
9627 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9628
9629 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9630 (bug#12222).
9631
9632 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9633
9634 * loadup.el: Load macroexp. Remove hack.
9635 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9636 (macroexp--expand-all): Use it to get better warnings.
9637 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9638 (internal-macroexpand-for-load): New functions.
9639 (macroexp--pending-eager-loads): New var.
9640 (emacs-startup-hook): New hack to replace one in loadup.el.
9641 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9642 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9643 (cl-psetf): Simplify.
9644 (cl-defstruct): Add indent rule.
9645
9646 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9647
9648 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9649 over `user-mail-address' for the SMTP MAIL FROM envelope.
9650 (smtpmail-via-smtp): Ditto.
9651
9652 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9653
9654 * progmodes/ruby-mode.el: Clean up keybindings.
9655 (ruby-mode-map): Don't bind ruby-electric-brace,
9656 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9657 backward-kill-word, reindent-then-newline-and-indent.
9658 (ruby-mark-defun): Remove.
9659 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9660 (ruby-mode): Set local beginning-of-defun-function and
9661 end-of-defun-function values.
9662
9663 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9664
9665 * window.el (temp-buffer-window-setup-hook)
9666 (temp-buffer-window-show-hook): New hooks.
9667 (temp-buffer-window-setup, temp-buffer-window-show)
9668 (with-temp-buffer-window): New functions.
9669 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9670 (special-display-popup-frame): Make sure the window used shows BUFFER.
9671
9672 * help.el (temp-buffer-resize-mode): Fix doc-string.
9673 (resize-temp-buffer-window): New optional argument WINDOW.
9674
9675 * files.el (recover-file, save-buffers-kill-emacs):
9676 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9677
9678 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9679
9680 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9681 remote definition of `default-directory', ensure we can connect.
9682
9683 2012-09-02 Juri Linkov <juri@jurta.org>
9684
9685 Toggle whitespace matching mode with M-s SPC.
9686 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9687
9688 * isearch.el (search-whitespace-regexp): Doc fix.
9689 Remove cons cell customization.
9690 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9691 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9692 New variables.
9693 (isearch-forward, isearch-forward-regexp): Doc fix.
9694 (isearch-toggle-lax-whitespace): New command.
9695 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9696 (re-search-forward-lax-whitespace)
9697 (re-search-backward-lax-whitespace): New functions.
9698 (isearch-whitespace-regexp): Remove function.
9699 (isearch-query-replace): Let-bind replace-search-function and
9700 replace-re-search-function.
9701 (isearch-occur): Let-bind search-spaces-regexp according to the
9702 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9703 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9704 condition for C-q SPC.
9705 (isearch-search-fun-default): Use new functions mentioned above.
9706 (isearch-search-forward, isearch-search-backward): Remove functions.
9707 (isearch-search): Don't let-bind search-spaces-regexp.
9708 (isearch-lazy-highlight-space-regexp): Remove variable.
9709 (isearch-lazy-highlight-lax-whitespace)
9710 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9711 (isearch-lazy-highlight-new-loop): Use them.
9712 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9713
9714 2012-09-02 Chong Yidong <cyd@gnu.org>
9715
9716 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9717
9718 2012-09-02 Glenn Morris <rgm@gnu.org>
9719
9720 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9721
9722 2012-09-01 Glenn Morris <rgm@gnu.org>
9723
9724 * term.el: Tidy up menu definitions.
9725 (term-mode-map): Use easymenu for In/Out, Complete menus.
9726 (term-pager-break-map): Initialize in the defvar.
9727 (term-terminal-menu, term-signals-menu): Define with easymenu.
9728 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9729 (term-pager-menu): New, extracted from term-process-pager.
9730 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9731 (term-update-mode-line): Propertize line/char and page items.
9732 (term-process-pager): Move keymap initialization elsewhere.
9733
9734 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9735
9736 * window.el (switch-to-prev-buffer): Handle additional values of
9737 BURY-OR-KILL argument. Don't switch in minibuffer window.
9738 (switch-to-next-buffer): Don't switch in minibuffer window.
9739 (quit-restore-window): New function based on quit-window.
9740 Handle additional values of former KILL argument.
9741 (quit-window): Call quit-restore-window with appropriate
9742 interpretation of KILL argument.
9743 (display-buffer-below-selected): New buffer display action
9744 function.
9745
9746 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9747
9748 * minibuffer.el (completion-at-point-functions): Complete docstring
9749 (bug#12254).
9750
9751 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9752
9753 Better seed support for (random).
9754 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9755 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9756 * play/mpuz.el, play/tetris.el, play/zone.el:
9757 * calc/calc-comb.el (math-init-random-base):
9758 * play/blackbox.el (bb-init-board):
9759 * play/life.el (life):
9760 * server.el (server-use-tcp):
9761 * type-break.el (type-break):
9762 Remove unnecessary call to (random t).
9763 * net/sasl.el (sasl-unique-id-function):
9764 Change (random t) to (random), now that the latter is more random.
9765 * play/life.el (life-initialized): Remove no-longer-needed var.
9766
9767 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9768
9769 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9770 Consider frame's buffer predicate when choosing the buffer.
9771 (Bug#12081)
9772
9773 2012-08-30 Richard Stallman <rms@gnu.org>
9774
9775 * simple.el (special-mode-map): Delete binding for `z'.
9776
9777 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9778
9779 * progmodes/compile.el (compilation-always-kill): Doc fix.
9780
9781 2012-08-30 Chong Yidong <cyd@gnu.org>
9782
9783 * window.el (display-buffer-reuse-frames): Make the obsolescence
9784 message more informative.
9785
9786 2012-08-30 Glenn Morris <rgm@gnu.org>
9787
9788 * paren.el (show-paren-delay):
9789 Add a :set function. Doc fix. (Bug#12297)
9790
9791 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9792
9793 * progmodes/compile.el (compilation-always-kill): New var.
9794 (compilation-start): Use it.
9795
9796 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9797
9798 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9799 * files.el (read-only-mode): Move to simple.el.
9800
9801 * files.el (read-only-mode): New minor mode.
9802 (toggle-read-only): Use it and mark obsolete.
9803 (find-file--read-only):
9804 * vc/vc.el (vc-next-action, vc-checkout):
9805 * vc/vc-cvs.el (vc-cvs-checkout):
9806 * obsolete/vc-mcvs.el (vc-mcvs-update):
9807 * ffap.el (ffap--toggle-read-only): Update callers.
9808
9809 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9810
9811 * eshell/esh-ext.el (eshell-external-command): Do not examine
9812 remote shell scripts.
9813 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9814
9815 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9816 "/usr/local/sbin".
9817
9818 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9819
9820 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9821
9822 2012-08-28 Leo Liu <sdl.web@gmail.com>
9823
9824 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9825 completion-at-point. (Bug#12220)
9826
9827 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9828
9829 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9830
9831 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9832
9833 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9834 be buffer-local; add delete-trailing-whitespace (bug#12259).
9835
9836 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9837
9838 * progmodes/hideif.el (hif-compress-define-list):
9839 Fix typo. (Bug#11951)
9840
9841 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9842
9843 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9844 buffer local setting.
9845
9846 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9847 rcirc-encode-coding-system.
9848
9849 2012-08-28 Leo Liu <sdl.web@gmail.com>
9850
9851 * net/rcirc.el (rcirc-split-message): New function.
9852 (rcirc-send-message): Use it. (Bug#12051)
9853
9854 2012-08-28 Juri Linkov <juri@jurta.org>
9855
9856 * info.el (Info-fontify-node): Hide empty lines at the end of
9857 the node. (Bug#12272)
9858
9859 2012-08-27 Drew Adams <drew.adams@oracle.com>
9860
9861 * dired.el (dired-pop-to-buffer): Make window start at beginning
9862 of buffer (Bug#12281).
9863
9864 2012-08-26 Chong Yidong <cyd@gnu.org>
9865
9866 * window.el (special-display-regexps, special-display-frame-alist)
9867 (special-display-buffer-names, special-display-function)
9868 (display-buffer-reuse-frames): Mark as obsolete.
9869
9870 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9871
9872 * help.el (help-print-return-message): Don't treat
9873 display-buffer-reuse-frames specially.
9874
9875 2012-08-26 Chong Yidong <cyd@gnu.org>
9876
9877 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9878 New variable, replacing gdb-frame-parameters.
9879 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9880 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9881 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9882 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9883 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9884 the functions directly with gdb-display-buffer-other-frame-action.
9885 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9886 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9887 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9888 (gdb-display-registers-buffer): Define directly.
9889 (def-gdb-display-buffer): Macro deleted.
9890 (gdb-display-buffer): Remove second and third args, callers don't
9891 use them. Defer to the default display-buffer behavior, apart
9892 from making windows dedicated.
9893 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9894
9895 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9896
9897 * window.el (display-buffer-pop-up-frame): Handle a
9898 pop-up-frame-parameters alist entry.
9899 (display-buffer): Document it.
9900
9901 2012-08-26 Chong Yidong <cyd@gnu.org>
9902
9903 * isearch.el (search-whitespace-regexp): Make string and nil
9904 values apply to both ordinary and regexp search. Allow a cons
9905 cell value to distinguish between the two.
9906 (isearch-whitespace-regexp, isearch-search-forward)
9907 (isearch-search-backward): New functions.
9908 (isearch-occur, isearch-search-fun-default, isearch-search)
9909 (isearch-lazy-highlight-new-loop): Use them.
9910 (isearch-forward, isearch-forward-regexp): Doc fix.
9911
9912 2012-08-26 Chong Yidong <cyd@gnu.org>
9913
9914 * faces.el (help-argument-name): Always inherit from italic
9915 (Bug#12213).
9916
9917 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9918
9919 * window.el (window--even-window-heights): Even heights when
9920 WINDOW and the selected window form a vertical combination.
9921 (display-buffer-use-some-window): Provide that window used gets
9922 sized back by quit-window. (Bug#11880) and (Bug#12091)
9923
9924 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9925
9926 Fix file time stamp problem with bzr and CVS (Bug#12001).
9927 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9928 in the file's time stamp, since the version control system loses
9929 that information.
9930
9931 2012-08-22 Juri Linkov <juri@jurta.org>
9932
9933 * info.el (Info-fontify-node): Hide the suffix of the
9934 Info file name in the header line. (Bug#12187)
9935
9936 2012-08-22 Glenn Morris <rgm@gnu.org>
9937
9938 * calendar/cal-tex.el (cal-tex-weekly-common):
9939 Restore leading blank page.
9940
9941 2012-08-22 Le Wang <l26wang@gmail.com>
9942
9943 * misc.el (forward-to-word, backward-to-word): Activate or extend
9944 the region under `shift-select-mode'. (Bug#12231)
9945
9946 2012-08-22 Bastien Guerry <bzg@gnu.org>
9947
9948 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9949 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9950 gives details on why the space is never needed.
9951
9952 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9953
9954 * window.el (walk-window-tree, window-with-parameter):
9955 New optional argument MINIBUF to control whether these functions
9956 should run on the minibuffer window.
9957 (window-at-side-list): Don't operate on minibuffer window.
9958 (window-in-direction): Simplify and rewrite doc-string.
9959 (window--size-ignore): Rename to window--size-ignore-p.
9960 Update callers.
9961 (display-buffer-in-atom-window, window--major-non-side-window)
9962 (window--major-side-window, display-buffer-in-major-side-window)
9963 (delete-side-window, display-buffer-in-side-window):
9964 New functions.
9965 (window--side-check, window-deletable-p, delete-window)
9966 (delete-other-windows, split-window): Handle side windows and
9967 atomic windows appropriately.
9968 (window--display-buffer): Call display-buffer-record-window also
9969 when the window buffer did not change.
9970
9971 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9972
9973 * help-fns.el (help-fns--key-bindings):
9974 Abbreviate non-symbol remap targets. (Bug#12174)
9975
9976 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9977
9978 * dired.el (dired-mark-remembered): Don't clobber point.
9979 (Bug#11795)
9980
9981 2012-08-22 Glenn Morris <rgm@gnu.org>
9982
9983 * progmodes/bug-reference.el (bug-reference): New custom group.
9984 (bug-reference-bug-regexp): Make it a defcustom.
9985
9986 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9987
9988 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9989 (js-paren-indent-offset, js-square-indent-offset)
9990 (js-curly-indent-offset): Add :safe (Bug#12257).
9991
9992 2012-08-22 Edward O'Connor <hober0@gmail.com>
9993
9994 * json.el (json-key-format): Add error properties.
9995 (json-encode-key): New function.
9996 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9997 Use json-encode-key.
9998
9999 2012-08-22 Glenn Morris <rgm@gnu.org>
10000
10001 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
10002 (cal-tex-leftday, cal-tex-rightday): Remove functions.
10003 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
10004 Update for above change.
10005
10006 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
10007
10008 * cus-face.el (custom-face-attributes): Fix customize type for the
10009 :underline attribute. (Bug#11805)
10010
10011 2012-08-21 Martin Rudalics <rudalics@gmx.at>
10012
10013 * window.el (window-point-1, set-window-point-1): Remove.
10014 (window-in-direction, record-window-buffer)
10015 (set-window-buffer-start-and-point, split-window-below)
10016 (window--state-get-1, display-buffer-record-window):
10017 Replace calls to window-point-1 and set-window-point-1 by calls to
10018 window-point and set-window-point respectively.
10019
10020 2012-08-21 Glenn Morris <rgm@gnu.org>
10021
10022 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
10023 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
10024 Use it.
10025
10026 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
10027 (cal-tex-shortday): New function.
10028 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
10029 (cal-tex-cursor-filofax-daily): Use the above.
10030
10031 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
10032 New functions.
10033 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10034 (cal-tex-cursor-filofax-week): Use them.
10035
10036 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
10037 New constants.
10038 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10039 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
10040
10041 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
10042 (cal-tex-end-document): Don't rely on buffer name.
10043
10044 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
10045 Use cal-tex-vspace.
10046 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
10047 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
10048 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
10049 Use cal-tex-arg.
10050
10051 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
10052 (cal-tex-cursor-week, cal-tex-cursor-week2)
10053 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
10054 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10055 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
10056 (cal-tex-insert-preamble, cal-tex-b-document)
10057 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
10058 Improve cal-tex-cmd usage.
10059
10060 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
10061 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
10062 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
10063 (cal-tex-weekly-paper): New function.
10064 (cal-tex-cursor-week, cal-tex-cursor-week2)
10065 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
10066 (cal-tex-cursor-day): Use it.
10067
10068 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
10069 (cal-tex-cursor-filofax-week): Remove leading blank page.
10070
10071 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10072 Add autoload cookie. For now at least, don't use color, since
10073 no other cal-tex function does.
10074
10075 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
10076 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10077 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
10078
10079 2012-08-21 Juri Linkov <juri@jurta.org>
10080
10081 * info.el (Info-file-attributes): New variable.
10082 (info-insert-file-contents): Add file attributes to
10083 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
10084 `Info-toc-nodes' when previous modtime of the Info file is less
10085 than new modtime.
10086 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
10087 of info.el. (Bug#12230)
10088
10089 2012-08-20 Glenn Morris <rgm@gnu.org>
10090
10091 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
10092 * calendar/holidays.el (calendar-holiday-list):
10093 Report errors with display-warning rather than beep'n'sleep.
10094
10095 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
10096
10097 * net/tramp.el (tramp-accept-process-output): Accept only output
10098 from PROC. Otherwise, process filters and sentinels might be
10099 confused. (Bug#12145)
10100
10101 2012-08-20 Chong Yidong <cyd@gnu.org>
10102
10103 * descr-text.el (describe-text-properties-1): Use overlays-in to
10104 report on empty overlays (Bug#3322).
10105
10106 2012-08-20 Glenn Morris <rgm@gnu.org>
10107
10108 * mail/rmailout.el (rmail-output-read-file-name):
10109 Trap and report errors in rmail-output-file-alist elements.
10110
10111 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10112 since most non-font-lock faces are not also variables).
10113
10114 2012-08-20 Edward Reingold <reingold@iit.edu>
10115
10116 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10117 New function. (Bug12160)
10118
10119 2012-08-19 Glenn Morris <rgm@gnu.org>
10120
10121 * mail/rmailout.el (rmail-output-read-file-name):
10122 Fix previous change (when the alist is nil or does not match).
10123
10124 2012-08-19 Chong Yidong <cyd@gnu.org>
10125
10126 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10127 (Bug#12228).
10128
10129 2012-08-18 Chong Yidong <cyd@gnu.org>
10130
10131 * simple.el (yank-handled-properties): New defcustom.
10132 (yank-excluded-properties): Add font-lock-face and category.
10133 (yank): Doc fix.
10134
10135 * subr.el (remove-yank-excluded-properties):
10136 Obey yank-handled-properties. The special handling of font-lock-face
10137 and category is now done this way, instead of being hard-coded.
10138 (insert-for-yank-1): Remove font-lock-face handling.
10139 (yank-handle-font-lock-face-property)
10140 (yank-handle-category-property): New function.
10141
10142 2012-08-17 Glenn Morris <rgm@gnu.org>
10143
10144 * mail/rmailout.el (rmail-output-read-file-name):
10145 Check rmail-output-file-alist against the full message body
10146 in the correct rmail buffer. (Bug#12214)
10147
10148 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10149
10150 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10151 Eliminate superfluous prompt. (Bug#12203)
10152
10153 2012-08-17 Chong Yidong <cyd@gnu.org>
10154
10155 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10156 font spec, set the font directly (Bug#3228).
10157
10158 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10159
10160 * window.el (delete-window): Fix last fix.
10161
10162 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10163
10164 * window.el (window-valid-p): Move to window.c.
10165 (window-child, window-child-count, window-last-child)
10166 (window-normalize-window, window-combined-p)
10167 (window-combinations, window-atom-root, window-min-size)
10168 (window-sizable, window-sizable-p, window-size-fixed-p)
10169 (window-min-delta, window-max-delta, window--resizable)
10170 (window--resizable-p, window-resizable, window-total-size)
10171 (window-full-height-p, window-full-width-p, window-body-size)
10172 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10173 (minimize-window, window-deletable-p, delete-window)
10174 (delete-other-windows, set-window-buffer-start-and-point)
10175 (next-buffer, previous-buffer, split-window, balance-windows-2)
10176 (set-window-text-height, window-buffer-height)
10177 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10178 (truncated-partial-width-window-p): Minor code adjustments.
10179 In doc-strings state whether the argument window has to denote a
10180 live, valid or any window.
10181
10182 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10183
10184 * progmodes/subword.el (subword-forward-function)
10185 (subword-backward-function, subword-forward-regexp)
10186 (subword-backward-regexp): New variables.
10187 (subword-forward, subword-forward-internal, subword-backward-internal):
10188 Use new variables, eg so that different "word" definitions
10189 can be easily used. (Bug#11411)
10190
10191 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10192
10193 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10194 for composite selectors.
10195 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10196 operation just because we can't find a previous revision.
10197
10198 2012-08-15 Chong Yidong <cyd@gnu.org>
10199
10200 * frame.el (set-frame-font): Accept font objects.
10201
10202 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10203
10204 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10205
10206 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10207
10208 * man.el (Man-overstrike-face, Man-underline-face)
10209 (Man-reverse-face): Remove variables.
10210 (Man-overstrike, Man-underline, Man-reverse): New faces.
10211 (Man-fontify-manpage): Use them instead of the variables.
10212 (Man-cleanup-manpage): Comment change.
10213 (Man-ansi-color-map): New variable.
10214 (Man-fontify-manpage): Use it.
10215 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10216
10217 Implement ANSI SGR parameters 22-27 (bug#12146).
10218 * ansi-color.el (ansi-colors): Doc fix.
10219 (ansi-color-context, ansi-color-context-region): Doc fix.
10220 (ansi-color--find-face): New function.
10221 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10222 Rename the local variable `face' to `codes' since it is now a list of
10223 ansi codes. Doc fix.
10224 (ansi-color-get-face): Remove.
10225 (ansi-color-parse-sequence): New function, derived from
10226 ansi-color-get-face.
10227 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10228 codes 22-27.
10229
10230 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10231
10232 * subr.el (read-passwd): Allow use from a minibuffer.
10233
10234 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10235
10236 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10237 inside comments and strings as identifiers.
10238
10239 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10240 expression to evaluate. This allows to evaluate expressions with
10241 embedded whitespace.
10242 (gud-tooltip-tips): Add a blank before the newline in the
10243 message-box text, for the benefit of message-box emulation on
10244 MS-Windows.
10245
10246 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10247 messages from GDB, pop them up in a tooltip to give feedback to
10248 user.
10249 (gdb-tooltip-print-1): Quote the expression to evaluate.
10250 This allows to evaluate expressions with embedded whitespace.
10251 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10252 if the TTY name is nil or empty (which happens when communicating
10253 with the inferior via pipes, e.g. on MS-Windows).
10254 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10255 don't send that to the GUD buffer.
10256
10257 2012-08-14 Glenn Morris <rgm@gnu.org>
10258
10259 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10260 Optimize away setq-default with no args, as for setq. (Bug#12195)
10261
10262 2012-08-14 Chong Yidong <cyd@gnu.org>
10263
10264 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10265
10266 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10267 (Bug#12085).
10268
10269 2012-08-14 Glenn Morris <rgm@gnu.org>
10270
10271 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10272
10273 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10274
10275 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10276 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10277 Use cached shell name.
10278
10279 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
10280
10281 * progmodes/python.el (python-shell-send-string):
10282 (python-shell-send-setup-code): Do not use `format' with `message'.
10283
10284 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10285
10286 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10287 (ruby-percent-literal-beg-re): New constant.
10288 (ruby-syntax-general-delimiters-goto-beg): Rename to
10289 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10290 (ruby-syntax-propertize-general-delimiters): Rename to
10291 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10292 popular term. Adjust comments everywhere.
10293 (ruby-syntax-propertize-percent-literal): Only propertize when not
10294 inside a simple string or comment. When the literal is unclosed,
10295 leave the text after it unpropertized.
10296 (ruby-syntax-methods-before-regexp): New constant.
10297 (ruby-syntax-propertize-function): Use it to recognize regexps.
10298 Don't look at the text after regexp, just use the whitelist.
10299
10300 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10301
10302 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10303 non-nil always load the compiled file if it exists. (Bug#12197)
10304
10305 2012-08-14 Chong Yidong <cyd@gnu.org>
10306
10307 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10308 (hi-lock-set-pattern): When deciding whether to use font lock or
10309 overlays, look at font-lock-mode instead of font-lock-fontified
10310 (Bug#12168).
10311 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10312 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10313
10314 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10315
10316 * subr.el (internal--after-with-selected-window): Fix typo
10317 (Bug#12193).
10318
10319 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
10320
10321 Use `completion-table-dynamic' for completion functions.
10322 * progmodes/python.el
10323 (python-shell-completion--do-completion-at-point)
10324 (python-shell-completion--get-completions):
10325 Remove functions.
10326 (python-shell-completion-complete-at-point): New function.
10327 (python-completion-complete-at-point): Use it.
10328
10329 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10330
10331 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10332 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10333
10334 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10335
10336 * subr.el (function-get): Refine `autoload' arg so it can also
10337 autoload functions for gv.el (bug#12191).
10338 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10339 autoloads macros.
10340
10341 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10342 Prefer pcase-let over destructuring-bind.
10343 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10344 Also, remove whitespace as we go, rather than after accumulating the
10345 various places.
10346
10347 * subr.el (internal--before-with-selected-window)
10348 (internal--after-with-selected-window): Fix typo seleted->selected.
10349 (with-selected-window): Adjust callers.
10350 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10351
10352 2012-08-13 Bastien Guerry <bzg@gnu.org>
10353
10354 * window.el (special-display-popup-frame): Minor docstring
10355 enhancement. (Bug#12172)
10356
10357 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10358
10359 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10360 type 1-6.
10361 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10362 extended headers.
10363
10364 * files.el (hack-local-variables-filter): Remove useless eval.
10365
10366 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10367
10368 * subr.el (with-selected-window): Fix last change.
10369
10370 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10371
10372 * subr.el (internal--before-with-seleted-window)
10373 (internal--after-with-seleted-window): New functions.
10374 (with-selected-window): Use them, to replace dependency on
10375 tty-top-frame.
10376
10377 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10378
10379 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10380 binding for `newline'.
10381 (ruby-move-to-block): When moving backward, stop at block opening,
10382 not indentation.
10383 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10384 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10385 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10386 `ruby-toggle-block'.
10387
10388 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10389
10390 * ibuffer.el (ibuffer-do-toggle-read-only):
10391 * dired.el (dired-toggle-read-only):
10392 * buff-menu.el (Buffer-menu-toggle-read-only):
10393 * bindings.el (mode-line-toggle-read-only):
10394 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10395
10396 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10397
10398 * descr-text.el (describe-char): Put the overlays over the
10399 "displayed as" character.
10400
10401 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10402
10403 * calc/calc-units.el (math-default-units-table): Give an
10404 initial value.
10405 (math-put-default-units): Add options to put composite units and
10406 unit systems in the default units table.
10407 (calc-convert-units): Send composite units to
10408 `math-put-default-units' when appropriate.
10409
10410 2012-08-11 Glenn Morris <rgm@gnu.org>
10411
10412 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10413
10414 * tutorial.el (help-with-tutorial):
10415 * emacs-lisp/copyright.el (copyright-update-directory):
10416 * emacs-lisp/autoload.el (autoload-find-generated-file)
10417 (autoload-find-file): Disable local eval: (for insurance).
10418
10419 * files.el (hack-local-variables-filter): If an eval: form is not
10420 known to be safe, and enable-local-variables is :safe, then ignore
10421 the form totally, as is done for non-eval forms. (Bug#12155)
10422 This is CVE-2012-3479.
10423
10424 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10425
10426 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10427 (rx-form): Simplify.
10428
10429 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10430
10431 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10432 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10433 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10434 (ruby-syntax-propertize-function): Adjust for changes in
10435 `ruby-syntax-propertize-heredoc'.
10436
10437 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10438
10439 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10440 binding (use `M-;' instead).
10441 (ruby-singleton-class-p): New function.
10442 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10443
10444 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10445
10446 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10447
10448 2012-08-10 Chong Yidong <cyd@gnu.org>
10449
10450 * progmodes/python.el (python-shell-get-process-name): Don't mess
10451 with same-window-buffer-names.
10452
10453 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10454 (eshell-remove-from-window-buffer-names): Make obsolete.
10455 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10456 (eshell): Just use pop-to-buffer-same-window instead.
10457
10458 2012-08-10 Chong Yidong <cyd@gnu.org>
10459
10460 * bindings.el: Bind M-= back to count-words-region.
10461
10462 * simple.el (count-words-region): Accept a prefix arg for acting
10463 on the entire buffer.
10464 (count-words--buffer-message): New helper function.
10465
10466 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10467
10468 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10469 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10470 (event-start, event-end): Use posn-at-point to return a more
10471 informative posn.
10472 (posnp): New function.
10473 * mouse.el (popup-menu-normalize-position): Use it.
10474
10475 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10476
10477 * mouse.el (popup-menu-normalize-position): New function.
10478 (popup-menu): Use `popup-menu-normalize-position' to normalize
10479 the form for POSITION argument.
10480
10481 * term/x-win.el (x-menu-bar-open):
10482 Use the value returend from (posn-at-point) as position
10483 passed to `popup-menu'.
10484
10485 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10486
10487 * calc/calccomp.el (math-compose-expr): Add extra argument
10488 indicating that parentheses should be put around products in
10489 denominators. Give multiplication precedence over division during
10490 composition.
10491
10492 2012-08-09 Chong Yidong <cyd@gnu.org>
10493
10494 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10495 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10496 (Man-untabify-command, manual-program): Convert to defcustom
10497 (Bug#10429).
10498
10499 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10500
10501 * descr-text.el (describe-char): Don't insert extra newlines
10502 (Bug#10127).
10503
10504 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10505 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10506
10507 * align.el (align-region): Delete temporary markers (Bug#10047).
10508 Plus some code cleanups.
10509
10510 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
10511
10512 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10513 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10514 (python-shell-internal-last-output): Use make-local-variable
10515 instead of make-variable-buffer-local.
10516
10517 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
10518
10519 * progmodes/python.el: Enhancements to forward-sexp.
10520 (python-nav-forward-sexp): Rename from
10521 python-nav-forward-sexp-function.
10522 (python-nav--forward-sexp, python-nav--backward-sexp):
10523 New functions.
10524
10525 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10526
10527 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10528 modes and simplification modes.
10529
10530 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10531
10532 * delsel.el (delete-selection-pre-hook): Don't propagate the
10533 file-supersession signals (bug#12161).
10534
10535 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10536
10537 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10538 (cl-map-extents): Add compatibility aliases (bug#12135).
10539
10540 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10541
10542 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10543 tests by `ignore-error'.
10544 (tramp-find-shell): Open also a new shell, when cache is already
10545 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10546
10547 2012-08-08 Juri Linkov <juri@jurta.org>
10548
10549 * bookmark.el: Add `defaults' property to the bookmark record.
10550 (bookmark-current-buffer): Doc fix.
10551 (bookmark-make-record): Add `defaults' property with default values
10552 to the bookmark record.
10553 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10554 with `bookmark-insert-current-bookmark'.
10555 (bookmark-set): Get `defaults' property from the bookmark record
10556 and use it in `read-from-minibuffer'.
10557 (bookmark-insert-current-bookmark): Remove function.
10558
10559 * info.el (Info-bookmark-make-record): Add `defaults' property
10560 with values of canonical Info node name, the current Info file
10561 name and the current Info node name. (Bug#12107)
10562
10563 2012-08-08 Juri Linkov <juri@jurta.org>
10564
10565 * files.el (basic-save-buffer): Use `buffer-name' as the default
10566 of `read-file-name' when buffer is not visiting a file (bug#12128).
10567
10568 2012-08-08 Juri Linkov <juri@jurta.org>
10569
10570 * info.el (Info-isearch-search): Doc fix.
10571 (Info-search): Change search-failed message from "initial node" to
10572 "end of node" (bug#12078).
10573 (Info-isearch-search): Change `isearch-string-state' to
10574 `isearch--state-string'.
10575
10576 2012-08-08 Glenn Morris <rgm@gnu.org>
10577
10578 * language/persian.el: Remove file.
10579 * language/misc-lang.el: Move unique part of persian.el here.
10580 * loadup.el: Remove language/persian.
10581
10582 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
10583
10584 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10585
10586 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
10587
10588 * progmodes/python.el: Fix defsubst warning.
10589 (python-syntax-context) Rename from python-info-ppss-context.
10590 (python-syntax-context-type): Rename from
10591 python-info-ppss-context-type.
10592 (python-syntax-comment-or-string-p): Rename from
10593 python-info-ppss-comment-or-string-p.
10594
10595 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10596
10597 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10598
10599 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10600
10601 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10602 a defcustom that is quoted with backquote.
10603
10604 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10605 Fix handling of interactive spec when the body uses return.
10606 (math-do-arg-check, math-define-function-body): Use backquote forms.
10607 * calc/calc-ext.el (math-defcache): Likewise.
10608 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10609 * allout.el (allout-new-exposure): Likewise.
10610 * calc/calcalg2.el (math-tracing-integral): Likewise.
10611 * info.el (Info-last-menu-item): Likewise.
10612 * emulation/vip.el (vip-loop): Likewise.
10613 * textmodes/artist.el (artist-funcall): Likewise.
10614 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10615 Construct menu-item directly.
10616
10617 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10618 Don't declare.
10619
10620 2012-08-07 Chong Yidong <cyd@gnu.org>
10621
10622 * simple.el (deactivate-mark): Preserve text properties when
10623 saving the primary selection (Bug#8384).
10624
10625 2012-08-07 Kevin Ryde <user42@zip.com.au>
10626
10627 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10628 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10629 and continue processing (Bug#12110).
10630
10631 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10632
10633 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10634 syntax-propertize-function (bug#10095).
10635
10636 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10637
10638 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10639 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10640 describe-function-1.
10641 (describe-function-1): Use them. Move compiler macro after sig.
10642 (help-fns--compiler-macro): Use function-get. Assume we're already in
10643 standard-output. Adjust layout to new call order.
10644
10645 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10646 re-binding a symbol that has a symbol-macro (bug#12119).
10647
10648 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10649
10650 * language/persian.el: New file. (Bug#11812)
10651 * loadup.el: Add language/persian.el.
10652
10653 2012-08-06 Chong Yidong <cyd@gnu.org>
10654
10655 * window.el (window--maybe-raise-frame): New function.
10656 (window--display-buffer): Split off from here.
10657 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10658 (display-buffer-pop-up-window, display-buffer-use-some-window):
10659 Obey an inhibit-switch-frame action alist entry.
10660 (display-buffer): Update doc.
10661
10662 * replace.el (occur-after-change-function): Avoid losing focus by
10663 using the inhibit-switch-frame display parameter (Bug#12139).
10664
10665 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
10666
10667 Make internal shell process buffer names start with space.
10668 * progmodes/python.el (python-shell-make-comint): Add optional
10669 argument INTERNAL.
10670 (run-python-internal): Use it.
10671 (python-shell-internal-get-or-create-process): Check for new
10672 internal buffer names.
10673
10674 2012-08-06 Glenn Morris <rgm@gnu.org>
10675
10676 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10677 Do less getting and setting of environment variables.
10678
10679 2012-08-05 Chong Yidong <cyd@gnu.org>
10680
10681 * proced.el (proced): Add substitution string to docstring to
10682 trigger autoloading of the proced library on C-h f (Bug#1768).
10683
10684 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10685 Don't show defvars which have no second argument (Bug#8638).
10686
10687 * imenu.el (imenu-generic-expression): Move documentation here
10688 from imenu--generic-function.
10689 (imenu--generic-function): Refer to imenu-generic-expression.
10690
10691 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
10692
10693 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10694 indentation declaration.
10695 (viper-loop): Add indentation declaration (Bug#7025).
10696
10697 2012-08-05 Chong Yidong <cyd@gnu.org>
10698
10699 * help-fns.el (describe-variable): Add hyperlink for
10700 directory-local variables files. Improve buffer-local and
10701 permanent-local reporting; suggested by MON KEY (Bug#6644).
10702
10703 * help-mode.el (help-dir-local-var-def): New button type.
10704
10705 * files.el (kill-buffer-hook): Provide a defvar.
10706
10707 2012-08-05 Glenn Morris <rgm@gnu.org>
10708
10709 * eshell/esh-ext.el (eshell/addpath):
10710 Also update eshell-path-env. (Bug#12013)
10711
10712 2012-08-05 Chong Yidong <cyd@gnu.org>
10713
10714 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10715
10716 * fringe.el (fringe-styles): Add docstring.
10717 (fringe--check-mode): New function.
10718 (set-fringe-mode, set-fringe-style): Use it.
10719 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10720
10721 * files.el (set-auto-mode): Fix invalid setq call.
10722
10723 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10724
10725 * isearch.el: Misc simplification; use defstruct.
10726 (isearch-mode-map): Dense maps now work like sparse ones.
10727 (isearch--state): New defstruct.
10728 (isearch-string-state, isearch-message-state, isearch-point-state)
10729 (isearch-success-state, isearch-forward-state)
10730 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10731 (isearch-wrapped-state, isearch-barrier-state)
10732 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10733 replaced by defstruct's accessors.
10734 (isearch--set-state): Rename from isearch-top-state and change
10735 calling convention.
10736 (isearch-push-state): Use new isearch--get-state.
10737 (isearch-toggle-word): Disable regexp when enabling word.
10738 (isearch-message-prefix): Remove unused arg _c-q-hack.
10739 (isearch-message-suffix): Remove unused arg _ellipsis.
10740
10741 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10742
10743 * simple.el (list-processes--refresh): For a server use :host or
10744 :local as the address.
10745 (list-processes): Doc fix.
10746
10747 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10748
10749 * lisp/mpc.el: Support password in host argument.
10750 (mpc--proc-connect): Parse and use new password element.
10751 Set mpc-proc variable instead of returning process.
10752 (mpc-proc): Adjust accordingly.
10753
10754 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10755
10756 * whitespace.el (whitespace-display-mappings): Use Unicode
10757 codepoints, instead of emacs-mule codepoints. See
10758 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10759 for the details.
10760
10761 * files.el (file-truename): Don't skip symlink-chasing part on
10762 windows-nt. Incorporate the resolution of 8+3 short aliases on
10763 Windows into the loop that recursively chases symlinks.
10764 Compare directory and its parent case-insensitively on MS-Windows and
10765 MS-DOS.
10766
10767 2012-08-03 Chong Yidong <cyd@gnu.org>
10768
10769 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10770
10771 * sort.el (sort-regexp-fields): Doc fix.
10772
10773 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10774
10775 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10776 labels regex position point at the expected place.
10777
10778 2012-08-03 MON KEY <monkey@sandpframing.com>
10779
10780 * net/imap.el (imap-interactive-login, imap-authenticate)
10781 (imap-mailbox-lsub, imap-mailbox-list)
10782 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10783 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10784 (imap-parse-response): Doc fix.
10785
10786 2012-08-03 João Távora <joaotavora@gmail.com>
10787
10788 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10789 if sexp scanning does not move point (Bug#5734).
10790
10791 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10792
10793 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10794 Add listings, minted, and ctable packages.
10795 (reftex-label-alist-builtin): Move listings, minted, and ctable
10796 entries before LaTeX.
10797 (reftex-label-alist): Docfix.
10798
10799 2012-08-02 Bastien Guerry <bzg@gnu.org>
10800
10801 * replace.el (occur): Fix docstring (bug#12122).
10802
10803 2012-08-02 Glenn Morris <rgm@gnu.org>
10804
10805 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10806
10807 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10808
10809 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10810 * international/mule-cmds.el: Create
10811 inactivate-current-input-method-function as an obsolete alias for
10812 deactivate-current-input-method-function. See Katsumi Yamaoka in
10813 <http://bugs.gnu.org/10150#46>.
10814
10815 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10816
10817 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10818 of nested `if's.
10819
10820 2012-08-01 Glenn Morris <rgm@gnu.org>
10821
10822 * progmodes/autoconf.el (autoconf-definition-regexp):
10823 Add AH_TEMPLATE, adjust submatch numbering.
10824 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10825 (autoconf-current-defun-function): Update for above change.
10826 (autoconf-current-defun-function): First skip to end of current word.
10827
10828 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10829
10830 * calendar/cal-html.el (cal-html-insert-agenda-days):
10831 Fix typo. (Bug#12018)
10832
10833 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
10834
10835 Shell processes: enhancements to startup and CEDET compatibility.
10836 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10837 (python-shell-make-comint): accept-process-output at startup.
10838 (run-python-internal): Set inferior-python-mode-hook to nil.
10839 (python-shell-internal-get-or-create-process): call sit-for.
10840 (python-preoutput-result): Add obsolete alias.
10841 (python-shell-internal-send-string): Use it.
10842 (python-shell-send-setup-code): Remove call to
10843 accept-process-output.
10844
10845 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10846
10847 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10848 (Bug#12108)
10849
10850 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10851
10852 * calc-mode.el (calc-basic-simplification-mode): Rename from
10853 `calc-limited-simplification-mode'.
10854 (calc-alg-simplification-mode): New function.
10855 (calc-set-simplify-mode): Adjust message.
10856
10857 * calc.el (calc-set-mode-line): Adjust mode line display for
10858 basic simplification mode.
10859
10860 * calc-help.el (calc-m-prefix-help): Update help message.
10861
10862 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10863 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10864
10865 2012-07-31 Bastien Guerry <bzg@gnu.org>
10866
10867 * man.el (man): Fix comment. (bug#12101)
10868
10869 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10870
10871 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10872 Don't return a non-nil value when no suitable buffer was found.
10873
10874 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
10875
10876 * progmodes/python.el (run-python-internal): Disable font lock for
10877 internal shells.
10878
10879 2012-07-30 Stefan Merten <smerten@oekonux.de>
10880
10881 * textmodes/rst.el: Silence `checkdoc-ispell'.
10882 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10883 (rst-official-version, rst-official-cvs-rev)
10884 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10885 (rst-mode-map): New key binding.
10886
10887 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10888
10889 Update .PHONY listings in makefiles.
10890 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10891 autoloads, update-subdirs, updates, bzr-update, update-authors,
10892 compile-onefile, compile-calc, backup-compiled-files,
10893 compile-after-backup, compile-one-process, mh-autoloads,
10894 bootstrap-clean, distclean, maintainer-clean.
10895
10896 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10897
10898 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10899 (calc-set-mode-line): Don't display "AlgSimp ".
10900
10901 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10902 (calc-lim-simplify-mode): New function.
10903 (calc-set-simplify-mode): Default to 'alg.
10904 (calc-default-simplify-mode): Make algebraic simplifications
10905 the default.
10906
10907 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10908 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10909
10910 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10911 indicate new simplification modes.
10912
10913 * calc/README: Mention new default simplification mode.
10914
10915 * calc/calc.el (math-normalize-error): New variable.
10916 (math-normalize): Set `math-normalize-error' to t
10917 when there's an error.
10918
10919 * calc/calc-alg.el (math-simplify): Don't simplify when
10920 `math-normalize' returns an error.
10921
10922 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10923
10924 * international/mule-cmds.el (set-locale-environment): Revert last
10925 change, since display-graphic-p returns nil when this function is
10926 called during startup. Instead...
10927
10928 * term/w32console.el (terminal-init-w32console): ...setup the
10929 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10930
10931 2012-07-29 Juri Linkov <juri@jurta.org>
10932
10933 * simple.el (goto-line): Don't display default line number in the
10934 prompt because it should be displayed by `read-number' (bug#9952).
10935 Add the current line number to the defaults of `goto-line' to
10936 allow its easier modification by users with `M-n' (bug#9201).
10937
10938 * subr.el (read-number): Support multiple default values like in
10939 other minibuffer reading functions. Replace `read' with
10940 `string-to-number' for consistency with `number-to-string'.
10941
10942 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10943
10944 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10945 * emulation/viper-init.el (viper-deactivate-input-method-action):
10946 Rename from viper-inactivate-input-method-action.
10947 (viper-deactivate-input-method):
10948 Rename from viper-inactivate-input-method.
10949 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10950 * international/mule-cmds.el (deactivate-input-method):
10951 Rename from inactivate-input-method.
10952 Also run input-method-deactivate-hook.
10953 (deactivate-current-input-method-function):
10954 Rename from inactivate-current-input-method-function.
10955 (input-method-deactivate-hook): New hook.
10956 (input-method-inactivate-hook): Mark obsolete.
10957 (inactivate-input-method): Mark obsolete.
10958
10959 * international/quail.el (quail-activate):
10960 Also run quail-deactivate-hook.
10961 (quail-deactivate): Rename from quail-inactivate.
10962 * international/robin.el (robin-activate):
10963 Also run robin-deactivate-hook.
10964 (robin-deactivate): Rename from robin-inactivate.
10965
10966 2012-07-29 Chong Yidong <cyd@gnu.org>
10967
10968 * simple.el (indicate-copied-region): New function.
10969 (kill-ring-save): Split off from here.
10970
10971 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10972 (kill-rectangle): Set deactivate-mark to t on read-only error.
10973
10974 * register.el (copy-to-register, copy-rectangle-to-register):
10975 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10976 (append-to-register, prepend-to-register): Call indicate-copied-region.
10977
10978 2012-07-29 Juri Linkov <juri@jurta.org>
10979
10980 * simple.el (async-shell-command-buffer): New defcustom.
10981 (shell-command): Use it. (Bug#4719)
10982
10983 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10984
10985 * international/mule-cmds.el (set-locale-environment): In a
10986 console session on MS-Windows, set up keyboard and terminal
10987 encoding from the OEM codepage, not the ANSI codepage.
10988 (Bug#12055)
10989
10990 2012-07-28 Chong Yidong <cyd@gnu.org>
10991
10992 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10993 gdb-get-location.
10994
10995 2012-07-28 Leo Liu <sdl.web@gmail.com>
10996
10997 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10998 the alist (bug#12029).
10999
11000 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11001
11002 * makefile.w32-in (custom-deps, finder-data, updates, compile)
11003 (compile-always, compile-first)
11004 ($(lisp)/calendar/cal-loaddefs.el)
11005 ($(lisp)/calendar/diary-loaddefs.el)
11006 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11007 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
11008 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
11009 instead of on update-subdirs.
11010 (bootstrap-clean): Delete $(lisp)/subdirs.el.
11011
11012 2012-07-28 Chong Yidong <cyd@gnu.org>
11013
11014 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
11015 directory if vc-deduce-backend returns nil (Bug#7350).
11016
11017 * simple.el (delete-trailing-lines): New option.
11018 (delete-trailing-whitespace): Obey it (Bug#11879).
11019
11020 2012-07-28 David Engster <deng@randomsample.de>
11021
11022 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
11023 Explanation of new 'symbol-qnames feature in doc-strings.
11024 (xml-maybe-do-ns): Return expanded names as plain symbols if
11025 'symbol-qnames was provided in XML-NS argument (Bug#11916).
11026 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
11027
11028 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11029
11030 Consistent completion in inferior python with emacs -nw.
11031 * progmodes/python.el (inferior-python-mode): replace "<tab>"
11032 binding in inferior-python-mode-map with "\t".
11033 (python-shell-completion-complete-at-point)
11034 (python-completion-complete-at-point): Remove interactive spec.
11035
11036 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11037
11038 * calc/calccomp.el (math-compose-expr): Undo previous change.
11039
11040 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11041
11042 * progmodes/python.el (python-mode-map): Add keybinding for
11043 run-python.
11044 (python-shell-make-comint): Fix pop-to-buffer call.
11045 (run-python): Autoload. New arg SHOW.
11046 (python-shell-get-or-create-process): Do not pop python process
11047 buffer.
11048
11049 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
11050
11051 * notifications.el (notifications-on-action-signal)
11052 (notifications-on-closed-signal): Use also the bus address for the map.
11053 (notifications-notify, notifications-close-notification)
11054 (notifications-get-capabilities): Add optional argument BUS.
11055
11056 2012-07-27 Tassilo Horn <tsdh@gnu.org>
11057
11058 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11059 Add support for the lstlisting and minted environments, and for the
11060 ctable macro.
11061 * textmodes/reftex.el (reftex-compile-variables): Also recognize
11062 labels written in keyvals syntax.
11063
11064 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11065
11066 * calc/calccomp.el (math-compose-expr): Use parentheses when
11067 there is a product in the denominator of a fraction.
11068
11069 2012-07-26 Eli Zaretskii <eliz@gnu.org>
11070
11071 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
11072 ($(lisp)/calendar/diary-loaddefs.el)
11073 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11074 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
11075 Fixes failures in parallel bootstrap because subdirs.el is being
11076 rewritten while the autoload files are built at the same time,
11077 which needs to load subdirs.el.
11078
11079 2012-07-26 Martin Rudalics <rudalics@gmx.at>
11080
11081 * mouse.el (popup-menu): Fix doc-string and re-indent code.
11082 (mouse-drag-line): Don't exit tracking when a switch-frame or
11083 switch-window event occurs (Bug#12006).
11084
11085 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11086
11087 * mouse.el (popup-menu): Fix last change.
11088
11089 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11090
11091 Autoload from Lisp with more care. Follow aliases when looking for
11092 function properties.
11093 * subr.el (autoloadp): New function.
11094 (symbol-file): Use it.
11095 (function-get): New function.
11096 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
11097 autoload-do-load.
11098 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
11099 (lisp-indent-function):
11100 * emacs-lisp/gv.el (gv-get):
11101 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
11102 * emacs-lisp/byte-opt.el (byte-optimize-form):
11103 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11104 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11105 Use function-get.
11106 * emacs-lisp/cl.el: Don't propagate function properties any more.
11107
11108 * speedbar.el (speedbar-add-localized-speedbar-support):
11109 * emacs-lisp/disass.el (disassemble-internal):
11110 * desktop.el (desktop-load-file):
11111 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11112 (describe-function-1):
11113 * emacs-lisp/find-func.el (find-function-noselect):
11114 * emacs-lisp/elp.el (elp-instrument-function):
11115 * emacs-lisp/advice.el (ad-has-proper-definition):
11116 * apropos.el (apropos-safe-documentation, apropos-macrop):
11117 * emacs-lisp/debug.el (debug-on-entry):
11118 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11119 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11120 * calc/calc.el (name): Use autoloadp & autoload-do-load.
11121
11122 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
11123
11124 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11125 function, not an obsolete variable (Bug#12046).
11126
11127 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11128
11129 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
11130
11131 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11132
11133 * emacs-lisp/pp.el (pp-display-expression): Select old selected
11134 window only if it is still live (Bug#12034).
11135
11136 2012-07-25 Martin Rudalics <rudalics@gmx.at>
11137
11138 * subr.el (redirect-frame-focus): Add advertised calling
11139 convention (Bug#12030).
11140
11141 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
11142
11143 Prefer typical American spelling for "acknowledgment".
11144 * vc/add-log.el (change-log-acknowledgment): Rename from
11145 change-log-acknowledgement, with an alias for the old name.
11146
11147 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11148
11149 * calc-alg.el (math-simplify-divide): Don't cross multiply
11150 in an equation when the lhs is a variable.
11151
11152 2012-07-24 Julien Danjou <julien@danjou.info>
11153
11154 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11155 Remove, unused.
11156
11157 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11158
11159 * startup.el (command-line): Don't display an empty user name in
11160 the error message about non-existent home directory, when
11161 init-file-user was set to an empty string. See
11162 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11163 for the details and context.
11164
11165 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
11166
11167 * ses.el (ses-cell-formula-aset): New macro.
11168 (ses-cell-references-aset): New macro.
11169 (ses-cell-p): New function.
11170 (ses-rename-cell): Do no longer rely on complex operations like
11171 ses-cell-set-formula or ses-set-cell to change the cell and handle
11172 the undo at the same time, but rather use lower level new macros
11173 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11174 the undo directly. Refresh the mode line.
11175
11176 2012-07-21 Leo Liu <sdl.web@gmail.com>
11177
11178 * progmodes/cc-cmds.el (c-defun-name):
11179 Use match-string-no-properties instead for consistency.
11180
11181 2012-07-20 Leo Liu <sdl.web@gmail.com>
11182
11183 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11184 (Bug#7879)
11185
11186 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11187
11188 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11189
11190 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11191 * progmodes/bug-reference.el, misearch.el: Provide themselves
11192 (bug#11915).
11193
11194 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11195 of narrowed buffer (bug#11966).
11196
11197 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
11198
11199 * ses.el (ses-rename-cell): Set new name also in reference list of
11200 cells of which the renamed cell depends.
11201
11202 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11203
11204 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11205 to check whether menu-bar is shown or not. If not shown,
11206 show the menu-bar as a popup menu instead of using tmm.
11207 * mouse.el (popup-menu): Accept `point' as `position' argument.
11208
11209 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11210
11211 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11212 up inside string symbol literal (bug#11923).
11213
11214 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11215
11216 * startup.el (fancy-startup-text): Read the whole tutorial, not
11217 just its first 256 bytes. Prevents gibberish in display of the
11218 tutorial title.
11219
11220 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11221
11222 Drop idle buffer compaction due to an absence of the
11223 proved efficiency.
11224 * compact.el: Remove.
11225
11226 2012-07-19 Sam Steingold <sds@gnu.org>
11227
11228 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11229 vc-bzr-pull & vc-bzr-merge-branch.
11230 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11231 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11232 for consistency with compilation-error-regexp-alist.
11233 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11234 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11235 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11236 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11237
11238 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11239
11240 * emacs-lisp/chart.el: Use lexical-binding.
11241 (chart-emacs-storage): Don't hardcode the list of entries.
11242
11243 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11244
11245 Next round of tweaks caused by Fgarbage_collect changes.
11246 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11247
11248 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11249
11250 Compact buffers when idle.
11251 * compact.el: New file.
11252
11253 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11254
11255 * subr.el (eventp): Presume that if it looks vaguely like an event,
11256 it's an event (bug#10190).
11257
11258 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
11259
11260 Enhancements to ppss related code (thanks Stefan).
11261 * progmodes/python.el (python-indent-context)
11262 (python-indent-calculate-indentation, python-indent-dedent-line)
11263 (python-indent-electric-colon, python-nav-forward-block)
11264 (python-mode-abbrev-table)
11265 (python-info-assignment-continuation-line-p): Simplify checks
11266 for ppss context.
11267 (python-info-continuation-line-p): Cleanup.
11268 (python-info-ppss-context): Do not catch 'quote.
11269 (python-info-ppss-context-type)
11270 (python-info-ppss-comment-or-string-p): Simplify.
11271
11272 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
11273
11274 * progmodes/python.el: Enhancements to eldoc support.
11275 (python-info-current-symbol): New function.
11276 (python-eldoc-at-point): Use python-info-current-symbol.
11277 (python-info-current-defun): Fix cornercase on first defun scan.
11278 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11279 and signal error when no inferior python process is available.
11280
11281 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11282
11283 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11284 assume it's always t.
11285 (vc-git-registered): Remove caching, the function is only called
11286 once.
11287 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11288
11289 2012-07-18 Chong Yidong <cyd@gnu.org>
11290
11291 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11292
11293 * simple.el (count-words): Report on narrowing (Bug#9959).
11294
11295 * bindings.el: Bind M-= to count-words.
11296
11297 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11298
11299 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11300
11301 * progmodes/sh-script.el (sh-imenu-generic-expression):
11302 Capture a function with `function' keyword and without parentheses
11303 like "function FOO" (bug#11856).
11304
11305 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11306
11307 * window.el (split-window-sensibly): Make WINDOW argument
11308 optional.
11309
11310 2012-07-18 Chong Yidong <cyd@gnu.org>
11311
11312 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11313
11314 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11315 and make C-x 8 RET exit isearch (Bug#11439).
11316
11317 * international/iso-transl.el: Move isearch-mode-map key
11318 definitions to isearch.el.
11319
11320 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11321
11322 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11323 (eieio-defclass): Use gv-define-setter when possible.
11324
11325 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11326
11327 Reflect recent changes in Fgarbage_collect.
11328 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11329 reflect new format of data returned by Fgarbage_collect.
11330
11331 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11332
11333 New utility functions + python-info-ppss-context fix (Bug#11910).
11334 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11335 (python-info-ppss-comment-or-string-p): New functions.
11336 (python-info-ppss-context): Small fix for string check.
11337
11338 2012-07-17 Juri Linkov <juri@jurta.org>
11339
11340 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11341 (dired-do-async-shell-command): Don't add `*' at the end of the
11342 command (Bug#11815).
11343 (dired-do-shell-command): Doc fix.
11344 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11345 Join the individual commands using either "&" or ";" as the
11346 separator depending on the values of these trailing characters.
11347 At the end re-add the trailing "&". (Bug#10598)
11348
11349 * simple.el (async-shell-command): Sync the interactive spec with
11350 `shell-command'. Doc fix.
11351 (shell-command): Doc fix.
11352
11353 2012-07-17 Juri Linkov <juri@jurta.org>
11354
11355 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11356
11357 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11358
11359 Final renames and doc fixes for movement commands (bug#11899).
11360 * progmodes/python.el (python-nav-beginning-of-statement):
11361 Rename from python-nav-statement-start.
11362 (python-nav-end-of-statement): Rename from
11363 python-nav-statement-end.
11364 (python-nav-beginning-of-block): Rename from
11365 python-nav-block-start.
11366 (python-nav-end-of-block): Rename from python-nav-block-end.
11367
11368 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11369
11370 * progmodes/python.el (python-shell-send-string-no-output):
11371 Allow accept-process-output to quit, keeping shell process ready for
11372 future interactions (Bug#11868).
11373
11374 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11375
11376 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11377
11378 * emacs-lisp/elint.el (elint-find-args-in-code):
11379 Use help-function-arglist, so as to handle lexical byte-code.
11380
11381 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11382 change (bug#11826).
11383
11384 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11385
11386 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11387 Avoid spuriously marking the buffer as modified because of c-is-sws.
11388
11389 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11390 as not-a-comment (bug#11946).
11391
11392 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11393 for uninterned vars.
11394
11395 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11396 Use read-event since we don't really want to read chars but bytes.
11397
11398 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11399 $$..$$ but also $..$ using regexps (bug#11953).
11400 Use tex-verbatim for \url and \path.
11401 (tex-font-lock-keywords): Define as defconst like the others.
11402 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11403
11404 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11405
11406 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11407 alias for insert-char.
11408
11409 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
11410
11411 * progmodes/python.el: Simplified imenu implementation.
11412 (python-nav-jump-to-defun): Remove command.
11413 (python-mode-map): Use `imenu' instead.
11414 (python-nav-list-defun-positions-cache)
11415 (python-imenu-include-defun-type, python-imenu-make-tree)
11416 (python-imenu-subtree-root-label, python-imenu-index-alist):
11417 Remove vars.
11418 (python-nav-list-defun-positions, python-nav-read-defun)
11419 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11420 (python-imenu-make-tree, python-imenu-create-index):
11421 Remove functions.
11422 (python-mode): Update to interact with imenu by setting
11423 `imenu-extract-index-name-function' only.
11424
11425 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
11426
11427 * progmodes/python.el: Enhancements to navigation commands.
11428 (python-nav-backward-sentence)
11429 (python-nav-forward-sentence): Remove.
11430 (python-nav-backward-statement, python-nav-forward-statement)
11431 (python-nav-statement-start, python-nav-statement-end)
11432 (python-nav-backward-block, python-nav-forward-block)
11433 (python-nav-block-start, python-nav-block-end)
11434 (python-nav-forward-sexp-function)
11435 (python-info-current-line-comment-p)
11436 (python-info-current-line-empty-p): New functions.
11437 (python-indent-context): Use `python-nav-statement-start'.
11438
11439 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11440
11441 * eshell/em-ls.el (eshell/ls): Use `apply'.
11442
11443 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11444 multi-hops, instead of Tramp internals.
11445
11446 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11447
11448 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11449 when F1 and F2 are located on different hosts.
11450
11451 2012-07-14 Chong Yidong <cyd@gnu.org>
11452
11453 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11454 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11455 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11456 (xterm-mouse--read-event-sequence-1000)
11457 (xterm-mouse--read-event-sequence-1006): New functions. For old
11458 mouse protocol, handle M-mouse-X events correctly.
11459 (xterm-mouse-event): New arg specifying mouse protocol.
11460 (turn-on-xterm-mouse-tracking-on-terminal)
11461 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11462 sequence to toggle extended coordinates on newer XTerms.
11463 This appears to be harmless on terminals which do not support this.
11464
11465 2012-07-14 Leo Liu <sdl.web@gmail.com>
11466
11467 Add fringe bitmap indicators for flymake. (Bug#11253)
11468 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11469 (flymake-make-overlay): New arg BITMAP.
11470 (flymake-error-bitmap, flymake-warning-bitmap)
11471 (flymake-fringe-indicator-position): New user variables.
11472
11473 * fringe.el: New bitmap exclamation-mark.
11474
11475 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11476
11477 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11478 also (Bug#7879).
11479
11480 2012-07-14 Chong Yidong <cyd@gnu.org>
11481
11482 * electric.el (electric-pair-post-self-insert-function): Fix pair
11483 insertion in empty-region case (Bug#11520).
11484
11485 2012-07-14 Chong Yidong <cyd@gnu.org>
11486
11487 * bindings.el: Consolidate ctl-x-r-map bindings.
11488 Bind copy-rectangle-as-kill to C-x r w.
11489
11490 * rect.el, register.el: Move bindings to bindings.el.
11491
11492 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11493
11494 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11495
11496 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11497
11498 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11499
11500 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11501
11502 * bindings.el (top): Use `mapc' instead of `mapcar'.
11503
11504 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11505
11506 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11507
11508 * progmodes/sql.el (sql-comint): Suppress the check for program on
11509 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11510 (Bug#11908)
11511
11512 2012-07-13 Chong Yidong <cyd@gnu.org>
11513
11514 * bindings.el: Assign a non-nil permanent-local property to
11515 per-buffer variables which lack a default value (Bug#11930).
11516
11517 * help-fns.el (describe-variable): In the "automatically becomes
11518 local" notice, take note of permanent-local variables.
11519
11520 2012-07-13 Chong Yidong <cyd@gnu.org>
11521
11522 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11523 to allow printing the message when called from Lisp.
11524
11525 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11526 Remove toggle-read-only.
11527
11528 * bs.el (bs-toggle-readonly):
11529 * buff-menu.el (Buffer-menu-toggle-read-only):
11530 Remove with-no-warnings around toggle-read-only.
11531
11532 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11533 Remove with-no-warnings around toggle-read-only.
11534 (ffap-read-only, ffap-read-only-other-window)
11535 (ffap-read-only-other-frame): Callers changed.
11536
11537 * help-mode.el: Don't require view package.
11538 (help-mode-finish): Set buffer-read-only instead of calling
11539 toggle-read-only.
11540
11541 * bindings.el (mode-line-toggle-read-only):
11542 * dired.el (dired-toggle-read-only):
11543 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11544 with non-nil second arg.
11545
11546 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11547 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11548 directly.
11549
11550 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11551
11552 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11553 not incf.
11554
11555 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11556
11557 More CL cleanups and reduction of use of cl.el.
11558 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11559 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11560 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11561 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11562 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11563 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11564 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11565 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11566 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11567 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11568 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11569 * eshell/em-cmpl.el, eshell/em-banner.el:
11570 * calendar/parse-time.el: Use cl-lib.
11571 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11572 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11573 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11574 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11575 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11576 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11577 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11578 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11579 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11580 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11581 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11582 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11583 `lambda' rather than with `quote'.
11584 (eshell-do-opt): Adjust accordingly.
11585 (eshell-process-option): Simplify.
11586 * eshell/esh-var.el:
11587 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11588 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11589 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11590 to `pcase--dontcare'.
11591 * emacs-lisp/cl.el (labels): Mark obsolete.
11592 (cl--letf, letf): Move to cl-lib.
11593 (cl--letf*, letf*): Remove.
11594 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11595 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11596 (cl-progv): Rewrite.
11597 (cl--letf, cl-letf): Move from cl.el.
11598 (cl-letf*): New macro.
11599 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11600
11601 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11602
11603 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11604
11605 2012-07-11 Chong Yidong <cyd@gnu.org>
11606
11607 * vc/log-edit.el (log-edit-vc-backend): New variable.
11608 (log-edit): Doc fix.
11609
11610 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11611 argument of log-edit to set up all local variables.
11612 (vc-start-logentry): New optional arg specifying VC backend.
11613
11614 * vc/vc.el (vc-checkin): Use it.
11615 (vc-deduce-fileset): Handle Log Edit buffers.
11616 (vc-diff): Make first argument optional too.
11617
11618 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11619
11620 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11621
11622 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11623 command, just in case. The function is not needed anymore.
11624 (eshell-external-command): Do not call `eshell-remote-command'.
11625
11626 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11627
11628 Reduce use of (require 'cl).
11629 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11630 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11631 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11632 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11633 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11634 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11635 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11636 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11637 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11638 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11639 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11640 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11641 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11642 (byte-compile-unfold-bcf, byte-compile-check-variable):
11643 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11644 (byte-compile-nilconstp):
11645 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11646 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11647
11648 * emacs-lisp/gv.el (cond): Make it a valid place.
11649 (if): Simplify slightly.
11650
11651 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11652 (pcase--self-quoting-p): New function.
11653 (pcase--u1): Use it.
11654
11655 2012-07-10 Glenn Morris <rgm@gnu.org>
11656
11657 * emacs-lisp/authors.el (authors-fixed-entries):
11658 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11659
11660 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11661
11662 Rename configure.in to configure.ac (Bug#11603).
11663 * emacs-lisp/authors.el (authors-canonical-file-name):
11664 * progmodes/autoconf.el (autoconf-mode):
11665 Prefer configure.ac to configure.in.
11666
11667 2012-07-08 Chong Yidong <cyd@gnu.org>
11668
11669 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11670 Implement the mouse-1-click-follows-link handling properly.
11671
11672 * info.el (Info-link-keymap): Use follow-link mechanism for
11673 header-line links (Bug#374).
11674
11675 * simple.el (deactivate-mark): Do not set the primary selection
11676 if another program has acquired it (Bug#11772).
11677
11678 2012-07-07 Kevin Ryde <user42@zip.com.au>
11679
11680 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11681 (woman-decode-region): Replace escaped-escapes without destroying
11682 bold or underline (Bug#11552).
11683 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11684
11685 2012-07-07 Chong Yidong <cyd@gnu.org>
11686
11687 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11688 (interprogram-cut-function, interprogram-paste-function):
11689 Mention that we typically mean the clipboard.
11690
11691 2012-07-06 Glenn Morris <rgm@gnu.org>
11692
11693 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11694
11695 * files.el (toggle-read-only): Restrict message to interactive use.
11696
11697 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11698
11699 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11700
11701 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11702
11703 2012-07-06 Glenn Morris <rgm@gnu.org>
11704
11705 * Makefile.in (compile-one-process): Rename from "recompile".
11706
11707 * Makefile.in (bzr-update): "compile" is the same as "recompile
11708 autoloads", but parallelizable, so use that instead.
11709
11710 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11711
11712 * window.el (quit-window): Always restore window height when
11713 it's saved in quit-restore parameter (Bug#11810).
11714
11715 2012-07-06 Glenn Morris <rgm@gnu.org>
11716
11717 * simple.el (kill-whole-line): Doc tweak.
11718
11719 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11720
11721 * files.el (file-relative-name): Compare file names
11722 case-insensitively if on MS-Windows or MS-DOS, or if
11723 read-file-name-completion-ignore-case is non-nil. Don't use
11724 case-fold-search for this purpose. (Bug#11827)
11725
11726 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11727
11728 * calendar/cal-dst.el (calendar-current-time-zone):
11729 Return calendar-current-time-zone-cache if non-nil.
11730
11731 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11732 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11733
11734 * calendar/cal-dst.el (calendar-current-time-zone):
11735 Return calendar-current-time-zone-cache if non-nil.
11736
11737 2012-07-06 Glenn Morris <rgm@gnu.org>
11738
11739 * Makefile.in (cvs-update): Remove old alias.
11740
11741 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11742
11743 Sync with Tramp 2.2.6-pre.
11744
11745 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11746 compatible declaration.
11747
11748 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11749 Protect `list-load-path-shadows' call.
11750
11751 * net/tramp-compat.el (top): Require packages, which aren't
11752 autoloaded anymore for XEmacs. Protect call of
11753 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11754 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11755 it hurts at least for SXEmacs.
11756 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11757 standard-value for `temporary-file-directory'.
11758
11759 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11760 Redirect stderr to /dev/null.
11761 (tramp-sh-handle-write-region): uid and gid can be floats.
11762 Reported by Russell Sim <russell.sim@gmail.com>.
11763 (tramp-sh-handle-vc-registered): Hide errors.
11764 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11765 and `start-file-process'.
11766 (tramp-maybe-open-connection): Check also whether `non-essential'
11767 is bound.
11768
11769 2012-07-04 Chong Yidong <cyd@gnu.org>
11770
11771 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11772 (xml-parse-tag): Likewise, and avoid changing entity tables.
11773 (xml-syntax-table): Define from scratch, making sure not to give
11774 x2000 and other Unicode spaces whitespace syntax, since those are
11775 not spaces in XML.
11776 (xml-parse-fragment): Delete unused function.
11777 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11778 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11779 (xml-entity-ref, xml-pe-reference-re)
11780 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11781 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11782 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11783 (xml-entity-value-re): Use syntax references in regexps where
11784 possible; no need to define inside a let-binding.
11785 (xml-parse-dtd): Use xml-pe-reference-re.
11786 (xml-entity-or-char-ref-re): New defconst.
11787 (xml-parse-string, xml-substitute-special): Use it.
11788
11789 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11790
11791 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11792 (find-file--read-only): New function.
11793 (find-file-read-only, find-file-read-only-other-window)
11794 (find-file-read-only-other-frame): Use it.
11795 (insert-file-contents-literally): Don't `fset'.
11796 (get-free-disk-space): Use locate-dominating-file.
11797
11798 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11799 function is already compiled.
11800
11801 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11802
11803 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11804
11805 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11806 files on the same host.
11807
11808 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11809
11810 * help-fns.el (describe-function-1): Only call
11811 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11812
11813 2012-07-03 Chong Yidong <cyd@gnu.org>
11814
11815 * xml.el: Protect parser against XML bombs.
11816 (xml-entity-expansion-limit): New variable.
11817 (xml-parse-string, xml-substitute-special): Use it.
11818 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11819
11820 2012-07-03 Glenn Morris <rgm@gnu.org>
11821
11822 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11823 Allow linking to specific messages in debbugs reports (eg 123#5).
11824
11825 2012-07-02 Chong Yidong <cyd@gnu.org>
11826
11827 * xml.el: Fix entity and character reference expansion, allowing
11828 them to expand into markup as per XML spec.
11829 (xml-default-ns): New variable.
11830 (xml-entity-alist): Use XML spec definitions for lt and amp.
11831 (xml-parse-region): Make first two arguments optional.
11832 Discard text properties.
11833 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11834 All callers changed.
11835 (xml-parse-tag): Call xml-parse-tag-1. For backward
11836 compatibility, this function should not modify buffer contents.
11837 (xml-parse-tag-1): Fix opening-tag regexp.
11838 (xml-parse-string): Rewrite, handling entity and character
11839 references properly.
11840 (xml--entity-replacement-text): Signal an error if a parameter
11841 entity is undefined.
11842
11843 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11844
11845 * comint.el (comint-output-filter): Filter out repeated prompts.
11846
11847 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11848 and file-name-absolute-p.
11849 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11850 internal calls.
11851
11852 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11853
11854 Spelling fixes.
11855 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11856 Rename from byte-compile--refiy-function. All uses changed.
11857
11858 2012-07-01 Chong Yidong <cyd@gnu.org>
11859
11860 * xml.el (xml--parse-buffer): New function. Move most of
11861 xml-parse-region here.
11862 (xml-parse-region): Copy region into a temporary buffer, since
11863 parameter entity substitution requires changing buffer contents.
11864 Use xml--parse-buffer.
11865 (xml-parse-file): Use xml--parse-buffer.
11866 (xml-parse-dtd): Make parameter entity substitution work right.
11867 Use proper regexps for ELEMENT declarations (Bug#7172).
11868
11869 2012-06-30 Glenn Morris <rgm@gnu.org>
11870
11871 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11872
11873 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11874 Remove outdated and unnecessary dbus declarations.
11875
11876 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11877
11878 * emacs-lisp/timer.el (timer-until): Subtract results of
11879 float-time, instead of taking float-time of the result of
11880 time-subtract, since float-time signals an error for negative time
11881 arguments.
11882
11883 2012-06-30 Chong Yidong <cyd@gnu.org>
11884
11885 * xml.el (xml-*-re): Convert defvars into defconsts, and
11886 eval-and-compile them so eval-and-compile works on derivatives.
11887 (xml--entity-replacement-text): Use eval-and-comple.
11888
11889 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11890
11891 * vc/vc-git.el (vc-git-registered): Use cache property
11892 `git-registered'.
11893 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11894 `vc-git-working-revision' in order to benefit from the cache.
11895 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11896
11897 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11898
11899 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11900 removed (likely outside Emacs). (Bug#11757)
11901
11902 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11903
11904 * emacs-lisp/cl-lib.el: Require macroexp.
11905
11906 2012-06-30 Chong Yidong <cyd@gnu.org>
11907
11908 * xml.el: Implement XML parameter entities.
11909 (xml-parameter-entity-alist): New variable.
11910 (xml-parse-region, xml-parse-fragment): Preserve previous values
11911 of xml-entity-alist and xml-parameter-entity-alist, so that
11912 repeated calls on different documents do not change them.
11913 (xml-parse-tag): Fix doctype regexp.
11914 (xml--entity-replacement-text): New function.
11915 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11916 properly requires url retrieval which is unimplemented.
11917 (xml-escape-string): Doc fix.
11918
11919 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11920
11921 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11922
11923 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11924
11925 * fringe.el (fringe-mode): Doc fix.
11926
11927 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11928
11929 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11930 is non-nil.
11931 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11932 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11933
11934 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11935
11936 * calendar/cal-dst.el (calendar-current-time-zone):
11937 Return calendar-current-time-zone-cache if non-nil.
11938
11939 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11940
11941 * progmodes/which-func.el (which-func-format):
11942 Add mouse-face. (Bug#11698)
11943
11944 2012-06-29 Leo Liu <sdl.web@gmail.com>
11945
11946 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11947
11948 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11949
11950 * minibuffer.el (minibuffer-confirm-exit-commands):
11951 Add completion-at-point (bug#11725).
11952
11953 2012-06-29 Glenn Morris <rgm@gnu.org>
11954
11955 * progmodes/f90.el (f90-font-lock-keywords-2):
11956 Add some preprocessor elements. (Bug#10499)
11957
11958 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11959
11960 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11961 Use syntax-propertize (bug#11739).
11962
11963 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11964
11965 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11966
11967 2012-06-28 Julien Danjou <julien@danjou.info>
11968
11969 * term.el (term-handle-colors-array): Use a set of new faces to
11970 color the terminal. Also uses :inverse-video property.
11971 (term-default-fg-color): Set to nil by default, deprecate in favor
11972 of `term-face'.
11973 (term-default-bg-color): Set to nil by default, deprecate in favor
11974 of `term-face'.
11975 (term-current-face): Use `term-face' by default.
11976 (term-bold-attribute): Variable deleted.
11977
11978 2012-06-28 Glenn Morris <rgm@gnu.org>
11979
11980 * simple.el (completion-list-mode-finish):
11981 Don't use toggle-read-only. (Since completion-list-mode has
11982 a special mode-class, it wasn't doing anything extra anyway.)
11983
11984 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11985
11986 Make inlining of other-mode interpreted functions work (bug#11799).
11987 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11988 (byte-compile): Use it to fix compilation of lexical-binding closures.
11989 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11990 function, if needed.
11991
11992 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11993
11994 * help-mode.el (help-make-xrefs): Don't just withstand
11995 cyclic-variable-indirection but any error in documentation-property.
11996
11997 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11998 memory use.
11999 * bindings.el (bindings--define-key): New function.
12000 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
12001 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
12002 * bindings.el: Use it to purecopy define-key bindings.
12003
12004 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
12005
12006 * emacs-lisp/cl.el (flet): Mark obsolete.
12007 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
12008 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
12009 * progmodes/js.el (js-c-fill-paragraph):
12010 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
12011 (ebrowse-switch-member-buffer-to-derived-class):
12012 * play/5x5.el (5x5-solver): Use cl-flet.
12013
12014 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
12015 (cl--symbol-function): New macro.
12016 (cl--letf, cl--letf*): Use it.
12017
12018 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
12019 Strip "toggle-" if any.
12020
12021 2012-06-27 Glenn Morris <rgm@gnu.org>
12022
12023 * info.el (Info-default-directory-list): Move here from paths.el.
12024 * paths.el: Remove file, which is now empty.
12025 * loadup.el: No longer load "paths".
12026
12027 * custom.el (custom-initialize-delay): Doc fix.
12028
12029 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12030 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
12031 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
12032 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
12033 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
12034 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
12035 * eshell/eshell.el (eshell-defgroup): Remove alias.
12036
12037 2012-06-27 Chong Yidong <cyd@gnu.org>
12038
12039 * help.el (help-enable-auto-load): New variable.
12040
12041 * help-fns.el (help-fns--autoloaded-p): New function.
12042 (describe-function-1): Refer to a function as "autoloaded" if it
12043 was autoloaded at any time in the past. Perform autoloading if
12044 help-enable-auto-load is non-nil.
12045
12046 2012-06-26 Eli Zaretskii <eliz@gnu.org>
12047
12048 * makefile.w32-in (compile, compile-always): Depend on
12049 update-subdirs, not on subdirs.el. Otherwise, several different
12050 sub-targets of 'bootstrap' running in parallel could
12051 simultaneously write to subdirs.el, producing a garbled file.
12052
12053 2012-06-26 Sam Steingold <sds@gnu.org>
12054
12055 * files.el (file-name-base): New convenience function.
12056 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
12057 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
12058 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
12059 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
12060 * textmodes/ispell.el, textmodes/reftex-ref.el:
12061 * textmodes/tex-mode.el: Use it.
12062 Did not touch cedet and org because they are maintained elsewhere.
12063
12064 2012-06-26 Martin Rudalics <rudalics@gmx.at>
12065
12066 * calendar/calendar.el (calendar-exit): Don't try to delete or
12067 iconify last frame. See:
12068 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
12069
12070 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
12071
12072 * server.el (server-process-filter): Remember dir in the
12073 process's `server-client-directory' properties.
12074
12075 2012-06-24 Chong Yidong <cyd@gnu.org>
12076
12077 * xml.el (xml-parse-tag): Correctly handle comment embedded in
12078 non-tag text.
12079
12080 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
12081
12082 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
12083
12084 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12085
12086 * help-fns.el (describe-variable): Don't croak when doc is not found.
12087 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
12088 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
12089 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
12090 * emacs-lisp/smie.el (smie-next-sexp): CSE.
12091 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
12092 ((lambda ..) ..).
12093 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
12094
12095 2012-06-23 Chong Yidong <cyd@gnu.org>
12096
12097 * info.el (Info-mouse-follow-link): Accept symbol values of
12098 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
12099 (Info-fontify-node): Use Info-link-keymap for all navigation
12100 buttons, with link-args property to perform the desired action.
12101 (Info-link-keymap): Doc fix.
12102 (Info-next-link-keymap, Info-prev-link-keymap)
12103 (Info-up-link-keymap): Delete now-unused keymaps.
12104
12105 2012-06-23 Chong Yidong <cyd@gnu.org>
12106
12107 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12108
12109 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12110 system abbrevs.
12111
12112 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12113
12114 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12115
12116 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12117 (bug#11719).
12118
12119 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12120 the requote function doesn't work properly (bug#11714).
12121
12122 2012-06-23 Glenn Morris <rgm@gnu.org>
12123
12124 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12125
12126 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12127
12128 Further GV/CL cleanups.
12129 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12130 gv-expander.
12131 (gv--defun-declaration): New function.
12132 (defun-declarations-alist): Use it.
12133 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12134 (gv-place): Autoload.
12135 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12136 original definition of dotimes and dolist.
12137 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12138 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
12139 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12140 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12141 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12142 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12143 to the function's definition.
12144 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12145 * window.el:
12146 * files.el:
12147 * faces.el:
12148 * env.el: Don't use CL.
12149
12150 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12151
12152 Support higher-resolution time stamps (Bug#9000).
12153
12154 * calendar/time-date.el (with-decoded-time-value): New arg
12155 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12156 (encode-time-value): New optional arg PICO. New type 3.
12157 (time-to-seconds) [!float-time]: Support the new picoseconds
12158 component if it's used.
12159 (seconds-to-time, time-subtract, time-add):
12160 Support ps-resolution time stamps as well.
12161
12162 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12163 (timerp): Timer vectors now have length 9, not 8.
12164 (timer--time): Support new-style (4-part) time stamps.
12165 (timer-next-integral-multiple-of-time): Time stamps now have
12166 picosecond resolution, so take a bit more care about rounding.
12167 (timer-relative-time, timer-inc-time): New optional arg psecs.
12168 (timer-set-time-with-usecs): Set psecs to 0.
12169 (timer--activate): Check psecs component, too.
12170
12171 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12172
12173 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12174
12175 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12176 Move the non-essential binding to the post/pre-command-hook where it is
12177 more obviously correct.
12178
12179 * subr.el (read-passwd): Don't use a history at all.
12180 * savehist.el (savehist-save): Remove password saved accidentally
12181 because of the above bug.
12182
12183 2012-06-22 Bastien Guerry <bzg@gnu.org>
12184
12185 * files.el (toggle-read-only): Display a message telling whether
12186 the buffer is read-only or not (bug#11726).
12187
12188 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12189
12190 * emacs-lisp/gv.el: New file.
12191 * subr.el (push, pop): Extend to generalized variables.
12192 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12193 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12194 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12195 gv-define-simple-setter, and gv-define-expander.
12196 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12197 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12198 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12199 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12200 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12201 gv-letplace.
12202 (cl-defstruct): Don't define setf-method any more.
12203 * emacs-lisp/cl.el (flet): Don't autoload.
12204 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12205 (define-setf-expander, defsetf, define-modify-macro)
12206 (cl-struct-setf-expander): Move from cl-lib.el.
12207 * emacs-lisp/syntax.el:
12208 * emacs-lisp/ewoc.el:
12209 * emacs-lisp/smie.el:
12210 * emacs-lisp/cconv.el:
12211 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12212 (timer--time): Use gv-define-simple-setter.
12213 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12214 to avoid coding-system problems in subr.el. Adjust all users.
12215 (macroexp--maxsize, macroexp-small-p): New functions.
12216 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12217 * scroll-bar.el (scroll-bar-mode):
12218 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12219 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12220 * winner.el (winner-configuration, winner-make-point-alist)
12221 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12222 * files.el (locate-file-completion-table): Avoid list*.
12223
12224 2012-06-22 Chong Yidong <cyd@gnu.org>
12225
12226 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12227 (dired-create-files): Doc fix (Bug#11329).
12228 (dired-do-copy): Doc fix (Bug#11334).
12229 (dired-mark-read-string): Doc fix (Bug#11553).
12230
12231 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12232 Doc fix (Bug#11326).
12233 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12234 (dired-dwim-target): Doc fix.
12235
12236 * wdired.el (wdired-mode): Doc fix.
12237
12238 2012-06-22 Glenn Morris <rgm@gnu.org>
12239
12240 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12241 (pcmpl-rpm-cache-stamp-file): New constant.
12242 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12243 (pcmpl-rpm-packages): Optionally cache list of packages.
12244
12245 * pcmpl-rpm.el (pcmpl-rpm): New group.
12246 (pcmpl-rpm-query-options): New option.
12247 (pcmpl-rpm-packages): No need to inline it.
12248 Use pcmpl-rpm-query-options.
12249
12250 * calendar/calendar.el (calendar-in-read-only-buffer):
12251 Avoid some needless mode changes.
12252
12253 2012-06-21 Chong Yidong <cyd@gnu.org>
12254
12255 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12256 (desktop-path): Remove . from the default value (Bug#10977).
12257 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12258
12259 2012-06-20 Chong Yidong <cyd@gnu.org>
12260
12261 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12262
12263 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12264
12265 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12266 (bug#11201).
12267
12268 2012-06-20 Chong Yidong <cyd@gnu.org>
12269
12270 * term.el (term-window-width): Handle the case of a missing right
12271 fringe (Bug#8837).
12272 (term-check-size): Use window-text-height (Bug#5445).
12273 (term-mode): Use define-derived-mode. Minor cleanups.
12274 Set font-lock-defaults (Bug#7692).
12275 (term-move-columns, term-insert-char, term-emulate-terminal)
12276 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12277
12278 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12279
12280 * net/ange-ftp.el (ange-ftp-get-passwd):
12281 Bind `enable-recursive-minibuffers'.
12282 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12283
12284 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12285
12286 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12287
12288 2012-06-19 Glenn Morris <rgm@gnu.org>
12289
12290 * progmodes/python.el (python-mode): Derive from prog-mode.
12291
12292 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12293
12294 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12295 (edt-user-menu-bar-update-buffers): New functions.
12296 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12297
12298 2012-06-19 Chong Yidong <cyd@gnu.org>
12299
12300 * subr.el (with-selected-window): Preserve the selected window's
12301 terminal's top-frame (Bug#4702).
12302
12303 * window.el (save-selected-window): Likewise.
12304
12305 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12306
12307 * progmodes/python.el (python-rx-constituents): Move backquote.
12308 (python-skeleton-define, python-define-auxiliary-skeleton):
12309 Use `declare'.
12310
12311 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12312
12313 * minibuffer.el (read-file-name-default): Revert the patch from
12314 2012-06-17.
12315
12316 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12317
12318 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12319 (pcase--u1, pcase--q1): Don't use apply-partially.
12320
12321 2012-06-18 Glenn Morris <rgm@gnu.org>
12322
12323 * progmodes/python.el (python-proc, python-buffer)
12324 (python-send-receive, python-send-string): Fix obsolete versions.
12325
12326 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12327
12328 * window.el (special-display-p): Completely remove stringp
12329 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12330
12331 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12332
12333 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12334
12335 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12336
12337 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12338 * net/tramp-sh.el (tramp-maybe-open-connection):
12339 Throw if `non-essential' is non-nil.
12340
12341 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12342
12343 * window.el (special-display-p): Signal an error if BUFFER-NAME
12344 is not a string (Bug#11713).
12345
12346 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12347
12348 * progmodes/python.el (python-info-beginning-of-backslash):
12349 Rename from python-info-beginning-of-backlash, as a spelling fix.
12350
12351 2012-06-17 Chong Yidong <cyd@gnu.org>
12352
12353 * term.el (term-emulate-terminal): If term-check-size is called,
12354 move point to the process mark without resetting point (Bug#4635).
12355
12356 2012-06-17 Glenn Morris <rgm@gnu.org>
12357
12358 * international/mule-cmds.el (mule-menu-keymap)
12359 (set-language-environment, set-locale-environment): Doc tweaks.
12360
12361 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12362
12363 * cus-face.el (custom-face-attributes): Add wave-style underline
12364 attribute.
12365 * faces.el (set-face-attribute): Update docstring to describe
12366 wave-style underline attribute.
12367
12368 2012-06-16 Chong Yidong <cyd@gnu.org>
12369
12370 * term/xterm.el (terminal-init-xterm): Discard input before
12371 querying background mode (Bug#10959).
12372
12373 2012-06-16 Stefan Merten <smerten@oekonux.de>
12374
12375 * textmodes/rst.el: Added and corrected some comments.
12376 (rst-re-alist-def): Improve symbol syntax.
12377 (rst-mode-syntax-table): Correct syntax entries.
12378 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12379 (rst-official-version, rst-official-cvs-rev): Update version
12380 information.
12381
12382 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12383
12384 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12385 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12386
12387 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
12388
12389 * progmodes/python.el: New python.el merge.
12390 (python-guess-indent): Obsolete var.
12391 (python-indent-guess-indent-offset): New defcustom.
12392 (python-indent): Obsolete var.
12393 (python-indent-offset): New defcustom.
12394 (python-python-command, python-jython-command): Delete var.
12395 (python-shell-interpreter): New defcustom.
12396 (python-pdbtrack-do-tracking-p): Delete var.
12397 (python-pdbtrack-activate): New defcustom.
12398 (python-use-skeletons): Obsolete var.
12399 (python-skeleton-autoinsert): New defcustom.
12400 (inferior-python-filter-regexp, python-continuation-offset)
12401 (python-honour-comment-indentation, python-indent-string-contents)
12402 (python-jython-packages, python-mode-hook)
12403 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12404 (python-shell-prompt-alist)
12405 (python-source-modes): Delete defcustoms.
12406 (python-check-buffer-name, python-eldoc-setup-code)
12407 (python-eldoc-string-code, python-ffap-setup-code)
12408 (python-ffap-string-code, python-fill-comment-function)
12409 (python-fill-decorator-function, python-fill-paren-function)
12410 (python-fill-string-function, python-imenu-include-defun-type)
12411 (python-imenu-make-tree, python-imenu-subtree-root-label)
12412 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12413 (python-shell-compilation-regexp-alist)
12414 (python-shell-completion-module-string-code)
12415 (python-shell-completion-pdb-string-code)
12416 (python-shell-completion-setup-code)
12417 (python-shell-completion-string-code)
12418 (python-shell-enable-font-lock, python-shell-exec-path)
12419 (python-shell-extra-pythonpaths)
12420 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12421 (python-shell-process-environment)
12422 (python-shell-prompt-block-regexp)
12423 (python-shell-prompt-output-regexp)
12424 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12425 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12426 (python-shell-virtualenv-path): New defcustoms.
12427 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12428 (inferior-python-mode-syntax-table, python--prompt-regexp)
12429 (python-buffer, python-command python-python-command)
12430 (python-default-template, python-imports, python-indent-index)
12431 (python-indent-list, python-indent-list-length)
12432 (python-mode-running, python-pdbtrack-is-tracking-p)
12433 (python-preoutput-continuation, python-preoutput-leftover)
12434 (python-preoutput-result, python-preoutput-skip-next-prompt)
12435 (python-prev-dir/file, python-recursing)
12436 (python-saved-check-command, python-version-checked)
12437 (python-which-func-length-limit)
12438 (view-return-to-alist): Delete vars.
12439 (python-check-custom-command, python-dotty-syntax-table)
12440 (python-imenu-index-alist, python-indent-current-level)
12441 (python-indent-dedenters, python-indent-levels)
12442 (python-nav-beginning-of-defun-regexp)
12443 (python-nav-list-defun-positions-cache)
12444 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12445 (python-shell-internal-buffer)
12446 (python-skeleton-available): New vars.
12447 (def-python-skeleton): Delete macro.
12448 (python-skeleton-define): New macro.
12449 (python-define-auxiliary-skeleton, python-rx): New macros.
12450 (python-insert-class): Delete command.
12451 (python-skeleton-class): New command.
12452 (python-insert-def): Delete command.
12453 (python-skeleton-def): New command.
12454 (python-insert-for): Delete command.
12455 (python-skeleton-for): New command.
12456 (python-insert-if): Delete command.
12457 (python-skeleton-if): New command.
12458 (python-insert-try/except, python-insert-try/finally): Delete commands.
12459 (python-skeleton-try): New command.
12460 (python-insert-while): Delete command.
12461 (python-skeleton-while): New command.
12462 (python-backspace): Delete command.
12463 (python-indent-dedent-line-backspace): New command.
12464 (python-electric-colon): Delete command.
12465 (python-indent-electric-colon): New command.
12466 (python-guess-indent): Delete command.
12467 (python-indent-guess-indent-offset): New command.
12468 (python-shift-left): Delete command.
12469 (python-indent-shift-left): New command.
12470 (python-shift-right): Delete command.
12471 (python-indent-shift-right): New command.
12472 (python-find-function): Delete command.
12473 (python-nav-jump-to-defun): New command.
12474 (python-next-statement): Delete command.
12475 (python-nav-forward-sentence): New command.
12476 (python-previous-statement): Delete command.
12477 (python-nav-backward-sentence): New command.
12478 (python-fill-paragraph): Delete command.
12479 (python-fill-paragraph-function): New command.
12480 (python-send-buffer): Delete command.
12481 (python-shell-send-buffer): New command.
12482 (python-send-defun): Delete command.
12483 (python-shell-send-defun): New command.
12484 (python-send-region, python-send-region-and-go): Delete commands.
12485 (python-shell-send-region)
12486 (python-shell-switch-to-shell): New commands.
12487 (python-send-string): Delete command.
12488 (python-shell-send-string): New command.
12489 (python-switch-to-python): Delete command.
12490 (python-shell-switch-to-shell): New command.
12491 (python-describe-symbol): Delete command.
12492 (python-eldoc-at-point): New command.
12493 (python--set-prompt-regexp, python-args-to-list)
12494 (python-after-info-look, python-check-version)
12495 (python-check-comint-prompt, python-find-imports)
12496 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12497 (python-unload-function, python-expand-template)
12498 (python-maybe-jython, python-preoutput-filter)
12499 (python-pdbtrack-get-source-buffer)
12500 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12501 (python-pdbtrack-toggle-stack-tracking)
12502 (python-pdbtrack-track-stack-file, python-initial-text)
12503 (python-first-word, python-comment-line-p, python-send-command)
12504 (python-setup-brm, python-sentinel, python-set-proc)
12505 (python-skip-out, python-input-filter, python-outdent-p)
12506 (python-outline-level, python-backslash-continuation-line-p)
12507 (python-end-of-block, python-end-of-statement, python-mark-block)
12508 (python-beginning-of-block, python-beginning-of-statement)
12509 (python-blank-line-p, python-beginning-of-string)
12510 (python-open-block-statement-p): Delete functions.
12511 (python-indent-line, python-indent-line-1): Delete functions.
12512 (python-indent-line): New function.
12513 (python-indentation-levels): Delete function.
12514 (python-indent-calculate-levels): New function.
12515 (python-proc): Delete function.
12516 (python-shell-get-process): New function.
12517 (python-send-receive): Delete function.
12518 (python-shell-send-string-no-output): New function.
12519 (python-module-path): Delete function.
12520 (python-ffap-module-path): New function.
12521 (python-completion-at-point)
12522 (python-symbol-completions): Delete functions.
12523 (python-completion-complete-at-point): New function.
12524 (python-load-file): Delete function.
12525 (python-shell-send-file): New function.
12526 (python-calculate-indentation): Delete function.
12527 (python-indent-calculate-indentation): New function.
12528 (python-skip-comments/blanks): Delete function.
12529 (python-util-forward-comment): New function.
12530 (python-continuation-line-p): Delete function.
12531 (python-info-continuation-line-p): New function.
12532 (python-which-func, python-current-defun): Delete function.
12533 (python-info-current-defun): New function.
12534 (python-beginning-of-defun): Delete function.
12535 (python-nav-beginning-of-defun): New function.
12536 (python-close-block-statement-p)
12537 (python-block-end-p): Delete function.
12538 (python-info-closing-block): New function.
12539 (python-comint-output-filter-function)
12540 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12541 (python-fill-comment, python-fill-decorator, python-fill-paren)
12542 (python-fill-string, python-imenu-make-element-tree)
12543 (python-imenu-make-tree, python-imenu-tree-assoc)
12544 (python-indent-context, python-indent-dedent-line)
12545 (python-indent-line-function)
12546 (python-indent-post-self-insert-function)
12547 (python-indent-toggle-levels)
12548 (python-info-assignment-continuation-line-p)
12549 (python-info-beginning-of-backlash)
12550 (python-info-block-continuation-line-p)
12551 (python-info-closing-block-message)
12552 (python-info-line-ends-backslash-p)
12553 (python-info-looking-at-beginning-of-defun)
12554 (python-info-ppss-context, python-info-ppss-context-type)
12555 (python-nav-list-defun-positions, python-nav-read-defun)
12556 (python-nav-sentence-end, python-nav-sentence-start)
12557 (python-pdbtrack-comint-output-filter-function)
12558 (python-pdbtrack-set-tracked-buffer)
12559 (python-shell-calculate-exec-path)
12560 (python-shell-calculate-process-environment)
12561 (python-shell-completion--do-completion-at-point)
12562 (python-shell-completion--get-completions)
12563 (python-shell-completion-complete-at-point)
12564 (python-shell-completion-complete-or-indent)
12565 (python-shell-get-or-create-process)
12566 (python-shell-get-process-name)
12567 (python-shell-internal-get-or-create-process)
12568 (python-shell-internal-get-process-name)
12569 (python-shell-internal-send-string, python-shell-make-comint)
12570 (python-shell-parse-command, python-shell-send-setup-code)
12571 (python-skeleton-add-menu-items)
12572 (python-util-clone-local-variables, python-util-position)
12573 (run-python-internal, python-indentation-levels)
12574 (python-nav-beginning-of-defun)
12575 (python-completion-complete-at-point): New functions.
12576 (run-python): Change arguments. New API requirements.
12577
12578 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12579
12580 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12581 (bug#11649).
12582
12583 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12584 (macroexp--expand-all): Use it.
12585
12586 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12587 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12588 Use `cl-function' instead.
12589
12590 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12591
12592 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12593 Suggested by Stefan Monnier while discussing bug#11657.
12594
12595 2012-06-14 Sam Steingold <sds@gnu.org>
12596
12597 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12598
12599 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12600
12601 * play/doctor.el (doctor-doc): Remove parameter and use
12602 doctor-sent instead of sent.
12603 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12604
12605 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12606
12607 * files.el: Require cl-lib.
12608 (file-name-non-special): Replace case -> cl-case.
12609
12610 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12611
12612 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12613 mapping from #' to function*.
12614
12615 2012-06-13 Chong Yidong <cyd@gnu.org>
12616
12617 * mouse.el (mouse-drag-track): Do not set the mark if the user
12618 releases the mouse without selecting anything (Bug#11588).
12619
12620 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12621
12622 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12623 as well (bug#11646).
12624
12625 * loadup.el: Count byte-code functions as well.
12626
12627 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12628 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12629
12630 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12631 (bug#11649). Add cl-defun and cl-defmacro.
12632
12633 2012-06-13 Drew Adams <drew.adams@oracle.com>
12634
12635 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12636 Fix last change.
12637
12638 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12639
12640 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12641 Otherwise, it blocks in batch mode.
12642
12643 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12644
12645 * help-mode.el (bookmark-make-record-default): Declare.
12646
12647 2012-06-13 Chong Yidong <cyd@gnu.org>
12648
12649 * emacs-lisp/package.el (list-packages): Compute a list of
12650 packages that are newly-available since the last list-packages
12651 invocation.
12652 (package-menu--new-package-list): New var.
12653 (package-menu--generate, package-menu--print-info)
12654 (package-menu--status-predicate, package-menu-mark-install):
12655 Handle new status label "new".
12656
12657 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12658
12659 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12660 conversion to backquotes.
12661
12662 2012-06-12 Chong Yidong <cyd@gnu.org>
12663
12664 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12665 Rename from gud-inhibit-global-bindings.
12666
12667 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12668
12669 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12670 hook from nxml-glyph-set-hook.
12671
12672 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12673 declaration.
12674
12675 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12676
12677 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12678 Convert to defcustom.
12679
12680 2012-06-12 Drew Adams <drew.adams@oracle.com>
12681
12682 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12683 New functions.
12684 (help-mode): Use them.
12685
12686 2012-06-11 Glenn Morris <rgm@gnu.org>
12687
12688 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12689 Use preprocessor face for directives.
12690 (fortran-directive-re): Doc fix.
12691
12692 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12693
12694 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12695 conversion to backquotes (bug#11652).
12696
12697 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12698 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12699 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12700 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12701 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12702 (cl-ninth, cl-tenth): Mark them as inlinable.
12703 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12704 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12705 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12706 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12707 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12708 (cl-list*, cl-adjoin): Don't put an autoload manually.
12709 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12710 (cl--compiler-macro-list*): Add autoload cookie.
12711 (cl--compiler-macro-cXXr): New function.
12712
12713 * help-fns.el (help-fns--compiler-macro): New function extracted from
12714 describe-function-1; follow aliases and use `compiler-macro' property.
12715 (describe-function-1): Use it.
12716
12717 2012-06-11 Chong Yidong <cyd@gnu.org>
12718
12719 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12720 is uninstalled, if imagemagick is installed.
12721
12722 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12723
12724 * emacs-lisp/cl-lib.el: Use lexical-binding.
12725 (cl-map-extents, cl-maclisp-member): Remove.
12726 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12727 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12728 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12729 * emacs-lisp/cl-extra.el: Use lexical-binding.
12730 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12731 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12732 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12733 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12734 * emacs-lisp/cl-seq.el: Use lexical-binding.
12735 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12736 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12737 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12738 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12739 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12740 CL's internals.
12741
12742 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12743
12744 Sync with Tramp 2.2.6-pre.
12745
12746 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12747 `print-length' and `print-level' to nil, in order to avoid
12748 truncation. Reported by Christopher Schmidt
12749 <christopher@ristopher.com>.
12750
12751 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12752
12753 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12754 New defmacro.
12755 (tramp-compat-copy-directory): Add optional argument
12756 COPY-CONTENTS. It is not handled yet.
12757
12758 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12759 (tramp-ftp-file-name-p): Simplify.
12760
12761 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12762 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12763 connection vector.
12764
12765 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12766 (tramp-methods): Do not use `tramp-password-end-of-line'.
12767 (tramp-completion-function-alist-putty): Handle UNIX case.
12768 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12769 (tramp-do-file-attributes-with-stat)
12770 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12771 gid as real numbers. They could run out of integer range on cygwin.
12772 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12773 (tramp-sh-handle-expand-file-name): Handle hops.
12774 (tramp-open-connection-setup-interactive-shell):
12775 Use `tramp-cleanup'. Move check for busyboxes ...
12776 (tramp-find-shell): ... here. Simplify implementation.
12777 Set "remote-shell" property also for alternative shells.
12778 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12779 If failing, a regular file would be written otherwise.
12780 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12781 (tramp-find-inline-encoding): Cache the coding commands in the
12782 process cache. Apply test command on the remote side, if defined.
12783 (tramp-find-inline-compress): Cache the compress commands in the
12784 process cache.
12785 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12786 when requested. Handle hops.
12787 (tramp-current-connection): New defvar.
12788 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12789 Throw `suppress', if there was a failed connection shortly before.
12790 Handle user interrupt. (Bug#10187)
12791 (tramp-get-inline-compress, tramp-get-inline-coding):
12792 Read connection properties from the process cache.
12793
12794 * net/tramp-smb.el (tramp-smb-server-version)
12795 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12796 New defconsts.
12797 (tramp-smb-prompt): Extend for powershell prompt.
12798 (tramp-smb-file-name-handler-alist): Add handlers for
12799 `process-file', `shell-command' and `start-file-process'.
12800 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12801 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12802 (tramp-smb-file-name-p): Simplify.
12803 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12804 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12805 (tramp-smb-shell-quote-argument): New defuns.
12806 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12807 Implement using "tar". By this, time-stamps are preserved.
12808 (tramp-smb-handle-copy-file): Handle also the case of directories.
12809 (tramp-smb-do-file-attributes-with-stat)
12810 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12811 Use `tramp-get-connection-buffer').
12812 (tramp-smb-handle-rename-file): Use "rename", when source and
12813 target are on the same share.
12814 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12815 Use `tramp-smb-server-version'.
12816 (tramp-smb-wait-for-output): Remove prompt.
12817
12818 * net/tramp.el (top): Require 'cl.
12819 (tramp-methods, tramp-rsh-end-of-line):
12820 Remove `tramp-password-end-of-line' from docstring.
12821 (tramp-save-ad-hoc-proxies): New defcustom.
12822 (tramp-completion-function-alist): Adapt docstring.
12823 (tramp-default-password-end-of-line): Remove defcustom.
12824 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12825 (tramp-user-regexp, tramp-file-name-regexp-unified)
12826 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12827 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12828 (tramp-remote-file-name-spec-regexp): New defconst.
12829 (tramp-file-name-structure): Extend structure for hops.
12830 (tramp-get-method-parameter): Move up.
12831 (tramp-file-name-p, tramp-dissect-file-name)
12832 (with-parsed-tramp-file-name): Handle hops.
12833 (tramp-file-name-hop): New defun.
12834 (tramp-make-tramp-file-name): New optional arg HOP.
12835 (tramp-message-show-progress-reporter-message): New defvar.
12836 (tramp-with-progress-reporter): Use it. We cannot use
12837 `tramp-message-show-message' here, because this suppresses also
12838 error buffers.
12839 (tramp-error-with-buffer): Suppress buffer view, if
12840 `tramp-message-show-message' is nil.
12841 Use `tramp-get-connection-buffer'.
12842 (tramp-cleanup): New defun.
12843 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12844 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12845 an error unchanged.
12846 (tramp-completion-handle-file-name-all-completions): Handle hops.
12847 Fix an error when called from ido.
12848 (tramp-completion-dissect-file-name): Use better local variable
12849 name. Add hop to the vector.
12850 (tramp-handle-insert-file-contents): Use progress-reporter for the
12851 whole scenario.
12852 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12853 to `t'.
12854 (tramp-check-for-regexp): Simplify search.
12855 (tramp-enter-password): Remove it. Move implementation ...
12856 (tramp-action-password): ... here.
12857 (tramp-mode-string-to-int, tramp-local-host-p)
12858 (tramp-make-tramp-temp-file, tramp-read-passwd)
12859 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12860 Set tramp-autoload cookie.
12861
12862 * net/trampver.el: Update release number.
12863
12864 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12865 Michael Albinus <michael.albinus@gmx.de>
12866
12867 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12868 (tramp-parse-group, tramp-parse-file)
12869 (tramp-parse-shostkeys-sknownhosts): New defuns.
12870 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12871 (tramp-parse-shosts-group, tramp-parse-sconfig)
12872 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12873 (tramp-parse-sknownhosts, tramp-parse-hosts)
12874 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12875 Use them.
12876 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12877 (tramp-parse-putty-group): Don't narrow.
12878 (tramp-parse-putty): Make a loop.
12879 (tramp-file-name-handler): Catch the `suppress' signal.
12880
12881 2012-06-11 Chong Yidong <cyd@gnu.org>
12882
12883 * image.el (imagemagick-register-types): Put the ImageMagick entry
12884 at the end of image-type-file-name-regexps.
12885
12886 2012-06-11 Johan Bockgård <bojohan@gnu.org>
12887
12888 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12889 (pcase, pcase-let*, pcase-dolist): Use them.
12890
12891 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12892
12893 * emacs-lisp/pcase.el (pcase--let*): New function.
12894 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12895 (pcase--expand): Use macroexp-let².
12896
12897 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12898
12899 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12900 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12901 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12902 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12903 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12904 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12905
12906 2012-06-10 Glenn Morris <rgm@gnu.org>
12907
12908 * mail/rmail.el (rmail-yank-current-message): Leave point at
12909 correct position. (Bug#11660)
12910
12911 2012-06-10 Chong Yidong <cyd@gnu.org>
12912
12913 * allout-widgets.el: Fix code header.
12914
12915 2012-06-10 Chong Yidong <cyd@gnu.org>
12916
12917 * cus-edit.el (customize-changed-options-previous-release):
12918 Bump to 24.1.
12919
12920 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12921
12922 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12923
12924 2012-06-09 Chong Yidong <cyd@gnu.org>
12925
12926 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12927
12928 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12929
12930 * window.el (special-display-popup-frame): Don't use
12931 window--display-buffer (Bug#11651).
12932
12933 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12934
12935 Fix parallel builds: make sure loaddefs.el is not being written
12936 while Lisp files are compiled.
12937 (compile): Don't depend on 'mh-autoloads'.
12938 (compile-CMD, compile-SH): Depend on 'autoloads'.
12939 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12940
12941 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12942
12943 2012-06-09 Chong Yidong <cyd@gnu.org>
12944
12945 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12946 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12947 Doc fixes (Bug#11225).
12948
12949 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12950
12951 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12952 a function if there's a clear indication that it has a compiler-macro.
12953 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12954 (macro-declarations-alist): Add arglist to declaration functions.
12955 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12956 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12957 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12958 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12959 Also add autoload to find the compiler macro.
12960 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12961 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12962 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12963 (cl--compiler-macro-get): New functions, replacing calls to
12964 cl-define-compiler-macro.
12965 (cl-typep) [compiler-macro]: Use macroexp-let².
12966
12967 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12968
12969 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12970 string properly, fixes Bug#11473.
12971
12972 2012-06-08 Chong Yidong <cyd@gnu.org>
12973
12974 * faces.el (set-face-attribute): Doc fix.
12975 (modify-face): Don't use :bold and :italic.
12976 (error, warning, success): Tweak definitions.
12977
12978 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12979 (custom-modified, custom-set, custom-changed, custom-themed)
12980 (custom-saved, custom-button, custom-button-mouse)
12981 (custom-button-pressed, custom-state, custom-comment-tag)
12982 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12983 (custom-group-subtitle): Use new-style face specs.
12984 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12985 (custom-set-face, custom-changed-face, custom-saved-face)
12986 (custom-button-face, custom-button-pressed-face)
12987 (custom-documentation-face, custom-state-face)
12988 (custom-comment-face, custom-comment-tag-face)
12989 (custom-variable-tag-face, custom-variable-button-face)
12990 (custom-face-tag-face, custom-group-tag-face-1)
12991 (custom-group-tag-face): Remove obsolete face alias.
12992
12993 * epa.el (epa-validity-high, epa-validity-medium)
12994 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12995 (epa-field-name, epa-field-body):
12996 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12997 (font-lock-keyword-face, font-lock-builtin-face)
12998 (font-lock-function-name-face, font-lock-variable-name-face)
12999 (font-lock-type-face, font-lock-constant-face):
13000 * ido.el (ido-first-match, ido-only-match, ido-subdir)
13001 (ido-virtual, ido-indicator, ido-incomplete-regexp):
13002 * speedbar.el (speedbar-button-face, speedbar-file-face)
13003 (speedbar-directory-face, speedbar-tag-face)
13004 (speedbar-selected-face, speedbar-highlight-face)
13005 (speedbar-separator-face):
13006 * whitespace.el (whitespace-newline, whitespace-space)
13007 (whitespace-hspace, whitespace-tab, whitespace-trailing)
13008 (whitespace-line, whitespace-space-before-tab)
13009 (whitespace-space-after-tab, whitespace-indentation)
13010 (whitespace-empty):
13011 * emulation/cua-base.el (cua-global-mark):
13012 * eshell/em-prompt.el (eshell-prompt):
13013 * net/newst-plainview.el (newsticker-new-item-face)
13014 (newsticker-old-item-face, newsticker-immortal-item-face)
13015 (newsticker-obsolete-item-face, newsticker-date-face)
13016 (newsticker-statistics-face, newsticker-default-face):
13017 * net/newst-reader.el (newsticker-feed-face)
13018 (newsticker-extra-face, newsticker-enclosure-face):
13019 * net/newst-treeview.el (newsticker-treeview-face)
13020 (newsticker-treeview-new-face, newsticker-treeview-old-face)
13021 (newsticker-treeview-immortal-face)
13022 (newsticker-treeview-obsolete-face)
13023 (newsticker-treeview-selection-face):
13024 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
13025 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
13026 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
13027 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
13028 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
13029 (nxml-outline-active-indicator, nxml-outline-ellipsis):
13030 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
13031 (mpuz-text):
13032 * progmodes/vera-mode.el (vera-font-lock-number)
13033 (vera-font-lock-function, vera-font-lock-interface):
13034 * textmodes/table.el (table-cell): Use new-style face specs, and
13035 don't use the old :bold and :italic attributes.
13036
13037 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
13038 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
13039 (ebrowse-member-class, ebrowse-progress): Likewise.
13040 (ebrowse-tree-mark-face, ebrowse-root-class-face)
13041 (ebrowse-file-name-face, ebrowse-default-face)
13042 (ebrowse-member-attribute-face, ebrowse-member-class-face)
13043 (ebrowse-progress-face): Remove obsolete faces.
13044
13045 * progmodes/flymake.el (flymake-errline, flymake-warnline):
13046 Inherit from error and warning faces respectively.
13047
13048 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
13049 Likewise.
13050 (flyspell-incorrect-face, flyspell-duplicate-face):
13051 Remove obsolete aliases.
13052
13053 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
13054
13055 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13056 Avoid infloop.
13057
13058 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13059
13060 * startup.el (argv, argi): Make lexically scoped.
13061 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
13062 * emacs-lisp/cl-macs.el: Use lexical-binding.
13063 Rename cl-bind-* to cl--bind-*.
13064 * files.el: Don't require `cl' since it doesn't use it.
13065 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
13066
13067 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
13068
13069 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
13070 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
13071 instead of calling external sort utility.
13072 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
13073
13074 2012-06-08 Eli Zaretskii <eliz@gnu.org>
13075
13076 * descr-text.el (describe-char): Mention how to insert the
13077 character, if the current input method doesn't support it.
13078 See the discussion in this thread for the details:
13079 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
13080
13081 2012-06-08 Sam Steingold <sds@gnu.org>
13082
13083 * bindings.el (global-map): Bind XF86Forward to next-buffer and
13084 XF86Back to previous-buffer.
13085 (minibuffer-local-map): Bind them to next-history-element and
13086 previous-history-element respectively.
13087 * help-mode.el (help-mode-map): Bind them to help-go-forward and
13088 help-go-back respectively.
13089 * info.el (Info-mode-map): Bind them to Info-history-forward and
13090 Info-history-back respectively.
13091 These are the keys next to Up on the ThinkPad keyboard.
13092
13093 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13094
13095 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
13096 * emacs-lisp/cl-macs.el: Provide itself.
13097 (cl--labels-convert-cache): New var.
13098 (cl--labels-convert): New function.
13099 (cl-flet, cl-labels): New implementation with new semantics, relying on
13100 lexical-binding.
13101 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
13102 (cl-closure-vars, cl--function-convert-cache)
13103 (cl--function-convert): Move from cl-macs.el.
13104 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13105 rename by removing the "cl-" prefix.
13106 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13107
13108 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13109
13110 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13111 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13112 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13113 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13114 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13115 (cl-hash-table-count): Add old compatibility aliases.
13116
13117 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13118 Use macroexpand-all-environment instead.
13119 (cl--old-macroexpand): New var.
13120 (cl--sm-macroexpand): New function.
13121 (cl-symbol-macrolet): Use it during macro expansion.
13122 (cl--function-convert-cache): New var.
13123 (cl--function-convert): New function, extracted from
13124 cl-macroexpand-all.
13125 (cl-lexical-let): Use it.
13126
13127 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13128 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13129 (cl-member): Remove old alias.
13130
13131 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13132 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13133 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13134 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13135 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13136 (cl-macroexpand-cmacs): Remove var.
13137 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13138 Use macroexpand-all instead.
13139
13140 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13141
13142 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13143 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13144 (macroexp-copyable-p): New functions and macros.
13145 * emacs-lisp/edebug.el (edebug-unwrap):
13146 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13147 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13148 (pcase--let*): Remove.
13149 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13150 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13151 macroexp-const-p instead.
13152 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13153
13154 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13155 instead of "cl-" for internal definitions. Use macroexp-const-p.
13156 (cl-old-bc-file-form): Remove var.
13157 (cl-const-exprs-p): Remove fun.
13158 (cl-labels, cl-macrolet): Use backquote.
13159 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13160 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13161 (cl-define-setf-expander): Rename from cl-define-setf-method.
13162 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13163
13164 * international/mule-cmds.el: Don't require CL.
13165 (view-hello-file): Don't use `letf'.
13166
13167 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13168
13169 * tmm.el (tmm-prompt): Use string-prefix-p.
13170 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13171 (tmm-add-prompt): Use minibuffer-completion-help.
13172 (tmm-delete-map): Remove.
13173
13174 * subr.el (kbd): Make it its own function.
13175
13176 2012-06-07 Stefan Merten <smerten@oekonux.de>
13177
13178 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13179 Silence compiler warnings. Fix versions.
13180 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13181 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13182 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13183 (rst-package-emacs-version-alist): Correct Emacs version to
13184 represent major merge with upstream.
13185 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13186
13187 2012-06-06 Glenn Morris <rgm@gnu.org>
13188
13189 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13190 Only print environment variables if set.
13191
13192 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13193
13194 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13195 (macroexp--cons): Rename from maybe-cons.
13196 (macroexp--accumulate): Rename from macroexp-accumulate.
13197 (macroexp--all-forms): Rename from macroexpand-all-forms.
13198 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13199 (macroexp--expand-all): Rename from macroexpand-all-1.
13200
13201 2012-06-06 Sam Steingold <sds@gnu.org>
13202
13203 * calendar/calendar.el (calendar-in-read-only-buffer):
13204 Call `special-mode' to enable the standard read-only keybindings.
13205
13206 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13207
13208 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13209 with "loading" messages (bug#11635).
13210
13211 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13212
13213 * files.el (enable-remote-dir-locals): New option.
13214 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13215
13216 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13217 Ensure, that the temp directory is local.
13218
13219 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13220 `temporary-file-directory'.
13221
13222 * progmodes/python.el (python-send-region): Ensure, that the
13223 temporary file is created also in the remote case.
13224
13225 2012-06-06 Glenn Morris <rgm@gnu.org>
13226
13227 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13228 (vc-rcs-update-changelog): Use it.
13229
13230 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13231
13232 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13233 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13234 (vc-sccs-diff): Replace use of the external vcdiff script.
13235
13236 2012-06-05 Glenn Morris <rgm@gnu.org>
13237
13238 * ledit.el: Move to obsolete/.
13239
13240 2012-06-05 Sam Steingold <sds@gnu.org>
13241
13242 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13243 patch (Bug#11140).
13244
13245 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13246
13247 * emacs-lisp/cust-print.el: Move to obsolete.
13248
13249 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13250 compiler-macro expansion.
13251
13252 Add native compiler-macro support.
13253 * emacs-lisp/macroexp.el (macroexpand-all-1):
13254 Support compiler-macros directly. Properly follow aliases and apply
13255 the compiler macros more thoroughly.
13256 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13257 macroexpand now properly follows aliases.
13258 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13259 (cl-compiler-macroexpand): Use new prop.
13260 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13261
13262 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13263
13264 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13265
13266 * window.el (get-lru-window, get-mru-window, get-largest-window):
13267 New argument NOT-SELECTED to avoid picking the selected window.
13268 (window--display-buffer-1, window--display-buffer-2): Replace by
13269 new function window--display-buffer
13270 (display-buffer-same-window, display-buffer-reuse-window)
13271 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13272 Use window--display-buffer.
13273 (display-buffer-use-some-window): Remove temporary dedication
13274 hack by calling get-lru-window and get-largest-window with
13275 NOT-SELECTED argument non-nil. Call window--display-buffer.
13276
13277 2012-06-05 Glenn Morris <rgm@gnu.org>
13278
13279 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13280 Replace external vcdiff script.
13281
13282 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13283
13284 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13285
13286 2012-06-04 Chong Yidong <cyd@gnu.org>
13287
13288 * image.el (imagemagick-types-inhibit): Revert last change.
13289 Add INFO and M.
13290 (imagemagick-enabled-types): Remove CIN and EPS*.
13291
13292 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13293
13294 * emacs-lisp/cl-lib.el: Rename from cl.el.
13295 * emacs-lisp/cl.el: New compatibility file.
13296 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13297 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13298 to obey the "cl-" prefix.
13299 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13300
13301 2012-06-03 Glenn Morris <rgm@gnu.org>
13302
13303 * emacs-lisp/authors.el (authors-aliases): Addition.
13304
13305 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13306 Fix :version.
13307
13308 2012-06-03 Stefan Merten <smerten@oekonux.de>
13309
13310 * textmodes/rst.el: Add comments.
13311 (rst-transition, rst-adornment): New faces.
13312 (rst-adornment-faces-alist): Make default safe to reevaluate.
13313 Fixes
13314 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13315 Improve customization tags.
13316 (rst-define-level-faces): Clarify meaning.
13317
13318 2012-06-03 Chong Yidong <cyd@gnu.org>
13319
13320 * progmodes/compile.el (compilation-mode-line-fail)
13321 (compilation-mode-line-run, compilation-mode-line-exit):
13322 New faces.
13323 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13324
13325 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13326
13327 * progmodes/which-func.el (which-func-update-ediff-windows):
13328 New function. Use it in ediff-select-hook (Bug#11478).
13329
13330 2012-06-03 Chong Yidong <cyd@gnu.org>
13331
13332 * bindings.el: Remove explicit help text from format-mode-line.
13333 It is now supplied by mode-line-default-help-echo.
13334 (mode-line-front-space, mode-line-end-spaces)
13335 (mode-line-misc-info): New variables.
13336 (mode-line-modes, mode-line-position): Move the default value to
13337 the variable definition.
13338 (mode-line-default-help-echo): New defcustom.
13339 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13340 (mode-line-modified-help-echo): New functions.
13341 (mode-line-mule-info, mode-line-modified): Use them.
13342 (mode-line-eol-desc, propertized-buffer-identification):
13343 Consistency fixes for help text.
13344 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13345 set-buffer-file-coding-system (Bug#289).
13346 (mode-line-mule-info-help-echo): Update help text.
13347
13348 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13349
13350 * simple.el (execute-extended-command): Set real-this-command
13351 (bug#11506).
13352
13353 2012-06-02 Chong Yidong <cyd@gnu.org>
13354
13355 Remove incorrect uses of "modeline" in comments, docstrings, and
13356 function/variable names (Bug#10329).
13357
13358 * cus-edit.el (mode-line):
13359 * dframe.el (dframe-mouse-hscroll):
13360 * emacs-lisp/re-builder.el:
13361 * emacs-lisp/easy-mmode.el (define-minor-mode):
13362 * frame.el (set-frame-name):
13363 * help.el (lookup-minor-mode-from-indicator):
13364 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13365 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13366 (c-toggle-hungry-state):
13367 * progmodes/antlr-mode.el (antlr-language-alist):
13368 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13369 * progmodes/vhdl-mode.el (vhdl-mode):
13370 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13371 * term/ns-win.el (ns-face-at-pos):
13372 * term/sup-mouse.el (sup-mouse-report):
13373 * textmodes/flyspell.el (flyspell-mode-line-string):
13374 * textmodes/ispell.el (ispell-highlight-face):
13375 * textmodes/reftex-global.el:
13376 * vc/vc-arch.el (vc-arch-mode-line-string):
13377 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13378 * vc/vc-git.el (vc-git-mode-line-string):
13379 * vc/vc-hooks.el (vc-display-status)
13380 (vc-default-mode-line-string):
13381 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13382
13383 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13384
13385 * dired.el (dired-sort-set-mode-line): Rename from
13386 dired-sort-set-modeline. All callers changed.
13387
13388 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13389 eshell-status-in-modeline.
13390
13391 * foldout.el (foldout-mode-line-string): Rename from
13392 foldout-modeline-string. All callers changed.
13393 (foldout-update-mode-line): Rename from foldout-update-modeline.
13394
13395 * subr.el (redraw-modeline): Make into obsolete alias.
13396
13397 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13398 timeclock-modeline-display. Make old name an alias.
13399 (timeclock-update-mode-line): Likewise. All callers changed.
13400 (timeclock-mode-line-display): No need to check before using
13401 add-hook.
13402 (timeclock-relative, timeclock-day-over-hook)
13403 (timeclock-use-elapsed, timeclock-mode-string)
13404 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13405
13406 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13407 crisp-mode-modeline-string.
13408
13409 * play/solitaire.el (solitaire-build-mode-line): Rename from
13410 solitaire-build-modeline. All callers changed.
13411
13412 * play/zone.el (zone-hiding-mode-line): Rename from
13413 zone-hiding-modeline. All callers changed.
13414 (zone): Remove unusued `modeline-hidden-level' property.
13415
13416 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13417 xscheme-modeline-initialize. All callers changed.
13418
13419 * strokes.el (strokes-lighter): Rename from
13420 strokes-modeline-string.
13421
13422 * textmodes/sgml-mode.el (html-face-tag-alist)
13423 (html-tag-face-alist): Use mode-line face instead of obsolete
13424 alias modeline.
13425
13426 2012-06-02 Stefan Merten <smerten@oekonux.de>
13427
13428 * textmodes/rst.el: Always require `cl'.
13429 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13430
13431 2012-06-02 Chong Yidong <cyd@gnu.org>
13432
13433 * image.el (imagemagick-enabled-types): Rename from
13434 imagemagick-types-enable. Add many more types.
13435 (imagemagick-types-inhibit): Change default to nil.
13436 (imagemagick-filter-types): Caller changed.
13437
13438 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13439
13440 * emacs-lisp/cl-macs.el: Use backquotes.
13441 (cl-transform-function-property): Use eval-and-compile rather than
13442 abusing `require'.
13443 (defstruct): Use declare-function instead of with-no-warnings.
13444
13445 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13446 (byte-compile-output-docform): Re-add the print-circle bindings.
13447 (byte-compile-fix-header): Use #$ just because it's shorter.
13448 (byte-compile-output-file-form): Remove defun/defmacro.
13449
13450 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13451
13452 * simple.el (choose-completion): Remove now obsolete binding for
13453 owindow.
13454
13455 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13456
13457 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13458 in order to avoid "Stack overflow in regexp matcher".
13459
13460 2012-05-31 Glenn Morris <rgm@gnu.org>
13461
13462 * image.el: For clarity, call imagemagick-register-types at
13463 top-level, rather than relying on a custom :initialize.
13464 (imagemagick-types-enable): New option. (Bug#11557)
13465 (imagemagick-filter-types): New function. (Bug#7406)
13466 (imagemagick-register-types): Use imagemagick-filter-types.
13467 If disabling support, remove elements altogether rather
13468 than using an impossible regexp.
13469 (imagemagick-types-inhibit): Give it the default init function.
13470
13471 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13472
13473 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13474 Handle arbitrary file name lengths (Bug#11585).
13475
13476 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13477
13478 * desktop.el (desktop-read): Clear previous and next buffers for
13479 all windows and bury *Messages* buffer (bug#11556).
13480
13481 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13482
13483 Add `declare' for `defun'. Align `defmacro's with it.
13484 * emacs-lisp/easy-mmode.el (define-minor-mode)
13485 (define-globalized-minor-mode): Don't autoload the var definitions.
13486 * emacs-lisp/byte-run.el: Use lexical-binding.
13487 (defun-declarations-alist, macro-declarations-alist): New vars.
13488 (defmacro, defun): Use them.
13489 (make-obsolete, define-obsolete-function-alias)
13490 (make-obsolete-variable, define-obsolete-variable-alias):
13491 Use `declare'.
13492 (macro-declaration-function): Mark obsolete.
13493 * emacs-lisp/autoload.el: Use lexical-binding.
13494 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13495
13496 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13497
13498 * textmodes/ispell.el (ispell-with-no-warnings):
13499 Define as a macro.
13500 (ispell-kill-ispell, ispell-change-dictionary):
13501 Use `called-interactively-p' for Emacs instead of obsolete
13502 `interactive-p'.
13503
13504 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13505
13506 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13507 (macro-declaration-function): Move var from C code.
13508 (macro-declaration-function): Define function with defalias.
13509 * emacs-lisp/macroexp.el (macroexpand-all-1):
13510 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13511 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13512 defun/defmacro any more.
13513 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13514 Provide fallback for unknown arglist.
13515 (byte-compile-arglist-warn): Change calling convention.
13516 (byte-compile-output-file-form): Move print-vars binding.
13517 (byte-compile-output-docform): Simplify accordingly.
13518 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13519 (byte-compile-defmacro-declaration): Remove.
13520 (byte-compile-file-form-defmumble): Generalize to defalias.
13521 (byte-compile-output-as-comment): Return byte-positions.
13522 Simplify callers accordingly.
13523 (byte-compile-lambda): Use `assert'.
13524 (byte-compile-defun, byte-compile-defmacro): Remove.
13525 (byte-compile-file-form-defalias):
13526 Use byte-compile-file-form-defmumble.
13527 (byte-compile-defalias-warn): Remove.
13528
13529 2012-05-29 Stefan Merten <smerten@oekonux.de>
13530
13531 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13532 possible. Fix authors. Improve comments. Improve loading of `cl'.
13533
13534 (rst-mode-abbrev-table): Merge definition.
13535 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13536 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13537
13538 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13539
13540 * calendar/icalendar.el
13541 (icalendar-export-region): Export UID properly.
13542
13543 2012-05-29 Leo Liu <sdl.web@gmail.com>
13544 * calendar/icalendar.el (icalendar-import-format):
13545 Add `icalendar-import-format-uid' (Bug#11525).
13546 (icalendar-import-format-uid): New.
13547 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13548 Export UID.
13549
13550 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13551
13552 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13553 different alternative patterns.
13554 (pcase-codegen): Be more careful to preserve identity.
13555 (pcase--u1): Don't forget to mark vars as used.
13556
13557 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13558 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13559 (byte-compile-from-buffer): ...rather than here.
13560
13561 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13562 functions from byte-compile-function-environment.
13563
13564 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13565
13566 * window.el (window-deletable-p): Avoid deleting the root window
13567 of a frame with an active minibuffer.
13568
13569 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13570
13571 * simple.el (choose-completion): Use quit-window (Bug#11567).
13572
13573 2012-05-29 Chong Yidong <cyd@gnu.org>
13574
13575 * whitespace.el (whitespace-cleanup): Fix usage of
13576 whitespace-empty-at-bob-regexp (Bug#11492).
13577
13578 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13579
13580 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13581 revert (Bug#11488).
13582
13583 2012-05-29 Juri Linkov <juri@jurta.org>
13584
13585 * isearch.el (isearch-mode-map): Bind `M-s _' to
13586 `isearch-toggle-symbol'. Bind `M-s c' to
13587 `isearch-toggle-case-fold'.
13588 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13589 (isearch-forward): Add `M-s _' to the docstring.
13590 (isearch-forward-symbol, isearch-toggle-case-fold)
13591 (isearch-symbol-regexp): New functions. (Bug#11381)
13592
13593 2012-05-29 Juri Linkov <juri@jurta.org>
13594
13595 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13596 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13597 a function, call it to get the regexp.
13598 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13599 property `isearch-message-prefix' instead of the string "word ".
13600 (isearch-search-fun-default): For the case of `isearch-word',
13601 return a lambda that calls re-search-forward/re-search-backward
13602 with a regexp returned by `word-search-regexp' or by the function
13603 in `isearch-word'.
13604
13605 2012-05-29 Juri Linkov <juri@jurta.org>
13606
13607 * isearch.el (isearch-search-fun-default): New function.
13608 (isearch-search-fun): Move default part to the new function
13609 `isearch-search-fun-default'.
13610 (isearch-search-fun-function): Set the default value to
13611 `isearch-search-fun-default'. (Bug#11381)
13612
13613 * comint.el (comint-history-isearch-end):
13614 Use `isearch-search-fun-default'.
13615 (comint-history-isearch-search): Use `isearch-search-fun-default'
13616 and remove spacial case for `isearch-word'.
13617 (comint-history-isearch-wrap): Remove spacial case for
13618 `isearch-word'.
13619
13620 * hexl.el (hexl-isearch-search-function):
13621 Use `isearch-search-fun-default'.
13622
13623 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13624 Use `word-search-regexp' for `isearch-word'.
13625
13626 * misearch.el (multi-isearch-search-fun):
13627 Use `isearch-search-fun-default'.
13628
13629 * simple.el (minibuffer-history-isearch-search):
13630 Use `isearch-search-fun-default' and remove spacial case for
13631 `isearch-word'.
13632 (minibuffer-history-isearch-wrap): Remove spacial case for
13633 `isearch-word'.
13634
13635 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13636 Remove spacial case for `isearch-word'.
13637 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13638
13639 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13640
13641 Decrease XEmacs incompatibilities.
13642 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13643 Use `string-match'.
13644 (flyspell-delete-region-overlays): Use alternative definition for
13645 XEmacs.
13646 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13647 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13648 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13649 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13650 `define-obsolete-face-alias' under XEmacs, but old method.
13651
13652 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13653 `with-no-warnings' definition or Emacs alias.
13654 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13655 (ispell-word): Do not use `region-p' if XEmacs.
13656
13657 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13658
13659 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13660 Check for `ispell-dictionary-base-alist' instead of full
13661 `ispell-dictionary-alist'.
13662 (ispell-init-process): Show spellchecker when starting new Ispell
13663 process.
13664
13665 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13666
13667 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13668 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13669
13670 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13671
13672 * version.el (motif-version-string, gtk-version-string)
13673 (ns-version-string): Declare.
13674
13675 2012-05-27 Juri Linkov <juri@jurta.org>
13676
13677 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13678 after the `eval-defun-1' specialcaseing
13679 like in `edebug-eval-defun' (bug#10181).
13680
13681 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13682 like in `eval-defun-1'.
13683
13684 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13685
13686 * mail/sendmail.el (mail-yank-region):
13687 Recognize rmail-yank-current-message in addition to insert-buffer.
13688 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13689 a *mail* buffer created through rmail-start-mail with sendmail as
13690 mail-user-agent.
13691
13692 2012-05-27 Chong Yidong <cyd@gnu.org>
13693
13694 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13695 Default to 256 (Bug#11267).
13696
13697 * help.el (describe-mode): Doc fix.
13698
13699 2012-05-26 Glenn Morris <rgm@gnu.org>
13700
13701 * w32-fns.el (w32-init-info): Remove.
13702 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13703
13704 * info.el (info-initialize): For self-contained NS builds, put the
13705 included info/ directory at the front. (Bug#2791)
13706
13707 * paths.el (Info-default-directory-list): Make it a defcustom,
13708 mainly so that we can use custom-initialize-delay.
13709
13710 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13711
13712 * subr.el (buffer-has-markers-at): Mark obsolete.
13713
13714 * subr.el (lambda): Use declare.
13715
13716 * emacs-lisp/lisp-mode.el (lambda):
13717 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13718
13719 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13720
13721 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13722
13723 2012-05-26 Glenn Morris <rgm@gnu.org>
13724
13725 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13726
13727 2012-05-25 Glenn Morris <rgm@gnu.org>
13728
13729 * paths.el: Remove no-byte-compile.
13730 * loadup.el: No need to load paths.el uncompiled.
13731
13732 * image.el (imagemagick-types-inhibit): Doc fix.
13733
13734 * version.el: Remove no-byte-compile and associated formatting.
13735 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13736 is ancient code from when there was an "inc-vers.el".
13737
13738 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13739
13740 * progmodes/gdb-mi.el: Minor style changes.
13741 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13742 Turn into minor modes.
13743 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13744 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13745 (gdb-shell): Remove unneeded let-binding.
13746 (gdb-get-many-fields): Eliminate O(n²) behavior.
13747
13748 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13749
13750 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13751 platforms that don't link in fontset.c.
13752
13753 2012-05-25 Juri Linkov <juri@jurta.org>
13754
13755 Use the same diff color scheme as in modern VCSes (bug#10181).
13756
13757 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13758 to avoid confusion with `diff-added' that now uses green colors.
13759 (diff-removed): Use shades of red.
13760 (diff-added): Use shades of green.
13761 (diff-changed): Leave just the yellow color.
13762 (diff-use-changed-face): New variable.
13763 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13764 how to highlight context diff changes.
13765 (diff-refine-change): Use shades of yellow.
13766 (diff-refine-removed): New face that uses shades of red.
13767 (diff-refine-added): New face that uses shades of green.
13768 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13769 `diff-refine-removed' in the call to `smerge-refine-subst'
13770 depending on the value of `diff-use-changed-face'.
13771
13772 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13773 (smerge-other): Use shades of green.
13774 (smerge-base): Use shades of yellow.
13775 (smerge-refined-change): Empty face.
13776 (smerge-refined-removed): New face that uses shades of red.
13777 (smerge-refined-added): New face that uses shades of green.
13778 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13779 args `props-r' and `props-a', and use them. Doc fix.
13780 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13781 on its value use different faces `smerge-refined-change',
13782 `smerge-refined-removed', `smerge-refined-added' in the call to
13783 `smerge-refine-subst'.
13784
13785 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13786 Add face condition `min-colors 88' with shades of red.
13787 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13788 `min-colors 88' with shades of green.
13789 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13790 `min-colors 88' with shades of yellow.
13791
13792 2012-05-24 Glenn Morris <rgm@gnu.org>
13793
13794 * paths.el (prune-directory-list, remote-shell-program): Move to...
13795 * files.el (prune-directory-list, remote-shell-program): ...here.
13796 For the latter, delay initialization, prefer ssh, just search PATH.
13797
13798 * paths.el (term-file-prefix): Move to faces.el (the only user).
13799 * faces.el (term-file-prefix): Move here, make it a defcustom.
13800
13801 * paths.el (news-directory, news-path, news-inews-program):
13802 Move to gnus/nnspool.el.
13803
13804 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13805
13806 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13807 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13808 Make the latter a defcustom, with a delayed initialization.
13809
13810 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13811 These were deleted from Gnus itself late 2010.
13812
13813 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13814
13815 * progmodes/which-func.el (which-func-ff-hook):
13816 Check against user-error, not error.
13817
13818 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13819 cl-specs.el, which no longer exists.
13820
13821 2012-05-22 Glenn Morris <rgm@gnu.org>
13822
13823 * info.el (info-emacs-bug): New command.
13824 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13825 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13826
13827 2012-05-21 Glenn Morris <rgm@gnu.org>
13828
13829 * makefile.w32-in (update-subdirs-SH):
13830 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13831
13832 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13833
13834 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13835
13836 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13837 Simplify Maven regexp, and make sure the file can't start with a space
13838 (bug#11517).
13839
13840 2012-05-21 Glenn Morris <rgm@gnu.org>
13841
13842 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13843 Scrap superfluous subshells.
13844
13845 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13846
13847 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13848 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13849
13850 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13851
13852 * calc/calc.el (calc-ensure-consistent-units): New variable.
13853
13854 * calc/calc-units.el (math-consistent-units-p)
13855 (math-check-unit-consistency): New functions.
13856 (calc-quick-units, calc-convert-units):
13857 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13858 is non-nil.
13859 (calc-extract-units): Fix typo.
13860
13861 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13862
13863 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13864
13865 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13866 (flyspell-default-deplacement-commands): Don't spell check after
13867 repeated window/frame switches (e.g. triggered by mouse-movement).
13868 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13869 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13870 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13871 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13872 Remove unused vars.
13873 (flyspell-get-casechars, flyspell-get-not-casechars):
13874 Simplify; Don't bother removing a ] just to add it back.
13875 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13876
13877 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13878
13879 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13880 New functions.
13881 (math-function-table): Add support for more C functions.
13882
13883 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13884
13885 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13886 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13887 Protect delay handling for otherchars against empty otherchars.
13888
13889 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13890
13891 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13892 their respective macro declarations.
13893 * skeleton.el (define-skeleton):
13894 * progmodes/compile.el (define-compilation-mode):
13895 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13896 (define-ibuffer-filter):
13897 * emacs-lisp/generic.el (define-generic-mode):
13898 * emacs-lisp/easy-mmode.el (define-minor-mode)
13899 (define-globalized-minor-mode):
13900 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13901 * emacs-lisp/byte-run.el (defsubst):
13902 * custom.el (deftheme): Add doc-string metadata.
13903
13904 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13905
13906 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13907
13908 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13909
13910 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13911
13912 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13913 * emacs-lisp/cl-macs.el: Idem.
13914 * emacs-lisp/cl-specs.el: Remove.
13915
13916 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13917
13918 Minor renaming of internal CL functions and variables.
13919 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13920 (cl--position): Rename from cl-position.
13921 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13922 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13923 (cl--random-state): Rename from *random-state*.
13924
13925 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13926
13927 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13928 parens around the arg list (bug#11499).
13929
13930 2012-05-17 Juri Linkov <juri@jurta.org>
13931
13932 * isearch.el (word-search-regexp, word-search-backward)
13933 (word-search-forward, word-search-backward-lax)
13934 (word-search-forward-lax): Move functions from search.c
13935 (bug#10145, bug#11381).
13936
13937 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13938
13939 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13940 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13941 Delay for otherchars as for normal word components.
13942
13943 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13944
13945 * minibuffer.el (completion--sifn-requote): Fix last change.
13946 (minibuffer-local-must-match-filename-map):
13947 Move define-obsolete-variable-alias before its var.
13948
13949 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13950
13951 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13952
13953 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13954 behavior.
13955 (completion--string-equal-p): New function.
13956 (completion--twq-all): Use it to get better assertion failure data.
13957
13958 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13959 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13960 (shell--requote-argument): New functions.
13961 (shell-completion-vars): Use them.
13962 (shell--parse-pcomplete-arguments): Rename from
13963 shell-parse-pcomplete-arguments.
13964 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13965 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13966 Obey comint-file-name-quote-list.
13967
13968 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13969 (smie-indent-keyword): Use it.
13970
13971 2012-05-14 Stefan Merten <smerten@oekonux.de>
13972
13973 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13974
13975 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13976
13977 * net/rlogin.el (rlogin-mode-map): Fix last change.
13978
13979 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13980
13981 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13982 the following \r\n using a single `process-send-string', since the
13983 Lotus SMTP server refuses to accept any commands if they are sent
13984 with two `process-send-string's (Bug#11444).
13985
13986 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13987
13988 * shell.el (shell-parse-pcomplete-arguments):
13989 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13990
13991 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13992
13993 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13994 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13995 (image-transform-width, image-transform-fit-width): New functions.
13996 (image-transform-properties): Use them.
13997 (image-transform-check-size): New function.
13998 (image-toggle-display-image): Use it (for testing).
13999 (image-transform-set-rotation): Reduce angle mod 360.
14000 Delete obsolete comment.
14001
14002 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14003
14004 * image-mode.el: Fix scaling (bug#11399).
14005 (image-transform-resize): Doc fix.
14006 (image-transform-properties): Default scale is 1 and height should
14007 be an integer.
14008
14009 2012-05-13 Johan Bockgård <bojohan@gnu.org>
14010
14011 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
14012 than hard-coding `car', to fix misbehavior when moving forward.
14013
14014 2012-05-13 Chong Yidong <cyd@gnu.org>
14015
14016 * emacs-lisp/tabulated-list.el (tabulated-list-format)
14017 (tabulated-list-entries, tabulated-list-padding)
14018 (tabulated-list-sort-key): Make permanent-local.
14019
14020 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
14021 (electric-buffer-list): Put electric buffer menu
14022 command descriptions in this docstring, instead of the docstring
14023 of electric-buffer-menu-mode. Code cleanups.
14024 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
14025 Electric-buffer-menu-mode.
14026 (electric-buffer-update-highlight): Minor code cleanup.
14027
14028 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
14029
14030 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
14031 (Bug#11447)
14032
14033 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14034
14035 Move define-obsolete-variable-alias before the var's definition.
14036 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
14037 * tooltip.el (tooltip-hook):
14038 * textmodes/reftex-toc.el (reftex-toc-map):
14039 * textmodes/reftex-sel.el (reftex-select-label-map)
14040 (reftex-select-bib-map):
14041 * textmodes/reftex-index.el (reftex-index-map)
14042 (reftex-index-phrases-map):
14043 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
14044 * progmodes/meta-mode.el (meta-mode-map):
14045 * novice.el (disabled-command-hook):
14046 * loadhist.el (unload-hook-features-list):
14047 * frame.el (blink-cursor):
14048 * files.el (find-file-not-found-hooks, write-file-hooks)
14049 (write-contents-hooks):
14050 * emulation/tpu-edt.el (GOLD-map):
14051 * emacs-lock.el (emacs-lock-from-exiting):
14052 * emacs-lisp/generic.el (generic-font-lock-defaults):
14053 * emacs-lisp/chart.el (chart-map):
14054 * dos-fns.el (register-name-alist):
14055 * dired-x.el (dired-omit-files-p):
14056 * desktop.el (desktop-enable):
14057 * cus-edit.el (custom-mode-hook):
14058 * buff-menu.el (buffer-menu-mode-hook):
14059 * bookmark.el (bookmark-read-annotation-text-func)
14060 (bookmark-exit-hooks):
14061 * allout.el (allout-mode-deactivate-hook)
14062 (allout-exposure-change-hook, allout-structure-added-hook)
14063 (allout-structure-deleted-hook, allout-structure-shifted-hook):
14064 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
14065 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
14066 comes before the corresponding variable's definition.
14067
14068 2012-05-12 Chong Yidong <cyd@gnu.org>
14069
14070 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
14071 (Buffer-menu-mouse-select): Restore function (Bug#11459).
14072 (Buffer-menu-mode-map): Bind it.
14073 (Buffer-menu--pretty-name): Add a mouse-face property.
14074
14075 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
14076
14077 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
14078 (prolog-upper-case-string, prolog-lower-case-string)
14079 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
14080 (prolog-use-smie, prolog-smie-grammar): New vars.
14081 (prolog-smie-forward-token, prolog-smie-backward-token)
14082 (prolog-smie-rules): New funs.
14083 (prolog-comment-indent): Remove.
14084 (prolog-mode-variables): Use default comment indentation instead.
14085 Setup SMIE.
14086 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
14087 (prolog-mode): Don't call them any more.
14088 (prolog-electric-colon, prolog-electric-dash)
14089 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
14090
14091 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
14092
14093 * minibuffer.el (completion--twq-all): Again, allow case differences.
14094
14095 * term.el: Move keymap initialization code to be more idiomatic.
14096 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
14097 (term-terminal-menu): Move initialization into declaration.
14098 (term-escape-char): Let the user set it in her .emacs.
14099
14100 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
14101 Provide SMIE-based indentation (not enabled by default yet).
14102 (sh-mode-map): Don't bind electric keys.
14103 Use electric-pair-mode instead of skeleton-pair.
14104 (sh-assignment-regexp): Fit within 80 columns.
14105 (sh-indent-supported): Specify actual shell name instead of boolean.
14106 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14107 (sh-maybe-here-document): Use it. Make obsolete.
14108 (sh-electric-here-document-mode) New minor mode.
14109 (sh-mode): Use it. Don't set sh-indent-supported-here here.
14110 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14111 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14112 (sh-smie-rc-grammar, sh-use-smie): New vars.
14113 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14114 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14115 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14116 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14117 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14118 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14119 (sh-set-shell): Use smie-setup if requested.
14120
14121 * term.el (term-set-escape-char): Properly set term-escape-char.
14122 See http://stackoverflow.com/questions/10524656.
14123
14124 2012-05-10 Chong Yidong <cyd@gnu.org>
14125
14126 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14127 Use url-generic-parse-url, and handle host names and Windows
14128 filenames properly.
14129 (ffap-url-unwrap-remote): Use url-generic-parse-url.
14130 (ffap-url-unwrap-remote): Accept list values, specifying a list of
14131 URL schemes to work on.
14132 (ffap--toggle-read-only): New function.
14133 (ffap-read-only, ffap-read-only-other-window)
14134 (ffap-read-only-other-frame): Use it.
14135 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14136 necessary for ffap-url-unwrap-remote.
14137
14138 2012-05-10 Dave Abrahams <dave@boostpro.com>
14139
14140 * cus-start.el (create-lockfiles): Add it.
14141
14142 2012-05-09 Chong Yidong <cyd@gnu.org>
14143
14144 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14145 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14146
14147 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14148
14149 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14150
14151 2012-05-09 Chong Yidong <cyd@gnu.org>
14152
14153 * ansi-color.el (ansi-color-process-output): Check for validity of
14154 comint-last-output-start before using it. This avoids a bad
14155 interaction with gdb-mi's input/output buffer.
14156
14157 2012-05-09 Glenn Morris <rgm@gnu.org>
14158
14159 * files.el (dir-locals-read-from-file):
14160 Mention dir-locals in any error message.
14161
14162 2012-05-09 Chong Yidong <cyd@gnu.org>
14163
14164 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14165 package (Bug#11410).
14166
14167 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14168 variables into description.
14169
14170 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14171
14172 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14173 shell-delimiter-argument-list (bug#11348).
14174 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14175
14176 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14177
14178 * textmodes/rst.el: Silence byte-compiler warnings.
14179 (rst-re-alist, rst-reset-section-caches): Move around.
14180 (rst-re): Use `characterp', not `char-valid-p'.
14181 (font-lock-beg, font-lock-end): Declare.
14182
14183 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14184 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14185
14186 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14187
14188 2012-05-08 Glenn Morris <rgm@gnu.org>
14189
14190 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14191
14192 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14193
14194 * vc/log-edit.el: Add GNU coding standards highlighting.
14195 (log-edit-font-lock-gnu-style)
14196 (log-edit-font-lock-gnu-keywords): New vars.
14197 (log-edit-font-lock-keywords): New fun.
14198 (log-edit-mode): Don't fold case in font-lock.
14199 (log-edit-font-lock-keywords): Do not assume case-folding.
14200
14201 * imenu.el: Misc cleanup. Make docstrings out of comments.
14202 Use lexical-binding.
14203 (imenu--index-alist, imenu--last-menubar-index-alist)
14204 (imenu-menubar-modified-tick): Use defvar-local.
14205 (imenu--split-menu): Remove unused var.
14206 (imenu--cleanup-seen): Declare as global.
14207 (imenu--cleanup): Use dolist.
14208
14209 * subr.el (defvar-local): Add debug spec and doc-string position.
14210
14211 2012-05-08 Glenn Morris <rgm@gnu.org>
14212
14213 * language/burmese.el, language/cham.el, language/czech.el:
14214 * language/english.el, language/georgian.el, language/greek.el:
14215 * language/japanese.el, language/khmer.el, language/korean.el:
14216 * language/lao.el, language/misc-lang.el, language/romanian.el:
14217 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14218 * language/thai.el, language/utf-8-lang.el:
14219 Remove no-byte-compile setting.
14220
14221 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14222
14223 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14224
14225 * progmodes/make-mode.el (makefile-browse):
14226 Remove unnecessary interactive. (Bug#11324)
14227
14228 2012-05-07 Glenn Morris <rgm@gnu.org>
14229
14230 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14231
14232 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14233
14234 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14235
14236 * loadup.el: Preload newcomment.el.
14237 * newcomment.el: Move autoload-only code to toplevel.
14238
14239 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14240 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14241 Handle new :right-align column property.
14242 (tabulated-list-print-col): Idem, plus use `display' text-property to
14243 try and preserve alignment for variable pitch fonts.
14244
14245 2012-05-07 Chong Yidong <cyd@gnu.org>
14246
14247 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14248 (tabulated-list-use-header-line): New var.
14249 (tabulated-list-init-header): Use it.
14250 (tabulated-list-print-fake-header): New function.
14251 (tabulated-list-print): Use it.
14252 (tabulated-list-sort-button-map): Add non-header-line commands.
14253 (tabulated-list-init-header): Add column name property to basic
14254 labels as well.
14255 (tabulated-list-col-sort): Handle non-header-line button case.
14256 (tabulated-list--sort-by-column-name): Fix a corner case.
14257
14258 * buff-menu.el (list-buffers--refresh):
14259 Handle Buffer-menu-use-header-line.
14260
14261 2012-05-06 Chong Yidong <cyd@gnu.org>
14262
14263 * buff-menu.el: Convert to Tabulated List mode.
14264 (Buffer-menu-buffer+size-width): Make obsolete.
14265 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14266 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14267 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14268 documentation into docstring of buffer-menu.
14269 (Buffer-menu-toggle-files-only): Add an informative message.
14270 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14271 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14272 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14273 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14274 (Buffer-menu-execute, Buffer-menu-select)
14275 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14276 (Buffer-menu-bury): Use Tabulated List machinery.
14277 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14278 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14279 Delete.
14280 (list-buffers--refresh): New function.
14281 (list-buffers-noselect): Use it.
14282 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14283 (Buffer-menu--pretty-file-name): New helper functions.
14284
14285 * loadup.el: Preload tabulated-list.
14286
14287 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14288 tabulated-list-sort-column.
14289 (tabulated-list-init-header): Add the initial aligning space even
14290 if tabulated-list-padding is zero.
14291
14292 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14293
14294 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14295 whose cdr is not a cons cell correctly (bug#11038).
14296
14297 2012-05-06 Chong Yidong <cyd@gnu.org>
14298
14299 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14300 Accept additional plist in column descriptors.
14301 (tabulated-list-init-header): Obey it.
14302 (tabulated-list-get-entry): New function.
14303 (tabulated-list-put-tag): Use it. Use string-width instead of
14304 length.
14305 (tabulated-list--column-number): New function.
14306 (tabulated-list-print): Use it.
14307 (tabulated-list-print-col): New function.
14308 Set `tabulated-list-column-name' property on each column's text.
14309 (tabulated-list-print-entry): Use it.
14310 (tabulated-list-delete-entry, tabulated-list-set-col):
14311 New functions.
14312 (tabulated-list-sort-column): New command (Bug#11337).
14313
14314 * buff-menu.el (list-buffers): Move C-x C-b binding from
14315 buff-menu.el to bindings.el.
14316
14317 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14318 :advertised-binding feature.
14319
14320 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14321
14322 * progmodes/compile.el (compilation-internal-error-properties):
14323 Calculate start position correctly when end-col is set but
14324 end-line is not (Bug#11382).
14325
14326 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14327
14328 * man.el (Man-unindent): Use text-property-default-nonsticky to
14329 prevent untabify from inheriting face properties (Bug#11408).
14330
14331 2012-05-05 Stefan Merten <smerten@oekonux.de>
14332
14333 * textmodes/rst.el: Major merge with upstream development up to
14334 Docutils SVN r7399 / rst.el V1.2.1.
14335
14336 Clarify maintainership and authors.
14337
14338 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14339 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14340 (rst-official-version, rst-official-cvs-rev, rst-version)
14341 (rst-package-emacs-version-alist): New functions and variables
14342 for version information.
14343
14344 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14345 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14346 (rst-mode-syntax-table, rst-mode): New and corrected functions
14347 and variables representing reStructuredText features.
14348
14349 (rst-re): New function for reStructuredText regexes. Use in
14350 many places.
14351
14352 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14353 (rst-mode-map): Rebind keys.
14354
14355 (rst-mode-lazy, rst-font-lock-keywords)
14356 (rst-font-lock-extend-region)
14357 (rst-font-lock-extend-region-internal)
14358 (rst-font-lock-extend-region-extend)
14359 (rst-font-lock-find-unindented-line-limit)
14360 (rst-font-lock-find-unindented-line-match)
14361 (rst-adornment-level, rst-font-lock-adornment-level)
14362 (rst-font-lock-adornment-match)
14363 (rst-font-lock-handle-adornment-pre-match-form)
14364 (rst-font-lock-handle-adornment-matcher): Major revision of
14365 font-locking. Integrate with other code. Use `jit-lock-mode'.
14366
14367 (rst-preferred-adornments, rst-adjust-hook)
14368 (rst-new-adornment-down, rst-preferred-bullets)
14369 (rst-preferred-bullets, rst-indent, rst-indent-width)
14370 (rst-indent-field, rst-indent-literal-normal)
14371 (rst-indent-literal-minimized, rst-indent-comment): Change,
14372 extend and improve customization.
14373
14374 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14375 (rst-normalize-cursor-position, rst-get-decoration)
14376 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14377 (rst-rstrip, rst-toc-insert-find-delete-contents)
14378 (rst-shift-fill-region, rst-compute-bullet-tabs)
14379 (rst-debug-print-tabs, rst-debug-mark-found)
14380 (rst-shift-region-guts, rst-shift-region-right)
14381 (rst-shift-region-left, rst-use-char-classes)
14382 (rst-font-lock-keywords-function)
14383 (rst-font-lock-indentation-point)
14384 (rst-font-lock-find-unindented-line-begin)
14385 (rst-font-lock-find-unindented-line-end)
14386 (rst-font-lock-find-unindented-line)
14387 (rst-font-lock-adornment-point, rst-font-lock-level)
14388 (rst-adornment-level-alist): Remove functions and variables.
14389
14390 (rst-compare-adornments, rst-get-adornment-match)
14391 (rst-suggest-new-adornment, rst-get-adornments-around)
14392 (rst-adornment-complete-p, rst-get-next-adornment)
14393 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14394 (rst-straighten-adornments): Standardize function names to
14395 use "adornment" instead of "decoration". Correct callers.
14396 Similar standardizing in many places.
14397
14398 (rst-update-section, rst-adjust, rst-promote-region)
14399 (rst-enumerate-region, rst-bullet-list-region)
14400 (rst-repeat-last-character): Correct use of `interactive'.
14401
14402 (rst-classify-adornment, rst-find-all-adornments)
14403 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14404 (rst-find-leftmost-column, rst-repeat-last-character):
14405 Refactor functions.
14406
14407 (rst-find-title-line, rst-reset-section-caches)
14408 (rst-get-adornments-around, rst-adjust-adornment-work)
14409 (rst-arabic-to-roman, rst-roman-to-arabic)
14410 (rst-insert-list-pos, rst-insert-list-new-item)
14411 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14412 New functions.
14413
14414 (rst-all-sections, rst-section-hierarchy)
14415 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14416 New variables.
14417
14418 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14419 configuration instead of only buffer. Change where necessary.
14420
14421 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14422 (rst-shift-region, rst-adaptive-fill): New functions for
14423 indentation and filling.
14424
14425 (rst-comment-line-break, rst-comment-indent)
14426 (rst-comment-insert-comment, rst-comment-region)
14427 (rst-uncomment-region): New functions for handling comments.
14428
14429 (rst-compile): Quote shell arguments.
14430
14431 (rst-compile-pdf-preview, rst-compile-slides-preview):
14432 Delete temporary files after use.
14433
14434 2012-05-05 Glenn Morris <rgm@gnu.org>
14435
14436 * calendar/cal-html.el: Optionally include holidays in the output.
14437 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14438 (cal-html-holidays): New option.
14439 (cal-html-css-default): Add holiday entry.
14440 (holiday-in-range): Autoload it.
14441 (cal-html-htmlify-entry): Add optional class argument.
14442 (cal-html-htmlify-list): Add optional holidays argument.
14443 (cal-html-insert-agenda-days): Include holidays in the output.
14444 (cal-html-one-month): Maybe include holidays.
14445
14446 * calendar/holidays.el (holiday-in-range):
14447 Move here from cal-tex-list-holidays.
14448 * calendar/cal-tex.el (cal-tex-list-holidays):
14449 Make it an obsolete alias for holiday-in-range. Update all callers.
14450
14451 2012-05-05 Chong Yidong <cyd@gnu.org>
14452
14453 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14454 Nextstep.
14455
14456 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14457
14458 * files.el (file-auto-mode-skip): New var.
14459 (set-auto-mode-1): Use it.
14460
14461 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14462
14463 * repeat.el: Use lexical-binding.
14464 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14465 (repeat-undo-count): Remove.
14466 (repeat):
14467 * progmodes/octave-mod.el (octave-abbrev-start):
14468 * progmodes/f90.el (f90-abbrev-start):
14469 * face-remap.el (text-scale-adjust):
14470 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14471
14472 * emacs-lisp/pcase.el (pcase--let*): New function.
14473 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14474 a bit more.
14475 (pcase--split-pred): Be more clever about ruling out overlap between
14476 a predicate and some constant pattern.
14477 (pcase--q1): Use `null' instead of (eq foo nil).
14478
14479 * subr.el (setq-local, defvar-local): New macros.
14480 (kbd): Redefine as an alias.
14481 (with-selected-window): Leave unrelated frames alone.
14482 (set-temporary-overlay-map): New function.
14483
14484 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14485
14486 * subr.el (user-error): New function.
14487 * window.el (switch-to-buffer):
14488 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14489 (smerge-match-conflict):
14490 * simple.el (previous-matching-history-element)
14491 (next-matching-history-element, goto-history-element, undo-more)
14492 (undo-start):
14493 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14494 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14495 (next-file, tags-loop-scan, list-tags, complete-tag):
14496 * progmodes/compile.el (compilation-loop):
14497 * mouse.el (mouse-minibuffer-check):
14498 * man.el (Man-bgproc-sentinel, Man-goto-page):
14499 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14500 (Info-history-forward, Info-follow-reference, Info-menu)
14501 (Info-extract-menu-item, Info-extract-menu-counting)
14502 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14503 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14504 (Info-next-reference, Info-prev-reference, Info-index)
14505 (Info-index-next, Info-follow-nearest-node)
14506 (Info-copy-current-node-name):
14507 * imenu.el (imenu--make-index-alist)
14508 (imenu-default-create-index-function, imenu-add-to-menubar):
14509 * files.el (basic-save-buffer, recover-file):
14510 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14511 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14512 (checkdoc-message-text, checkdoc-defun):
14513 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14514 * cus-edit.el (customize-changed-options, customize-rogue)
14515 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14516 (custom-variable-mark-to-reset-standard)
14517 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14518 (custom-file):
14519 * completion.el (check-completion-length):
14520 * comint.el (comint-search-arg)
14521 (comint-previous-matching-input-string-position)
14522 (comint-previous-matching-input)
14523 (comint-replace-by-expanded-history-before-point, comint-send-input)
14524 (comint-copy-old-input, comint-backward-matching-input)
14525 (comint-goto-process-mark, comint-set-process-mark):
14526 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14527 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14528
14529 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14530
14531 * dabbrev.el (dabbrev--ignore-case-p): New function.
14532 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14533 Use it.
14534
14535 * files.el (automount-dir-prefix): Mark as obsolete.
14536
14537 2012-05-04 Glenn Morris <rgm@gnu.org>
14538
14539 * patcomp.el, play/bruce.el: Move to obsolete/.
14540
14541 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14542
14543 Fix minor Y10k bugs.
14544 * arc-mode.el (archive-unixdate):
14545 * autoinsert.el (auto-insert-alist):
14546 * calc/calc-forms.el (math-this-year):
14547 * emacs-lisp/copyright.el (copyright-current-year)
14548 (copyright-update-year, copyright):
14549 * tar-mode.el (tar-clip-time-string):
14550 * time.el (display-time-update):
14551 Don't assume years have 4 digits.
14552
14553 2012-05-04 Chong Yidong <cyd@gnu.org>
14554
14555 * dos-w32.el (file-name-buffer-file-type-alist)
14556 (direct-print-region-use-command-dot-com):
14557 * ffap.el (ffap-menu-regexp):
14558 * find-file.el (ff-special-constructs):
14559 * follow.el (follow-debug):
14560 * forms.el (forms--debug):
14561 * iswitchb.el (iswitchb-all-frames):
14562 * ido.el (ido-all-frames):
14563 * emacs-lisp/timer.el (timer-max-repeats):
14564 * mail/feedmail.el (feedmail-mail-send-hook)
14565 (feedmail-mail-send-hook-queued):
14566 * mail/footnote.el (footnote-signature-separator):
14567 * mail/mailabbrev.el (mail-alias-separator-string)
14568 (mail-abbrev-mode-regexp):
14569 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14570 * progmodes/idlwave.el (idlwave-libinfo-file)
14571 (idlwave-default-completion-case-is-down)
14572 (idlwave-library-routines): Convert defvars to defcustoms.
14573
14574 * mail/rmail.el (rmail-decode-mime-charset):
14575 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14576 (idlwave-shell-fix-inserted-breaks)
14577 (idlwave-shell-activate-alt-keybindings)
14578 (idlwave-shell-use-breakpoint-glyph):
14579 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14580
14581 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14582
14583 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14584
14585 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14586
14587 * progmodes/verilog-mode.el (font-lock-keywords):
14588 Fix mis-highligting auto. Reported by Craig Barner.
14589 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14590 defines from global name space. Reported by Dan Dever.
14591 (verilog-auto-reset, verilog-auto-reset-widths)
14592 (verilog-auto-tieoff): Support using unbased numbers for
14593 AUTORESET and AUTOTIEOFF.
14594 (verilog-submit-bug-report): Update variable list.
14595 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14596 parenthesis from not matching. Reported by Michael Rytting.
14597 (verilog-auto-template-lint): Fix hash error when linting modules
14598 with no used templates.
14599 (verilog-warn, verilog-warn-error)
14600 (verilog-warn-fatal): When non-interactive report multiple
14601 warnings before exiting. Suggested by Brad Dobbie.
14602 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14603 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14604 to report unused template errors. Reported by Brad Dobbie.
14605 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14606 nets, bug438. Reported by Vns Blore.
14607 (verilog-auto-inout-module, verilog-auto-reg)
14608 (verilog-read-decls, verilog-read-sub-decls-sig)
14609 (verilog-signals-edit-wire-reg, verilog-signals-with):
14610 Fix passing of Verilog data types in ANSI input/output ports
14611 such as "output logic" into the AUTOs. Special case "wire" and
14612 "reg" for backwards compatibility presuming Verilog 2001.
14613 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14614 (verilog-preprocess): Fix replication of preprocess output.
14615 Reported by Brad Dobbie.
14616 (verilog-auto-inst-interfaced-ports):
14617 Create verilog-auto-inst-interfaced-ports, bug429.
14618 Reported by Julian Gorfajn.
14619 (verilog-after-save-font-hook)
14620 (verilog-before-save-font-hook): New variable.
14621 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14622 (verilog-save-font-mods): Wrap disabling fontification, reported
14623 by David Rogoff.
14624 (verilog-do-indent, verilog-pretty-declarations-auto)
14625 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14626 Reported by Pierre-David Pfister.
14627 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14628 of class declarations, bug292. Reported by Kevin Heilman.
14629 (verilog-read-decls): Fix 'parameter type' not appearing in
14630 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14631 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14632 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14633 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14634 Reported by David Kravitz.
14635
14636 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14637
14638 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14639 assignment with tests in ifs and for loops.
14640 (verilog-extended-complete-re, verilog-complete-reg): Change so
14641 that DPI inport functions don't look like fuction declarations.
14642 (verilog-pretty-expr): Don't line up assignment
14643 operations to the test and increment in if and for loops
14644 (verilog-extended-complete-re, verilog-complete-reg): Change so
14645 that DPI inport functions don't look like fuction declarations.
14646
14647 2012-05-03 Kenichi Handa <handa@m17n.org>
14648
14649 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14650 decoding, and show a warning message without signaling an error
14651 (Bug#11282).
14652
14653 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14654
14655 * emacs-lisp/bytecomp.el
14656 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14657 since cconv.el might have introduced :fun-body, internal-make-closure,
14658 and friends for bytecomp to handle (bug#11391).
14659 * custom.el (defcustom): Avoid ((λ ..) ..).
14660
14661 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14662
14663 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14664
14665 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14666
14667 * notifications.el (dbus-debug):
14668 * term/linux.el (gpm-mouse-enable):
14669 * term/screen.el (xterm-register-default-colors): Declare.
14670
14671 2012-05-02 Chong Yidong <cyd@gnu.org>
14672
14673 * cus-start.el (gc-cons-percentage, exec-suffixes)
14674 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14675 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14676 (make-cursor-line-fully-visible, void-text-area-pointer)
14677 (font-list-limit): Add customization data.
14678
14679 * allout.el (allout-exposure-change-functions)
14680 (allout-structure-added-functions)
14681 (allout-structure-deleted-functions)
14682 (allout-structure-shifted-functions): Rename abnormal hooks from
14683 *-hook, and convert to defcustoms.
14684 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14685 Convert to defcustoms.
14686 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14687
14688 * allout-widgets.el: Hook callers changed.
14689
14690 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14691
14692 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14693 the yanked message in preference to the default value of
14694 buffer-file-coding-system.
14695
14696 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14697
14698 * window.el (display-buffer--action-function-custom-type):
14699 Fix entry.
14700
14701 2012-05-02 Alan Mackenzie <acm@muc.de>
14702
14703 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14704
14705 2012-05-01 Glenn Morris <rgm@gnu.org>
14706
14707 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14708
14709 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14710
14711 * cus-edit.el (custom-variable-documentation): Simplify with format.
14712
14713 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14714 Stefan Monnier <monnier@iro.umontreal.ca>
14715
14716 * simple.el (suggest-key-bindings, execute-extended-command):
14717 Move from keyboard.c.
14718
14719 2012-05-01 Chong Yidong <cyd@gnu.org>
14720
14721 * follow.el: Eliminate advice.
14722 (set-process-filter, process-filter, sit-for): Advice deleted.
14723 (follow-mode-off-hook): Obsolete hook removed.
14724 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14725 Vars deleted.
14726 (follow-auto): Use a :set function.
14727 (follow-mode): Rewritten. Don't advise process filters.
14728 (follow-switch-to-current-buffer-all, follow-scroll-up)
14729 (follow-scroll-down): Assume follow-mode is bound.
14730 (follow-comint-scroll-to-bottom)
14731 (follow-align-compilation-windows): New functions.
14732 (follow--window-sorter): New function.
14733 (follow-all-followers): Use it to explicitly sort windows by their
14734 positions; don't make assumptions about next-window order.
14735 (follow-windows-start-end, follow-delete-other-windows-and-split)
14736 (follow-calc-win-start): Doc fix.
14737 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14738 vertical-motion unnecessarily.
14739 (follow-adjust-window): New function.
14740 (follow-post-command-hook): Use it.
14741 (follow-call-set-process-filter, follow-call-process-filter)
14742 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14743 (follow-stop-intercept-process-output, follow-generic-filter):
14744 Functions deleted.
14745 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14746 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14747 New functions, replacing advice on scroll-bar-* commands.
14748 (follow-mwheel-scroll): New function (Bug#4112).
14749
14750 * comint.el (comint-adjust-point): New function.
14751 (comint-postoutput-scroll-to-bottom): Use it.
14752 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14753
14754 2012-05-01 Glenn Morris <rgm@gnu.org>
14755
14756 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14757 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14758 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14759 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14760 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14761 Remove no-byte-compile setting.
14762
14763 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14764
14765 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14766 all-completions code to not return a number in the last cdr.
14767
14768 2012-04-30 Leo Liu <sdl.web@gmail.com>
14769
14770 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14771 read-only error.
14772
14773 2012-04-29 Chong Yidong <cyd@gnu.org>
14774
14775 * follow.el (follow-calc-win-end): Rewrite to handle partial
14776 screen lines correctly (Bug#8390).
14777 (follow-avoid-tail-recenter): Minor cleanup.
14778
14779 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14780
14781 Avoid the obsolete `assoc' package.
14782 * speedbar.el (speedbar-refresh): Avoid adelete.
14783 (speedbar-file-lists): Simplify and avoid aput.
14784 * man.el (Man--sections, Man--refpages): New vars, replacing
14785 Man-sections-alist and Man-refpages-alist.
14786 (Man-build-section-alist, Man-build-references-alist):
14787 Use them; avoid aput.
14788 (Man--last-section, Man--last-refpage): New vars.
14789 (Man-follow-manual-reference): Use them.
14790 Use the `default' arg of completing-read.
14791 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14792
14793 2012-04-27 Chong Yidong <cyd@gnu.org>
14794
14795 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14796
14797 * startup.el (x-apply-session-resources): New function.
14798
14799 * term/ns-win.el (ns-initialize-window-system):
14800 * term/w32-win.el (w32-initialize-window-system):
14801 * term/x-win.el (x-initialize-window-system): Use it to properly
14802 set menu-bar-mode and other vars from X resources, even if the
14803 initial frame is not a window-system frame (Bug#2299).
14804
14805 * subr.el (read-key): Avoid running filter function when setting
14806 up temporary tool bar entries (Bug#9922).
14807
14808 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14809
14810 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14811 (Bug#11344)
14812
14813 2012-04-27 Chong Yidong <cyd@gnu.org>
14814
14815 * select.el (xselect--encode-string): New function, split from
14816 xselect-convert-to-string.
14817 (xselect-convert-to-string): Use it.
14818 (xselect-convert-to-filename, xselect-convert-to-os)
14819 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14820 returned strings are properly encoded (Bug#11315).
14821
14822 2012-04-27 Chong Yidong <cyd@gnu.org>
14823
14824 * simple.el (delete-active-region): Move to killing custom group.
14825
14826 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14827
14828 * progmodes/which-func.el (which-func-current): Quote %
14829 characters for mode-line processing.
14830
14831 2012-04-27 Chong Yidong <cyd@gnu.org>
14832
14833 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14834 reaching eob (Bug#11286).
14835
14836 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14837
14838 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14839 (gdb): Make it buffer-local and init to zero.
14840 (gdb-control-commands-regexp): New variable.
14841 (gdb-send): Don't wrap in "-interpreter-exec console" if
14842 gdb-control-level is positive. Increment gdb-control-level
14843 whenever the command matches gdb-control-commands-regexp, and
14844 decrement it each time the command is "end". (Bug#11279)
14845
14846 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14847
14848 * window.el (adjust-window-trailing-edge, enlarge-window)
14849 (shrink-window, window-resize):
14850 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14851 windows (Bug#11276).
14852
14853 2012-04-27 Chong Yidong <cyd@gnu.org>
14854
14855 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14856 fix "missing prefix" warning. All callers changed.
14857
14858 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14859
14860 * emacs-lisp/assoc.el: Move to obsolete/.
14861
14862 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14863
14864 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14865
14866 * term/ns-win.el (ns-define-service):
14867 * progmodes/pascal.el (pascal-goto-defun):
14868 * progmodes/js.el (js--read-tab):
14869 * progmodes/etags.el (tags-lazy-completion-table):
14870 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14871 * emacs-lisp/ewoc.el (ewoc--wrap):
14872 * emacs-lisp/assoc.el (aput, adelete, amake):
14873 * doc-view.el (doc-view-convert-current-doc):
14874 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14875
14876 2012-04-26 Chong Yidong <cyd@gnu.org>
14877
14878 * image.el (image-type-from-buffer): Only return supported image
14879 type (Bug#9045).
14880
14881 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14882 value, for symmetry with diff-end-of-hunk.
14883 (diff-split-hunk, diff-find-source-location)
14884 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14885 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14886 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14887 compute the relevant hunk or file properly (Bug#6005).
14888 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14889
14890 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14891
14892 * vc/vc-mtn.el:
14893 * vc/vc-hg.el:
14894 * vc/vc-git.el:
14895 * vc/vc-dir.el:
14896 * vc/vc-cvs.el:
14897 * vc/vc-bzr.el:
14898 * vc/vc-arch.el:
14899 * vc/vc.el: Replace lexical-let by lexical-binding.
14900 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14901 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14902 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14903
14904 2012-04-26 Chong Yidong <cyd@gnu.org>
14905
14906 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14907 (diff-mode-shared-map): Bind it to / and [remap undo].
14908
14909 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14910 (ediff-window-setup-function): Use it as the default, to set up
14911 windows based on whether the current frame is graphical (Bug#2138).
14912 (ediff-choose-window-setup-function-automatically): Make obsolete.
14913
14914 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14915
14916 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14917
14918 * ffap.el: Remove old code for obsolete package.
14919 (ffap-complete-as-file-p): Remove.
14920
14921 Use completion-table-with-quoting for comint and pcomplete.
14922 * comint.el (comint--unquote&requote-argument)
14923 (comint--unquote-argument, comint--requote-argument): New functions.
14924 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14925 (comint-quote-filename): Use regexp-opt-charset.
14926 (comint--common-suffix, comint--common-quoted-suffix)
14927 (comint--table-subvert): Remove.
14928 (comint-unquote-function, comint-requote-function): New vars.
14929 (comint--complete-file-name-data): Use them with
14930 completion-table-with-quoting.
14931 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14932 * pcomplete.el (pcomplete-arg-quote-list)
14933 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14934 (pcomplete-unquote-argument-function): Default to non-nil.
14935 (pcomplete-unquote-argument): Simplify.
14936 (pcomplete--common-quoted-suffix): Remove.
14937 (pcomplete-requote-argument-function): New var.
14938 (pcomplete--common-suffix): New function.
14939 (pcomplete-completions-at-point): Use completion-table-with-quoting
14940 and completion-table-subvert.
14941
14942 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14943 (minibuffer--double-dollars): Preserve properties.
14944 (completion--sifn-requote): New function.
14945 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14946
14947 * minibuffer.el: Add support for completion of quoted/escaped data.
14948 (completion-table-with-quoting, completion-table-subvert): New funs.
14949 (completion--twq-try, completion--twq-all): New functions.
14950 (completion--nth-completion): New function.
14951 (completion-try-completion, completion-all-completions): Use it.
14952
14953 2012-04-25 Leo Liu <sdl.web@gmail.com>
14954
14955 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14956 Use compilation-message if available to find real filename.
14957
14958 2012-04-25 Chong Yidong <cyd@gnu.org>
14959
14960 * vc/diff-mode.el (diff-setup-whitespace): New function.
14961 (diff-mode): Use it.
14962
14963 * vc/diff.el (diff-sentinel):
14964 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14965 Whitespace mode variables based on diff style (Bug#8612).
14966
14967 2012-04-25 Leo Liu <sdl.web@gmail.com>
14968
14969 * progmodes/python.el (python-send-region): Add suffix .py to the
14970 temp file.
14971
14972 * files.el (auto-mode-alist): Use javascript-mode instead.
14973
14974 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14975
14976 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14977
14978 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14979 (soap-resolve-references-for-array-type): Hack to prevent self
14980 references, see Bug#9.
14981 (soap-parse-envelope): Report the contents of the 'detail' node
14982 when receiving a fault reply.
14983 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14984
14985 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14986 (soap-inspect-simple-type): New function.
14987
14988 * net/soap-client.el (soap-simple-type): New struct.
14989 (soap-default-xsd-types, soap-default-soapenc-types)
14990 (soap-decode-basic-type, soap-encode-basic-type):
14991 support unsignedInt and double basic types.
14992 (soap-resolve-references-for-simple-type)
14993 (soap-parse-simple-type, soap-encode-simple-type): New function.
14994 (soap-parse-schema): Parse xsd:simpleType declarations.
14995
14996 * net/soap-client.el (soap-default-xsd-types)
14997 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14998 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14999 the local name of "soapenc:Array".
15000 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
15001 decoding integer, byte and anyURI xsd types.
15002
15003 2012-04-25 Chong Yidong <cyd@gnu.org>
15004
15005 * cus-edit.el (custom-buffer-create-internal): Update header text.
15006
15007 2012-04-25 Eli Zaretskii <eliz@gnu.org>
15008
15009 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
15010 settings on 'system-type', not on 'window-system'. On MS-Windows,
15011 set interactive-mode on in GDB.
15012
15013 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15014
15015 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
15016 (ruby-syntax-propertize-regexp): Remove.
15017 (ruby-syntax-propertize-function): Split regexp into chunks.
15018 Match following code directly.
15019
15020 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
15021
15022 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
15023 (ruby-syntax-propertize-regexp): New function.
15024 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
15025 by a special keyword.
15026
15027 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
15028 (ruby-syntax-general-delimiters-goto-beg)
15029 (ruby-syntax-propertize-general-delimiters): New functions.
15030 (ruby-syntax-propertize-function): Use them to handle GDL.
15031 (ruby-font-lock-keywords): Move old handling of GDL...
15032 (ruby-font-lock-syntactic-keywords): .. to here.
15033 (ruby-calculate-indent): Adjust indentation for GDL.
15034
15035 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
15036
15037 * notifications.el (top): Remove unneeded declarations.
15038 (notifications-specification-version): Change to "1.2".
15039 (notifications-interface, notifications-notify-method)
15040 (notifications-close-notification-method): Fix docstring.
15041 (notifications-get-capabilities-method): New defconst.
15042 (notifications-notify): Add :action-items, :resident and
15043 :transient hints. Change "image_data" to "image-data" and
15044 "image_path" to "image-path".
15045 (notifications-get-capabilities): New defun.
15046
15047 2012-04-24 Leo Liu <sdl.web@gmail.com>
15048
15049 * progmodes/python.el: Move hideshow setup to the end.
15050
15051 2012-04-24 Martin Rudalics <rudalics@gmx.at>
15052
15053 * window.el (handle-select-window): Clear echo area since this is
15054 no more done by read_char (Bug#11304).
15055
15056 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15057
15058 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
15059 and `/ M' to filter-derived-mode.
15060 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
15061 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
15062 (ibuffer-mark-by-mode): Use default rather than initial-input.
15063 (ibuffer-filter-by-derived-mode): Autoload and require-match.
15064
15065 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
15066
15067 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
15068 (ibuffer-filter-by-derived-mode): New filter.
15069 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
15070
15071 2012-04-23 Andreas Politz <politza@fh-trier.de>
15072
15073 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
15074
15075 2012-04-23 Chong Yidong <cyd@gnu.org>
15076
15077 * cus-edit.el (customize-apropos, customize-apropos-options):
15078 Disable matching of non-option variables (Bug#11176).
15079 (customize-option, customize-option-other-window)
15080 (customize-changed-options): Doc fix.
15081 (customize-apropos-options, customize-apropos-faces)
15082 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
15083
15084 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
15085 Fix word list splitting (Bug#11132).
15086 (apropos-symbol, apropos-keybinding, apropos-label)
15087 (apropos-property, apropos-function-button)
15088 (apropos-variable-button, apropos-misc-button): New faces.
15089 (apropos-symbol-face, apropos-keybinding-face)
15090 (apropos-label-face, apropos-property-face, apropos-match-face):
15091 Variables removed (Bug#8396).
15092 (apropos-library-button, apropos-format-plist, apropos-print)
15093 (apropos-print-doc, apropos-describe-plist): Callers changed.
15094
15095 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
15096
15097 * net/xesam.el (xesam-mode-map): Use let-bound map in
15098 initialization. (Bug#11292)
15099
15100 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15101
15102 Preserve ispell session localwords when switching back to
15103 original buffer.
15104
15105 * textmodes/ispell.el (ispell-buffer-session-localwords):
15106 New buffer-local variable to hold buffer session localwords.
15107 (ispell-kill-ispell): Add option 'clear to delete session
15108 localwords.
15109 (ispell-command-loop, ispell-change-dictionary)
15110 (ispell-buffer-local-words): Preserve session localwords when
15111 needed.
15112
15113 * textmodes/flyspell.el (flyspell-process-localwords)
15114 (flyspell-do-correct): Preserve session localwords when needed.
15115
15116 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15117
15118 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15119 using obsolete `translation-table-for-input'.
15120 (ispell-word, ispell-process-line, ispell-complete-word):
15121 Use plain `insert' instead of removed `ispell-insert-word'.
15122
15123 2012-04-22 Chong Yidong <cyd@gnu.org>
15124
15125 * cus-edit.el (custom-variable-menu)
15126 (custom-variable-reset-saved, custom-face-menu)
15127 (custom-face-reset-saved): If there is no saved value, make the
15128 "reset-saved" operation bring back the default (Bug#9509).
15129 (custom-face-state): Properly detect themed faces.
15130
15131 * faces.el (face-spec-set): Stop supporting deprecated form of
15132 third arg.
15133
15134 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
15135
15136 Move functions from C to Lisp. Make non-blocking method calls
15137 the default. Implement further D-Bus standard interfaces.
15138
15139 * net/dbus.el (dbus-message-internal): Declare function.
15140 Remove unneeded function declarations.
15141 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15142 (dbus-message-type-method-return, dbus-message-type-error)
15143 (dbus-message-type-signal): Declare variables. Remove local
15144 definitions.
15145 (dbus-interface-dbus, dbus-interface-peer)
15146 (dbus-interface-introspectable, dbus-interface-properties)
15147 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15148 Adapt docstring.
15149 (dbus-interface-objectmanager): New defconst.
15150 (dbus-call-method, dbus-call-method-asynchronously)
15151 (dbus-send-signal, dbus-method-return-internal)
15152 (dbus-method-error-internal, dbus-register-service)
15153 (dbus-register-signal, dbus-register-method): New defuns, moved
15154 from dbusbind.c
15155 (dbus-call-method-handler, dbus-setenv)
15156 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15157 New defuns.
15158 (dbus-call-method-non-blocking): Make it an obsolete function.
15159 (dbus-unregister-object, dbus-unregister-service)
15160 (dbus-handle-event, dbus-register-property)
15161 (dbus-property-handler): Obey the new structure of
15162 `bus-registered-objects'.
15163 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15164 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15165 Use `dbus-call-method'.
15166
15167 2012-04-22 Chong Yidong <cyd@gnu.org>
15168
15169 * cus-edit.el (custom-commands, custom-reset-menu)
15170 (Custom-reset-standard): Tweak labels.
15171 (custom-reset-button-menu): Change default to t.
15172 (custom-buffer-create-internal): For the custom-reset-button-menu
15173 case, put the revert button first.
15174 (custom-group-subtitle): New face.
15175 (custom-group-value-create): Align docstring to a specific column.
15176
15177 * wid-edit.el (widget-documentation-link-add): Don't handle
15178 indentation in this function.
15179 (widget-documentation-string-indent-to): New function.
15180 (widget-documentation-string-value-create): Use it.
15181
15182 * autorevert.el (auto-revert):
15183 * epg-config.el (epg):
15184 * ibuffer.el (ibuffer):
15185 * mpc.el (mpc):
15186 * ses.el (ses):
15187 * eshell/eshell.el (eshell):
15188 * net/ange-ftp.el (ange-ftp):
15189 * progmodes/ebnf2ps.el (postscript):
15190 * progmodes/flymake.el (flymake):
15191 * progmodes/prolog.el (prolog):
15192 * progmodes/verilog-mode.el (verilog-mode):
15193 * progmodes/which-func.el (which-func):
15194 * term/xterm.el (xterm):
15195 * textmodes/picture.el (picture):
15196 * textmodes/tildify.el (tildify):
15197 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15198 customization buffers.
15199
15200 2012-04-22 Alan Mackenzie <acm@muc.de>
15201
15202 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15203 Adding a ) can hide the resulting (..) from searches. Fix it.
15204 Bound the backward search to the position of the existing (.
15205
15206 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15207
15208 * progmodes/verilog-mode.el (verilog-mode): Check whether
15209 which-func-modes is t before adding verilog-mode.
15210 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15211
15212 2012-04-21 Leo Liu <sdl.web@gmail.com>
15213
15214 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15215
15216 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15217
15218 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15219 filling of the last column of a table (Bug#5635).
15220 (woman-find-next-control-line): New arg, specifying an additional
15221 regexp component for the control line.
15222 (woman2-roff-buffer): Use it.
15223 (woman-break-table): New function.
15224 (woman2-TS): Use it.
15225
15226 2012-04-21 Chong Yidong <cyd@gnu.org>
15227
15228 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15229 (woman-horizontal-escapes, woman-negative-vertical-space)
15230 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15231 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15232
15233 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15234
15235 * minibuffer.el (completion-file-name-table): Complete user names.
15236
15237 2012-04-20 Leo Liu <sdl.web@gmail.com>
15238
15239 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15240 and pcase-let*.
15241
15242 2012-04-20 Chong Yidong <cyd@gnu.org>
15243
15244 * server.el (server-execute): Respect initial-buffer-choice if it
15245 is a string and there are no files to open (Bug#2825).
15246 (server-create-window-system-frame, server-create-tty-frame):
15247 Don't switch buffers here.
15248 (server-process-filter): Only try to open a window system frame if
15249 compiled with graphical support (Bug#8314).
15250
15251 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15252
15253 * battery.el (battery-echo-area-format): Display remaining time
15254 for sysfs backend too (Bug#11269).
15255 (battery-linux-sysfs): Fix conditional for the charge.
15256
15257 2012-04-20 Chong Yidong <cyd@gnu.org>
15258
15259 * progmodes/gdb-mi.el (gdb): Revert previous change.
15260 (gdb-inferior-io--init-proc): New function.
15261 (gdb-init-1): Use it.
15262 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15263 responsible for allocating a new pty and hooking it to gdb when
15264 the old pty gets an EIO due to process exit.
15265 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15266 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15267 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15268
15269 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15270
15271 * window.el (window-min-size, window-sizable, window-min-delta)
15272 (window-max-delta, window--resizable, window-resizable)
15273 (window-total-size, window-full-height-p, window-full-width-p)
15274 (window-in-direction, window--resize-mini-window, window-resize)
15275 (window--resize-child-windows-normal)
15276 (window--resize-child-windows, window--resize-siblings)
15277 (window--resize-this-window, adjust-window-trailing-edge)
15278 (enlarge-window, shrink-window): Doc fixes.
15279
15280 2012-04-20 Chong Yidong <cyd@gnu.org>
15281
15282 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15283 New function to call delete-process on the gdb-inferior buffer's pty.
15284 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15285 pty process (Bug#11273).
15286 (gdb-update): New arg to suppress talking to the gdb process.
15287 (gdb-done-or-error): Use it.
15288 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15289 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15290 sentinel not being called.
15291
15292 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15293
15294 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15295
15296 2012-04-20 Glenn Morris <rgm@gnu.org>
15297
15298 * net/network-stream.el (open-network-stream): Doc fix.
15299
15300 2012-04-20 Chong Yidong <cyd@gnu.org>
15301
15302 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15303
15304 2012-04-20 Alan Mackenzie <acm@muc.de>
15305
15306 Ensure searching for keywords is case sensitive.
15307
15308 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15309 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15310 (c-defun-name, c-mark-function, c-cpp-define-name)
15311 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15312 (c-context-line-break): Bind case-fold-search to nil.
15313
15314 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15315 Bind case-fold-search to nil.
15316
15317 2012-04-20 Chong Yidong <cyd@gnu.org>
15318
15319 * mail/sendmail.el (mail-bury): Call return action with the right
15320 Rmail buffer (Bug#11242).
15321
15322 * server.el (server-process-filter): Handle corner case where both
15323 tty and nowait options are present (Bug#11102).
15324
15325 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15326
15327 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15328 (top level): Put into the executable the ident-style '$Id:' tag on
15329 windows-nt as well.
15330
15331 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15332
15333 * electric.el (electric-indent-post-self-insert-function): Check that
15334 electric-indent-mode is enabled in current buffer.
15335
15336 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15337
15338 * imenu.el (imenu-progress-message): Restore; it is "used" in
15339 erc/erc-imenu.el and net/snmp-mode.el.
15340
15341 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15342
15343 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15344 (mouse-avoidance-nudge-mouse): Remove unused binding.
15345
15346 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15347
15348 * descr-text.el (describe-char):
15349 * progmodes/python.el (python-describe-symbol):
15350 Don't call `toggle-read-only', set `buffer-read-only'.
15351
15352 * imenu.el (imenu-default-goto-function): Mark unused args.
15353 (imenu-progress-message): Remove obsolete macro; all callers changed.
15354
15355 * subr.el (keymap-canonicalize): Remove unused binding.
15356 (read-passwd): Mark unused arg.
15357
15358 * tutorial.el (tutorial--display-changes): Remove unused binding.
15359 (tutorial--save-tutorial-to): Remove unused variable.
15360
15361 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15362 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15363 (package-generate-autoloads, package-menu--generate)
15364 (package-menu--find-upgrades): Remove unused bindings.
15365
15366 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15367 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15368 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15369 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15370 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15371 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15372 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15373 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15374 (cua-delete-char-rectangle): Mark unused args.
15375 (cua-align-rectangle): Remove unused binding.
15376
15377 * mail/rmail.el (compilation--message->loc)
15378 (epa--find-coding-system-for-mime-charset): Declare.
15379
15380 * net/dbus.el (dbus-register-service): Declare.
15381 (dbus-name-owner-changed-handler): Remove unused binding.
15382
15383 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15384 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15385 (nxml-scan-backward-within): Mark unused arg.
15386 (nxml-dynamic-markup-word): Remove unused binding.
15387
15388 * mouse.el (mouse-menu-major-mode-map):
15389 * emacs-lisp/authors.el (authors-scan-change-log)
15390 (authors-add-to-author-list):
15391 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15392 * emacs-lisp/smie.el (smie-auto-fill):
15393 * mail/sendmail.el (mail-bury):
15394 * mail/unrmail.el (unrmail):
15395 * net/tls.el (open-tls-stream):
15396 * textmodes/picture.el (picture-mouse-set-point):
15397 Remove unused bindings.
15398
15399 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15400
15401 * net/tramp.el (tramp-action-password): Let-bind
15402 `enable-recursive-minibuffers' to t.
15403
15404 2012-04-18 Sam Steingold <sds@gnu.org>
15405
15406 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15407 instead of 'string to accommodate values like [f11].
15408 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15409 * progmodes/gdb-mi.el: Likewise.
15410
15411 2012-04-18 Leo Liu <sdl.web@gmail.com>
15412
15413 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15414 current buffer.
15415 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15416 LOCAL is nil.
15417
15418 2012-04-18 Chong Yidong <cyd@gnu.org>
15419
15420 * simple.el (line-move): Use forward-line if in batch mode
15421 (Bug#11053).
15422
15423 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15424
15425 * files.el (after-find-file): Do not try to add a final newline if
15426 the buffer is read-only (Bug#11156).
15427
15428 2012-04-17 Richard Stallman <rms@gnu.org>
15429
15430 * mail/rmail.el (rmail-start-mail):
15431 Pass (rmail-mail-return...) for the return-action.
15432 Pass (rmail-yank-current-message...) for the yank-action.
15433 (rmail-yank-current-message): New function.
15434 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15435 (rmail-reply): Likewise.
15436 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15437
15438 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15439 buffer, not the last. Reject temp buffers. Use the rmail-mode
15440 buffer, not newbuf.
15441
15442 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15443
15444 * server.el (server-ensure-safe-dir): Simplify.
15445
15446 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15447
15448 * emacs-lisp/smie.el: Provide smarter auto-filling.
15449 (smie-auto-fill): New function.
15450 (smie-setup): Use it.
15451
15452 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15453
15454 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15455
15456 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15457 (comment-indent): Use it.
15458
15459 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
15460
15461 * ses.el: The overall change is to add cell renaming, that is
15462 setting fancy names for cell symbols other than name matching
15463 "\\`[A-Z]+[0-9]+\\'" regexp .
15464 (ses-localvars): Add ses--renamed-cell-symb-list.
15465 (ses-create-cell-variable): New defun.
15466 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15467 (ses-relocate-formula): Relocate formulas only for cells the
15468 symbols of which are not renamed, i.e. symbols whose names do not
15469 match regexp "\\`[A-Z]+[0-9]+\\'".
15470 (ses-relocate-all): Relocate values only for cells the symbols of
15471 which are not renamed.
15472 (ses-load): Create cells variables as the (ses-cell ...) are read,
15473 in order to check row col consistency with cell symbol name only
15474 for cells that are not renamed.
15475 (ses-replace-name-in-formula): New defun.
15476 (ses-rename-cell): New defun.
15477
15478 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15479
15480 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15481 New option (bug#11118).
15482 (perl-calculate-indent): Respect it.
15483
15484 2012-04-17 Glenn Morris <rgm@gnu.org>
15485
15486 * dired-aux.el (dired-mark-read-string): Doc fix.
15487
15488 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15489
15490 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15491 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15492
15493 2012-04-17 Glenn Morris <rgm@gnu.org>
15494
15495 * mouse.el (mouse-drag-track):
15496 * speedbar.el (speedbar-frame-mode):
15497 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15498
15499 2012-04-16 Leo Liu <sdl.web@gmail.com>
15500
15501 * progmodes/python.el: Trivial cleanup.
15502
15503 2012-04-16 Glenn Morris <rgm@gnu.org>
15504
15505 * vc/vc.el (vc-string-prefix-p):
15506 * vc/pcvs-util.el (cvs-string-prefix-p):
15507 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15508 * mpc.el (mpc-string-prefix-p):
15509 Make all of these into obsolete aliases for string-prefix-p.
15510 Update callers.
15511 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15512
15513 * textmodes/two-column.el: Move custom options to the start.
15514 (frame-width): Remove compat definition.
15515 (2C-associate-buffer, 2C-dissociate):
15516 Use with-current-buffer rather than save-excursion.
15517 (2C-dissociate): Force a mode-line update.
15518 (2C-autoscroll): Use ignore-errors.
15519
15520 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15521 Autoload trivia.
15522
15523 * emacs-lisp/cl-extra.el (*random-state*):
15524 Remove unnecessary declaration.
15525
15526 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15527
15528 * play/cookie1.el (cookie-snarf):
15529 Give an explicit error if input file cannot be read.
15530
15531 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15532
15533 * progmodes/perl-mode.el (c-macro-expand):
15534 Remove unnecessary autoload (it is in loaddefs.el).
15535
15536 * textmodes/picture.el (picture-desired-column)
15537 (picture-update-desired-column): Convert comments to doc-strings.
15538 (picture-substitute): Remove function.
15539 (picture-mode-map): Initialize in the defvar.
15540
15541 * woman.el: Remove eval-after-load for tar-mode.
15542 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15543 (woman-tar-extract-file): Autoload it.
15544
15545 * frame.el (automatic-hscrolling): Make this alias obsolete.
15546
15547 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15548
15549 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15550 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15551 (ispell-dictionary-base-alist): Revert to original XEmacs
15552 friendly version for default. [:alpha:] will be added in
15553 `ispell-set-spellchecker-params' if needed.
15554
15555 2012-04-16 Chong Yidong <cyd@gnu.org>
15556
15557 * image.el (imagemagick--file-regexp): New variable.
15558 (imagemagick-register-types): Use it.
15559 (imagemagick-types-inhibit): Add :set function. Allow new value
15560 of t to inhibit all types.
15561
15562 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15563 so we can preload it.
15564
15565 * loadup.el (fboundp): Preload regexp-opt, needed by
15566 imagemagick-register-types.
15567
15568 2012-04-15 Chong Yidong <cyd@gnu.org>
15569
15570 * frame.el (scrolling): Remove nearly unused customization group.
15571
15572 * scroll-all.el (scroll-all-mode): Move to windows group.
15573
15574 2012-04-15 Chong Yidong <cyd@gnu.org>
15575
15576 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15577
15578 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15579
15580 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15581 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15582
15583 2012-04-15 Glenn Morris <rgm@gnu.org>
15584
15585 * simple.el (process-file-side-effects): Doc fix.
15586
15587 2012-04-15 Glenn Morris <rgm@gnu.org>
15588
15589 * international/mule-cmds.el (set-language-environment): Doc fix.
15590
15591 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15592
15593 * server.el (server-auth-key, server-generate-key): Doc fixes.
15594 (server-get-auth-key): Doc fix. Use `string-match-p'.
15595 (server-start): Reflow docstring.
15596
15597 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15598
15599 * server.el (server-generate-key): `called-interactively-p'
15600 requires a parameter.
15601
15602 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15603
15604 * server.el (server-auth-key): New variable.
15605 (server-generate-key, server-get-auth-key): New function.
15606 (server-start): Use the new variable and functions to allow
15607 setting a permanent server key (bug#9423).
15608
15609 2012-04-14 Leo Liu <sdl.web@gmail.com>
15610
15611 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15612
15613 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15614
15615 Spelling fixes.
15616 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15617 Emacs uses American spelling.
15618
15619 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15620
15621 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15622 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15623 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15624 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15625
15626 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15627
15628 * progmodes/which-func.el (which-func-modes): Change default.
15629
15630 2012-04-14 Kim F. Storm <storm@cua.dk>
15631
15632 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15633 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15634
15635 2012-04-14 Chong Yidong <cyd@gnu.org>
15636
15637 * custom.el (custom-theme-set-variables): Doc fix.
15638
15639 2012-04-14 Glenn Morris <rgm@gnu.org>
15640
15641 * international/mule.el (set-auto-coding-for-load): Doc fix.
15642
15643 2012-04-14 Alan Mackenzie <acm@muc.de>
15644
15645 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15646 imenu work again for Objective C Mode. Correct the *-index values,
15647 these having been disturbed by a previous change in 2011-08.
15648
15649 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15650 Correct two search limits.
15651
15652 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15653
15654 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15655
15656 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15657
15658 * international/characters.el: Fix sorting.
15659
15660 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15661
15662 * international/characters.el: Add more missing Latin case pairs.
15663
15664 2012-04-14 Glenn Morris <rgm@gnu.org>
15665
15666 * files.el (dir-locals-set-class-variables): Doc fix.
15667
15668 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15669
15670 * international/characters.el: Add set-case-syntax-pair call for
15671 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15672 counterpart. (Bug#11209)
15673
15674 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15675
15676 2012-04-14 Glenn Morris <rgm@gnu.org>
15677
15678 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15679
15680 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15681
15682 * textmodes/ispell.el (ispell-dictionary-base-alist):
15683 Add data for Hebrew.
15684
15685 2012-04-14 Chong Yidong <cyd@gnu.org>
15686
15687 * net/rcirc.el (rcirc-cmd-quit):
15688 Revert 2012-03-18 change (Bug#11192).
15689
15690 2012-04-14 Glenn Morris <rgm@gnu.org>
15691
15692 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15693
15694 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15695
15696 * minibuffer.el (completion-in-region-mode-map):
15697 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15698
15699 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15700
15701 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15702
15703 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15704
15705 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15706 to allow `C-M-f' and `C-M-b' to move to the nearest path
15707 separator (bug#9511).
15708
15709 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15710
15711 * avoid.el: Require cl when compiling. And also move the
15712 `provide' to the end.
15713
15714 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15715
15716 * avoid.el (mouse-avoidance-banish-position): New variable.
15717 (mouse-avoidance-banish-destination): Use it (bug#10165).
15718
15719 2012-04-13 Leo Liu <sdl.web@gmail.com>
15720
15721 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15722
15723 2012-04-13 Ken Brown <kbrown@cornell.edu>
15724
15725 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15726 this is no longer needed now that cygstart understands file:// URLs.
15727 (browse-url-filename-alist): For the same reason, don't modify
15728 file:// URLs on Cygwin.
15729
15730 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15731
15732 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15733 the region on shift if the binding is already shifted (bug#11221).
15734
15735 2012-04-12 Glenn Morris <rgm@gnu.org>
15736
15737 * mail/mailpost.el: Move to obsolete/.
15738
15739 2012-04-12 Drew Adams <drew.adams@oracle.com>
15740
15741 * imenu.el (imenu--generic-function): Ignore invisible definitions
15742 (bug#10123).
15743
15744 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15745
15746 * hexl.el (hexl-bits): New variable.
15747 (hexl-options): Mention the variable in the doc string.
15748 (hexl-rulerise, hexl-line-displen): New functions.
15749 (hexl-mode): Mention the new variable.
15750 (hexl-mode, hexl-current-address, hexl-current-address):
15751 Use the displen.
15752 (hexl-ascii-start-column): New function.
15753 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15754 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15755
15756 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15757
15758 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15759 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15760 the encoding, as expected by hunspell.
15761
15762 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15763
15764 * battery.el (battery--linux-sysfs-regexp): New const.
15765 (battery-status-function): Use it. Remove yeeloong special case.
15766 (battery-yeeloong-sysfs): Remove.
15767 (battery-echo-area-format): Remove yeeloong special case.
15768
15769 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15770
15771 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15772 Reported by Noah Friedman.
15773
15774 * subr.el (read-passwd): Use read-string.
15775
15776 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15777
15778 * vcursor.el (vcursor-move): Increase the priority of the overlay
15779 (bug#9663).
15780
15781 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15782
15783 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15784 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15785
15786 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15787
15788 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15789 define-minor-mode (bug#10760).
15790
15791 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15792
15793 * progmodes/grep.el (rgrep): Tweak the find command line so
15794 that directories matching `grep-find-ignored-files' won't be
15795 pruned (bug#10351).
15796
15797 2012-04-11 Chong Yidong <cyd@gnu.org>
15798
15799 * startup.el (command-line): Remove support for long-obsolete
15800 variable font-lock-face-attributes.
15801
15802 2012-04-11 Glenn Morris <rgm@gnu.org>
15803
15804 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15805
15806 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15807
15808 * window.el (window--state-get-1): Obey window-point-insertion-type.
15809
15810 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15811
15812 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15813 to previous function when point is on the first character of a
15814 function. Take care of that in `narrow-to-defun' (bug#6157).
15815
15816 2012-04-11 Glenn Morris <rgm@gnu.org>
15817
15818 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15819 not just file-errors.
15820
15821 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15822 (vc-bzr-sha1): Use internal sha1.
15823
15824 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15825
15826 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15827
15828 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
15829
15830 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15831 that start in the middle of the line (bug#10496).
15832
15833 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15834
15835 * battery.el (battery-linux-proc-acpi): Only one battery is
15836 discharged at a time, but that seems to confuse battery.el when
15837 computing `rate-type' for the battery not being discharged
15838 (bug#10332).
15839
15840 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15841
15842 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15843
15844 * international/quail.el: Use dolist and simplify.
15845 (quail-define-package, quail-update-keyboard-layout)
15846 (quail-define-rules): Use dolist.
15847 (quail-insert-kbd-layout, quail-get-translation): CSE.
15848
15849 * tmm.el: Use dolist, remove left over hook.
15850 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15851 Use dolist.
15852 (calendar-load-hook): Don't mess with it.
15853
15854 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15855 Use derived-mode-p. Run the diff asynchronously.
15856
15857 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15858
15859 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15860
15861 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15862
15863 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15864 (list-dynamic-libraries--loaded): New function.
15865 (list-dynamic-libraries--refresh): Use it.
15866
15867 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15868
15869 * progmodes/python.el (python-fill-paragraph):
15870 Make python-fill-region in a multiline string work when font-lock is
15871 disabled (bug#7018).
15872
15873 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15874
15875 * language/european.el (cp775): Add oem/legacy (en)coding on
15876 DOS/MS Windows for the Baltic languages. There are still plenty
15877 of texts written in this encoding/codepage (bug#6519).
15878
15879 2012-04-10 Glenn Morris <rgm@gnu.org>
15880
15881 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15882 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15883
15884 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15885
15886 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15887 next-line "n" and previous-line "p" in order to make recentf more
15888 consistent with ibuffer, dired or org-mode (bug#9387).
15889
15890 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15891
15892 * image.el (put-image): Return the overlay created instead of the
15893 optional input string (bug#7834). Note that this may break code
15894 that is (for some reason or other) depending on `put-image'
15895 returning the string.
15896
15897 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15898
15899 * simple.el (zap-to-char): Allow zapping using input methods
15900 (bug#1580).
15901
15902 * textmodes/fill.el (fill-region): Leave point and mark where they
15903 were before filling (bug#5399).
15904
15905 2012-04-09 Glenn Morris <rgm@gnu.org>
15906
15907 * version.el (emacs-bzr-get-version):
15908 Handle lightweight checkouts of local branches.
15909
15910 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15911
15912 * international/characters.el: Recover lost case pairs. (Bug#11209)
15913
15914 2012-04-09 Chong Yidong <cyd@gnu.org>
15915
15916 * custom.el (custom-variable-p): Return nil for non-symbol
15917 arguments instead of signaling an error.
15918 (user-variable-p): Obsolete alias for custom-variable-p.
15919
15920 * apropos.el (apropos-variable):
15921 * files-x.el (read-file-local-variable):
15922 * simple.el (set-variable):
15923 * woman.el (woman-mini-help):
15924 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15925
15926 2012-04-09 Glenn Morris <rgm@gnu.org>
15927
15928 * startup.el (normal-top-level): Don't look for leim-list.el
15929 in places where it will not be found. (Bug#910)
15930
15931 * international/mule-cmds.el (set-default-coding-systems):
15932 * files.el (normal-mode):
15933 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15934 This function was removed with ucs-tables.el in 2008.
15935
15936 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15937
15938 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15939 ispell-encoding8-command to "-i", without a trailing space.
15940 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15941 separate command-line arguments, to specify the encoding, since
15942 that's how hunspell expects it.
15943
15944 2012-04-08 Glenn Morris <rgm@gnu.org>
15945
15946 * loadup.el: Load bindings before cus-start.
15947 This reduces somewhat the number of "rogue" settings in emacs -Q.
15948
15949 2012-04-07 Glenn Morris <rgm@gnu.org>
15950
15951 * version.el (emacs-bzr-get-version): New function.
15952 (emacs-bzr-version): New variable.
15953 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15954 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15955
15956 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15957
15958 * international/uni-bidi.el, international/uni-category.el:
15959 * international/uni-combining.el, international/uni-decimal.el:
15960 * international/uni-decomposition.el, international/uni-digit.el:
15961 * international/uni-lowercase.el, international/uni-mirrored.el:
15962 * international/uni-name.el, international/uni-numeric.el:
15963 * international/uni-titlecase.el, international/uni-uppercase.el:
15964 Update for Unicode 6.1.
15965
15966 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15967
15968 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15969
15970 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15971
15972 * window.el (shrink-window): Mention the `window-min-height'
15973 variable in the doc string.
15974
15975 2012-04-05 Bastien Guerry <bzg@altern.org>
15976
15977 * color.el (color-lighten-name): Fix typo.
15978
15979 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15980
15981 * server.el (server--on-display-p): New function.
15982 (server--on-display-p): Use it.
15983
15984 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
15985
15986 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15987 (bug#11145).
15988
15989 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15990
15991 * comint.el (comint--common-quoted-suffix): Check string boundary
15992 before comparing (bug#11158).
15993 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15994
15995 2012-04-04 Chong Yidong <cyd@gnu.org>
15996
15997 * minibuffer.el (completion-extra-properties): Doc fix.
15998
15999 * subr.el (delayed-warnings-hook): Doc fix.
16000
16001 2012-04-04 Daiki Ueno <ueno@unixuser.org>
16002
16003 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
16004 selection (Bug#11159).
16005 (epa-insert-keys): Inform that the default public key will be
16006 exported if no key is selected.
16007
16008 2012-04-04 Richard Stallman <rms@gnu.org>
16009
16010 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
16011
16012 2012-04-03 Chong Yidong <cyd@gnu.org>
16013
16014 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
16015 mail-insert-file, not its obsolete alias mail-attach-file.
16016
16017 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
16018
16019 * notifications.el (notifications-notify): Fix docstring.
16020
16021 2012-04-02 Glenn Morris <rgm@gnu.org>
16022
16023 * emacs-lisp/authors.el (authors-aliases): Another addition.
16024
16025 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
16026
16027 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
16028 `tramp-compat-call-process' instead of `tramp-local-call-process'.
16029 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
16030
16031 2012-04-01 Chong Yidong <cyd@gnu.org>
16032
16033 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
16034 Handle root directory properly.
16035 (copy-directory): Caller changed.
16036
16037 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16038 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
16039
16040 2012-03-31 Glenn Morris <rgm@gnu.org>
16041
16042 * term/xterm.el (xterm-extra-capabilities): Doc fix.
16043
16044 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
16045
16046 * calendar/calendar.el (calendar-window-list)
16047 (calendar-hide-window): Restore. (Bug#11140)
16048 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
16049
16050 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
16051
16052 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16053
16054 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16055 Check if file is a symlink (Bug#10489).
16056
16057 * files.el (copy-directory): Likewise.
16058
16059 2012-03-30 Chong Yidong <cyd@gnu.org>
16060
16061 * image.el (imagemagick-types-inhibit)
16062 (imagemagick-register-types): Doc fix.
16063
16064 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16065
16066 * textmodes/ispell.el (ispell-get-extended-character-mode):
16067 Disable extended-char-mode for hunspell. hunspell does not support it
16068 and treats ~word as ordinary words in pipe mode.
16069
16070 2012-03-30 Glenn Morris <rgm@gnu.org>
16071
16072 * tutorial.el (help-with-tutorial): Ensure local variables don't
16073 happen to make the buffer read-only. (Bug#11127)
16074
16075 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16076
16077 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
16078 (perl-calculate-indent): Return `noindent' in strings.
16079
16080 2012-03-28 Sam Steingold <sds@gnu.org>
16081
16082 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
16083 instead of the broken adhockery which does not prevent calendar
16084 buffers from being displayed at random after exit.
16085 (calendar-window-list, calendar-hide-window): Remove the broken
16086 adhockery.
16087
16088 2012-03-28 Glenn Morris <rgm@gnu.org>
16089
16090 * replace.el (query-replace-map): Doc fix.
16091
16092 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
16093
16094 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
16095 contents. (Bug#11109)
16096
16097 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16098
16099 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
16100 (bug#11077).
16101 (avl-tree--check, avl-tree--check-node): New funs.
16102
16103 2012-03-27 Martin Rudalics <rudalics@gmx.at>
16104
16105 * window.el (switch-to-visible-buffer): New option.
16106 (switch-to-prev-buffer, switch-to-next-buffer):
16107 Observe switch-to-visible-buffer. Make sure that checking for a window
16108 showing a buffer already is done on the same frame.
16109
16110 2012-03-27 Glenn Morris <rgm@gnu.org>
16111
16112 * startup.el (mail-host-address): Doc fix.
16113
16114 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16115
16116 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16117 than 197 variables.
16118
16119 2012-03-26 Ami Fischman <ami@fischman.org>
16120
16121 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16122
16123 2012-03-26 Glenn Morris <rgm@gnu.org>
16124
16125 * files.el (save-buffers-kill-emacs): Doc fix.
16126
16127 * startup.el (normal-top-level, command-line, command-line-1):
16128 Give them doc strings.
16129
16130 2012-03-25 Eli Zaretskii <eliz@gnu.org>
16131
16132 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16133 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16134
16135 2012-03-25 Chong Yidong <cyd@gnu.org>
16136
16137 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16138 theme if it was previously enabled before (Bug#11031).
16139
16140 * cus-theme.el (custom-theme-write-faces): Retrieve current face
16141 spec with custom-face-get-current-spec if its :shown-value is not
16142 determined yet (Bug#9337).
16143 (customize-create-theme, custom-theme-revert): Doc fixes.
16144
16145 * button.el (button-at): Minor addition to docstring.
16146
16147 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16148
16149 * vc/vc.el (vc-merge): Fix a prompt.
16150
16151 2012-03-24 Chong Yidong <cyd@gnu.org>
16152
16153 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16154 point (Bug#9623).
16155
16156 * button.el (button-at): Minor addition to docstring.
16157
16158 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16159
16160 * newcomment.el (comment-choose-indent): No space after BOL.
16161
16162 2012-03-22 Sam Steingold <sds@gnu.org>
16163
16164 * window.el (switch-to-prev-buffer): Revert last patch because the
16165 bug turned out to be an advertised feature (Elisp manual 28.14).
16166
16167 2012-03-22 Glenn Morris <rgm@gnu.org>
16168
16169 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16170 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16171
16172 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16173
16174 * net/network-stream.el (network-stream-open-starttls): Make error
16175 message under Windows be less misleading.
16176
16177 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16178
16179 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16180 understands (bug#9942).
16181
16182 2012-03-22 Chong Yidong <cyd@gnu.org>
16183
16184 * simple.el (end-of-visible-line): Handle return value of
16185 next-single-property-change properly (Bug#9371).
16186
16187 2012-03-22 Kenichi Handa <handa@m17n.org>
16188
16189 * international/quail.el (quail-insert-kbd-layout): Fix previous
16190 change. To avoid unwanted bidi reordering, use
16191 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16192
16193 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16194
16195 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16196 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16197 (ruby-beginning-of-indent): Be more careful with the difference
16198 between word-boundary and symbol boundary.
16199 (ruby-mode-syntax-table): Make : a symbol constituent.
16200
16201 2012-03-21 Andreas Politz <politza@fh-trier.de>
16202
16203 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16204
16205 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16206
16207 * progmodes/etags.el (tags-completion-at-point-function):
16208 Improve last fix.
16209
16210 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16211
16212 2012-03-21 Sam Steingold <sds@gnu.org>
16213
16214 * progmodes/etags.el (tags-completion-at-point-function):
16215 Avoid the error when point is inside the pattern.
16216
16217 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16218
16219 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16220 line (Bug#10855).
16221
16222 2012-03-21 Drew Adams <drew.adams@oracle.com>
16223
16224 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16225
16226 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16227
16228 * ido.el (ido-set-current-directory, ido-read-internal)
16229 (ido-choose-completion-string, ido-completion-help): Handle nil
16230 value of ido-completion-buffer (Bug#11008).
16231
16232 2012-03-21 Sam Steingold <sds@gnu.org>
16233
16234 * window.el (switch-to-prev-buffer): Do not switch to a visible
16235 window previous buffer, just like with the frame previous buffers.
16236
16237 2012-03-21 Chong Yidong <cyd@gnu.org>
16238
16239 * faces.el (make-face, make-empty-face, copy-face):
16240 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16241 Doc fixes.
16242
16243 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16244
16245 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16246 (widget-complete): Remove broken use of it.
16247
16248 2012-03-20 Chong Yidong <cyd@gnu.org>
16249
16250 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16251 Use string-width and truncate-string-width to handle arbitrary
16252 characters.
16253
16254 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16255
16256 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16257 to draw rectangles, not squares. (Regression introduced by revno
16258 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16259
16260 2012-03-18 Chong Yidong <cyd@gnu.org>
16261
16262 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16263 it is not yet defined (for temacs).
16264
16265 2012-03-18 Leo Liu <sdl.web@gmail.com>
16266
16267 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16268 prefix.
16269
16270 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16271
16272 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16273 (ispell-choices-win-default-height, ispell-silently-savep)
16274 (ispell-dictionary-alist, ispell-encoding8-command)
16275 (ispell-check-version, ispell-aspell-find-dictionary)
16276 (ispell-valid-dictionary-list, ispell-words-keyword)
16277 (ispell-get-word, ispell-internal-change-dictionary)
16278 (ispell-region, ispell-skip-region-list)
16279 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16280 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16281 (ispell-message-text-end, ispell-message)
16282 (ispell-buffer-local-parsing): Doc fix.
16283
16284 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16285
16286 * htmlfontify.el: Add support for code block fontification for ODT
16287 export (Bug #9914).
16288 (hfy-optimisations): Define new option
16289 `body-text-only'
16290 (hfy-fontify-buffer): Honor above setting.
16291 (hfy-begin-span, hfy-end-span): New routines factored out form
16292 `hfy-fontify-buffer'.
16293 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16294 that permit insertion of custom tags.
16295 (hfy-fontify-buffer): Use above handlers.
16296 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16297 (hfy-face-to-css): Re-defined to be a variable.
16298 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16299 over multiple runs. This is made possible by having the caller let
16300 bind a special variable `hfy-user-sheet-assoc'.
16301 (htmlfontify-string): New defun.
16302 (hfy-compile-face-map): Make sure that the last char in the
16303 buffer is correctly fontified.
16304 (hfy-face-resolve-face): Whitespace only change.
16305
16306 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16307
16308 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16309 message more clear.
16310
16311 2012-03-16 Leo Liu <sdl.web@gmail.com>
16312
16313 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16314
16315 2012-03-16 Alan Mackenzie <acm@muc.de>
16316
16317 Further optimize the handling of large macros.
16318
16319 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16320 limit to a call of `c-literal-limits'.
16321 (c-determine-+ve-limit): New function.
16322 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16323 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16324 In CASE 5B, restrict a search limit to 500.
16325 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16326
16327 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16328 Restrict macro bounds to +-500 from after-change's BEG END.
16329
16330 2012-03-16 Leo Liu <sdl.web@gmail.com>
16331
16332 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16333
16334 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16335
16336 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16337 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16338
16339 2012-03-16 Glenn Morris <rgm@gnu.org>
16340
16341 * view.el (view-buffer, view-buffer-other-window)
16342 (view-buffer-other-frame): Doc fixes re special mode-class.
16343
16344 * subr.el (eval-after-load): If named feature is provided not from
16345 a file, run after-load forms. (Bug#10946)
16346
16347 * calendar/calendar.el (calendar-insert-at-column):
16348 Handle non-unit-width characters a bit better. (Bug#10978)
16349
16350 2012-03-15 Chong Yidong <cyd@gnu.org>
16351
16352 * emacs-lisp/ring.el (ring-extend): New function.
16353 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16354
16355 * comint.el (comint-read-input-ring)
16356 (comint-add-to-input-history): Grow comint-input-ring lazily.
16357
16358 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16359
16360 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16361 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16362
16363 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16364 (imenu-add-to-menubar): Don't add a redundant index.
16365 (imenu-update-menubar): Handle a dynamically composed keymap.
16366
16367 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16368
16369 * mail/sendmail.el (mail-encode-header):
16370 Bind rfc2047-encode-encoded-words to nil.
16371
16372 2012-03-13 Glenn Morris <rgm@gnu.org>
16373
16374 * calendar/calendar.el (calendar-string-spread):
16375 Handle non-unit-width characters a bit better. (Bug#10978)
16376
16377 2012-03-13 Leo Liu <sdl.web@gmail.com>
16378
16379 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16380 directory and file as argument (Bug#10822).
16381
16382 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16383
16384 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16385 For dynamically generated code, follow $PC.
16386 (gdb-disassembly-handler-custom): Handle no function name case.
16387
16388 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16389
16390 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16391 * emulation/ws-mode.el (ws-query-replace):
16392 * sort.el (sort-regexp-fields):
16393 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16394
16395 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16396
16397 * dabbrev.el: Fix cycle completion order (bug#10963).
16398 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16399 (dabbrev-completion): Don't use an obarray; provide
16400 a cycle-sort-function.
16401
16402 2012-03-12 Leo Liu <sdl.web@gmail.com>
16403
16404 * simple.el (kill-new): Use equal-including-properties for comparison.
16405 (kill-do-not-save-duplicates): Doc fix.
16406
16407 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16408
16409 * dabbrev.el: Fix cycle completion (bug#10963).
16410 Use lexical binding and wrap to 80 columns.
16411 (dabbrev-completion): Delay computing the list of completions.
16412
16413 2012-03-12 Kenichi Handa <handa@m17n.org>
16414
16415 * international/quail.el (quail-insert-kbd-layout): Surround each
16416 row by LRO and PDF instead of inserting many LRMs. Pad the left
16417 and right of each non-spacing marks. Insert invisible space
16418 between lower and upper characters to prevent composition.
16419
16420 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16421
16422 * minibuffer.el (minibuffer-complete): Don't get confused when the
16423 function is run twice via different commands (bug#10958).
16424 (complete-with-action): Fix docstring.
16425
16426 2012-03-12 Chong Yidong <cyd@gnu.org>
16427
16428 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16429 (nxml-completion-at-point-function): New function.
16430 (nxml-mode): Use it.
16431 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16432
16433 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16434 Load generated autoloads file before byte compiling (Bug#10970).
16435 (package--make-autoloads-and-compile): New helper fun.
16436
16437 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16438
16439 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16440
16441 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16442
16443 * autorevert.el (auto-revert-handler): Ensure, that
16444 file-readable-p is applied only for local files or in
16445 auto-revert-tail-mode.
16446
16447 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16448
16449 * server.el (server-eval-at): Handle non-tcp connections.
16450 Decode result string.
16451
16452 * server.el (server-msg-size): New constant.
16453 (server-reply-print): New function.
16454 (server-eval-and-print): Use it.
16455 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16456 Handle -print-nonl.
16457
16458 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16459
16460 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16461 (Bug#10987).
16462
16463 2012-03-11 Chong Yidong <cyd@gnu.org>
16464
16465 * simple.el (goto-line): Doc fix (Bug#9938).
16466
16467 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16468
16469 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16470 when finished (Bug#10963).
16471
16472 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16473
16474 * window.el (split-window-below): Fix bug in case where
16475 split-window-keep-point is nil (Bug#10971).
16476
16477 2012-03-11 Juri Linkov <juri@jurta.org>
16478
16479 * replace.el (replace-highlight): Set isearch-word to nil
16480 unconditionally. (Bug#10887)
16481
16482 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16483
16484 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16485 mairix-replace-illegal-chars; all callers changed. Don't remove
16486 ^, ~, and = characters: they are meaningful in mairix search specs.
16487 (mairix-widget-create-query): Add usage information about mairix
16488 search forms: negating words, searching for substrings, etc.
16489
16490 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16491
16492 * international/fontset.el (font-encoding-alist): Add an entry for
16493 ksx1001 (Bug#5667).
16494
16495 2012-03-10 Richard Stallman <rms@gnu.org>
16496
16497 * mail/sendmail.el (mail-encode-header):
16498 Set rfc2047-encode-encoded-words.
16499
16500 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16501
16502 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16503 view buffer means not swapped.
16504 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16505 (rmail-write-region-annotate): Error if real text has disappeared.
16506
16507 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16508
16509 2012-03-10 Chong Yidong <cyd@gnu.org>
16510
16511 * emulation/cua-rect.el (cua--init-rectangles):
16512 * emulation/cua-base.el (cua--init-keymaps):
16513 Add delete-forward-char to remappings (Bug#9666).
16514
16515 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16516
16517 * speedbar.el (speedbar-unhighlight-one-tag-line):
16518 Avoid unhighlighting due to frame switching (Bug#10275).
16519
16520 2012-03-10 Chong Yidong <cyd@gnu.org>
16521
16522 * minibuffer.el (completion-in-region, completion-help-at-point):
16523 Give the completion field overlay a high priority (Bug#6830).
16524
16525 * dired.el (dired-goto-file): Recognize absolute file name
16526 listings (Bug#7126).
16527 (dired-goto-file-1): New helper function.
16528 (dired-toggle-read-only): Inhibit warnings.
16529
16530 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16531
16532 * net/dbus.el (dbus-property-handler): Return empty array if
16533 there are no properties.
16534
16535 2012-03-09 Leo Liu <sdl.web@gmail.com>
16536
16537 * savehist.el (savehist-printable): Stricter check for string
16538 value (Bug#10937).
16539
16540 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16541
16542 * mail/smtpmail.el (smtpmail-send-it):
16543 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16544 valid mbox format.
16545
16546 2012-03-09 Glenn Morris <rgm@gnu.org>
16547
16548 * files.el (dir-locals-find-file):
16549 Don't check result is regular, readable.
16550 (dir-locals-read-from-file): Demote errors.
16551
16552 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16553
16554 * international/quail.el (quail-insert-kbd-layout):
16555 Insert invisible LRM characters before each character in a keyboard
16556 layout cell, to prevent their reordering by bidi display engine.
16557 For details, see the discussion in
16558 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16559
16560 2012-03-08 Alan Mackenzie <acm@muc.de>
16561
16562 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16563 the starting position; make it extend the marked region when
16564 invoked repeatedly - all under appropriate circumstances.
16565 Fixes bugs #5525, #10906.
16566
16567 2012-03-08 Glenn Morris <rgm@gnu.org>
16568
16569 * files.el (locate-dominating-file, dir-locals-find-file):
16570 Undo 2012-03-06 change.
16571
16572 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16573
16574 * international/quail.el (quail-help):
16575 Force bidi-paragraph-direction be left-to-right. See discussion in
16576 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16577 for the reason.
16578
16579 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16580
16581 Avoid superfluous registering of signals. (Bug#10807)
16582
16583 * notifications.el (notifications-on-action-object)
16584 (notifications-on-close-object): New defvars.
16585 (notifications-on-action-signal, notifications-on-closed-signal):
16586 Unregister the signal if not needed any longer.
16587 (notifications-notify): Register `notifications-action-signal' or
16588 `notifications-closed-signal', if :on-action or :on-close has been
16589 passed as argument.
16590
16591 2012-03-07 Chong Yidong <cyd@gnu.org>
16592
16593 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16594 non-X platforms.
16595
16596 2012-03-06 Glenn Morris <rgm@gnu.org>
16597
16598 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16599 (x-disown-selection-internal, x-get-selection-internal):
16600 Doc fix (add arglist signatures). (Bug#10783)
16601
16602 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16603
16604 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16605 Handle breakpoints with no "type".
16606
16607 2012-03-06 Glenn Morris <rgm@gnu.org>
16608
16609 * files.el (locate-dominating-file): Add optional predicate argument.
16610 (dir-locals-find-file): Make use of above change.
16611
16612 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16613
16614 * info.el (Info-insert-dir): Also try "dir.gz".
16615
16616 2012-03-06 Glenn Morris <rgm@gnu.org>
16617
16618 * files.el (dir-locals-find-file):
16619 Ignore non-readable or non-regular files. (Bug#10928)
16620
16621 * files.el (locate-dominating-file): Doc fix.
16622
16623 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16624
16625 * calendar/calendar.el (calendar-set-mode-line):
16626 `getenv' returns a string. (Bug#10951)
16627
16628 2012-03-05 Leo Liu <sdl.web@gmail.com>
16629
16630 * simple.el (backward-delete-char-untabify): Constrain point to
16631 field (Bug#10939).
16632
16633 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16634
16635 2012-03-05 Chong Yidong <cyd@gnu.org>
16636
16637 * simple.el (count-words): If called from Lisp, return the word
16638 count, for symmetry with `count-lines'. Arglist changed.
16639 (count-words--message): Args changed. Consolidate counting code
16640 from count-words and count-words-region.
16641 (count-words-region): Caller changed.
16642 (count-lines-region): Make it an obsolete alias.
16643
16644 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16645
16646 * saveplace.el (save-place-to-alist)
16647 (save-place-ignore-files-regexp): Allow value nil to disable this
16648 feature.
16649
16650 2012-03-04 Chong Yidong <cyd@gnu.org>
16651
16652 * faces.el (face-spec-reset-face): For the default face, reset the
16653 attributes to default values (Bug#10748).
16654
16655 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16656
16657 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16658 previous patch: Check `message-send-mail-function', and not the
16659 default function (bug#10897).
16660
16661 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16662
16663 * notifications.el (notifications-on-action-signal)
16664 (notifications-on-closed-signal): Check for unique service name of
16665 incoming event. Fix error in removing entry.
16666 (top): Register for signals with wildcard service name.
16667 (notifications-notify): Use daemon unique service name for map entries.
16668
16669 2012-03-04 Chong Yidong <cyd@gnu.org>
16670
16671 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16672
16673 2012-03-04 Glenn Morris <rgm@gnu.org>
16674
16675 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16676 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16677 (expand-abbrev, define-abbrev-table): Doc fixes.
16678
16679 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16680
16681 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16682 `message-default-send-mail-function' and not `send-mail-function'
16683 when doing the prompting for `sendmail-query-once' before sending
16684 in Message buffers (bug#10897).
16685
16686 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16687 This is inconsistent with all the other stream functions, which leave
16688 the setting up to the higher levels (if so wanted) (bug#10931).
16689
16690 2012-03-02 Alan Mackenzie <acm@muc.de>
16691
16692 Depessimize the handling of very large macros.
16693
16694 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16695 (c-macro-cache-syntactic): New variables to implement a one
16696 element macro cache.
16697 (c-invalidate-macro-cache): New function.
16698 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16699 Adapt to use the new cache.
16700 (c-state-safe-place): Use better the cache of safe positions.
16701 (c-state-semi-nonlit-pos-cache)
16702 (c-state-semi-nonlit-pos-cache-limit):
16703 New variables for...
16704 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16705 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16706 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16707 Use c-state-semi-safe-place.
16708
16709 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16710 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16711
16712 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16713
16714 * jka-compr.el (jka-compr-call-process):
16715 Apply `file-accessible-directory-p' only when the default directory is
16716 not remote.
16717
16718 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16719
16720 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16721 access of FILE2, if FILE1 does not exist.
16722
16723 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16724 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16725
16726 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16727 Add "PAGER=" to `process-environment'.
16728
16729 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16730
16731 * progmodes/sql.el: Bug fix
16732 (sql-get-login-ext): Save login values in globals.
16733 (sql-get-login): Use new version of `sql-get-login-ext'.
16734 (sql-interactive-mode): Set global `sql-connection' to nil.
16735 (sql-connect): Set global values for connection.
16736 (sql-product-interactive): Save global values as buffer local.
16737
16738 2012-02-29 Leo Liu <sdl.web@gmail.com>
16739
16740 * abbrev.el (define-abbrevs): Reset sys to nil.
16741
16742 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16743
16744 * files.el (file-equal-p): Rename from `files-equal-p'.
16745 Return nil when one or both files don't exist.
16746 (file-subdir-of-p): Now only top directory must exists,
16747 return nil if it doesn't.
16748 (copy-directory): No need to test with `file-subdir-of-p' after
16749 creating dir.
16750 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16751 to `file-equal-p'.
16752
16753 2012-02-28 Glenn Morris <rgm@gnu.org>
16754
16755 * shell.el (shell-mode):
16756 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16757 * play/landmark.el (landmark-font-lock-face-O):
16758 * play/handwrite.el (handwrite):
16759 * play/gomoku.el (gomoku-O):
16760 * net/browse-url.el (browse-url-browser-display):
16761 * international/mule.el (define-charset):
16762 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16763 * filesets.el (filesets-find-file-delay):
16764 * eshell/em-xtra.el (eshell-xtra):
16765 * eshell/em-unix.el (eshell-grep):
16766 * emulation/viper.el (viper-mode):
16767 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16768 * emacs-lisp/easymenu.el (easy-menu-define):
16769 * calendar/timeclock.el (timeclock-use-display-time):
16770 * bs.el (bs-mode):
16771 * bookmark.el (bookmark-save-flag):
16772 Doc fix (standardize possessive apostrophe usage).
16773
16774 2012-02-27 Chong Yidong <cyd@gnu.org>
16775
16776 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16777 Fix key-binding lookup for ESC key (Bug#9146).
16778
16779 * font-lock.el (font-lock-specified-p): Rename from
16780 font-lock-spec-present. Callers changed.
16781
16782 2012-02-27 Daniel Hackney <dan@haxney.org>
16783
16784 * emacs-lisp/package.el (package-compute-transaction):
16785 Handle holding a package version to t in package-load-list.
16786
16787 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16788
16789 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16790 (tramp-get-inode, tramp-get-device): Use cached values.
16791
16792 2012-02-26 Alan Mackenzie <acm@muc.de>
16793
16794 Check there is a font-lock specification before doing initial
16795 fontification.
16796
16797 * font-core.el (font-lock-mode): Move the conditional from
16798 :after-hook to font-lock-initial-fontify.
16799 (font-lock-default-function): Move the check for a specification
16800 to font-lock-spec-present.
16801
16802 * font-lock.el (font-lock-initial-fontify): Call ...
16803 (font-lock-spec-present): New function.
16804
16805 2012-02-26 Jim Blandy <jimb@red-bean.com>
16806
16807 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16808 (gdb-send): Apply it to the operand of the '-interpreter-exec
16809 console' command, so that we can pass arguments with (say) quotes
16810 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16811
16812 2012-02-26 Chong Yidong <cyd@gnu.org>
16813
16814 * help-fns.el (describe-function-1): Clarify description of
16815 remapping (Bug#10844).
16816
16817 * files.el (files-equal-p): Doc fix.
16818 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16819 and quit the loop once a mismatch is found.
16820
16821 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16822
16823 * bs.el (bs--show-with-configuration): Don't throw an error
16824 if the window cannot be split; otherwise, subsequent calls to
16825 bs-show fail, restoring a stale window config. (Bug#10882)
16826
16827 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16828
16829 * term/ns-win.el (global-map): Bind ns-drag-file to
16830 ns-find-file (Bug#5855, Bug#10050).
16831
16832 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16833
16834 * calendar/parse-time.el (parse-time-string): Allow extractor to
16835 return nil.
16836
16837 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16838
16839 * net/tramp.el (tramp-file-name-for-operation):
16840 Add `files-equal-p' and `file-subdir-of-p'.
16841
16842 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16843 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16844 Add COPY-CONTENTS argument.
16845
16846 2012-02-25 Chong Yidong <cyd@gnu.org>
16847
16848 Add custom groups for VC backends, for consistency with vc-bzr.
16849
16850 * vc/vc-arch.el (vc-arch):
16851 * vc/vc-cvs.el (vc-cvs):
16852 * vc/vc-git.el (vc-git):
16853 * vc/vc-hg.el (vc-hg):
16854 * vc/vc-mtn.el (vc-mtn):
16855 * vc/vc-rcs.el (vc-rcs):
16856 * vc/vc-sccs.el (vc-sccs):
16857 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16858 All relevant defcustoms reassigned.
16859
16860 2012-02-25 Chong Yidong <cyd@gnu.org>
16861
16862 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16863
16864 * term/x-win.el (x-initialize-window-system): Reduce default for
16865 x-selection-timeout to 5 seconds (Bug#8869).
16866
16867 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16868
16869 * files.el (files-equal-p, file-subdir-of-p): New functions.
16870 (copy-directory): Error when trying to copy a directory on itself.
16871 Add missing copy-contents arg to tramp handler.
16872 * dired-aux.el (dired-copy-file-recursive): Same.
16873 (dired-create-files): Modify destination when source is equal to
16874 dest when copying files.
16875 Return also when dest is a subdir of source. (Bug#10489)
16876
16877 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16878
16879 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16880 (Bug#10874)
16881
16882 2012-02-23 Alan Mackenzie <acm@muc.de>
16883
16884 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16885 parameter "after-hook:" to allow the expansion to run code after
16886 the execution of the mode hooks.
16887
16888 * font-lock.el (font-lock-initial-fontify): New function extracted
16889 from font-lock-mode-internal.
16890
16891 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16892 :after-hook.
16893
16894 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16895
16896 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16897 (completion--cache-all-sorted-completions): New function.
16898 (completion-all-sorted-completions): Use it.
16899 (completion--do-completion, minibuffer-force-complete):
16900 Use it to re-instate the flush hook.
16901
16902 * icomplete.el (icomplete-completions): Replace last fix with a better
16903 one (bug#10850).
16904
16905 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16906
16907 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16908 when it might call us back infinitely (bug#10797).
16909
16910 2012-02-23 Glenn Morris <rgm@gnu.org>
16911
16912 * minibuffer.el (completion-category-overrides): Doc fix.
16913
16914 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16915
16916 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16917 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16918
16919 2012-02-23 Glenn Morris <rgm@gnu.org>
16920
16921 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16922 (authors-obsolete-files-regexps, authors-ignored-files)
16923 (authors-ambiguous-files, authors-renamed-files-alist):
16924 Add more entries.
16925
16926 2012-02-23 Juri Linkov <juri@jurta.org>
16927
16928 * isearch.el (isearch-occur): Sync interactive spec with occur's
16929 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16930
16931 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16932
16933 2012-02-22 Juri Linkov <juri@jurta.org>
16934
16935 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16936 (ucs-insert): Doc fix. Check for hex digits in the string.
16937 Don't display `nil' in the error message. (Bug#10857)
16938
16939 2012-02-22 Alan Mackenzie <acm@muc.de>
16940
16941 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16942
16943 2012-02-22 Glenn Morris <rgm@gnu.org>
16944
16945 * ffap.el (ffap-c-path):
16946 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16947
16948 2012-02-22 Chong Yidong <cyd@gnu.org>
16949
16950 * custom.el (load-theme): Doc fix.
16951
16952 2012-02-22 Glenn Morris <rgm@gnu.org>
16953
16954 * dired-x.el (dired-guess-shell-alist-default):
16955 Remove escape sequences from nroff output. (Bug#172)
16956
16957 2012-02-21 Glenn Morris <rgm@gnu.org>
16958
16959 * vc/emerge.el (emerge-defvar-local):
16960 Set `permanent-local' property rather than unused `preserved'.
16961
16962 * textmodes/picture.el (picture-delete-char): New alias.
16963 (picture-mode-map): Use it. (Bug#10860)
16964 (picture-mode): Doc fix.
16965
16966 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16967
16968 * newcomment.el (uncomment-region-default): Remove unused binding.
16969
16970 2012-02-21 Glenn Morris <rgm@gnu.org>
16971
16972 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16973 (picture-self-insert, picture-tab-chars): Doc fix.
16974 (picture-mode-map): Fix C-a, C-e.
16975
16976 2012-02-20 Glenn Morris <rgm@gnu.org>
16977
16978 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16979
16980 2012-02-20 Leo Liu <sdl.web@gmail.com>
16981
16982 * icomplete.el (icomplete-completions): Check FROM arg before
16983 passing to substring (Bug#10850).
16984
16985 2012-02-19 Chong Yidong <cyd@gnu.org>
16986
16987 * comint.el: Require ansi-color.
16988 (comint-output-filter-functions): Add ansi-color-process-output.
16989
16990 * ansi-color.el: Don't set comint-output-filter-functions; it is
16991 now in the initial value defined in comint.el.
16992 (ansi-color-apply-face-function): New variable.
16993 (ansi-color-apply-on-region): Use it.
16994 (ansi-color-apply-overlay-face): New function.
16995
16996 * shell.el (shell): No need to require ansi-color.
16997 (shell-mode): Use ansi-color-apply-face-function to highlight
16998 color escapes using font-lock-face property (Bug#10835).
16999
17000 2012-02-19 Chong Yidong <cyd@gnu.org>
17001
17002 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
17003 mode-line formats (Bug#10839).
17004
17005 2012-02-18 Glenn Morris <rgm@gnu.org>
17006
17007 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
17008
17009 * mail/undigest.el (unforward-rmail-message): Doc fix.
17010
17011 * saveplace.el (save-place-ignore-files-regexp): Add :version.
17012
17013 2012-02-18 Eli Zaretskii <eliz@gnu.org>
17014
17015 * international/characters.el (script-list): Sync with the latest
17016 Unicode Character Database.
17017
17018 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
17019
17020 * international/titdic-cnv.el: Remove duplicate coding tag.
17021 * language/cham.el: Likewise.
17022 * language/tai-viet.el: Likewise.
17023
17024 2012-02-18 Glenn Morris <rgm@gnu.org>
17025
17026 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
17027 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
17028 (calendar-bahai-all-holidays-flag, calendar-other-dates):
17029 * calendar/diary-lib.el (diary-abbreviated-year-flag):
17030 * calendar/holidays.el (holiday-bahai-holidays)
17031 (calendar-holidays, list-holidays):
17032 Use utf-8 Bahá'í in doc-strings, menus, etc.
17033
17034 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
17035
17036 * saveplace.el (save-place-ignore-files-regexp): New variable
17037 allowing for excluding files from saving their location of point.
17038 The default value matches the temporary commit message editing
17039 files from Git, SVN, Bazaar, and Mercurial.
17040 (save-place-to-alist): Use it.
17041
17042 2012-02-17 Lawrence Mitchell <wence@gmx.li>
17043 Stefan Monnier <monnier@iro.umontreal.ca>
17044
17045 * newcomment.el (uncomment-region-default): Don't leave extra space
17046 when an arg is provided (bug#8150).
17047
17048 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
17049
17050 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
17051
17052 2012-02-17 Glenn Morris <rgm@gnu.org>
17053
17054 * net/socks.el: Require network-stream. (Bug#10599)
17055
17056 2012-02-17 Kenichi Handa <handa@m17n.org>
17057
17058 * international/charprop.el:
17059 * international/uni-name.el:
17060 * international/uni-old-name.el:
17061 * international/uni-comment.el: Regenerate.
17062
17063 2012-02-16 Glenn Morris <rgm@gnu.org>
17064
17065 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
17066 Interactively in calendar buffer, give an error if not on a date.
17067
17068 2012-02-15 Glenn Morris <rgm@gnu.org>
17069
17070 * shell.el (shell-delimiter-argument-list):
17071 Revert 2011-02-17 change. (Bug#8027)
17072
17073 2012-02-15 Chong Yidong <cyd@gnu.org>
17074
17075 * minibuffer.el (completion-at-point-functions): Doc fix.
17076
17077 * custom.el (defcustom): Doc fix; note use of defvar.
17078
17079 2012-02-15 Glenn Morris <rgm@gnu.org>
17080
17081 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
17082 Doc fixes.
17083
17084 2012-02-14 Glenn Morris <rgm@gnu.org>
17085
17086 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
17087
17088 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
17089
17090 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
17091 way the ports list is computed.
17092 (smtpmail-query-smtp-server): Prompt the user for a port number if
17093 we can't connect to any of the standard ports (bug#10810).
17094
17095 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
17096
17097 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
17098
17099 2012-02-13 Glenn Morris <rgm@gnu.org>
17100
17101 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
17102
17103 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
17104
17105 * net/gnutls.el (gnutls-trustfiles): New variable.
17106 (gnutls-negotiate): Use it.
17107
17108 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
17109
17110 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17111 does its stuff if Gnus is running.
17112
17113 2012-02-13 Alan Mackenzie <acm@muc.de>
17114
17115 Fix a loop in c-set-fl-decl-start.
17116
17117 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17118 c-backward-syntactic-ws actually moves backwards.
17119
17120 2012-02-13 Leo Liu <sdl.web@gmail.com>
17121
17122 * net/rcirc.el (rcirc-markup-attributes): Move point to the
17123 beginning so that all \C-o chars are removed.
17124
17125 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
17126
17127 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17128
17129 2012-02-12 Alan Mackenzie <acm@muc.de>
17130
17131 Fix infinite loop with long macros.
17132 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17133
17134 2012-02-12 Chong Yidong <cyd@gnu.org>
17135
17136 * window.el (display-buffer): Doc fix (Bug#10785).
17137
17138 2012-02-12 Glenn Morris <rgm@gnu.org>
17139
17140 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17141 (x-disown-selection-internal, x-get-selection-internal):
17142 Sync docs with the xselect.c versions.
17143
17144 * allout-widgets.el: Add missing license notice.
17145
17146 2012-02-11 Glenn Morris <rgm@gnu.org>
17147
17148 * select.el (x-get-selection-internal, x-own-selection-internal)
17149 (x-disown-selection-internal):
17150 * x-dnd.el (x-get-selection-internal): Update declarations.
17151
17152 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17153
17154 * window.el (window-sides-slots):
17155 * tool-bar.el (tool-bar-position):
17156 * term/xterm.el (xterm-extra-capabilities):
17157 * ses.el (ses-self-reference-early-detection):
17158 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17159 (verilog-auto-wire-type)
17160 (verilog-auto-delete-trailing-whitespace)
17161 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17162 (verilog-auto-tieoff-declaration):
17163 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17164 (sql-oracle-statement-starters, sql-oracle-scan-on):
17165 * progmodes/prolog.el (prolog-align-comments-flag)
17166 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17167 (prolog-left-indent-regexp, prolog-paren-indent-p)
17168 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17169 (prolog-types, prolog-mode-specificators)
17170 (prolog-determinism-specificators, prolog-directives)
17171 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17172 (prolog-electric-dot-flag)
17173 (prolog-electric-dot-full-predicate-template)
17174 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17175 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17176 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17177 (prolog-program-switches, prolog-prompt-regexp)
17178 (prolog-debug-on-string, prolog-debug-off-string)
17179 (prolog-trace-on-string, prolog-trace-off-string)
17180 (prolog-zip-on-string, prolog-zip-off-string)
17181 (prolog-use-standard-consult-compile-method-flag)
17182 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17183 (prolog-imenu-max-lines, prolog-info-predicate-index)
17184 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17185 (prolog-char-quote-workaround):
17186 * progmodes/cc-vars.el (c-defun-tactic):
17187 * net/tramp.el (tramp-encoding-command-interactive)
17188 (tramp-local-end-of-line):
17189 * net/soap-client.el (soap-client):
17190 * net/netrc.el (netrc-file):
17191 * net/gnutls.el (gnutls):
17192 * minibuffer.el (completion-category-overrides)
17193 (completion-cycle-threshold)
17194 (completion-pcm-complete-word-inserts-delimiters):
17195 * man.el (Man-name-local-regexp):
17196 * mail/feedmail.el (feedmail-display-full-frame):
17197 * international/characters.el (glyphless-char-display-control):
17198 * eshell/em-ls.el (eshell-ls-date-format):
17199 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17200 (lisp-lambda-list-keyword-parameter-indentation)
17201 (lisp-lambda-list-keyword-parameter-alignment):
17202 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17203 * dired-x.el (dired-omit-verbose):
17204 * cus-theme.el (custom-theme-allow-multiple-selections):
17205 * calc/calc.el (calc-highlight-selections-with-faces)
17206 (calc-lu-field-reference, calc-lu-power-reference)
17207 (calc-note-threshold):
17208 * battery.el (battery-mode-line-limit):
17209 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17210 (archive-7z-update):
17211 * allout.el (allout-prefixed-keybindings)
17212 (allout-unprefixed-keybindings)
17213 (allout-inhibit-auto-fill-on-headline)
17214 (allout-flattened-numbering-abbreviation):
17215 * allout-widgets.el (allout-widgets-auto-activation)
17216 (allout-widgets-icons-dark-subdir)
17217 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17218 (allout-widgets-theme-dark-background)
17219 (allout-widgets-theme-light-background)
17220 (allout-widgets-item-image-properties-emacs)
17221 (allout-widgets-item-image-properties-xemacs)
17222 (allout-widgets-run-unit-tests-on-load)
17223 (allout-widgets-time-decoration-activity)
17224 (allout-widgets-hook-error-post-time)
17225 (allout-widgets-track-decoration):
17226 Add missing :version tags to new defcustoms and defgroups.
17227
17228 * progmodes/sql.el (sql-ansi-statement-starters)
17229 (sql-oracle-statement-starters): Add custom type.
17230
17231 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17232 (prolog-system-version): Give it a type.
17233
17234 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17235
17236 * term/pc-win.el (x-select-text, x-selection-owner-p)
17237 (x-own-selection-internal, x-disown-selection-internal)
17238 (x-get-selection-internal): Sync doc strings and argument lists
17239 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17240
17241 2012-02-11 Leo Liu <sdl.web@gmail.com>
17242
17243 * progmodes/python.el (python-end-of-statement): Fix infinite
17244 loop. (Bug#10788)
17245
17246 2012-02-10 Glenn Morris <rgm@gnu.org>
17247
17248 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17249 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17250
17251 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17252
17253 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17254 about SMTP before checking the From header.
17255
17256 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17257 into own function for reuse by emacsbug.el.
17258
17259 2012-02-10 Leo Liu <sdl.web@gmail.com>
17260
17261 * subr.el (condition-case-unless-debug): Rename from
17262 condition-case-no-debug. All callers changed.
17263 (with-demoted-errors): Fix caller.
17264
17265 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17266 * nxml/rng-valid.el (rng-do-some-validation):
17267 * emacs-lisp/package.el (package-refresh-contents)
17268 (package-menu-execute):
17269 * desktop.el (desktop-create-buffer):
17270 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17271
17272 2012-02-10 Glenn Morris <rgm@gnu.org>
17273
17274 * textmodes/bibtex.el:
17275 Add missing :version tags for new/changed defcustoms.
17276
17277 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17278
17279 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17280
17281 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17282 (smtpmail-via-smtp): Use it, or fall back on the From address.
17283 (smtpmail-send-it): Ditto.
17284
17285 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17286
17287 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17288 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17289 (byte-compile-tmp-var): New const.
17290 (byte-compile-defvar): Use it to minimize .elc size.
17291 Just use `defvar' rather than simulate it (bug#10761).
17292
17293 2012-02-09 Glenn Morris <rgm@gnu.org>
17294
17295 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17296
17297 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17298 Add :version tags.
17299
17300 * progmodes/compile.el (compilation-error-screen-columns)
17301 (compilation-first-column, compilation-filter-start): Doc fixes.
17302
17303 * vc/log-view.el (log-view-toggle-entry-display):
17304 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17305
17306 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17307 (report-emacs-bug-can-use-xdg-email):
17308 (report-emacs-bug-insert-to-mailer): Doc fixes.
17309 (report-emacs-bug): Message fix.
17310
17311 * net/browse-url.el (browse-url-can-use-xdg-open)
17312 (browse-url-xdg-open): Doc fixes.
17313
17314 * electric.el (electric-indent-mode, electric-pair-mode)
17315 (electric-layout-rules, electric-layout-mode): Doc fixes.
17316 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17317
17318 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17319
17320 * server.el (server-unselect-display): Don't inadvertently kill
17321 the current buffer. (Bug#10729)
17322
17323 2012-02-08 Glenn Morris <rgm@gnu.org>
17324
17325 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17326 (sql-list-table): Doc fixes.
17327
17328 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17329 Comment out (does nothing).
17330
17331 * completion.el (dynamic-completion-mode):
17332 * dirtrack.el (dirtrack-debug-mode):
17333 * electric.el (electric-layout-mode):
17334 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17335 * face-remap.el (text-scale-mode, buffer-face-mode):
17336 * iimage.el (iimage-mode):
17337 * image-mode.el (image-transform-mode):
17338 * minibuffer.el (completion-in-region-mode):
17339 * scroll-lock.el (scroll-lock-mode):
17340 * simple.el (next-error-follow-minor-mode):
17341 * tar-mode.el (tar-subfile-mode):
17342 * tooltip.el (tooltip-mode):
17343 * vcursor.el (vcursor-use-vcursor-map):
17344 * wid-browse.el (widget-minor-mode):
17345 * emulation/tpu-edt.el (tpu-edt-mode):
17346 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17347 * international/iso-ascii.el (iso-ascii-mode):
17348 * language/thai-util.el (thai-word-mode):
17349 * mail/supercite.el (sc-minor-mode):
17350 * net/goto-addr.el (goto-address-mode):
17351 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17352 * progmodes/cwarn.el (cwarn-mode):
17353 * progmodes/flymake.el (flymake-mode):
17354 * progmodes/glasses.el (glasses-mode):
17355 * progmodes/hideshow.el (hs-minor-mode):
17356 * progmodes/pascal.el (pascal-outline-mode):
17357 * textmodes/enriched.el (enriched-mode):
17358 * vc/smerge-mode.el (smerge-mode):
17359 Doc fixes (minor mode argument).
17360
17361 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17362
17363 * ls-lisp.el (ls-lisp-sanitize): New function.
17364 (ls-lisp-insert-directory): Use it to fix or remove any elements
17365 in file-alist with missing attributes. (Bug#4673)
17366
17367 2012-02-07 Alan Mackenzie <acm@muc.de>
17368
17369 Fix spurious recognition of c-in-knr-argdecl.
17370
17371 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17372 putative K&R region.
17373
17374 2012-02-07 Alan Mackenzie <acm@muc.de>
17375
17376 * progmodes/cc-engine.el (c-forward-objc-directive):
17377 Prevent looping in "#pragma mark @implementation".
17378
17379 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17380
17381 * notifications.el (notifications-on-closed-signal): Make `reason'
17382 optional. (Bug#10744)
17383
17384 2012-02-07 Glenn Morris <rgm@gnu.org>
17385
17386 * emacs-lisp/easy-mmode.el (define-minor-mode):
17387 Doc fixes for the macro and the mode it defines.
17388
17389 * image.el (imagemagick-types-inhibit): Doc fix.
17390
17391 * cus-start.el (imagemagick-render-type): Add it.
17392
17393 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17394
17395 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17396 Set the default at load time, too, so that `font-lock-fontify-buffer'
17397 can be called without setting up the entire mode first. This fixes
17398 a bug in `mm-inline-text' with C MIME parts.
17399
17400 2012-02-06 Chong Yidong <cyd@gnu.org>
17401
17402 * simple.el (list-processes--refresh): Delete exited processes
17403 (Bug#8094).
17404
17405 * comint.el (comint-next-prompt): next-single-char-property-change
17406 and prev-single-char-property-change never return nil (Bug#8657).
17407
17408 * custom.el (defcustom): Doc fix (Bug#9711).
17409
17410 2012-02-05 Chong Yidong <cyd@gnu.org>
17411
17412 * cus-edit.el (custom-variable-reset-backup): Quote the value
17413 before storing it in the customized-value property (Bug#6712).
17414 (custom-display): Add a customization type tag.
17415 (custom-buffer-create-internal): Improve tooltip message.
17416
17417 * wid-edit.el (widget-field-value-get): New optional arg to
17418 suppress trailing whitespace truncation.
17419 (character): Use it (Bug#2689).
17420
17421 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17422
17423 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17424 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17425
17426 2012-02-05 Chong Yidong <cyd@gnu.org>
17427
17428 * cus-edit.el (custom-variable-value-create): For mismatched
17429 types, show the current value (Bug#7600).
17430
17431 * custom.el (defcustom): Doc fix.
17432
17433 2012-02-05 Glenn Morris <rgm@gnu.org>
17434
17435 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17436
17437 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17438
17439 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17440 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17441 (pp-last-sexp): Use `looking-at-p'.
17442
17443 2012-02-04 Glenn Morris <rgm@gnu.org>
17444
17445 * files.el (revert-buffer):
17446 Doc fix (mention revert-buffer-in-progress-p).
17447
17448 * emacs-lisp/ert-x.el (ert-simulate-command):
17449 Check deferred-action-list (which is obsolete) is bound.
17450
17451 * subr.el (with-wrapper-hook): Doc fixes.
17452
17453 * simple.el (filter-buffer-substring-functions)
17454 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17455
17456 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17457
17458 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17459 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17460
17461 2012-02-04 Leo Liu <sdl.web@gmail.com>
17462
17463 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17464
17465 2012-02-04 Glenn Morris <rgm@gnu.org>
17466
17467 * image.el (image-extension-data): Add obsolete alias.
17468
17469 * isearch.el (isearch-update): Doc fix.
17470
17471 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17472
17473 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17474
17475 2012-02-03 Glenn Morris <rgm@gnu.org>
17476
17477 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17478 (image-animate-timeout): Doc fix.
17479
17480 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17481
17482 2012-02-02 Glenn Morris <rgm@gnu.org>
17483
17484 * server.el (server-auth-dir): Doc fix.
17485 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17486
17487 * subr.el (run-mode-hooks): Doc fix.
17488
17489 2012-02-02 Juri Linkov <juri@jurta.org>
17490
17491 * image-mode.el (image-toggle-display-image): Remove tautological
17492 `major-mode' from the `derived-mode-p' test.
17493
17494 2012-02-02 Kenichi Handa <handa@m17n.org>
17495
17496 * composite.el (compose-region): Cancel previous change.
17497
17498 2012-02-02 Kenichi Handa <handa@m17n.org>
17499
17500 * composite.el (compose-region, compose-string): Signal error for
17501 a null string component (Bug#6988).
17502
17503 2012-02-01 Chong Yidong <cyd@gnu.org>
17504
17505 * view.el (view-buffer-other-window, view-buffer-other-frame):
17506 Handle special modes like view-buffer (Bug#10650).
17507 (view-buffer): Simplify.
17508
17509 * frame.el (set-frame-font): Tweak meaning of third argument.
17510
17511 * dynamic-setting.el (font-setting-change-default-font):
17512 Use set-frame-font (Bug#9982).
17513
17514 2012-02-01 Glenn Morris <rgm@gnu.org>
17515
17516 * progmodes/compile.el (compilation-internal-error-properties):
17517 Respect compilation-first-column in the "*compilation*" buffer.
17518
17519 * emacs-lisp/easy-mmode.el (define-minor-mode):
17520 Relax :variable's test for a named function.
17521
17522 2012-01-31 Alan Mackenzie <acm@muc.de>
17523
17524 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17525 off by one error.
17526
17527 2012-01-31 Chong Yidong <cyd@gnu.org>
17528
17529 * frame.el (set-frame-font): New arg ALL-FRAMES.
17530
17531 * menu-bar.el (menu-set-font): Use set-frame-font.
17532
17533 * faces.el (face-spec-reset-face): Don't apply unspecified
17534 attribute values to the default face.
17535
17536 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17537
17538 * progmodes/cwarn.el (cwarn): Remove dead link.
17539 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17540 Remove * from defcustom docstrings.
17541 (turn-on-cwarn-mode): Make obsolete.
17542 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17543 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17544
17545 2012-01-31 Glenn Morris <rgm@gnu.org>
17546
17547 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17548 Fix :variable handling of mode a symbol not equal to modefun.
17549 Allow named functions to be used as the cdr of :variable.
17550
17551 2012-01-30 Glenn Morris <rgm@gnu.org>
17552
17553 * emacs-lisp/authors.el (authors-fixed-entries):
17554 Remove reference to deleted file rnewspost.el.
17555
17556 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17557
17558 * window.el (window-with-parameter): Remove unused variable `windows'.
17559 (window--side-check): Remove unused variable `code'.
17560 (window--resize-siblings): Remove unused variable `first'.
17561 (adjust-window-trailing-edge): Remove unused variable `failed'.
17562 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17563 Use `let', not `let*'.
17564 (balance-windows-2): Remove unused variable `found'.
17565 (window--state-put-2): Remove unused variable `splits'.
17566 (window-state-put): Remove unused variable `selected'.
17567 (same-window-p): Use `string-match-p'.
17568 (display-buffer-assq-regexp): Remove unused variable `value'.
17569 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17570 Mark argument ALIST as ignored.
17571 (pop-to-buffer): Remove unused variable `old-window'.
17572
17573 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17574
17575 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17576 and .lzma compressed files.
17577
17578 2012-01-29 Chong Yidong <cyd@gnu.org>
17579
17580 * frame.el (window-system-default-frame-alist): Doc fix.
17581
17582 * dynamic-setting.el (font-setting-change-default-font): Don't
17583 change the default face if SET-FONT argument is non-nil (Bug#9982).
17584
17585 2012-01-29 Samuel Bronson <naesten@gmail.com>
17586
17587 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17588
17589 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17590
17591 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17592 breakpoints in files outside current directory (Bug#6098).
17593
17594 2012-01-29 Chong Yidong <cyd@gnu.org>
17595
17596 * progmodes/python.el: Require ansi-color at top-level.
17597
17598 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17599 Define and use in Emacs Lisp mode (Bug#9360).
17600 (lisp-mode-abbrev-table): Add doc.
17601 (lisp-mode-variables): Don't set local-abbrev-table.
17602 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17603
17604 2012-01-28 Roland Winkler <winkler@gnu.org>
17605
17606 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17607
17608 2012-01-28 Roland Winkler <winkler@gnu.org>
17609
17610 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17611 (bibtex-set-dialect): Use it. Either set global values of
17612 dialect-dependent variables or bind these variables buffer-locally
17613 (Bug#10254).
17614 (bibtex-mode): Call bibtex-set-dialect via
17615 hack-local-variables-hook.
17616 (bibtex-dialect): Update docstring.
17617 Add safe-local-variable predicate.
17618 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17619 bibtex-set-dialect.
17620 (bibtex-mode-map): Define menu for each dialect.
17621 (bibtex-entry): Fix docstring.
17622
17623 2012-01-28 Chong Yidong <cyd@gnu.org>
17624
17625 * eshell/esh-arg.el (eshell-quote-argument): New function.
17626
17627 * eshell/esh-ext.el (eshell-invoke-batch-file):
17628 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17629 first arg to eshell-parse-command (Bug#10523).
17630
17631 2012-01-28 Drew Adams <drew.adams@oracle.com>
17632
17633 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17634 `default-directory' is non-nil.
17635
17636 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17637
17638 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17639 line that displays system-configuration-options. (Bug#9924)
17640
17641 2012-01-28 Drew Adams <drew.adams@oracle.com>
17642
17643 * descr-text.el (describe-char): Show information about POS, in
17644 addition to information about the character at POS. Improve and
17645 update the doc string. Change "code point" to "code point in
17646 charset", to avoid confusion with the character's Unicode code
17647 point shown above that. (Bug#10129)
17648
17649 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17650
17651 * descr-text.el (describe-char): Show the raw character, not only
17652 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17653 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17654 for the reasons.
17655
17656 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17657
17658 * emacs-lisp/package.el (package-install):
17659 Run package-refresh-contents if there is no archive yet (Bug#9798).
17660
17661 2012-01-28 Chong Yidong <cyd@gnu.org>
17662
17663 * emacs-lisp/package.el (package-maybe-load-descriptor):
17664 New function, split from package-maybe-load-descriptor.
17665 (package-maybe-load-descriptor): Use it.
17666 (package-download-transaction): Fully load required packages
17667 inside the loop, so that `require' calls work (Bug#10593).
17668 (package-install): No need to call package-initialize now.
17669
17670 2012-01-28 Chong Yidong <cyd@gnu.org>
17671
17672 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17673
17674 * tooltip.el (tooltip-mode): Doc fix.
17675 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17676
17677 * frame.el (set-cursor-color): Doc fix (Bug#352).
17678
17679 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17680 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17681
17682 * cus-edit.el (custom-buffer-create-internal): Fix search button
17683 action (Bug#10542).
17684 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17685
17686 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17687
17688 * dired.el (dired-mark-files-regexp):
17689 Include any subdirectory components. (Bug#10445)
17690
17691 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17692
17693 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17694 Handle [host]:port syntax. (Bug#10533)
17695
17696 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17697
17698 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17699
17700 2012-01-26 Glenn Morris <rgm@gnu.org>
17701
17702 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17703 * term.el (term-raw-escape-map): Use Control-X-prefix.
17704 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17705
17706 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17707
17708 * window.el (window-state-get, window--state-get-1): Don't deal
17709 with fixed-sizeness of windows. Simplify code.
17710
17711 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17712
17713 * window.el (window--state-get-1, window--state-put-2):
17714 Don't save and restore the mark.
17715
17716 2012-01-25 Chong Yidong <cyd@gnu.org>
17717
17718 * custom.el (custom-variable-p): Doc fix.
17719
17720 2012-01-25 Glenn Morris <rgm@gnu.org>
17721
17722 * dired.el (dired-goto-file): Handle some of the more common
17723 characters that `ls -b' escapes. (Bug#10596)
17724
17725 * progmodes/compile.el (compilation-next-error-function):
17726 Respect compilation-first-column in the "*compilation*" buffer.
17727 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17728
17729 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17730
17731 2012-01-24 Glenn Morris <rgm@gnu.org>
17732
17733 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17734
17735 2012-01-24 Julien Danjou <julien@danjou.info>
17736
17737 * color.el (color-rgb-to-hsl): Fix value computing.
17738 (color-hue-to-rgb): New function.
17739 (color-hsl-to-rgb): New function.
17740 (color-clamp, color-saturate-hsl, color-saturate-name)
17741 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17742 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17743
17744 2012-01-24 Glenn Morris <rgm@gnu.org>
17745
17746 * vc/vc-rcs.el (vc-rcs-create-tag):
17747 * vc/vc-sccs.el (vc-sccs-create-tag):
17748 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17749
17750 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17751
17752 * eshell/esh-util.el (eshell-read-hosts-file):
17753 Skip comment lines. (Bug#10549)
17754
17755 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17756
17757 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17758
17759 * subr.el (display-delayed-warnings): Doc fix.
17760 (collapse-delayed-warnings): New function to collapse identical
17761 adjacent warnings.
17762 (delayed-warnings-hook): Add it.
17763
17764 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17765
17766 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17767
17768 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17769 (tramp-default-user-alist): Don't add "pscp".
17770 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17771 property "login-as", if set. (Bug#10530)
17772
17773 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17774
17775 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17776 "plink1" and "psftp". (Bug#10530)
17777
17778 2012-01-21 Kenichi Handa <handa@m17n.org>
17779
17780 * international/mule-cmds.el (prefer-coding-system): Show a
17781 warning message if the default value of file-name-coding-system
17782 was not changed.
17783
17784 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17785
17786 * windmove.el (windmove-reference-loc):
17787 Fix windmove-reference-loc miscalculation.
17788
17789 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17790
17791 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17792 default unit.
17793
17794 2012-01-21 Glenn Morris <rgm@gnu.org>
17795
17796 * international/mule.el (auto-coding-alist): Add .tbz.
17797
17798 * files.el (local-enable-local-variables): Doc fix.
17799 (inhibit-local-variables-regexps): Rename from
17800 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17801 Doc fix. Add some extensions from auto-coding-alist.
17802 (inhibit-local-variables-suffixes):
17803 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17804 (inhibit-local-variables-p):
17805 New function, extracted from set-auto-mode-1.
17806 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17807 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17808 (hack-local-variables): Doc fix. Make the mode-only case
17809 respect enable-local-variables and friends.
17810 Respect inhibit-local-variables-regexps for file-locals, but
17811 not for directory-locals.
17812 (set-visited-file-name):
17813 Take account of inhibit-local-variables-regexps.
17814 Whether it applies may change as the file name is changed.
17815 * jka-cmpr-hook.el (jka-compr-install):
17816 * jka-compr.el (jka-compr-uninstall):
17817 Update for inhibit-first-line-modes-suffixes name change.
17818
17819 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17820
17821 * help-macro.el (make-help-screen): Temporarily restore original
17822 binding for minor-mode-map-alist (Bug#10454).
17823
17824 2012-01-19 Julien Danjou <julien@danjou.info>
17825
17826 * color.el (color-name-to-rgb): Use the white color to find the max
17827 color component value and return correctly computed values.
17828 (color-name-to-rgb): Add missing float conversion for max value.
17829
17830 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17831
17832 * window.el (window--state-get-1, window-state-get): Do not use
17833 special state value for window-persistent-parameters.
17834 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17835 (window--state-put-2): Reset all window parameters to nil before
17836 assigning values of persistent parameters.
17837
17838 2012-01-18 Alan Mackenzie <acm@muc.de>
17839
17840 Eliminate sluggishness and hangs in fontification of "semicolon
17841 deserts".
17842
17843 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17844 Change value 10000 -> 3000.
17845 (c-state-safe-place): Reformulate so it doesn't stack up an
17846 infinite number of wrong entries in c-state-nonlit-pos-cache.
17847 (c-determine-limit-get-base, c-determine-limit): New functions to
17848 determine backward search limits disregarding literals.
17849 (c-find-decl-spots): Amend commenting.
17850 (c-cheap-inside-bracelist-p): New function which detects "={".
17851
17852 * progmodes/cc-fonts.el
17853 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17854 backward search.
17855 (c-font-lock-declarations): Fix an occurrence of point being
17856 undefined. Check additionally for point being in a bracelist or
17857 near a macro invocation without a semicolon so as to avoid a
17858 fruitless time consuming search for a declarator. Give a more
17859 precise search limit for declarators using the new
17860 c-determine-limit.
17861
17862 2012-01-18 Glenn Morris <rgm@gnu.org>
17863
17864 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17865 (set-auto-mode): Doc fixes.
17866
17867 2012-01-17 Glenn Morris <rgm@gnu.org>
17868
17869 * isearch.el (search-nonincremental-instead): Fix doc typo.
17870
17871 * dired.el (dired-insert-directory): Handle newlines in directory name.
17872 (dired-build-subdir-alist): Unescape newlines in directory name.
17873
17874 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17875
17876 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17877 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17878 (tramp-action-terminal): Use it. (Bug#10530)
17879
17880 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17881
17882 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17883
17884 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17885
17886 * window.el (window-state-ignored-parameters): Remove variable.
17887 (window--state-get-1): Rename argument MARKERS to IGNORE.
17888 Handle persistent window parameters. Make copy of clone-of
17889 parameter only if requested. (Bug#10348)
17890 (window--state-put-2): Install a window parameter only if it has
17891 a non-nil value or an existing parameter shall be overwritten.
17892
17893 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17894
17895 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17896
17897 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17898
17899 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17900 don't pass the (nil) value of `upnode' to string-match.
17901
17902 2012-01-14 Chong Yidong <cyd@gnu.org>
17903
17904 * startup.el (command-line): Fix X resource class for cursorColor.
17905 Fix values recognized by the cursorBlink resource.
17906
17907 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17908
17909 * epg.el (epg--make-temp-file): Avoid permission race condition
17910 when running on old Emacs versions (bug#10403).
17911
17912 2012-01-14 Glenn Morris <rgm@gnu.org>
17913
17914 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17915
17916 2012-01-13 Alan Mackenzie <acm@muc.de>
17917
17918 Fix filling for when filladapt mode is enabled.
17919
17920 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17921 c-mask-paragraph, pass in `fill-paragraph' rather than
17922 `fill-region-as-paragraph'. (This is a reversion of a previous
17923 change.)
17924 * progmodes/cc-mode.el (c-basic-common-init):
17925 Make fill-paragraph-handle-comment buffer local and set it to nil.
17926
17927 2012-01-13 Glenn Morris <rgm@gnu.org>
17928
17929 * dired.el (dired-switches-escape-p): New function.
17930 (dired-insert-directory): Use dired-switches-escape-p.
17931 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17932
17933 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17934
17935 2012-01-12 Glenn Morris <rgm@gnu.org>
17936
17937 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17938 changes in adaptive-fill-regexp. (Bug#10276)
17939
17940 2012-01-11 Alan Mackenzie <acm@muc.de>
17941
17942 Fix Emacs bug #10463 - put `widen's around the critical spots.
17943
17944 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17945 widen around each invocation of c-state-pp-to-literal. Remove an
17946 unused let variable.
17947
17948 2012-01-11 Glenn Morris <rgm@gnu.org>
17949
17950 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17951 Doc fix.
17952
17953 2012-01-10 Chong Yidong <cyd@gnu.org>
17954
17955 * net/network-stream.el (network-stream-open-starttls):
17956 Avoid emitting a confusing error message when the server gives a bad
17957 response to the capability command.
17958
17959 2012-01-10 Glenn Morris <rgm@gnu.org>
17960
17961 * mail/unrmail.el (unrmail): Tweak previous change.
17962
17963 2012-01-09 Chong Yidong <cyd@gnu.org>
17964
17965 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17966
17967 2012-01-08 Alan Mackenzie <acm@muc.de>
17968
17969 Optimize font locking in long enum definitions.
17970
17971 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17972 arm to a cond form to handle enums.
17973 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17974 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17975
17976 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17977
17978 * files.el (move-file-to-trash): Preserve default file modes on error.
17979 (Bug#10401)
17980
17981 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17982
17983 * faces.el (set-face-attribute): Clarify the meaning of the nil
17984 frame (bug#10294).
17985
17986 * subr.el (with-selected-frame): Mention that the selected frame
17987 is restored (bug#9980).
17988
17989 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17990 (bug#9759).
17991
17992 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17993 (password-read): Don't autoload unused function.
17994
17995 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17996
17997 * progmodes/which-func.el (which-func-mode): Turn into a
17998 non-interactive function and mark as obsolete (bug#10428).
17999
18000 2012-01-06 Chong Yidong <cyd@gnu.org>
18001
18002 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
18003 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
18004 functions, along with 1 and -1.
18005
18006 2012-01-06 Eli Zaretskii <eliz@gnu.org>
18007
18008 * time.el (display-time-load-average)
18009 (display-time-default-load-average): Doc fixes. See the thread
18010 starting at
18011 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
18012 for the details.
18013
18014 2012-01-06 Glenn Morris <rgm@gnu.org>
18015
18016 * mail/unrmail.el (unrmail): Give an explicit error if the input file
18017 has no messages. (Bug#10377)
18018
18019 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
18020 than Info-edit. (Bug#10385)
18021
18022 * time.el (display-time-load-average, display-time-next-load-average):
18023 Doc fixes.
18024
18025 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
18026 local setting of buffer-read-only to the input buffer. (Bug#10419)
18027
18028 * calendar/calendar.el (calendar-mode):
18029 Locally set scroll-margin to 0. (Bug#10379)
18030
18031 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
18032
18033 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
18034
18035 2012-01-05 Glenn Morris <rgm@gnu.org>
18036
18037 * eshell/em-unix.el (diff-no-select): Autoload it.
18038 (eshell/diff): Use diff-no-select. (Bug#10420)
18039
18040 2012-01-05 Chong Yidong <cyd@gnu.org>
18041
18042 * shell.el (shell-dynamic-complete-functions): Revert last change.
18043 (shell-command-completion-function): New function.
18044 (shell-completion-vars): Use it to implement
18045 shell-completion-execonly (Bug#10417).
18046
18047 * custom.el (enable-theme): Don't set custom-safe-themes.
18048
18049 * cus-theme.el (custom-theme-merge-theme):
18050 Ignore custom-enabled-themes and custom-safe-themes.
18051
18052 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
18053
18054 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
18055 first prompt in `sql-interacive-mode'.
18056 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
18057 keywords.
18058 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
18059 (sql-product-interactive): Bug fix: Set `sql-buffer' in
18060 context of original buffer. Invoke `sql-login-hook'.
18061
18062 2012-01-04 Eli Zaretskii <eliz@gnu.org>
18063
18064 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
18065 letters in cite-prefix.
18066
18067 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18068
18069 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
18070
18071 2012-01-03 Chong Yidong <cyd@gnu.org>
18072
18073 * shell.el (shell-dynamic-complete-functions):
18074 Put pcomplete-completions-at-point, so as to try
18075 comint-filename-completion first (Bug#10417).
18076
18077 2012-01-02 Richard Stallman <rms@gnu.org>
18078
18079 * battery.el (battery-status-function):
18080 Detect when to use battery-yeeloong-sysfs.
18081 (battery-echo-area-format): Add string for Yeeloong.
18082 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
18083 (battery-yeeloong-sysfs): New function.
18084
18085 2012-01-02 Chong Yidong <cyd@gnu.org>
18086
18087 * dirtrack.el (dirtrack-list): Eliminate unused third element.
18088 (dirtrack): Merge code for handling relative filenames in prompt
18089 from shell-dir-cookie-watcher.
18090 (dirtrack-debug-message): New arg to avoid excess format calls.
18091
18092 * shell.el (shell-dir-cookie-re): Variable deleted.
18093 (shell-dir-cookie-watcher): Function deleted.
18094 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
18095 with dirtrack-mode.
18096
18097 2012-01-01 Eli Zaretskii <eliz@gnu.org>
18098
18099 * term/w32-win.el (dynamic-library-alist) <gnutls>:
18100 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18101 libgnutls-26.dll.
18102
18103 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
18104
18105 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18106
18107 2011-12-31 Eli Zaretskii <eliz@gnu.org>
18108
18109 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18110 headers of non-MIME messages, when rmail-enable-mime is non-nil.
18111
18112 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
18113
18114 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18115 also for alternative shells.
18116 (tramp-open-connection-setup-interactive-shell): Check, whether
18117 the shell is a busybox.
18118 (tramp-send-command): Don't suppress multiple prompts for
18119 busyboxes, it hurts.
18120
18121 2011-12-28 Chong Yidong <cyd@gnu.org>
18122
18123 * progmodes/gdb-mi.el (gdb-get-source-file-list)
18124 (gdb-get-source-file): Move mode line update to
18125 gdb-get-source-file (Bug#10087).
18126
18127 2011-12-25 Chong Yidong <cyd@gnu.org>
18128
18129 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18130 gud-gdb-marker-filter without taking it as an argument.
18131 (gud-gdb-run-command-fetch-lines): Caller changed.
18132 (gud-gdb-completion-function): New variable.
18133 (gud-gdb-completion-at-point): Use it.
18134 (gud-gdb-completions-1): Split from gud-gdb-completions.
18135
18136 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18137 function as separate arguments.
18138 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
18139 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18140 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18141 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18142 (gdb-stopped, def-gdb-auto-update-trigger)
18143 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18144 (gdb-get-changed-registers, gdb-get-main-selected-frame):
18145 Callers changed.
18146 (gud-gdbmi-completions): New function.
18147 (gdb): Use it for generating the completion table.
18148
18149 2011-12-24 Alan Mackenzie <acm@muc.de>
18150
18151 Introduce a mechanism to widen the region used in context font
18152 locking. Use this to protect declarations from losing their contexts.
18153
18154 * progmodes/cc-langs.el (c-before-font-lock-functions):
18155 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18156 (c-before-context-fontification-functions): New defvar, a list of
18157 functions to be run just before context (etc.) font locking.
18158
18159 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18160 New, functionality extracted from
18161 c-neutralize-syntax-in-and-mark-CPP.
18162 (c-in-after-change-fontification): New variable.
18163 (c-after-change): Set c-in-after-change-fontification.
18164 (c-set-fl-decl-start): Rejig its interface, so it can be called
18165 from both after-change and context fontifying.
18166 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18167 New functions.
18168 (c-standard-font-lock-fontify-region-function): New variable.
18169 (c-font-lock-fontify-region): New function.
18170
18171 2011-12-24 Juri Linkov <juri@jurta.org>
18172
18173 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18174 (Bug#10348)
18175
18176 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18177
18178 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18179 existence of source file. (Bug#10325)
18180
18181 2011-12-23 Alan Mackenzie <acm@muc.de>
18182
18183 Fix unstable fontification inside templates.
18184
18185 * progmodes/cc-langs.el (c-before-font-lock-functions):
18186 Newly created from the singular version. The (c c++ objc) entry now
18187 additionally has c-set-fl-decl-start. The other languages (apart
18188 from AWK) have that as a single entry.
18189
18190 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18191 The functionality for "local" declarations has been extracted to
18192 c-set-fl-decl-start.
18193
18194 * progmodes/cc-mode.el (c-common-init, c-after-change):
18195 Changes due to pluralisation of c-before-font-lock-functions.
18196 (c-set-fl-decl-start): New function, extracted from
18197 c-font-lock-enclosing-decls and enhanced.
18198
18199 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18200
18201 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18202
18203 2011-12-22 Juri Linkov <juri@jurta.org>
18204
18205 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18206
18207 2011-12-22 Chong Yidong <cyd@gnu.org>
18208
18209 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18210
18211 2011-12-21 Drew Adams <drew.adams@oracle.com>
18212
18213 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18214
18215 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18216
18217 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18218
18219 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18220
18221 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18222 highlighting and support. Fix up comments for capitalization.
18223 (cfengine-mode-debug): New var.
18224 (cfengine3-mode): Change the modeline indicator to "CFE3".
18225 (cfengine3-font-lock-keywords): Improve defun highlighting.
18226 (cfengine2-actions): Rename from `cfengine-actions'.
18227 (cfengine2-font-lock-keywords): Rename from
18228 `cfengine-font-lock-keywords'.
18229 (cfengine2-imenu-expression): Rename from
18230 `cfengine-imenu-expression'.
18231 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18232 (cfengine2-beginning-of-defun): Rename from
18233 `cfengine-beginning-of-defun'.
18234 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18235 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18236 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18237 modeline indicator to "CFE2".
18238 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18239 (cfengine-mode-abbrevs): Mark obsolete.
18240
18241 2011-12-21 Chong Yidong <cyd@gnu.org>
18242
18243 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18244 filename argument.
18245
18246 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18247
18248 * window.el (window-normalize-buffer-to-display): Remove.
18249 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18250
18251 2011-12-19 Chong Yidong <cyd@gnu.org>
18252
18253 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18254 Don't signal an error in a predicate function; return non-nil.
18255 (vc-dir-mark-file): Move the error here.
18256 (vc-dir-mark-unmark): If acting on the region, keep going if one
18257 of the entries cannot be marked/unmarked.
18258 (vc-dir-mark-all-files): If current entry is a directory, mark
18259 only child files, as documented.
18260
18261 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
18262
18263 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18264 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18265 addition.
18266
18267 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18268
18269 * term/ns-win.el (ns-get-selection-internal)
18270 (ns-store-selection-internal): Declare.
18271 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18272 Declare as obsolete.
18273 (ns-get-pasteboard, ns-paste-secondary):
18274 Use ns-get-selection-internal.
18275 (ns-set-pasteboard, ns-copy-including-secondary):
18276 Use ns-store-selection-internal.
18277
18278 2011-12-17 Chong Yidong <cyd@gnu.org>
18279
18280 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18281 (vc-deduce-fileset): Doc fix.
18282
18283 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18284
18285 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18286
18287 2011-12-13 Sam Steingold <sds@gnu.org>
18288
18289 * man.el (Man-getpage-in-background): When running under a
18290 window-system, ignore $MANWIDTH and $COLUMNS.
18291
18292 2011-12-15 Kenichi Handa <handa@m17n.org>
18293
18294 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18295 (setup-ethiopic-environment-internal): Comment out key-binding for
18296 ethio-toggle-punctuation.
18297
18298 2011-12-13 Alan Mackenzie <acm@muc.de>
18299
18300 Add the switch statement to AWK Mode.
18301
18302 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18303 "default" to the keywords regexp.
18304
18305 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18306 expression as the rest.
18307 (c-nonlabel-token-key): Allow string literals for AWK.
18308 Refactor for the other modes.
18309
18310 Large brace-block initialisation makes CC Mode slow: Fix.
18311 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18312 routines. Limit backward searching in c-font-lock-enclosing.decl.
18313
18314 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18315 pp-state and literal type in addition to the limits.
18316 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18317 (c-state-literal-at): Use the above new defun.
18318 (c-slow-in-literal, c-fast-in-literal): Remove.
18319 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18320
18321 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18322 being in a literal. Add a limit for backward searching.
18323
18324 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18325 c-slow-in-literal.
18326
18327 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18328
18329 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18330
18331 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18332
18333 * window.el (delete-other-windows): Use correct frame in call to
18334 window-with-parameter.
18335
18336 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18337
18338 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18339 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18340 (makefile-gmake-statements, makefile-makepp-statements):
18341 Use it and add new makepp keywords.
18342 (makefile-makepp-font-lock-keywords): Add new patterns.
18343 (makefile-match-function-end): Match new [...] and [[...]].
18344
18345 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18346
18347 * ses.el (ses-call-printer-return, ses-cell-property-get)
18348 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18349 (ses-create-cell-variable, ses-reset-header-string)
18350 (ses-cell-set-formula, ses-repair-cell-reference-all)
18351 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18352 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18353 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18354 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18355 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18356 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18357 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18358 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18359 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18360 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18361 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18362 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18363
18364 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
18365
18366 * ses.el: The overall change is to add cell renaming, that is
18367 setting fancy names for cell symbols other than name matching
18368 "\\`[A-Z]+[0-9]+\\'" regexp .
18369 (ses-create-cell-variable): New defun.
18370 (ses-relocate-formula): Relocate formulas only for cells the
18371 symbols of which are not renamed, i.e. symbols whose names do not
18372 match regexp "\\`[A-Z]+[0-9]+\\'".
18373 (ses-relocate-all): Relocate values only for cells the symbols of
18374 which are not renamed.
18375 (ses-load): Create cells variables as the (ses-cell ...) are read,
18376 in order to check row col consistency with cell symbol name only
18377 for cells that are not renamed.
18378 (ses-replace-name-in-formula): New defun.
18379 (ses-rename-cell): New defun.
18380
18381 2011-12-11 Chong Yidong <cyd@gnu.org>
18382
18383 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18384 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18385
18386 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18387
18388 * window.el (other-window): Fix docstring.
18389
18390 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18391
18392 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18393 `from' or `to' address before taking its substring.
18394 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18395 encoded name is chopped in the middle of the encoded string, and
18396 thus displayed encoded.
18397
18398 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18399
18400 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18401
18402 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18403
18404 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18405 to use texinfo-update-node and commands that call it if the
18406 Texinfo file uses @node lines without next/prev/up pointers.
18407 Correct outdated description about texinfo-master-menu.
18408 (texinfo-all-menus-update, texinfo-master-menu)
18409 (texinfo-update-node, texinfo-every-node-update)
18410 (texinfo-multiple-files-update): Doc fix. Warn against updating
18411 all the @node lines.
18412 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18413 argument is numeric. Explain better in the doc string what the
18414 function really does.
18415 (texinfo-insert-master-menu-list): Improve the error message
18416 displayed if there's no menu in the Top node.
18417 (Bug#2975) See also this thread:
18418 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18419
18420 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
18421
18422 * speedbar.el (speedbar-supported-extension-expressions):
18423 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18424
18425 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18426
18427 * printing.el (pr-mode-alist):
18428 * simple.el (filter-buffer-substring-functions)
18429 (completion-list-insert-choice-function):
18430 * window.el (window-with-parameter, window-atom-root)
18431 (window-sides-slots, window-size-fixed, window-min-delta)
18432 (window-max-delta, window--resize-mini-window)
18433 (window--resize-child-windows-normal, window-tree)
18434 (delete-other-windows, quit-window, split-window)
18435 (display-buffer-record-window, special-display-buffer-names)
18436 (special-display-regexps, special-display-popup-frame)
18437 (same-window-p, split-window-sensibly)
18438 (display-buffer-overriding-action, display-buffer-alist)
18439 (display-buffer-base-action, display-buffer, switch-to-buffer)
18440 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18441 (fit-window-to-buffer, recenter-positions)
18442 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18443 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18444 and remove unneeded backslashes in docstrings.
18445
18446 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18447
18448 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18449
18450 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18451 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18452 end in ".mk".
18453 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18454 when reading the makefile (bug#10116).
18455
18456 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18457
18458 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18459 (bug#10116).
18460
18461 2011-12-06 Glenn Morris <rgm@gnu.org>
18462
18463 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18464
18465 2011-12-06 Chong Yidong <cyd@gnu.org>
18466
18467 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18468
18469 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18470
18471 * textmodes/table.el (table-shorten-cell): Fix typo.
18472
18473 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18474
18475 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18476
18477 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18478
18479 * descr-text.el (describe-char): Fix display of strong
18480 right-to-left characters and directional embeddings and overrides.
18481
18482 * simple.el (what-cursor-position): Fix display of codepoints of
18483 strong right-to-left characters.
18484
18485 2011-12-05 Chong Yidong <cyd@gnu.org>
18486
18487 * faces.el (read-color): Doc fix.
18488
18489 2011-12-05 Glenn Morris <rgm@gnu.org>
18490
18491 * align.el (align--set-marker): Add doc-string.
18492 Don't try to move something that is not a marker. (Bug#10216)
18493
18494 2011-12-04 Glenn Morris <rgm@gnu.org>
18495
18496 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18497 overly zealous deletion of trailing whitespace.
18498
18499 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18500
18501 * server.el (server-delete-client): On Windows, do not try to delete
18502 the only terminal.
18503 (server-process-filter): On Windows, treat requests for a tty frame as
18504 if they were for a GUI frame if the running server is in GUI mode.
18505
18506 2011-12-03 Glenn Morris <rgm@gnu.org>
18507
18508 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18509
18510 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18511
18512 * electric.el: Streamline electric-indent's hook.
18513 (electric-indent-chars): Revert to simple list.
18514 (electric-indent-functions): New var.
18515 (electric-indent-post-self-insert-function): Use it.
18516
18517 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18518 there's no inferior buffer (bug#10196).
18519 (prolog-consult-compile): Don't use toggle-read-only.
18520
18521 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18522
18523 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18524 interrupt. (Bug#10187)
18525
18526 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18527
18528 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18529 (bug#9160).
18530
18531 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18532 (bug#10191).
18533
18534 2011-12-02 Juri Linkov <juri@jurta.org>
18535
18536 * info.el (Info-search): Display "end of manual" when Isearch
18537 reaches the end of single-file Info manual. (Bug#9918)
18538
18539 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18540
18541 * isearch.el (isearch-message-prefix): Run the input method part
18542 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18543
18544 2011-12-02 Juri Linkov <juri@jurta.org>
18545
18546 * isearch.el (isearch-occur): Use `word-search-regexp' for
18547 `isearch-word'.
18548 (isearch-search-and-update): Add condition for `isearch-word' and
18549 call `word-search-regexp'. (Bug#10145)
18550
18551 2011-12-01 Glenn Morris <rgm@gnu.org>
18552
18553 * eshell/em-hist.el (eshell-hist-initialize):
18554 Handle eshell-history-size nil and HISTSIZE set or unset.
18555 (eshell-history-file-name, eshell-history-size): Fix custom type.
18556
18557 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18558
18559 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18560
18561 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18562
18563 * progmodes/verilog-mode.el (verilog-pretty-expr):
18564 Rework verilog-pretty-expr to handle new assignment operators in system
18565 verilog, such as += *= and the like.
18566 (verilog-assignment-operator-re): Regular expression to find the
18567 assigment operator in a verilog assignment.
18568 (verilog-assignment-operation-re): Regular expression to find an
18569 assignment statement for pretty-expr.
18570 (verilog-in-attribute-p): Query returns true if point is in an
18571 attribute context; used to skip these for expression line up from
18572 pretty-expr.
18573 (verilog-in-parameter-p): Query returns true if point is in an
18574 parameter definition context; used to skip these for expression
18575 line up from pretty-expr.
18576 (verilog-in-parenthesis-p): Query returns true if point is in a
18577 parenthetical expression, specifically ( ) but not [ ] or { };
18578 used by pretty-expr.
18579 (verilog-just-one-space): If there is no space, don't add one.
18580 (verilog-get-lineup-indent-2): Specifically skip just attribute
18581 contexts for expression lineup, rather than skipping all
18582 parenthetical expressions.
18583 (verilog-calculate-indent): Fix comment, and fix indent.
18584 (verilog-do-indent): Indent declarations in lists (suggested by
18585 Joachim Lechner).
18586 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18587 skeleton items.
18588 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18589 by Alain Mellan).
18590
18591 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18592
18593 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18594 parameters with embedded comments. Reported by Ray Stevens.
18595 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18596 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18597 Reported by Tim Holt.
18598 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18599 instantiated by upper module causing wrong expansion until AUTOed a
18600 second time. Reported by K C Buckenmaier.
18601 (verilog-diff-auto): Fix showing .* as a difference when
18602 `verilog-auto-star-save' off. Reported by Dan Dever.
18603 (verilog-auto-reset, verilog-read-always-signals)
18604 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18605 temporary signals in reset list if
18606 verilog-auto-reset-blocking-in-non is nil, and match assignment
18607 style to each signal's assignment type, bug381.
18608 Reported by Thomas Esposito.
18609 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18610 (verilog-uvm-statement-re): Support UVM indentation and
18611 highlighting, with old OVM keywords only.
18612 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18613 Support AUTOTIEOFF creating non-wire data types.
18614 Suggested by Jonathan Greenlaw.
18615 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18616 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18617 (verilog-inject-sense, verilog-read-inst-pins)
18618 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18619 Fix mismatching parenthesis inside commented out code when deleting
18620 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18621 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18622 non-numeric vector width. Reported by Alex Reed.
18623 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18624 detecting signals with parameter widths. Reported by Alex Reed.
18625 (verilog-auto-delete-trailing-whitespace):
18626 With `verilog-auto-delete-trailing-whitespace' remove trailing
18627 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18628 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18629 Fix verilog-scan-cache corruption when running user AUTO expansion
18630 hooks that call indentation routines.
18631 (verilog-simplify-range-expression): Fix typo ignoring lower case
18632 identifiers.
18633 (verilog-delete-auto): Fix delete-autos to also remove user created
18634 automatics, as long as they start with AUTO.
18635 (verilog-batch-diff-auto, verilog-diff-auto)
18636 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18637 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18638 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18639 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18640 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18641 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18642 is disabled and its cache will get corrupt, causing AUTOS not to
18643 expand. Instead use only -quick functions.
18644 (verilog-scan-region): Fix scanning over escaped quotes.
18645 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18646 (verilog-re-search-backward-quick)
18647 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18648 related functions now ignore strings, to fix misparsing of strings
18649 with magic comments embedded in them.
18650 (verilog-read-auto-template):
18651 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18652 Reported by Brad Dobbie.
18653 (verilog-read-auto-template):
18654 Fix 'verilog-auto-inst-template-numbers' with comments.
18655 Reported by Brad Dobbie.
18656 (verilog-auto-inst, verilog-auto-inst-param)
18657 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18658 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18659 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18660 debugging templates without merge conflicts, bug357.
18661 Reported by Brad Dobbie.
18662 (verilog-read-auto-template):
18663 Fix verilog-auto-inst-template-numbers with multiple templates.
18664 Reported by Brad Dobbie.
18665 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18666 abbrevs so user won't be asked to save.
18667 (verilog-read-auto-lisp-present): Fix to start at beginning of
18668 buffer in case called outside of verilog-auto.
18669 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18670 to "X-2". Reported by Matthew Myers.
18671 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18672 all inputs from module templates. Reported by Leith Johnson.
18673 (verilog-module-inside-filename-p): Fix locating programs as with
18674 modules.
18675 (verilog-auto-inst-port): Fix vl-width expressions when using
18676 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18677 (verilog-decls-get-regs, verilog-decls-get-signals,
18678 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18679 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18680 verilog-read-decls): Combine reg and wire structures into one var
18681 structure to represent SystemVerilog concepts.
18682 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18683 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18684 (verilog-auto-wire-type, verilog-insert-definition):
18685 Add verilog-auto-wire-type and AUTOLOGIC to support using
18686 SystemVerilog "logic" keyword instead of "wire"/"reg".
18687 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18688 to declares outputs that also have assignments (presumably in an
18689 ifdef or generate if so there's not a driver conflict).
18690 Reported by Matthew Myers.
18691 (verilog-auto-declare-nettype, verilog-insert-definition):
18692 Add verilog-auto-declare-nettype to fix declarations using
18693 `default_nettype none. Reported by Julian Gorfajn.
18694 (verilog-read-always-signals-recurse, verilog-read-decls)
18695 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18696 malformed end statement, bug325. Reported by Joshua Wise and
18697 Andrew Drake.
18698 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18699 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18700 when expanding .* in interfaces, bug320.
18701 Reported by Pierre-David Pfister.
18702 (verilog-read-module-name): Fix import statements between module
18703 name and open parenthesis, bug317.
18704 Reported by Pierre-David Pfister.
18705 (verilog-simplify-range-expression): Fix simplification of
18706 multiplications inside AUTOWIRE connections, bug303.
18707 (verilog-auto-inst-port): Support parameter expansion in
18708 multidimensional arrays.
18709 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18710 after "assert property". Reported by Julian Gorfajn.
18711 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18712 with multiplication, bug303.
18713 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18714 Reported by Jan Frode Lonnum.
18715
18716 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18717
18718 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18719 (hfy-shell-file-name, hfy-shell):
18720 * international/fontset.el (x-decompose-font-name): Fix typos.
18721
18722 2011-11-29 Ken Brown <kbrown@cornell.edu>
18723
18724 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18725 (gdb-version): Remove defvar.
18726 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18727 (gdb-gud-context-command, gdb-non-stop-handler)
18728 (gdb-current-context-command, gdb-stopped): Use it.
18729 (gdb-init-1): Enable pretty printing here.
18730 (gdb-non-stop-handler): Don't enable pretty-printing here.
18731 Check to see if the target supports non-stop mode; if not, turn off
18732 non-stop mode. Use the following.
18733 (gdb-check-target-async): New defun.
18734 (gud-watch, gdb-stopped): Fix whitespace.
18735 (gdb-get-source-file): Don't try to display the source file if
18736 `gdb-main-file' is nil.
18737
18738 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18739
18740 * align.el: Try to generate fewer markers (bug#10047).
18741 (align--set-marker): New macro.
18742 (align-region): Use it.
18743
18744 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18745
18746 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18747
18748 2011-11-29 Chong Yidong <cyd@gnu.org>
18749
18750 * indent.el (indent-for-tab-command, indent-according-to-mode):
18751 Doc fix.
18752 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18753
18754 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18755
18756 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18757 aware of remote file names. (Bug#10124)
18758
18759 2011-11-29 Chong Yidong <cyd@gnu.org>
18760
18761 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18762
18763 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18764
18765 * files.el (find-file): Don't use force-same-window (bug#10144).
18766 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18767 use pop-to-buffer if the selected window can't be used.
18768 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18769
18770 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18771
18772 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18773 special-mode-map.
18774
18775 2011-11-28 Chong Yidong <cyd@gnu.org>
18776
18777 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18778
18779 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18780
18781 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18782 gdb-get-source-file-list on gdb-create-source-file-list.
18783
18784 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18785
18786 * whitespace.el (whitespace-newline): Use a different foreground
18787 color for 16-color light-background displays.
18788
18789 2011-11-24 Chong Yidong <cyd@gnu.org>
18790
18791 * window.el (display-buffer--special-action): Doc fix.
18792
18793 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18794
18795 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18796 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18797 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18798 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18799 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18800 (avl-tree-stack-first):
18801 * emacs-lisp/cconv.el (cconv--analyse-use):
18802 * net/gnutls.el (gnutls-negotiate): Fix typos.
18803
18804 2011-11-24 Glenn Morris <rgm@gnu.org>
18805
18806 * lpr.el (lpr-windows-system, lpr-lp-system):
18807 * mail/binhex.el (binhex-begin-line):
18808 * progmodes/grep.el (grep-history, grep-find-history):
18809 * textmodes/flyspell.el:
18810 * vc/pcvs-defs.el (cvs-global-menu):
18811 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18812 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18813 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18814
18815 * net/tls.el: Fix case of "GnuTLS".
18816
18817 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18818
18819 * version.el (emacs-build-system): Give it a doc-string.
18820
18821 2011-11-24 Juri Linkov <juri@jurta.org>
18822
18823 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18824
18825 2011-11-24 Glenn Morris <rgm@gnu.org>
18826
18827 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18828 if called on a non-mime message just toggle the headers. (Bug#8006)
18829
18830 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18831
18832 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18833 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18834 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18835 (allout-rebullet-heading, allout-open-sibtopic)
18836 (allout-toggle-current-subtree-encryption)
18837 (allout-toggle-subtree-encryption, allout-encrypt-string)
18838 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18839 (allout-distinctive-bullets-string, allout-auto-activation):
18840 * window.el (window-normalize-buffer-to-display):
18841 * progmodes/verilog-mode.el (verilog-batch-indent):
18842 * textmodes/bibtex.el (bibtex-field-braces-opt)
18843 (bibtex-field-strings-opt):
18844 * vc/cvs-status.el (cvs-tree-merge):
18845 Fix typos.
18846
18847 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18848
18849 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18850 `non-essential' to t, in order to avoid remote connections.
18851
18852 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18853
18854 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18855 On MS-DOS and MS-Windows, compare with loaddefs.el
18856 case-insensitively.
18857
18858 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18859
18860 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18861
18862 2011-11-23 Glenn Morris <rgm@gnu.org>
18863
18864 * paths.el (rmail-file-name): Reformat the doc-string so that it
18865 is picked up.
18866
18867 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18868 (rmail-auto-file): Ignore case in the "special" field names,
18869 as mail-fetch-field does for all others.
18870
18871 * mail/rmail.el (rmail-forward):
18872 * mail/rmailkwd.el (rmail-set-label):
18873 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18874 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18875
18876 * mail/rmail.el (rmail-current-message): Doc fix.
18877
18878 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18879
18880 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18881
18882 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18883
18884 2011-11-22 Glenn Morris <rgm@gnu.org>
18885
18886 * mail/rmailmm.el (test-rmail-mime-handler)
18887 (test-rmail-mime-bulk-handler)
18888 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18889
18890 2011-11-21 Juri Linkov <juri@jurta.org>
18891
18892 * calc/calc.el (calc-read-key-sequence):
18893 Let-bind `input-method-function' to nil. (Bug#10018)
18894
18895 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18896
18897 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18898 Tell the caller that the next line needs recomputation, even
18899 though it doesn't start a sexp (bug#10094).
18900
18901 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18902
18903 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18904
18905 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18906
18907 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18908 Use force-same-window.
18909
18910 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18911
18912 * descr-text.el (describe-char-unicode-data):
18913 * json.el (json-string-escape):
18914 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18915 (Footnote-unicode, Footnote-style-p):
18916 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18917
18918 2011-11-20 Chong Yidong <cyd@gnu.org>
18919
18920 * window.el (replace-buffer-in-windows): Restore interactive spec.
18921
18922 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18923
18924 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18925
18926 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18927 (byte-compile-global-not-obsolete-vars): New var.
18928 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18929 Use it.
18930 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18931
18932 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18933
18934 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18935 * progmodes/pascal.el (electric-pascal-equal):
18936 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18937 * xml.el (xml-substitute-special): Fix typos.
18938
18939 2011-11-20 Glenn Morris <rgm@gnu.org>
18940
18941 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18942 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18943 Doc fixes.
18944 (rmail-decode-mime-charset): Mark as obsolete.
18945
18946 * mail/rmailsum.el (rmail-message-regexp-p-1):
18947 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18948 Before using mime functions, check they are set. (Bug#10077)
18949
18950 2011-11-19 Juri Linkov <juri@jurta.org>
18951
18952 * info.el (Info-finder-find-node): Use `package--builtins' instead
18953 of `package-alist'. Use node names formed by the pattern "Keyword "
18954 and the keyword name.
18955
18956 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18957
18958 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18959
18960 2011-11-19 Juri Linkov <juri@jurta.org>
18961
18962 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18963 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18964 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18965 `old-history', `old-history-forward'. Add let-binding
18966 `window-selected'. Remove calls to `kill-buffer',
18967 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18968 before calling `Info-find-node', so `Info-find-node-2' will reread
18969 the Info file. Restore window positions only when `window-selected'
18970 is non-nil.
18971
18972 2011-11-19 Juri Linkov <juri@jurta.org>
18973
18974 * isearch.el (isearch-lazy-highlight-new-loop):
18975 Remove condition `(not isearch-error)'. (Bug#9918)
18976
18977 * misearch.el (multi-isearch-search-fun): Add condition
18978 `(not bound)' to ignore lazy-highlighting search.
18979 Add the search-failed message "end of multi" when the end of
18980 multi-sequence is reached. Uncapitalize the search-failed
18981 message "Repeat for next buffer".
18982
18983 * info.el (Info-search): Add the search-failed message
18984 "end of the manual" when the end of the manual is reached
18985 in Isearch mode.
18986
18987 2011-11-19 Juri Linkov <juri@jurta.org>
18988
18989 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18990 Use non-destructive `remove' instead of `delete' because
18991 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18992 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18993
18994 2011-11-19 Juri Linkov <juri@jurta.org>
18995
18996 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18997 to nil instead of binding `search-ring' and `regexp-search-ring'.
18998 (Bug#9185)
18999
19000 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19001
19002 * simple.el (line-move): Force movement by logical lines for any
19003 hscrolled window, not only when auto-hscroll-mode is on.
19004 (line-move-visual): Update doc string to that effect. (Bug#10076)
19005
19006 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19007
19008 * language/european.el (macintosh): Define as alias for mac-roman.
19009
19010 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19011
19012 * mail/rmailmm.el (rmail-mime-display-header)
19013 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
19014 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
19015 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
19016 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
19017 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
19018 of a raw aref.
19019 (rmail-mime-entity-segment): To get past the tagline, move forward
19020 2 more lines, to account for the 2 empty lines that precede and
19021 follow the line with the buttons.
19022 (rmail-mime-update-tagline): Move one more line, to get past the
19023 empty line that follows the buttons in the tagline. (Bug#9520)
19024
19025 2011-11-19 Martin Rudalics <rudalics@gmx.at>
19026
19027 * window.el (window-max-delta-1, window-min-delta-1)
19028 (window-min-size-1, window-state-get-1, window-state-put-1)
19029 (window-state-put-2): Use "window--" prefix.
19030
19031 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
19032
19033 * emacs-lisp/smie.el: Improve warnings and conflict detection.
19034 (smie-warning-count): New var.
19035 (smie-set-prec2tab): Use it.
19036 (smie-bnf->prec2): Improve warnings. Add docstring.
19037 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
19038 (smie-bnf--set-class): New function.
19039 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
19040 corner case.
19041
19042 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
19043 (compilation-error-properties, compilation-move-to-column):
19044 Handle compilation-first-column while in the target buffer.
19045
19046 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
19047 Don't hardcode point-min==1.
19048
19049 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
19050 (eshell-rewrite-for-command): Remove workaround.
19051 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
19052 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
19053 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
19054
19055 * files-x.el (modify-file-local-variable): Obey commenting conventions.
19056
19057 2011-11-17 Glenn Morris <rgm@gnu.org>
19058
19059 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19060 Ignore buffer-local generated-autoload-file if it is the same
19061 as the global value. (Bug#10049)
19062
19063 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
19064
19065 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
19066 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
19067 (reftex-toc-previous-heading, reftex-toc-max-level)
19068 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
19069 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
19070 (reftex-toc-do-promote, reftex-toc-promote-prepare)
19071 (reftex-toc-promote-action, reftex-toc-extract-section-number)
19072 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
19073 (reftex-toc-rename-label, reftex-toc-visit-location)
19074 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
19075 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
19076 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
19077 leaving "*toc*" only for references to the buffer.
19078
19079 2011-11-17 Martin Rudalics <rudalics@gmx.at>
19080
19081 * window.el (window-resize, delete-window, split-window):
19082 Replace window-splits by window-combination-resize.
19083 * cus-start.el (window-splits): Replace by window-combination-resize.
19084
19085 2011-11-17 Glenn Morris <rgm@gnu.org>
19086
19087 * progmodes/sh-script.el (sh-font-lock-keywords-var):
19088 Make bash entry derive from sh entry, not shell entry.
19089
19090 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
19091
19092 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
19093 local file name.
19094
19095 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19096
19097 * menu-bar.el (menu-bar-file-menu):
19098 * printing.el (pr-ps-utility):
19099 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
19100 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
19101 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
19102 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19103 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19104 (icalendar--convert-cyclic-to-ical)
19105 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19106 (icalendar--convert-ical-to-diary)
19107 (icalendar--convert-recurring-to-diary)
19108 (icalendar--convert-non-recurring-all-day-to-diary)
19109 (icalendar-import-format-sample):
19110 * progmodes/idlw-shell.el (idlwave-shell-mode):
19111 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19112 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19113 (vhdl-ps-print-init): Fix typos.
19114
19115 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
19116
19117 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19118 FSF and collapse date sequence, obscure author/maintainer email address
19119 better, remove extra version line, track relocation of author's webpage.
19120
19121 * progmodes/python.el (python-pdbtrack-input-prompt)
19122 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19123 regular python pdb prompts. Adjustments shamelessly taken exactly as
19124 suggested in EmacsWiki page (tiny change):
19125 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19126
19127 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19128
19129 * expand.el (expand-pos, expand-index, expand-point):
19130 Remove redundant info from docstring.
19131 (expand-add-abbrevs): Doc fix.
19132 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19133 (expand-sample-perl-mode-expand-list): Fix typos.
19134
19135 * net/dbus.el (dbus-event-member-name):
19136 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19137 * term/pc-win.el (msdos-create-frame-with-faces):
19138 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19139
19140 2011-11-16 Martin Rudalics <rudalics@gmx.at>
19141
19142 * window.el (split-window, window-state-get-1)
19143 (window-state-put-1, window-state-put-2): Rename occurrences of
19144 window-nest to window-combination-limit.
19145 * cus-start.el (window-nest): Rename to window-combination-limit.
19146
19147 2011-11-16 Chong Yidong <cyd@gnu.org>
19148
19149 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19150 regexp (Bug#10033).
19151
19152 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19153
19154 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19155 `completing-read' will remove *Completions* and will preserve
19156 current-buffer for us.
19157 (tmm-add-prompt): Users of *Completions* will always (re)set its
19158 major mode.
19159 (tmm-old-comp-map): Remove.
19160
19161 2011-11-16 Glenn Morris <rgm@gnu.org>
19162
19163 * mail/rmailedit.el: Require rmailmm when compiling.
19164 (rmail-old-mime-state): New declaration.
19165 (rmail-edit-current-message): If editing a mime message,
19166 edit the "raw" message from the mbox buffer.
19167 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19168
19169 2011-11-15 Glenn Morris <rgm@gnu.org>
19170
19171 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19172 which wasn't being used. Add optional arg to force given state.
19173 (rmail-mime): Add optional arg to force given state.
19174
19175 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19176
19177 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19178 * frame.el (display-mm-dimensions-alist):
19179 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19180 (outline-move-subtree-down):
19181 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19182 (newsticker--treeview-do-get-node):
19183 * net/quickurl.el (quickurl-list-buffer-name):
19184 * progmodes/dcl-mode.el (dcl-mode):
19185 * progmodes/gdb-mi.el (gdb-mapcar*):
19186 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19187
19188 2011-11-15 Glenn Morris <rgm@gnu.org>
19189
19190 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19191 in a boolean sense, so just make it a boolean, and fix the doc.
19192 (rmail-show-mime-function, rmail-mime-feature)
19193 (rmail-require-mime-maybe): Doc fixes.
19194 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19195
19196 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19197
19198 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19199
19200 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19201 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19202 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19203 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19204
19205 2011-11-15 Glenn Morris <rgm@gnu.org>
19206
19207 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19208 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19209 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19210 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19211 (rmail-mime, rmail-show-mime): Doc fixes.
19212
19213 * term/ns-win.el (mode-line-frame-identification):
19214 Leave it alone. (Bug#10051)
19215
19216 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19217
19218 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19219 Handle empty buffers. (Bug#9978)
19220
19221 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19222
19223 * international/mule.el (define-charset):
19224 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19225 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19226 * progmodes/verilog-mode.el (verilog-backward-token):
19227 * textmodes/ispell.el (lookup-words):
19228 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19229
19230 2011-11-14 Glenn Morris <rgm@gnu.org>
19231
19232 * progmodes/executable.el
19233 (executable-make-buffer-file-executable-if-script-p):
19234 Handle file-modes returning nil.
19235
19236 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19237 message - not necessary, and causes problems. (Bug#9831)
19238
19239 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19240
19241 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19242
19243 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19244 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19245 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19246
19247 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19248
19249 * window.el (window-resize, delete-window): Use window-splits
19250 variable instead of function.
19251 (window-state-get-1, window-state-put-2, window-state-put):
19252 Don't deal with windows' splits status.
19253
19254 2011-11-12 Glenn Morris <rgm@gnu.org>
19255
19256 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19257 (apropos-documentation): Doc fixes.
19258
19259 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19260
19261 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19262 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19263
19264 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19265
19266 * electric.el (electric-indent-post-self-insert-function): Make it
19267 possible for a char to only indent in some circumstances.
19268 (electric-indent-mode): Simplify.
19269
19270 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19271
19272 * window.el (windows-with-parameter): Remove unused function.
19273 (windows-at-side): Rename to window-at-side-list.
19274 (window-check, window-atom-check, window-atom-check-1)
19275 (window-side-check, window-size-ignore, window-size-fixed-1)
19276 (window-in-direction-2): Prefix with "window--".
19277 (window-tree-1): Rename to window--subtree, fix doc-string.
19278
19279 2011-11-11 Glenn Morris <rgm@gnu.org>
19280
19281 * subr.el (eval-after-load): If FILE is already loaded,
19282 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19283
19284 2011-11-10 Glenn Morris <rgm@gnu.org>
19285
19286 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19287 Call svn via vc-svn-command rather than vc-do-command.
19288 (vc-svn-command): Add --non-interactive. (Bug#9993)
19289 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19290
19291 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19292 Add toggle-read-only. (Bug#7292)
19293 * files.el (toggle-read-only): Mention that it should only
19294 be used interactively. (Bug#10006)
19295
19296 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19297
19298 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19299 Adjust regexp for OCaml warnings.
19300
19301 * electric.el (electric-pair-post-self-insert-function): Let user
19302 turn it off buffer-locally (bug#9932).
19303
19304 * progmodes/python.el (python-beginning-of-statement):
19305 Rewrite (bug#2703).
19306
19307 * progmodes/compile.el: Better handle TABs (bug#9749).
19308 (compilation-internal-error-properties)
19309 (compilation-next-error-function): Obey the target buffer's
19310 compilation-error-screen-columns.
19311
19312 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19313
19314 * progmodes/meta-mode.el: Remove obsolete comments.
19315 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19316 Fix typos in docstrings.
19317
19318 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19319
19320 * window.el (window-size-fixed-p): Rewrite doc-string.
19321 (window-resizable-p): Rename to window--resizable-p. Update callers.
19322 (window--resizable): New function. Make all callers of
19323 window-resizable call window--resizable instead.
19324 (window-resizable): Rewrite in terms of window--resizable.
19325
19326 2011-11-08 Glenn Morris <rgm@gnu.org>
19327
19328 * progmodes/delphi.el (delphi-mode-syntax-table):
19329 Let define-derived-mode define a proper syntax table. (Bug#9994)
19330
19331 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19332
19333 * window.el: Stay away from defsubst.
19334 (window-list-no-nils): Remove.
19335 (window-state-get-1, window-state-get): Use backquote instead.
19336
19337 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19338
19339 * emacs-lisp/find-func.el (find-function-read):
19340 Fix incorrect use of default argument in `completing-read'.
19341
19342 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19343
19344 * window.el (display-buffer-function, special-display-function):
19345 Mention display-buffer-record-window but do not mention
19346 help-setup parameter in doc-strings.
19347 (window-min-delta): Fix doc-string typo.
19348
19349 2011-11-08 Chong Yidong <cyd@gnu.org>
19350
19351 * window.el (window-total-height, window-total-width): Doc fix.
19352 (window-body-size): Move from C.
19353 (window-body-height, window-body-width): Move to C.
19354
19355 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19356
19357 * window.el: Make special-display like display-buffer-alist (bug#9532).
19358 (display-buffer--special-action): New function, morphed
19359 from display-buffer--special.
19360 (display-buffer): Use it to handle special-display-buffers at higher
19361 priority (just after display-buffer-alist).
19362 (display-buffer-fallback-action, display-buffer--other-frame-action)
19363 (pop-to-buffer-same-window): Remove display-buffer--special.
19364
19365 2011-11-07 Glenn Morris <rgm@gnu.org>
19366
19367 * calendar/cal-menu.el (cal-menu-set-date-title):
19368 Do nothing if not in a calendar. (Bug#9976)
19369
19370 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19371
19372 * files.el (find-file): Always use selected-window.
19373
19374 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19375
19376 * window.el (window-combinations): Make WINDOW argument
19377 mandatory. Rewrite doc-string.
19378 (walk-window-subtree, window-atom-check, window-min-delta)
19379 (window-max-delta, window--resize-this-window)
19380 (window--resize-root-window-vertically, window-tree)
19381 (balance-windows, window-state-put): Rewrite doc-strings as to
19382 not mention the term "subwindow".
19383 (window--resize-subwindows-skip-p): Rename to
19384 window--resize-child-windows-skip-p.
19385 (window--resize-subwindows-normal): Rename to
19386 window--resize-child-windows-normal.
19387 (window--resize-subwindows): Rename to
19388 window--resize-child-windows.
19389 (window-or-subwindow-p): Rename to window--in-subtree-p.
19390
19391 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19392
19393 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19394 Ensure that mbox format messages end in two newlines (Bug#9974).
19395
19396 2011-11-06 Chong Yidong <cyd@gnu.org>
19397
19398 * window.el (window-combination-p): Function deleted; its
19399 side-effect is not used in any existing code.
19400 (window-combinations, window-combined-p): Call window-*-child
19401 directly.
19402
19403 2011-11-05 Chong Yidong <cyd@gnu.org>
19404
19405 * window.el (window-valid-p): Rename from window-any-p.
19406 (window-size-ignore, window-state-get): Callers changed.
19407 (window-normalize-window): Rename from window-normalize-any-window.
19408 New arg LIVE-ONLY, replacing window-normalize-live-window.
19409 (window-normalize-live-window): Delete.
19410 (window-combination-p, window-combined-p, window-combinations)
19411 (walk-window-subtree, window-atom-root, window-min-size)
19412 (window-sizable, window-sizable-p, window-size-fixed-p)
19413 (window-min-delta, window-max-delta, window-resizable)
19414 (window-resizable-p, window-full-height-p, window-full-width-p)
19415 (window-current-scroll-bars, window-point-1, set-window-point-1)
19416 (window-at-side-p, window-in-direction, window-resize)
19417 (adjust-window-trailing-edge, maximize-window, minimize-window)
19418 (window-deletable-p, delete-window, delete-other-windows)
19419 (record-window-buffer, unrecord-window-buffer)
19420 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19421 (quit-window, split-window, window-state-put)
19422 (set-window-text-height, fit-window-to-buffer)
19423 (shrink-window-if-larger-than-buffer): Callers changed.
19424
19425 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19426
19427 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19428 rfc2047-decode-string.
19429 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19430 warnings.
19431
19432 * window.el (window-body-height, window-body-width): Mention in
19433 the doc string that the return values are in frame's canonical
19434 units. (Bug#9949)
19435
19436 2011-11-03 Alan Mackenzie <acm@muc.de>
19437
19438 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19439 change in cc-engine.el.
19440
19441 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19442
19443 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19444
19445 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19446
19447 * window.el (quit-window): Call unrecord-window-buffer after
19448 showing another buffer in the window. (Bug#9937)
19449 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19450
19451 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19452
19453 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19454 Accept status with more than 9 shelves. (Bug#9935)
19455 Reported by Colin D Bennett <colin@gibibit.com>.
19456
19457 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19458
19459 * help.el (with-help-window): Don't reference
19460 temp-buffer-show-specifiers in doc-string.
19461
19462 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19463
19464 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19465 menu-item.
19466
19467 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19468
19469 * whitespace.el: New version 13.2.2.
19470 (whitespace-newline-mode): Disable properly. Reported by Sarah
19471 <EmacsWiki>.
19472
19473 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19474
19475 * net/newst-treeview.el: Remove "Time-stamp".
19476 (newsticker--group-manage-orphan-feeds): Do not call
19477 newsticker--treeview-tree-update.
19478 (newsticker-treeview-update, newsticker-treeview):
19479 Call newsticker--treeview-tree-update if necessary.
19480
19481 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19482
19483 * window.el (window-iso-combination-p, window-iso-combined-p)
19484 (window-iso-combinations): Remove "iso-" infix.
19485 Suggested by Chong Yidong.
19486 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19487 (window-max-delta-1, window-resize, window--resize-siblings)
19488 (window--resize-this-window, adjust-window-trailing-edge)
19489 (split-window, balance-windows-1)
19490 (shrink-window-if-larger-than-buffer):
19491 * calendar/calendar.el (calendar-generate-window):
19492 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19493
19494 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19495
19496 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19497 in place (bug#9907).
19498 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19499 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19500 (eshell-structure-basic-command, eshell-rewrite-while-command)
19501 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19502 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19503 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19504 (eshell-do-pipelines-synchronously, eshell-eval-command):
19505 Use backquotes and prefer setq to set.
19506 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19507 (eshell-macrop): Use functionp.
19508 (eshell-do-eval): Handle multiple expressions in `while' body.
19509
19510 2011-10-30 Chong Yidong <cyd@gnu.org>
19511
19512 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19513 instead of set-mark (Bug#9810).
19514
19515 2011-10-30 Chong Yidong <cyd@gnu.org>
19516
19517 * window.el (split-window-below, split-window-right): Rename from
19518 split-window-above-each-other and split-window-side-by-side
19519 respectively. All callers changed.
19520 (split-window-sensibly, split-window-sensibly): Use them.
19521 (split-window-keep-point): Doc fix.
19522
19523 * isearch.el: Add isearch-scroll property to split-window-below
19524 and split-window-right.
19525
19526 * follow.el (follow-mode):
19527 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19528 * progmodes/ada-xref.el (ada-gdb-application):
19529 * emulation/vip.el (vip-buffer-in-two-windows):
19530 * image-dired.el (image-dired-dired-with-window-configuration):
19531 * dired-x.el (dired-do-find-marked-files):
19532 * dired.el (dired-pop-to-buffer):
19533 * bs.el (bs--show-with-configuration):
19534 * vc/emerge.el (emerge-setup-windows):
19535 * textmodes/two-column.el (2C-two-columns):
19536 * textmodes/reftex-toc.el (reftex-toc):
19537 * progmodes/gdb-mi.el (gdb-setup-windows):
19538 * progmodes/fortran.el (fortran-window-create):
19539 * net/newst-treeview.el (newsticker--treeview-window-init):
19540 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19541 * emulation/tpu-edt.el (tpu-gold-map):
19542 * emulation/crisp.el (crisp-mode-map):
19543 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19544
19545 2011-10-29 Chong Yidong <cyd@gnu.org>
19546
19547 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19548
19549 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19550
19551 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19552 forged Ispell output (Bug#7904).
19553
19554 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19555
19556 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19557
19558 * doc-view.el: Avoid ugly errors about not finding nil.
19559 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19560 (doc-view-dvipdf-program, doc-view-unoconv-program)
19561 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19562 Avoid nil or absolute file name as default value.
19563 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19564
19565 2011-10-28 Alan Mackenzie <acm@muc.de>
19566
19567 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19568
19569 2011-10-28 Alan Mackenzie <acm@muc.de>
19570
19571 Amend the handling of c-beginning/end-of-defun in nested declaration
19572 scopes.
19573
19574 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19575 cc-langs.el. Change it to a defcustom.
19576
19577 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19578 cc-vars.el.
19579
19580 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19581 Prevent "class foo : bar" being spuriously recognized as a label.
19582
19583 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19584 Add parameter `inclusive' (to include enclosing braces in the region).
19585 (c-widen-to-enclosing-decl-scope): New function.
19586 (c-while-widening-to-decl-block): New macro.
19587 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19588 outward for defun boundaries, and correspondingly change symbol
19589 `respect-enclosure' to `go-outward'.
19590 (c-declaration-limits): Change algorithm to report only the "innermost"
19591 defun's boundaries.
19592
19593 2011-10-28 Deniz Dogan <deniz@dogan.se>
19594
19595 * net/rcirc.el (rcirc-mode): Use hard newlines.
19596
19597 2011-10-28 Alan Mackenzie <acm@muc.de>
19598
19599 Amend to indent and fontify macros "which include their own semicolon"
19600 correctly, using the "virtual semicolon" mechanism.
19601
19602 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19603
19604 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19605 Recode to scan one line at a time rather than having \n and \r
19606 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19607 (c-forward-label): Amend for virtual semicolons.
19608 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19609
19610 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19611 of the new C macros.
19612
19613 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19614 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19615 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19616 (c-opt-cpp-macro-define): Make into a full language variable.
19617 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19618 AWK Mode (including \n, \r) removed, no longer needed.
19619
19620 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19621 Invoke c-make-macro-with-semi-re.
19622
19623 * progmodes/cc-vars.el (c-macro-with-semi-re):
19624 (c-macro-names-with-semicolon): New variables.
19625 (c-make-macro-with-semi-re): New function.
19626
19627 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19628
19629 * vc/log-edit.el: Fill empty field rather than adding new one.
19630 (log-edit-add-field): New function.
19631 (log-edit-insert-changelog): Use it.
19632
19633 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19634
19635 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19636
19637 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19638
19639 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19640 (gdb--check-interpreter): New function.
19641 (gdb): Use it.
19642
19643 2011-10-27 Glenn Morris <rgm@gnu.org>
19644
19645 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19646 (least-positive-float, least-negative-float)
19647 (least-positive-normalized-float, least-negative-normalized-float)
19648 (float-epsilon, float-negative-epsilon):
19649 Remove unnecessary declarations.
19650
19651 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19652 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19653 (least-positive-float, least-negative-float)
19654 (least-positive-normalized-float, least-negative-normalized-float)
19655 (float-epsilon, float-negative-epsilon): Add doc-strings,
19656 based on those in cl.texi.
19657
19658 * files.el (set-visited-file-name): If the major-mode changed,
19659 reload the local variables. (Bug#9796)
19660
19661 2011-10-27 Chong Yidong <cyd@gnu.org>
19662
19663 * subr.el (change-major-mode-after-body-hook): New hook.
19664 (run-mode-hooks): Run it.
19665
19666 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19667 Use change-major-mode-before-body-hook.
19668
19669 * simple.el (fundamental-mode):
19670 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19671 change introducing fundamental-mode-hook.
19672
19673 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19674
19675 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19676
19677 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19678
19679 * ido.el (ido-file-name-all-completions-1): Do not require
19680 tramp.el explicitly. (Bug#7583)
19681
19682 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19683
19684 * progmodes/octave-mod.el:
19685 * progmodes/octave-inf.el: Update maintainer.
19686
19687 2011-10-26 Chong Yidong <cyd@gnu.org>
19688
19689 * subr.el (with-wrapper-hook): Rewrite doc.
19690
19691 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19692
19693 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19694 filenames "/method:foo:". (Bug#9793)
19695
19696 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19697
19698 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19699 (bug#9865).
19700
19701 2011-10-24 Glenn Morris <rgm@gnu.org>
19702
19703 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19704
19705 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19706
19707 * notifications.el: Add the requirement of a running D-Bus session
19708 bus to the Commentary.
19709
19710 2011-10-24 Juri Linkov <juri@jurta.org>
19711
19712 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19713 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19714 (Bug#9364)
19715
19716 2011-10-24 Juri Linkov <juri@jurta.org>
19717
19718 * info.el (Info-following-node-name-re): Add newline to the list
19719 of allowed characters for leading space. (Bug#9824)
19720
19721 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19722
19723 * progmodes/octave-inf.el (inferior-octave-mode-map):
19724 Fix C-c C-h binding.
19725 * progmodes/octave-mod.el (octave-help): Remove.
19726
19727 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19728
19729 Sync with Tramp 2.2.3.
19730
19731 * net/tramp-cache.el (top): Pacify byte-compiler using
19732 `init-file-user' and `site-run-file'.
19733
19734 * net/trampver.el: Update release number.
19735
19736 2011-10-23 Chong Yidong <cyd@gnu.org>
19737
19738 * files.el (toggle-read-only): Remove obsolete comment about
19739 version control.
19740
19741 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19742 for toggle-read-only. Note that this hasn't called vc-next-action
19743 since 2008-05-02, though it wasn't documented at the time.
19744
19745 * vc/ediff-init.el (ediff-toggle-read-only-function):
19746 Use toggle-read-only.
19747
19748 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19749
19750 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19751 of c-parse-state.
19752
19753 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19754 correct faulty logical expression.
19755 (c-parse-state-state, c-record-parse-state-state):
19756 (c-replay-parse-state-state): New defvar/defuns.
19757 (c-debug-parse-state): Use new functions.
19758
19759 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19760
19761 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19762 last fix. Use window-in-direction correctly.
19763
19764 2011-10-21 Chong Yidong <cyd@gnu.org>
19765
19766 * progmodes/idlwave.el (idlwave-mode):
19767 * progmodes/vera-mode.el (vera-mode): No need to set
19768 require-final-newline; that's done in prog-mode.
19769 Suggested by Stefan Monnier.
19770
19771 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19772
19773 * mouse.el (mouse-drag-window-above)
19774 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19775 (mouse-drag-mode-line-1, mouse-drag-header-line)
19776 (mouse-drag-vertical-line-rightward-window): Remove.
19777 (mouse-drag-line): New function.
19778 (mouse-drag-mode-line, mouse-drag-header-line)
19779 (mouse-drag-vertical-line): Call mouse-drag-line.
19780 * window.el (window-at-side-p, windows-at-side): New functions.
19781
19782 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19783
19784 * tar-mode.el (tar-grind-file-mode):
19785 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19786
19787 2011-10-21 Chong Yidong <cyd@gnu.org>
19788
19789 * progmodes/idlwave.el (idlwave-mode):
19790 * progmodes/vera-mode.el (vera-mode):
19791 Use mode-require-final-newline.
19792
19793 2011-10-20 Glenn Morris <rgm@gnu.org>
19794
19795 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19796
19797 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19798
19799 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19800
19801 2011-10-20 Chong Yidong <cyd@gnu.org>
19802
19803 * emulation/cua-base.el (cua-mode):
19804 * mail/footnote.el (footnote-mode):
19805 * mail/mailabbrev.el (mail-abbrevs-mode):
19806 * net/xesam.el (xesam-minor-mode):
19807 * progmodes/bug-reference.el (bug-reference-mode):
19808 * progmodes/cap-words.el (capitalized-words-mode):
19809 * progmodes/compile.el (compilation-minor-mode)
19810 (compilation-shell-minor-mode):
19811 * progmodes/gud.el (gud-tooltip-mode):
19812 * progmodes/hideif.el (hide-ifdef-mode):
19813 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19814 * progmodes/subword.el (subword-mode):
19815 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19816 * progmodes/which-func.el (which-function-mode):
19817 * term/tvi970.el (tvi970-set-keypad-mode):
19818 * term/vt100.el (vt100-wide-mode):
19819 * textmodes/flyspell.el (flyspell-mode):
19820 * textmodes/ispell.el (ispell-minor-mode):
19821 * textmodes/nroff-mode.el (nroff-electric-mode):
19822 * textmodes/paragraphs.el (use-hard-newlines):
19823 * textmodes/refill.el (refill-mode):
19824 * textmodes/reftex.el (reftex-mode):
19825 * textmodes/rst.el (rst-minor-mode):
19826 * textmodes/sgml-mode.el (html-autoview-mode)
19827 (sgml-electric-tag-pair-mode):
19828 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19829 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19830 * emulation/crisp.el (crisp-mode):
19831 * emacs-lisp/eldoc.el (eldoc-mode):
19832 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19833 minor mode behavior.
19834
19835 2011-10-19 Juri Linkov <juri@jurta.org>
19836
19837 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19838 the list of hard-coded chars with escape-glyph face.
19839
19840 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19841
19842 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19843
19844 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19845
19846 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19847 running process.
19848
19849 2011-10-19 Glenn Morris <rgm@gnu.org>
19850
19851 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19852 Ignore ignored files. (Bug#9726)
19853
19854 2011-10-19 Chong Yidong <cyd@gnu.org>
19855
19856 Doc fix for minor modes, stating that an omitted argument enables
19857 the mode unconditionally when called from Lisp.
19858
19859 * abbrev.el (abbrev-mode):
19860 * allout.el (allout-mode):
19861 * autoinsert.el (auto-insert-mode):
19862 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19863 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19864 (global-auto-revert-mode):
19865 * battery.el (display-battery-mode):
19866 * composite.el (global-auto-composition-mode)
19867 (auto-composition-mode):
19868 * delsel.el (delete-selection-mode):
19869 * desktop.el (desktop-save-mode):
19870 * dired-x.el (dired-omit-mode):
19871 * dirtrack.el (dirtrack-mode):
19872 * doc-view.el (doc-view-minor-mode):
19873 * double.el (double-mode):
19874 * electric.el (electric-indent-mode, electric-pair-mode):
19875 * emacs-lock.el (emacs-lock-mode):
19876 * epa-hook.el (auto-encryption-mode):
19877 * follow.el (follow-mode):
19878 * font-core.el (font-lock-mode):
19879 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19880 * help.el (temp-buffer-resize-mode):
19881 * hilit-chg.el (highlight-changes-mode)
19882 (highlight-changes-visible-mode):
19883 * hi-lock.el (hi-lock-mode):
19884 * hl-line.el (hl-line-mode, global-hl-line-mode):
19885 * icomplete.el (icomplete-mode):
19886 * ido.el (ido-everywhere):
19887 * image-file.el (auto-image-file-mode):
19888 * image-mode.el (image-minor-mode):
19889 * iswitchb.el (iswitchb-mode):
19890 * jka-cmpr-hook.el (auto-compression-mode):
19891 * linum.el (linum-mode):
19892 * longlines.el (longlines-mode):
19893 * master.el (master-mode):
19894 * mb-depth.el (minibuffer-depth-indicate-mode):
19895 * menu-bar.el (menu-bar-mode):
19896 * minibuf-eldef.el (minibuffer-electric-default-mode):
19897 * mouse-sel.el (mouse-sel-mode):
19898 * msb.el (msb-mode):
19899 * mwheel.el (mouse-wheel-mode):
19900 * outline.el (outline-minor-mode):
19901 * paren.el (show-paren-mode):
19902 * recentf.el (recentf-mode):
19903 * reveal.el (reveal-mode, global-reveal-mode):
19904 * rfn-eshadow.el (file-name-shadow-mode):
19905 * ruler-mode.el (ruler-mode):
19906 * savehist.el (savehist-mode):
19907 * scroll-all.el (scroll-all-mode):
19908 * scroll-bar.el (scroll-bar-mode):
19909 * server.el (server-mode):
19910 * shell.el (shell-dirtrack-mode):
19911 * simple.el (auto-fill-mode, transient-mark-mode)
19912 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19913 (line-number-mode, column-number-mode, size-indication-mode)
19914 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19915 * strokes.el (strokes-mode):
19916 * time.el (display-time-mode):
19917 * t-mouse.el (gpm-mouse-mode):
19918 * tool-bar.el (tool-bar-mode):
19919 * tooltip.el (tooltip-mode):
19920 * type-break.el (type-break-mode-line-message-mode)
19921 (type-break-query-mode):
19922 * view.el (view-mode):
19923 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19924 (global-whitespace-mode, global-whitespace-newline-mode):
19925 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19926
19927 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19928 Fix autogenerated docstring.
19929
19930 2011-10-19 Juri Linkov <juri@jurta.org>
19931
19932 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19933 by checking environment variables "DESKTOP_SESSION" and
19934 "XDG_CURRENT_DESKTOP". (Bug#9779)
19935
19936 2011-10-19 Juri Linkov <juri@jurta.org>
19937
19938 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19939 (browse-url-chromium-program, browse-url-chromium-arguments):
19940 New defcustoms.
19941 (browse-url-default-browser): Check for `browse-url-chromium' and
19942 call `browse-url-chromium-program'.
19943 (browse-url-chromium): New command. (Bug#9779)
19944
19945 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19946
19947 * facemenu.el (list-colors-duplicates): On Windows, detect more
19948 duplicates by assuming that only colors matching "^System" are
19949 special "system colors". (Bug#9722)
19950
19951 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19952
19953 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19954 to distinguish the author from the committer.
19955
19956 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19957
19958 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19959
19960 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19961
19962 * international/mule.el (sgml-html-meta-auto-coding-function):
19963 Add support for detecting encoding in HTML5 specified only as
19964 <meta charset="UTF-8">. Implementation just makes http-equiv and
19965 content-type parts from HTML4 encoding string optional. (Bug#9716)
19966
19967 2011-10-18 Glenn Morris <rgm@gnu.org>
19968
19969 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19970
19971 2011-10-18 Chong Yidong <cyd@gnu.org>
19972
19973 * faces.el (cursor): Doc fix.
19974
19975 2011-10-17 Chong Yidong <cyd@gnu.org>
19976
19977 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19978
19979 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19980
19981 * dirtrack.el (dirtrack): Support shell buffers with path
19982 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19983
19984 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19985
19986 * json.el: Bump version to 1.3 and note change in History.
19987 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19988
19989 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19990
19991 * comint.el (comint-insert-input, comint-send-input)
19992 (comint-get-old-input-default, comint-backward-matching-input)
19993 (comint-next-prompt): Use nil instead of `input' for field property of
19994 past user input (bug#114).
19995
19996 * minibuffer.el (completion--replace): Inherit surrounding properties
19997 (bug#114).
19998 (minibuffer-complete-and-exit): Use it.
19999
20000 * comint.el (comint--table-subvert): Quote the all-completions output
20001 (bug#9160).
20002
20003 2011-10-17 Martin Rudalics <rudalics@gmx.at>
20004
20005 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
20006
20007 * menu-bar.el (menu-bar-file-menu): Add entry for making new
20008 window on right of selected. (Bug#9350) Reword other window
20009 entries and separate them from frame entries.
20010
20011 2011-10-15 Glenn Morris <rgm@gnu.org>
20012
20013 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
20014 Doc fixes.
20015
20016 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
20017
20018 * net/network-stream.el (network-stream-open-starttls):
20019 Improve detection of failure due to lack of TLS support.
20020
20021 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
20022 putting the input text in front and in bold.
20023
20024 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
20025
20026 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
20027
20028 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
20029 empty buffer.
20030
20031 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
20032 unread-command-events rather than pushing yet-another event.
20033
20034 2011-10-14 Eli Zaretskii <eliz@gnu.org>
20035
20036 * mail/sendmail.el (sendmail-query-once): Improve the wording of
20037 the explanation of the possible choices. Make the options passed
20038 to completing-read shorter.
20039
20040 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20041
20042 * textmodes/flyspell.el (flyspell-large-region): Make sure
20043 extended character mode is used if defined (Bug#1339).
20044
20045 2011-10-13 Eli Zaretskii <eliz@gnu.org>
20046
20047 * simple.el (what-cursor-position): Fix the display of the
20048 character info for LRE, LRO, RLE, and RLO characters by appending
20049 an invisible PDF.
20050
20051 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
20052
20053 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
20054 even in case of error; add debug spec; simplify data flow.
20055 (with-timeout-handler): Remove.
20056
20057 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
20058
20059 Fix Bug#6019, Bug#9315.
20060
20061 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
20062 complete `buffer-file-name', the local file name part could look
20063 remotely (for example on VMS).
20064
20065 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
20066 `tramp-run-real-handler'.
20067 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
20068 already quoted by '"'.
20069
20070 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
20071 Let `file-name-handler-alist' be nil, the local file name part
20072 could look remotely (for example on VMS).
20073
20074 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
20075
20076 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
20077 from here...
20078 (flyspell-post-command-hook): ...to here.
20079
20080 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20081
20082 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
20083 if not needed.
20084 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
20085 using completion. Protect against "slow" callers.
20086 Remove the "message hack".
20087
20088 2011-10-11 Juri Linkov <juri@jurta.org>
20089
20090 * isearch.el (isearch-lazy-highlight-word): New variable.
20091 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
20092 Use it. (Bug#9727)
20093
20094 2011-10-11 Glenn Morris <rgm@gnu.org>
20095
20096 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
20097 like f90-previous-statement does.
20098
20099 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20100
20101 * eshell/eshell.el (eshell-command): History should be saved
20102 only in interactive use, to avoid error.
20103
20104 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20105
20106 * minibuffer.el (completion-file-name-table): Fix last change,
20107 i.e. ignore normal errors but not the other ones.
20108
20109 2011-10-10 Martin Rudalics <rudalics@gmx.at>
20110
20111 * window.el (special-display-buffer-names)
20112 (special-display-regexps): Remove some remnants of earlier
20113 changes from doc-strings.
20114 (quit-windows-on): New function.
20115
20116 * vc/vc.el (vc-revert, vc-rollback):
20117 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20118 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
20119 (Bug#6183) (Bug#7074) (Bug#7447)
20120
20121 2011-10-09 Martin Rudalics <rudalics@gmx.at>
20122
20123 * window.el (frame-auto-hide-function): Add version tag.
20124 (Bug#9699)
20125
20126 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
20127
20128 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20129 condition.
20130
20131 2011-10-09 Leo Liu <sdl.web@gmail.com>
20132
20133 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20134 (Bug#9701)
20135
20136 2011-10-08 Glenn Morris <rgm@gnu.org>
20137
20138 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
20139 before the first code statement zero indent. (Bug#9690)
20140
20141 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
20142
20143 * simple.el (count-words-region): Always count in the region.
20144 Report the number of lines and characters too.
20145 (count-words): New command, which counts in the buffer if the
20146 region is inactive, as count-words-region used to.
20147 (count-words--message): New function. Handle plurals.
20148 (count-lines-region): Make it an alias for count-words-region.
20149
20150 * bindings.el (esc-map): Replace count-lines-region with
20151 count-words-region.
20152
20153 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20154
20155 * window.el (window--delete): Delete dedicated frame
20156 unconditionally when argument KILL is non-nil. (Bug#9699)
20157 (switch-to-buffer): Fix doc-string typo.
20158
20159 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20160
20161 * eshell/eshell.el (eshell-command): Avoid using hooks.
20162
20163 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20164
20165 * bindings.el ([M-left],[M-right]): Bind to left-word and
20166 right-word respectively.
20167
20168 2011-10-07 Glenn Morris <rgm@gnu.org>
20169
20170 * cus-start.el (debug-on-quit): Fix custom type.
20171
20172 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20173
20174 * subr.el (define-key-after): Clarify that the function is not
20175 useful for non-menu keymaps.
20176
20177 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20178
20179 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20180
20181 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20182 in current minibuffer (Fix bug with recursive minibuffers).
20183
20184 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20185
20186 * progmodes/gdb-mi.el (gdb): Doc fix.
20187
20188 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20189
20190 * window.el (frame-auto-hide-function): New option replacing
20191 frame-auto-delete. Suggested by Stefan Monnier.
20192 (window--delete): Call frame-auto-hide-function instead of
20193 investigating frame-auto-delete.
20194 (window-point-1, set-window-point-1): New functions.
20195 (window-in-direction, record-window-buffer, window-state-get-1)
20196 (display-buffer-record-window): Use window-point-1 instead of
20197 window-point.
20198 (set-window-buffer-start-and-point): Use set-window-point-1.
20199
20200 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20201
20202 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20203
20204 2011-10-05 Glenn Morris <rgm@gnu.org>
20205
20206 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20207 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20208
20209 2011-10-05 Leo Liu <sdl.web@gmail.com>
20210
20211 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20212 works with buffer object.
20213
20214 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20215
20216 * mpc.el (mpc-tool-bar-map): Add labels.
20217
20218 2011-10-04 Glenn Morris <rgm@gnu.org>
20219
20220 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20221
20222 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20223
20224 * window.el (window--delete): New function.
20225 (frame-auto-delete): Resuscitate option.
20226 (bury-buffer, replace-buffer-in-windows)
20227 (quit-window): Rewrite using window--delete.
20228 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20229 Pass display-buffer-mark-dedicated to window--display-buffer-2
20230 (Bug#9639).
20231
20232 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20233
20234 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20235 returns a list (bug#9554). Add remote file name completion.
20236 * comint.el (comint--table-subvert): Curry and get quote&unquote
20237 functions as arguments.
20238 (comint--complete-file-name-data): Adjust call accordingly.
20239 * pcomplete.el (pcomplete--table-subvert): Remove.
20240 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20241
20242 * minibuffer.el (completion-table-case-fold): Use currying.
20243 (completion--styles-type, completion--cycling-threshold-type):
20244 New constants.
20245 (completion-styles, completion-category-overrides)
20246 (completion-cycle-threshold): Use them.
20247 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20248 completion-table-case-fold.
20249
20250 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20251
20252 * minibuffer.el (completion-category-overrides): Fix type of styles
20253 and add more user friendly tags (bug#9660).
20254
20255 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20256
20257 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20258 (mule-input-method-string): New widget.
20259 (default-input-method, language-info-custom-alist): Use it.
20260
20261 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20262
20263 * pcomplete.el: Require comint.
20264 (pcomplete--common-suffix): Remove.
20265 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20266 (pcomplete--table-subvert): Sync with comint--table-subvert.
20267 (pcomplete--entries): Use comint-completion-file-name-table.
20268 * comint.el (comint-unquote-filename): Simplify.
20269 (comint-completion-file-name-table): New function (bug#9616).
20270 (comint--complete-file-name-data): Use it.
20271
20272 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20273 (pcmpl-gnu-tar-buffer): Remove.
20274 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20275 around. Make sure pcomplete-suffix-list is only changed temporarily.
20276 Don't look inside the tar's file if it's too large.
20277
20278 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20279
20280 * cus-edit.el (custom-mode-map):
20281 * epa.el (epa-key-list-mode-map):
20282 * man.el (Man-mode-map):
20283 * startup.el (splash-screen-keymap):
20284 * simple.el (special-mode-map): Use scroll-up-command and
20285 scroll-down-command.
20286
20287 * progmodes/idlw-help.el (idlwave-help-mode-map):
20288 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20289 * net/newst-plainview.el (newsticker-mode-map):
20290 * emulation/ws-mode.el (wordstar-mode-map):
20291 * emulation/vi.el (vi-com-map):
20292 * calc/calc-graph.el (calc-graph-show-dumb):
20293 * term/sun.el (terminal-init-sun):
20294 * term/ns-win.el (global-map):
20295 * progmodes/grep.el (grep-mode-map):
20296 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20297 * mail/rmail.el (rmail-mode-map):
20298 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20299
20300 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20301 custom-safe-themes as special.
20302
20303 2011-10-01 Julien Danjou <julien@danjou.info>
20304
20305 * notifications.el (notifications-notify): Fix docstring.
20306
20307 2011-10-01 Per Starbäck <per@starback.se>
20308
20309 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20310
20311 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20312
20313 * startup.el (command-line-1): Fix last fix by inserting
20314 initial-scratch-message into *scratch* before displaying it.
20315 (Bug#9605) and (Bug#9636)
20316
20317 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20318
20319 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20320 window is hscrolled, move by logical lines. (Bug#9607)
20321 (line-move-visual): Update the doc string to the above effect.
20322
20323 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20324
20325 * window.el (display-buffer-record-window): When WINDOW is the
20326 selected window use `point' instead of `window-point'. (Bug#9626)
20327
20328 * startup.el (command-line-1): Use insert-before-markers when
20329 inserting initial-scratch-message. (Bug#9605)
20330
20331 * help.el (help-window): Remove variable.
20332
20333 2011-09-29 Glenn Morris <rgm@gnu.org>
20334
20335 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20336
20337 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20338
20339 * descr-text.el (describe-char-categories): Accept category
20340 descriptions more than one line long.
20341
20342 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20343
20344 * simple.el (delete-trailing-whitespace): Fix last change.
20345
20346 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20347 Don't confuse "y => 3" as the beginning of a `y' operation.
20348
20349 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20350 object has more than 4 slots (bug#9613).
20351
20352 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20353
20354 * subr.el (with-output-to-temp-buffer):
20355 * net/quickurl.el (quickurl, quickurl-browse-url):
20356 Fix typos in docstrings.
20357
20358 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20359
20360 * minibuffer.el (completion-styles)
20361 (completion-category-overrides): Cross reference each other in doc
20362 strings.
20363
20364 2011-09-27 Glenn Morris <rgm@gnu.org>
20365
20366 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20367 to split-string. (Bug#9606)
20368
20369 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20370
20371 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20372 (bug#9615).
20373
20374 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20375
20376 * emacs-lisp/package.el (list-packages): Fix echo area message.
20377
20378 2011-09-27 Leo Liu <sdl.web@gmail.com>
20379
20380 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20381
20382 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20383
20384 * net/dbus.el (dbus-unregister-object): Don't release services for
20385 registered signals. (Bug#9581)
20386
20387 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20388
20389 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20390 function that picks between cfengine 2 and 3 support
20391 automatically. Update docs accordingly.
20392
20393 2011-09-22 Kenichi Handa <handa@m17n.org>
20394
20395 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20396 ZERO.
20397 (indian-itrans-v5-table-for-tamil): New variable.
20398 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20399
20400 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20401
20402 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20403 that's true if the current command involved collapsing of text.
20404 It's reset to false at the beginning of the next command.
20405 (allout-post-command-business): Move the cursor to the beginning
20406 of entry if the cursor is hidden and collapsing activity just
20407 happened.
20408
20409 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20410
20411 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20412 tracking (Bug#9541).
20413
20414 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20415
20416 * net/newst-reader.el (newsticker-html-renderer)
20417 (newsticker-show-news): Automatically load html rendering package
20418 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20419 because w3m-fill-column is let-bound" and the error "Symbol's value
20420 as variable is void: w3m-fill-column".
20421
20422 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20423
20424 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20425 Release services only if they are defined. (Bug#9581)
20426
20427 2011-09-23 Richard Stallman <rms@gnu.org>
20428
20429 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20430 distinguish start of paragraph from start of its text.
20431
20432 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20433
20434 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20435 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20436 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20437
20438 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20439
20440 * international/mule-diag.el (mule-diag): Insert a newline after
20441 each fontset description.
20442
20443 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20444
20445 * simple.el (delete-trailing-whitespace):
20446 Document last change; simplify.
20447
20448 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20449
20450 * simple.el (delete-trailing-whitespace): Also delete
20451 extra newlines at the end of the buffer.
20452
20453 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20454 (picture-newline): Use forward-line so as to ignore fields.
20455
20456 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20457
20458 * subr.el (with-wrapper-hook): Fix edebug spec.
20459
20460 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20461
20462 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20463 (bug#4538).
20464
20465 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20466
20467 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20468 Fix nasty bug using wrong cached values.
20469
20470 2011-09-23 Alan Mackenzie <acm@muc.de>
20471
20472 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20473
20474 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20475
20476 * window.el (pop-to-buffer): Ensure right window is selected if we
20477 chose another frame.
20478
20479 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20480
20481 * simple.el (what-cursor-position): Use get-char-property-change
20482 and next-single-char-property-change, to be able to show display
20483 properties that come from overlays as well as text properties.
20484
20485 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20486
20487 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20488
20489 * cmuscheme.el (run-scheme, switch-to-scheme):
20490 * cus-edit.el (customize-group, custom-buffer-create)
20491 (customize-browse):
20492 * info.el (info):
20493 * shell.el (shell):
20494 * mail/sendmail.el (mail):
20495 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20496
20497 2011-09-22 Richard Stallman <rms@gnu.org>
20498
20499 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20500 move back only to line beg, don't move back over blank lines.
20501
20502 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20503
20504 * files.el (copy-directory): Set directory attributes only in case
20505 they could be retrieved from the source directory. (Bug#9565)
20506
20507 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20508
20509 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20510 (hs-find-block-beginning, hs-hide-level-recursive):
20511 Ignore strings as well as comments. (Bug#9502)
20512
20513 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20514
20515 * progmodes/sql.el (sql-comint-postgres):
20516 Convert port number to a string. (Bug#9566)
20517
20518 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20519
20520 * window.el (quit-window): Undedicate window when switching to
20521 previous buffer. Reported by Thierry Volpiatto
20522 <thierry.volpiatto@gmail.com>.
20523 (special-display-popup-frame): When popping up a new frame reset
20524 its previous buffers to nil. Simplify code.
20525
20526 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20527
20528 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20529 and process filter, as done also in `shell-command'.
20530
20531 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20532
20533 * window.el (set-window-buffer-start-and-point):
20534 Call set-window-start with NOFORCE argument t.
20535 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20536 (quit-window): Reword doc-string. Handle new format of
20537 quit-restore parameter. Don't delete window if it has a
20538 previous buffer we can show instead of the present one.
20539 (display-buffer-record-window): Rewrite using a new format for
20540 the quit-restore window parameter
20541 (special-display-popup-frame, display-buffer-same-window)
20542 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20543 (display-buffer-pop-up-window, display-buffer-use-some-window):
20544 Adapt symbol passed to display-buffer-record-window.
20545 * help.el (help-window-setup): Handle new format of quit-restore
20546 parameter.
20547
20548 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20549
20550 * faces.el (face-list): Fix docstring (bug#9564).
20551
20552 * window.el (display-buffer--action-function-custom-type):
20553 Don't include internal functions in the Custom interface.
20554
20555 2011-09-20 Juri Linkov <juri@jurta.org>
20556
20557 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20558 (Info-forward-node, Info-backward-node, Info-next-preorder)
20559 (Info-last-preorder): Use it. (Bug#9528)
20560
20561 2011-09-20 Juri Linkov <juri@jurta.org>
20562
20563 * info.el (Info-last-preorder): Visit last menu item only when
20564 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20565
20566 2011-09-20 Julien Danjou <julien@danjou.info>
20567
20568 * password-cache.el (password-cache-remove): Remove entries even if the
20569 value is nil, so that password with a nil value (negative caching) is
20570 possible to invalidate.
20571
20572 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20573
20574 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20575 all whitespace around breakpoint. (Bug#9553)
20576 (f90-find-breakpoint): Only break at whitespace inside a comment.
20577
20578 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20579
20580 * minibuffer.el (completion-file-name-table): Keep track of errors.
20581 (completion-table-with-predicate): Handle the case where pred1 is nil.
20582 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20583
20584 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20585
20586 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20587 (debugger-return-value): Signal an error if the debugging context does
20588 not await any return value.
20589
20590 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20591 * image-mode.el (image-toggle-display-text)
20592 (image-toggle-display-image): Stay away from evil `intangible'.
20593
20594 2011-09-19 Leo Liu <sdl.web@gmail.com>
20595
20596 * replace.el (occur-revert-arguments): Make it permanent-local.
20597 (occur-mode): Don't call font-lock-defontify.
20598
20599 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20600
20601 * net/ldap.el (ldap-search-internal): Don't push empty search
20602 result (Bug#9508).
20603
20604 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20605
20606 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20607
20608 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20609
20610 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20611 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20612
20613 2011-09-18 Juri Linkov <juri@jurta.org>
20614
20615 * buff-menu.el (Buffer-menu-mode-map):
20616 * dired.el (dired-mode-map):
20617 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20618 (lisp-interaction-mode-map):
20619 * emacs-lisp/package.el (package-menu-mode-map):
20620 * epa.el (epa-key-list-mode-map):
20621 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20622 (menu-bar-options-menu):
20623 * outline.el (outline-mode-menu-bar-map):
20624 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20625 * vc/vc-dir.el (vc-dir-menu-map):
20626 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20627 Capitalize non-function content words in menu item strings.
20628
20629 * dired.el (dired-mode-map): Add menu item for
20630 `image-dired-dired-toggle-marked-thumbs'.
20631
20632 2011-09-18 Juri Linkov <juri@jurta.org>
20633
20634 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20635 to `isearch-case-fold-search' and restore its original value
20636 after the `isearch-mode' call.
20637
20638 2011-09-18 Juri Linkov <juri@jurta.org>
20639
20640 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20641 because `zgrep' returns 1 for successful matches (bug#9226).
20642
20643 2011-09-18 Juri Linkov <juri@jurta.org>
20644
20645 * info.el (Info-extract-menu-node-name): Check the second match
20646 for empty string (second test-case of bug#9528).
20647 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20648 intermediate nodes to the history (first test-case of bug#9528).
20649
20650 2011-09-18 Juri Linkov <juri@jurta.org>
20651
20652 * info.el (Info-mode-syntax-table): New variable.
20653 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20654
20655 2011-09-18 Juri Linkov <juri@jurta.org>
20656
20657 * info.el (Info-file-supports-index-cookies):
20658 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20659 outputs one more line for long file names (bug#4142).
20660
20661 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20662
20663 * newcomment.el (comment-normalize-vars): If prompting for
20664 comment-start, set comment-start-skip too (Bug#8424).
20665
20666 2011-09-18 Johan Bockgård <bojohan@gnu.org>
20667
20668 * icomplete.el: Fix previous fix of Bug#5849.
20669 (icomplete-mode): Don't set completion-show-inline-help.
20670 (icomplete-minibuffer-setup): Set completion-show-inline-help
20671 locally during icompletion.
20672
20673 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20674
20675 * woman.el (woman2-process-escapes): Don't delete unrecognized
20676 escapes (Bug#7843).
20677
20678 * files.el (inhibit-first-line-modes-regexps): Add image files.
20679 (hack-local-variables-prop-line): Return nil for malformed
20680 prop-lines (Bug#9044).
20681
20682 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20683
20684 * net/tramp.el (top): Don't require 'shell.
20685 (tramp-methods): Fix docstring.
20686 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20687 Return complete remote file name. Handle "smb" case.
20688 Use `tramp-tmpdir', if defined for the respective method.
20689 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20690
20691 * net/tramp-compat.el (top): Require 'shell.
20692
20693 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20694 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20695 `tramp-current-host'.
20696 (tramp-get-remote-tmpdir): Remove.
20697
20698 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20699 `tramp-tmpdir' entries.
20700 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20701 (tramp-smb-handle-file-attributes): Ignore errors.
20702 (tramp-smb-wait-for-output): Check also for process end.
20703
20704 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20705
20706 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20707 when sending QUIT (bug#9312).
20708
20709 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20710
20711 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20712 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20713 occur-mode-display-occurrence.
20714 (occur-edit-mode): Add usage message.
20715 (occur-cease-edit): New command.
20716 (occur-after-change-function): Use text properties to find the
20717 position of the prefix text.
20718 (occur-engine): Set stickiness of prefix text properties.
20719
20720 2011-09-17 Glenn Morris <rgm@gnu.org>
20721
20722 * progmodes/etags.el (complete-tag):
20723 Fix call to completion-in-region. (Bug#9526)
20724
20725 2011-09-17 Juri Linkov <juri@jurta.org>
20726
20727 * textmodes/ispell.el (ispell-word): Add to the error message
20728 the word, ispell program name and current dictionary (bug#9121).
20729 (ispell-tex-arg-end): Capitalize "error" in the error message.
20730
20731 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20732
20733 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20734 check. (Bug#4251)
20735
20736 2011-09-17 Juri Linkov <juri@jurta.org>
20737
20738 * window.el (window-safe-min-height, window-safe-min-width):
20739 Fix typos (followup to bug#9522).
20740
20741 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20742
20743 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20744
20745 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20746
20747 * simple.el (line-move): If goal-column is set, move by logical
20748 lines, not by display lines. (Bug#971)
20749 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20750 to reflect the above change.
20751
20752 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20753
20754 * image.el (imagemagick-register-types): Use regexp-opt.
20755
20756 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20757
20758 * window.el (display-buffer-base-action): Rename from
20759 display-buffer-default-action. Make default value empty.
20760 (display-buffer-overriding-action): Convert to defvar.
20761 (display-buffer-fallback-action): New var.
20762
20763 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20764
20765 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20766 declaration.
20767 (package--add-to-archive-contents): If there is a duplicate entry
20768 with an older version, remove it.
20769 (package-menu-mark-delete, package-menu-mark-install)
20770 (package-menu-mark-unmark): Make unused args optional.
20771 (package-menu-mark-obsolete-for-deletion):
20772 Use package-menu-get-status instead of a regexp search.
20773 (package-menu-get-status): Use tabulated-list-entry.
20774 (package-menu-mark-upgrades): New command.
20775 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20776 (package-menu-execute): Do installation before deletion.
20777 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20778 instead of checking major-mode.
20779 (package-menu--find-upgrades): New function.
20780
20781 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20782
20783 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20784 passwords in the log buffer.
20785 (smtpmail-process-filter): Update the process marker so that the
20786 "broken by peer" status message is inserted in the right place.
20787
20788 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20789
20790 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20791 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20792 bibtex-completion-at-point-function.
20793 (bibtex-completion-at-point-function): Use them.
20794
20795 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20796
20797 * mpc.el (mpc-constraints-tag-lookup): New function.
20798 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20799 also to browser "album|playlist".
20800
20801 2011-09-14 Juri Linkov <juri@jurta.org>
20802
20803 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20804 (isearch-edit-string): Use length of `isearch-string' when
20805 `isearch-fail-pos' returns nil.
20806 (isearch-message): Remove duplicate code and call
20807 `isearch-fail-pos' with arg `t'.
20808
20809 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20810
20811 * replace.el (occur-mode-goto-occurrence): Don't force using other
20812 window (Bug#9499).
20813
20814 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20815
20816 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20817
20818 * window.el (display-buffer-window): Remove.
20819 (display-buffer-record-window): Use help-setup window parameter
20820 instead of variable display-buffer-window.
20821 (display-buffer-function, special-display-buffer-names)
20822 (special-display-function): Mention help-setup parameter instead
20823 of display-buffer-window in doc-string.
20824 * help.el (help-window-setup): New argument help-window.
20825 Use help-window-setup parameter instead of display-buffer-window.
20826 Reword some messages.
20827 (with-help-window): Pass window used for displaying the buffer
20828 to help-window-setup. Don't set display-buffer-window.
20829
20830 2011-09-13 Glenn Morris <rgm@gnu.org>
20831
20832 * emacs-lisp/debug.el (debugger-make-xrefs):
20833 Preserve point. (Bug#9462)
20834
20835 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20836
20837 * window.el (window-deletable-p): Use next-frame.
20838
20839 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20840
20841 * window.el (window-auto-delete): Remove.
20842 (window-deletable-p): Remove argument FORCE. Don't deal with
20843 dedication and previous buffers.
20844 (switch-to-prev-buffer): Don't delete window.
20845 (delete-windows-on): Delete a window's frame if and only if the
20846 window is dedicated.
20847 (replace-buffer-in-windows): Delete buffer's window or frame if
20848 and only if window is dedicated.
20849 (quit-window): Handle quit-restore as before last change.
20850 (bury-buffer): Delete window only if window-deletable-p returns t.
20851
20852 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20853
20854 * window.el (window-deletable-p): Never delete the last frame on a
20855 given terminal.
20856
20857 2011-09-13 Glenn Morris <rgm@gnu.org>
20858
20859 * help.el (describe-key-briefly): Copy previous standard-output change.
20860
20861 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20862
20863 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20864
20865 2011-09-13 Glenn Morris <rgm@gnu.org>
20866
20867 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20868 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20869
20870 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20871
20872 * dired-aux.el (dired-mark-read-string): Don't return default
20873 value on empty input (Bug#9361).
20874 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20875 Omit initial minibuffer contents.
20876 (dired-do-chmod): Signal an error on empty input.
20877 (dired-mark-read-string): Don't return default on empty input.
20878
20879 * files.el (file-modes-symbolic-to-number): Doc fix.
20880
20881 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20882
20883 * international/mule-cmds.el (ucs-completions): Remove.
20884 (read-char-by-name): Use complete-with-action instead; add metadata.
20885
20886 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20887
20888 * window.el (display-buffer--action-function-custom-type)
20889 (display-buffer--action-custom-type): New vars.
20890 (display-buffer-alist, display-buffer-default-action)
20891 (display-buffer-overriding-action): Add defcustom types.
20892
20893 * frame.el (delete-other-frames): Doc fix (Bug#276).
20894
20895 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20896
20897 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20898
20899 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20900
20901 Change modes that used same-window-* vars to use switch-to-buffer.
20902
20903 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20904 Use switch-to-buffer.
20905
20906 * cus-edit.el (customize-group, custom-buffer-create)
20907 (customize-browse, custom-buffer-create-other-window):
20908 Use switch-to-buffer or switch-to-buffer-other-window.
20909
20910 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20911 (Info-prev, Info-up, Info-speedbar-goto-node)
20912 (info-display-manual): Use switch-to-buffer.
20913 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20914
20915 * mail/sendmail.el (mail): Use switch-to-buffer.
20916 (mail-recover): Use switch-to-buffer-other-window.
20917
20918 * cmuscheme.el (run-scheme, switch-to-scheme):
20919 * ielm.el (ielm):
20920 * shell.el (shell):
20921 * net/rlogin.el (rlogin):
20922 * net/telnet.el (telnet, rsh):
20923 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20924
20925 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20926
20927 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20928
20929 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20930
20931 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20932 so don't mention it (bug#9301).
20933 (dired-sort-toggle-or-edit): Clarify string further.
20934
20935 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20936 match `x', `w32' and `ns', like the manual says (bug#9029).
20937
20938 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20939 (process-kill-buffer-query-function): Mention the buffer name in
20940 the query.
20941
20942 * image-mode.el (image-next-line): The line parameter is mandatory
20943 (bug#9258).
20944
20945 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20946 which can be useful (bug#9301).
20947
20948 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20949
20950 * subr.el (match-string): Mention that the current buffer should
20951 be the same as the search was done in (bug#9282).
20952
20953 * facemenu.el: Disable the remove-* commands if the mark isn't
20954 active (bug#9162).
20955
20956 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20957
20958 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20959 of display-buffer.
20960 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20961
20962 * replace.el (occur-mode-goto-occurrence)
20963 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20964 and display-buffer.
20965
20966 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20967 display-buffer.
20968
20969 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20970 special-display and same-window variables.
20971 (mail-other-window): Use switch-to-buffer-other-window.
20972 (mail-other-frame): USe switch-to-buffer-other-frame.
20973
20974 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20975 Use display-buffer-other-frame.
20976 (gdb-display-gdb-buffer): Use pop-to-buffer.
20977
20978 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20979
20980 * progmodes/python.el: Don't set same-window-buffer-names.
20981
20982 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20983
20984 * window.el (display-buffer-alist): Add *Python*.
20985
20986 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20987
20988 * window.el (display-buffer-alist): Add entry for buffers
20989 previously handled same-window-*.
20990 (display-buffer-alist, display-buffer-default-action)
20991 (display-buffer-overriding-action): Mark as risky.
20992 (display-buffer-alist): Document action function changes.
20993 (display-buffer--same-window-action)
20994 (display-buffer--other-frame-action): New variables.
20995 (switch-to-buffer, display-buffer-other-frame): Use them.
20996 (display-buffer): Rename reuse-frame entry to reusable-frames.
20997 (display-buffer-reuse-selected-window): Function deleted.
20998 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20999 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
21000 (display-buffer-special): New function.
21001 (display-buffer--maybe-pop-up-frame-or-window): Rename from
21002 display-buffer-reuse-or-pop-window. Split off special-display
21003 part into display-buffer-special.
21004 (display-buffer-use-some-window): Don't perform any special
21005 pop-up-frames handling.
21006 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
21007 (display-buffer--maybe-same-window): Rename from
21008 display-buffer-maybe-same-window.
21009
21010 * info.el: Don't set same-window-regexps.
21011 (info-setup): New function.
21012 (info-other-window, info): Call it.
21013
21014 * cus-edit.el: Don't set same-window-regexps.
21015 (customize-group): New argument.
21016 (customize-group-other-window): Use it.
21017 (customize-face, customize-face-other-window): Likewise.
21018 (custom-buffer-create-other-window): Use pop-to-buffer directly.
21019
21020 * net/rlogin.el:
21021 * net/telnet.el:
21022 * progmodes/gud.el: Don't set same-window-regexps.
21023
21024 * cmuscheme.el:
21025 * ielm.el:
21026 * shell.el:
21027 * mail/sendmail.el:
21028 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
21029
21030 2011-09-10 Juri Linkov <juri@jurta.org>
21031
21032 * isearch.el (isearch-edit-string): Remove obsolete mention of
21033 `C-w' (`isearch-yank-word-or-char') from docstring.
21034 (isearch-query-replace): Fix typo in docstring (bug#9466).
21035
21036 2011-09-10 Juri Linkov <juri@jurta.org>
21037
21038 * paren.el (show-paren-function): Don't show escaped parens.
21039 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
21040
21041 2011-09-10 Eli Zaretskii <eliz@gnu.org>
21042
21043 * mail/sendmail.el (mml-to-mime, mml-attach-file)
21044 (mm-default-file-encoding): Remove autoload forms, they are
21045 replaced with autoload cookies in mml.el and mm-encode.el.
21046 (mail-add-attachment): New command.
21047 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
21048 (mail-mode): Mention mail-insert-file and mail-add-attachment in
21049 the doc string.
21050 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
21051
21052 2011-09-10 Reuben Thomas <rrt@sc3d.org>
21053
21054 * simple.el (count-words-region): Use buffer if there's no region
21055 (bug#9429).
21056
21057 2011-09-09 Juri Linkov <juri@jurta.org>
21058
21059 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
21060 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
21061 (wdired-isearch-filter-read-only): New function. (Bug#6362)
21062
21063 2011-09-09 Alan Mackenzie <acm@muc.de>
21064
21065 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
21066 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
21067
21068 2011-09-09 Eli Zaretskii <eliz@gnu.org>
21069
21070 Fix for Savannah bug#9392.
21071 * simple.el (mail-encode-mml): New defvar.
21072
21073 * mail/rmail.el (mail-encode-mml): Add a defvar.
21074 (rmail-enable-mime-composing): Default to t.
21075 (rmail-forward): Use MIME method of forwarding only if both
21076 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
21077 Set mail-encode-mml non-nil if the MIME method was used.
21078
21079 * mail/sendmail.el (mml-to-mime): Add autoload form.
21080 (mail-encode-mml): Add a defvar.
21081 (mail-mode): Make mail-encode-mml buffer-local and initialize it
21082 to nil.
21083 (mail-send): If mail-encode-mml is non-nil, run the outgoing
21084 message through mml-to-mime, and reset mail-encode-mml to nil.
21085
21086 2011-09-09 Glenn Morris <rgm@gnu.org>
21087
21088 * woman.el (woman-if-body): When processing an .el block,
21089 do not delete the next .el block as well. (Bug#9447)
21090 (woman-special-characters): Add oq, cq, and hy characters.
21091
21092 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21093
21094 * window.el (window-deletable-p): Make sure window is live before
21095 invoking window-prev-buffers.
21096
21097 2011-09-08 Leo Liu <sdl.web@gmail.com>
21098
21099 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
21100
21101 2011-09-08 Juri Linkov <juri@jurta.org>
21102
21103 * progmodes/compile.el (compilation-environment): Make it
21104 a defcustom (bug#8340).
21105
21106 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21107
21108 * window.el (frame-auto-delete): Rename to window-auto-delete.
21109 Make it control auto-deletion of windows and/or frames.
21110 (window-deletable-p): New argument FORCE. Rewrite conditions
21111 for deleting window/frame. (Bug#9419)
21112 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21113 Rewrite handling of case when window/frame can be deleted.
21114 (delete-windows-on): Call window-deletable-p with new FORCE
21115 argument t. (Bug#9456)
21116
21117 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
21118
21119 * help-mode.el (help-mode): Restore autoload.
21120
21121 2011-09-07 Juri Linkov <juri@jurta.org>
21122
21123 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21124 `compilation-environment'. Set buffer-local
21125 `compilation-environment' to `thisenv' later after (funcall mode).
21126 (Bug#8340)
21127
21128 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
21129 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21130 instead of replacing its value. (Bug#8340)
21131
21132 2011-09-07 Juri Linkov <juri@jurta.org>
21133
21134 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21135 based on text properties put by `grep-filter' instead of matching
21136 escape sequences.
21137 (grep-mode): Set buffer-local `compilation-error-screen-columns'
21138 to the value of `grep-error-screen-columns' (bug#9438).
21139
21140 2011-09-07 Juri Linkov <juri@jurta.org>
21141
21142 * simple.el (next-error-highlight, next-error-highlight-no-select):
21143 Doc fix (bug#9432).
21144
21145 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21146
21147 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21148 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21149
21150 2011-09-07 Leo Liu <sdl.web@gmail.com>
21151
21152 * net/rcirc.el (rcirc-mode): Conditionally initialize
21153 rcirc-input-ring.
21154
21155 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21156
21157 * emacs-lisp/find-func.el (find-function-C-source): Only set
21158 find-function-C-source-directory after checking that we found a source
21159 file there (bug#9440).
21160
21161 2011-09-06 Alan Mackenzie <acm@muc.de>
21162
21163 * isearch.el (isearch-other-meta-char): Wherever a key list is
21164 unread, "unread" the prefix arg, too. This fixes bug #8901.
21165
21166 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21167
21168 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21169
21170 2011-09-05 Juri Linkov <juri@jurta.org>
21171
21172 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21173
21174 2011-09-05 Juri Linkov <juri@jurta.org>
21175
21176 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21177 keeping point where processing of grep matches begins, and
21178 continue to delete remaining escape sequences from the same point.
21179 (grep-filter): Make leading zero optional in "0?1;31m" because
21180 git-grep emits "\033[1;31m" escape sequences unlike expected
21181 "\033[01;31m" as GNU Grep does (bug#9408).
21182 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21183
21184 2011-09-05 Juri Linkov <juri@jurta.org>
21185
21186 * subr.el (y-or-n-p): Capitalize "yes".
21187
21188 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21189
21190 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21191 `tramp-cache-unload-hook' where appropriate.
21192 (tramp-methods): Rename `tramp-remote-sh' to
21193 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21194 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21195
21196 * net/tramp-sh.el (top): Don't require 'shell.
21197 (tramp-methods): Add `tramp-remote-shell' and
21198 `tramp-remote-shell-args' entries.
21199 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21200 (tramp-sh-handle-shell-command): Remove.
21201 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21202 Use `tramp-remote-shell'.
21203
21204 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21205
21206 * mail/sendmail.el (sendmail-query-once-function): Delete.
21207 (sendmail-query-once): Save directly to send-mail-function.
21208 Update message-send-mail-function too.
21209
21210 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21211
21212 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21213
21214 * progmodes/python.el (python-mode-map): Use correct function to
21215 start python interpreter from menu-bar (as reported by Geert
21216 Kloosterman).
21217 (inferior-python-mode-map): Fix typo.
21218 (python-shell-map): Remove.
21219
21220 2011-09-03 Deniz Dogan <deniz@dogan.se>
21221
21222 * net/rcirc.el (rcirc-print): Simplify code for
21223 rcirc-scroll-show-maximum-output. There is no need to walk
21224 through all windows to find the right one.
21225
21226 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21227
21228 * help.el (help-return-method): Doc fix.
21229
21230 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21231
21232 * window.el (window-deletable-p): Don't return a non-nil value
21233 when there's a buffer that was shown in the window before.
21234 (Bug#9419)
21235 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21236 Set window's previous buffers to nil.
21237
21238 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21239
21240 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21241 newline before and after the tag line, so it doesn't interfere
21242 with determining the paragraph direction of bidirectional text.
21243
21244 2011-09-03 Leo Liu <sdl.web@gmail.com>
21245
21246 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21247
21248 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21249
21250 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21251 (pop-to-buffer): Change interactive spec. Pass second argument
21252 directly to display-buffer.
21253 (display-buffer): Fix interactive spec. Use functionp to
21254 distinguish between a function and a list of functions.
21255
21256 * abbrev.el (edit-abbrevs):
21257 * arc-mode.el (archive-extract):
21258 * autoinsert.el (auto-insert):
21259 * bookmark.el (bookmark-bmenu-list):
21260 * files.el (find-file):
21261 * view.el (view-buffer):
21262 * progmodes/compile.el (compilation-goto-locus):
21263 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21264
21265 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21266
21267 * window.el (display-buffer-alist): Doc fix.
21268 (display-buffer): Add docstring. Don't treat
21269 display-buffer-default specially.
21270 (display-buffer-reuse-selected-window)
21271 (display-buffer-same-window, display-buffer-maybe-same-window)
21272 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21273 (display-buffer-pop-up-window)
21274 (display-buffer-reuse-or-pop-window)
21275 (display-buffer-use-some-window): New functions.
21276 (display-buffer-default-action): Use them.
21277 (display-buffer-default): Delete.
21278 (pop-to-buffer-1): Fix choice of actions.
21279
21280 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21281
21282 * minibuffer.el (completion--insert-strings): Don't get confused by
21283 completion entries that end with an LF char.
21284
21285 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21286
21287 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21288
21289 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21290
21291 * window.el (display-buffer): Restore interactive spec.
21292 (display-buffer-same-window, display-buffer-other-window):
21293 New functions.
21294 (pop-to-buffer-1): New function. Use the above.
21295 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21296 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21297
21298 * view.el (view-buffer-other-window, view-buffer-other-frame):
21299 Just use pop-to-buffer.
21300
21301 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21302
21303 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21304
21305 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21306
21307 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21308
21309 2011-08-31 Richard Stallman <rms@gnu.org>
21310
21311 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21312 of the separation of rmail-view-buffer from rmail-buffer.
21313 If you say no to "replace original", the decrypt is in the
21314 view buffer. If you say yes, the decrypt goes into the
21315 rmail buffer also.
21316
21317 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21318
21319 * window.el (display-buffer-window): Rewrite doc-string.
21320 (display-buffer-record-window): New function.
21321 (display-buffer-macro-specifiers)
21322 (display-buffer-even-window-sizes, display-buffer-set-height)
21323 (display-buffer-set-width, display-buffer-in-window)
21324 (display-buffer-reuse-window, display-buffer-split-specifiers)
21325 (display-buffer-side-specifiers, display-buffer-split-window-1)
21326 (display-buffer-split-window, display-buffer-split-atom-window)
21327 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21328 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21329 (display-buffer-other-window-means-other-frame)
21330 (display-buffer-normalize-special)
21331 (display-buffer-normalize-default)
21332 (display-buffer-normalize-argument)
21333 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21334 (display-buffer-normalize-specifiers, display-buffer-frame)
21335 (display-buffer-same-window, display-buffer-same-frame)
21336 (display-buffer-other-window)
21337 (display-buffer-same-frame-other-window)
21338 (display-buffer-other-frame, pop-to-buffer-same-window)
21339 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21340 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21341 (switch-to-buffer-same-frame)
21342 (switch-to-buffer-other-window-same-frame)
21343 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21344 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21345 (display-buffer-alist-set): Remove.
21346 (display-buffer-function, special-display-buffer-names)
21347 (special-display-regexps, special-display-function):
21348 In doc-string refer to display-buffer-window and quit-restore
21349 parameter.
21350 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21351 (special-display-frame-alist, special-display-popup-frame)
21352 (same-window-buffer-names, same-window-regexps, same-window-p)
21353 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21354 (split-window-preferred-function, split-height-threshold)
21355 (split-width-threshold, window-splittable-p)
21356 (split-window-sensibly, window--try-to-split-window)
21357 (window--frame-usable-p, even-window-heights)
21358 (window--even-window-heights, window--display-buffer-1)
21359 (window--display-buffer-2, display-buffer-other-frame):
21360 Restore old Emacs 23 code, order and doc-strings where applicable.
21361 (display-buffer-default, display-buffer-assq-regexp): New functions.
21362 (display-buffer-alist): Rewrite doc-string.
21363 (display-buffer-default-action)
21364 (display-buffer-overriding-action): New variables.
21365 (display-buffer, switch-to-buffer): Rewrite.
21366 (pop-to-buffer): Restore Emacs 23 behavior but use
21367 window-normalize-buffer-to-display.
21368 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21369 Restore Emacs 23 behavior but use
21370 window-normalize-buffer-to-switch-to.
21371 (pop-to-buffer-same-window): Rewrite.
21372 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21373 Rewrite using Emacs 23 options.
21374
21375 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21376
21377 * net/tramp.el (tramp-root-regexp): Remove.
21378 (tramp-completion-file-name-regexp-unified)
21379 (tramp-completion-file-name-regexp-separate)
21380 (tramp-completion-file-name-regexp-url): Don't use leading volume
21381 letter on w32 systems. (Bug#5303, Bug#9311)
21382 (tramp-drop-volume-letter): Simplify definition.
21383 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21384
21385 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21386
21387 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21388 (bug#9356).
21389
21390 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21391
21392 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21393
21394 2011-08-29 Juri Linkov <juri@jurta.org>
21395
21396 * isearch.el (isearch-done): Don't display message "Mark saved"
21397 when arg `edit' is non-nil to prevent its flicker in the echo area.
21398
21399 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21400
21401 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21402 obsolete packages for deletion.
21403
21404 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21405
21406 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21407 (help-mode): Derive help-mode from special-mode. Don't invoke
21408 view-mode from help-mode.
21409 (help-xref-override-view-map): Remove.
21410 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21411 view-mode is not used anymore.
21412
21413 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21414
21415 * server.el (server-port): Doc fix.
21416
21417 * cus-theme.el (custom-theme-choose-mode): Inherit from
21418 special-mode (Bug#9124).
21419 (custom-theme-choose-mode-map): Add special-mode to parent.
21420
21421 2011-08-28 Alan Mackenzie <acm@muc.de>
21422
21423 * progmodes/cc-fonts.el
21424 (c-make-font-lock-BO-decl-search-function): New function.
21425 (c-basic-matchers-after - "Fontify the clauses after various
21426 keywords"): Extract the three keyword lists for the 3 erroneous
21427 constructs from the list of four, and use the new function above
21428 in place of an old one.
21429
21430 2011-08-28 Deniz Dogan <deniz@dogan.se>
21431
21432 * net/rcirc.el (rcirc-insert-prev-input)
21433 (rcirc-insert-next-input): Remove unused argument.
21434
21435 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21436
21437 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21438
21439 2011-08-27 Alan Mackenzie <acm@muc.de>
21440
21441 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21442 handle function pointer parameters properly.
21443
21444 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21445
21446 * window.el (display-buffer-reuse-window): Fix case where
21447 selected window was reused with non-nil OTHER-WINDOW argument.
21448 (Bug#9381)
21449
21450 2011-08-27 Deniz Dogan <deniz@dogan.se>
21451
21452 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21453 oftc's NickServ messages.
21454
21455 2011-08-27 Glenn Morris <rgm@gnu.org>
21456
21457 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21458
21459 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21460
21461 * emacs-lisp/package.el (package-install): Call package-initialize
21462 if called interactively.
21463
21464 2011-08-26 Leo Liu <sdl.web@gmail.com>
21465
21466 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21467
21468 2011-08-25 Juri Linkov <juri@jurta.org>
21469
21470 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21471 `search-whitespace-regexp' (bug#9364).
21472
21473 2011-08-25 Juri Linkov <juri@jurta.org>
21474
21475 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21476 `regexp-search-ring' to their global values to protect from
21477 updating by `read-from-minibuffer' (bug#9185).
21478
21479 2011-08-25 Juri Linkov <juri@jurta.org>
21480
21481 * textmodes/ispell.el (ispell-command-loop): Add newline
21482 at the end of the "Use option `i'..." line.
21483
21484 2011-08-25 Juri Linkov <juri@jurta.org>
21485
21486 * battery.el (display-battery-mode): If `battery-status-function'
21487 or `battery-mode-line-format' is nil, display the message and set
21488 `display-battery-mode' to nil (bug#9363).
21489
21490 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21491
21492 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21493 bidi-string-mark-left-to-right; they are unnecessary now.
21494
21495 2011-08-25 Deniz Dogan <deniz@dogan.se>
21496
21497 * net/quickurl.el: Documentation typo fixes.
21498
21499 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21500
21501 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21502
21503 2011-08-25 Glenn Morris <rgm@gnu.org>
21504
21505 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21506
21507 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21508 (smtpmail-via-smtp): Handle nil response from smtp.
21509
21510 2011-08-24 Juri Linkov <juri@jurta.org>
21511
21512 * proced.el (proced-marked): Inherit from `error' instead of
21513 `font-lock-warning-face'.
21514
21515 * ibuffer.el (ibuffer-marked-face): Change default face from
21516 `font-lock-warning-face' to `warning'.
21517 (ibuffer-deletion-face): Change default face from
21518 `font-lock-type-face' to `error'.
21519
21520 * battery.el (battery-update): Use the face `error' instead of
21521 `font-lock-warning-face' (bug#6117).
21522
21523 2011-08-24 Juri Linkov <juri@jurta.org>
21524
21525 * faces.el (success): Change face color from "Green3" to
21526 "ForestGreen" on light background (bug#9353).
21527
21528 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21529
21530 * window.el (quit-window): Rename from quit-restore-window.
21531 Use same arglist as old quit-window.
21532 (frame-auto-delete): Doc fix.
21533
21534 * view.el (view-mode-exit): Use quit-window.
21535
21536 2011-08-24 Juri Linkov <juri@jurta.org>
21537
21538 * isearch.el (isearch-ring-adjust1): Start visiting previous
21539 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21540 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21541 for empty search string (when the last search string is reused
21542 automatically) to adjust the isearch ring to the last element and
21543 prepare the correct index for further M-p commands (bug#9185).
21544
21545 2011-08-24 Kenichi Handa <handa@m17n.org>
21546
21547 * international/ucs-normalize.el: If decomposition property of
21548 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21549 nil.
21550 (nfd, nfkd): Likewise.
21551
21552 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21553
21554 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21555 from process filters aren't reliably transmitted to the surrounding
21556 accept-process-output.
21557 (mpc-proc-check): New function.
21558 (mpc-proc-sync): Use it (bug#8293)
21559
21560 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21561
21562 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21563 Add compatibility functions (bug#9313).
21564
21565 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21566
21567 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21568
21569 * international/uni-bidi.el: Regenerate.
21570
21571 2011-08-23 Kenichi Handa <handa@m17n.org>
21572
21573 * international/charprop.el:
21574 * international/uni-bidi.el:
21575 * international/uni-category.el:
21576 * international/uni-combining.el:
21577 * international/uni-comment.el:
21578 * international/uni-decimal.el:
21579 * international/uni-decomposition.el:
21580 * international/uni-digit.el:
21581 * international/uni-lowercase.el:
21582 * international/uni-mirrored.el:
21583 * international/uni-name.el:
21584 * international/uni-numeric.el:
21585 * international/uni-old-name.el:
21586 * international/uni-titlecase.el:
21587 * international/uni-uppercase.el: Regenerate.
21588
21589 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21590
21591 * help.el (help-window-setup): Fix message displayed when other
21592 window is reused. (Bug#9341)
21593
21594 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21595
21596 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21597 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21598
21599 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21600 Mark obsolete.
21601 * shell.el (shell-parse-pcomplete-arguments): New function.
21602 (shell-completion-vars): Use it instead (bug#9160).
21603
21604 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21605
21606 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21607 strings and comments (bug#9333).
21608
21609 * emacs-lisp/debug.el (debug-arglist): New function.
21610 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21611 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21612
21613 2011-08-22 Juri Linkov <juri@jurta.org>
21614
21615 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21616 Revert regexp that highlights output switches to its old
21617 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21618
21619 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21620 to check for empty output (bug#9226).
21621
21622 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21623
21624 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21625 symbol-constituent as the default, as that stops font-lock from
21626 working properly (Bug#8843).
21627
21628 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21629
21630 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21631 `coding-system-for-*' around the process open call to avoid
21632 auth-source side effects.
21633 (smtpmail-try-auth-methods): Expand the secret password.
21634 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21635 probe hangs.
21636
21637 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21638
21639 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21640
21641 * emacs-lisp/find-func.el (find-function-noselect): New arg
21642 lisp-only.
21643
21644 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21645 signal an error for built-in functions (Bug#6664).
21646
21647 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21648
21649 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21650 (smtpmail-try-auth-methods): Use it.
21651
21652 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21653
21654 * font-lock.el (font-lock-fontify-region)
21655 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21656 (font-lock-default-unfontify-buffer)
21657 (font-lock-default-fontify-region)
21658 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21659
21660 * progmodes/compile.el (compilation-error-properties):
21661 Fix confusion between file struct and message struct (Bug#9319).
21662 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21663 `ant' regexp.
21664
21665 * net/browse-url.el (browse-url-firefox): Don't call
21666 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21667
21668 2011-08-20 Glenn Morris <rgm@gnu.org>
21669
21670 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21671
21672 * tutorial.el (tutorial--default-keys): Update some default bindings.
21673
21674 * files.el (hack-local-variables): Fully ignore case for "mode:".
21675
21676 2011-08-20 Alan Mackenzie <acm@muc.de>
21677
21678 Resolve invalid use of a regexp in regexp-opt.
21679
21680 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21681 detection for a java annotation.
21682
21683 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21684 detection for a java annotation.
21685
21686 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21687 handling for java.
21688 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21689
21690 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21691
21692 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21693 (Bug#9274).
21694
21695 2011-08-20 Alan Mackenzie <acm@muc.de>
21696
21697 Fontify CPP expressions correctly when starting in the middle of
21698 such a construct. Mainly for when jit-lock etc. starts a chunk
21699 here.
21700
21701 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21702 variable.
21703 (c-make-font-lock-search-form): New function, extracted from
21704 c-make-font-lock-search-function.
21705 (c-make-font-lock-search-function): Use the above function.
21706 (c-make-font-lock-context-search-function): New function.
21707 (c-cpp-matchers): Enhance the preprocessor expression case with
21708 the above function
21709 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21710 which takes an expression.
21711
21712 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21713
21714 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21715
21716 * window.el (display-buffer-reuse-window)
21717 (display-buffer-pop-up-window): Don't reuse or split a side
21718 window.
21719
21720 2011-08-19 Glenn Morris <rgm@gnu.org>
21721
21722 * files.el (hack-local-variables-prop-line, hack-local-variables):
21723 Downcase "Mode:". (Bug#9331)
21724
21725 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21726
21727 * international/characters.el: Add L and R categories.
21728
21729 * subr.el (bidi-string-mark-left-to-right): Rename from
21730 string-mark-left-to-right. Use category search.
21731
21732 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21733
21734 2011-08-18 Juri Linkov <juri@jurta.org>
21735
21736 * faces.el (error, warning, success): New faces with definitions
21737 copied from old default values of `font-lock-warning-face',
21738 `compilation-warning', `compilation-info' (bug#6117).
21739
21740 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21741
21742 * progmodes/compile.el (compilation-error): Inherit from `error'.
21743 (compilation-warning): Inherit from `warning'.
21744 (compilation-info): Inherit from `success'.
21745
21746 * dired.el (dired-marked): Inherit from `warning'.
21747 (dired-flagged): Inherit from `error'.
21748
21749 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21750
21751 * mail/smtpmail.el (auth-source): Require to avoid problems with
21752 binding variables (bug#9298). Also clean up some unused
21753 autoloads.
21754
21755 * net/network-stream.el (network-stream-open-starttls):
21756 Support using starttls.el without using gnutls-cli.
21757
21758 2011-08-17 Juri Linkov <juri@jurta.org>
21759
21760 * progmodes/grep.el (rgrep): Handle the case when
21761 `grep-find-command' is a cons cell (bug#9278).
21762
21763 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21764
21765 * window.el (display-buffer-pop-up-frame): Run frame creation
21766 function with BUFFER current (as special-display-popup-frame
21767 does). Reported by Drew Adams.
21768
21769 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21770
21771 * epa-mail.el: Simplify GnuPG group expansion using
21772 epg-expand-group.
21773 (epa-mail-group-alist, epa-mail-group-modtime)
21774 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21775 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21776 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21777 Remove.
21778
21779 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21780
21781 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21782
21783 2011-08-16 Alan Mackenzie <acm@muc.de>
21784
21785 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21786 Correct, to avoid the inside of macros.
21787
21788 2011-08-16 Richard Stallman <rms@gnu.org>
21789
21790 * epa-mail.el: Handle GnuPG group definitions.
21791 (epa-mail-group-alist, epa-mail-group-modtime)
21792 (epa-mail-gnupg-conf-file): New variables.
21793 (epa-mail-parse-groups, epa-mail-sync-groups)
21794 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21795 (epa-mail-expand-recipients): New functions.
21796 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21797
21798 * mail/rmail.el (rmail-epa-decrypt): New command.
21799
21800 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21801 Don't bind buffer-read-only, just inhibit-read-only.
21802 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21803 (epa-decrypt-armor-in-region): Make error message clearer.
21804
21805 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21806
21807 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21808 and "a2b" to "ab" for `prefix'.
21809
21810 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21811
21812 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21813 filter groups.
21814 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21815 Fourquet (Bug#8804).
21816
21817 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21818
21819 * startup.el (argi): Declare as global variable (bug#9275).
21820
21821 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21822
21823 * subr.el (string-mark-left-to-right): Search the entire string
21824 for RTL script, not just the terminating character. Doc fix.
21825
21826 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21827
21828 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21829 New function.
21830 (js--regexp-literal, js-syntax-propertize-function): Remove.
21831 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21832 (js-mode-map): Don't rebind electric keys.
21833 (js-insert-and-indent): Remove.
21834 (js-mode): Setup electric-layout and electric-indent instead.
21835
21836 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21837
21838 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21839
21840 * epa.el (epa-progress-callback-function): Fix the logic of
21841 displaying progress.
21842 * epa-file.el (epa-file-insert-file-contents): Make progress
21843 display more user-friendly.
21844 (epa-file-write-region): Ditto.
21845
21846 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21847
21848 * subr.el (string-mark-left-to-right): New function.
21849
21850 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21851 Use string-mark-left-to-right.
21852 (list-buffers-noselect): Caller changed.
21853
21854 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21855 Use string-mark-left-to-right.
21856 (tabulated-list-print): Recenter after moving point.
21857
21858 2011-08-10 Juri Linkov <juri@jurta.org>
21859
21860 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21861 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21862 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21863
21864 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21865
21866 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21867 (Bug#7554).
21868
21869 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21870
21871 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21872 character. (Bug#6594)
21873
21874 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21875
21876 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21877 (image-dired--with-db-file): New macro.
21878 (image-dired-write-tags, image-dired-remove-tag)
21879 (image-dired-create-gallery-lists, image-dired-write-comments)
21880 (image-dired-get-comment, image-dired-mark-tagged-files)
21881 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21882 (image-dired-gallery-generate): Use insert-file-contents.
21883
21884 * time.el (display-time-world-list, display-time-world-display):
21885 * time-stamp.el (time-stamp-string):
21886 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21887 set-time-zone-rule (Bug#7337).
21888
21889 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21890
21891 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21892 (epg-error-to-string, epg-errors-to-string): New function.
21893 (epg-wait-for-completion): Reverse errors list.
21894 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21895 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21896 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21897 (epg-sign-keys, epg-generate-key-from-file)
21898 (epg-generate-key-from-string): Format errors by using
21899 epg-errors-to-string (bug#9255).
21900 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21901
21902 2011-08-07 Juri Linkov <juri@jurta.org>
21903
21904 * faces.el (list-faces-display): Remove extra angle bracket
21905 from `help-mode-map'.
21906
21907 * info.el (Info-history-toc-nodes): Doc fix.
21908
21909 * longlines.el (longlines-mode): Doc fix.
21910
21911 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21912
21913 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21914 of statements and in a few more cases (bug#9183).
21915
21916 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21917 New functions.
21918 (cl-transform-lambda): Use them (bug#9239).
21919
21920 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21921
21922 * window.el (display-buffer-same-window)
21923 (display-buffer-same-frame, display-buffer-other-window)
21924 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21925 (pop-to-buffer-other-window)
21926 (pop-to-buffer-same-frame-other-window)
21927 (pop-to-buffer-other-frame): Make them defuns.
21928 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21929
21930 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21931
21932 * subr.el (make-composed-keymap): Move from C. Change calling
21933 convention, and improve docstring to bring attention to a subtle point.
21934 * minibuffer.el (completing-read-default): Adjust accordingly.
21935
21936 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21937
21938 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21939 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21940
21941 * net/trampver.el: Update release number.
21942
21943 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21944
21945 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21946 "in" (bug#9190).
21947
21948 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21949
21950 * mail/sendmail.el (sendmail-query-once): Restore the current
21951 buffer after querying (bug#9074).
21952
21953 * dired.el (dired-flagged): Use different faces for marked and
21954 flagged files (bug#6117).
21955
21956 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21957 (bug#4433).
21958
21959 * ido.el (ido-mode): Switch off the message if called
21960 non-interactively.
21961
21962 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21963 before 587, since it appears that that's more likely to work for
21964 more people.
21965
21966 * cus-edit.el (custom-file): When running under emacs -q, always
21967 refuse to save the customizations, even if the .emacs file doesn't
21968 exist.
21969
21970 * info.el: Remove the `Info-beginning-of-buffer' function
21971 (bug#8325).
21972
21973 * net/network-stream.el (network-stream-open-starttls):
21974 Use `starttls-available-p' to see whether starttls.el can be used.
21975
21976 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21977
21978 * window.el (display-buffer-in-window): Don't set dedicated status
21979 of window here (Bug#9215).
21980 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21981 (display-buffer-pop-up-side-window)
21982 (display-buffer-in-side-window): Set dedicated status of window here.
21983
21984 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21985
21986 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21987 before binding generated-autoload-file.
21988
21989 2011-08-01 Deniz Dogan <deniz@dogan.se>
21990
21991 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21992
21993 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21994
21995 Sync with Tramp 2.2.2.
21996
21997 * net/trampver.el: Update release number.
21998
21999 2011-07-30 Juri Linkov <juri@jurta.org>
22000
22001 * dired-aux.el (dired-touch-initial): Remove function.
22002 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
22003 current time, and `default' to the last modification time of the
22004 current marked file (bug#6887).
22005
22006 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
22007
22008 * simple.el (goto-line): Use string-to-number to provide a
22009 numeric argument to read-number (bug#9163).
22010
22011 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
22012
22013 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
22014 connection process, it could be nil.
22015
22016 2011-07-27 Leo Liu <sdl.web@gmail.com>
22017
22018 Simplify url handling in rcirc-mode.
22019
22020 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
22021 (rcirc-browse-url-at-mouse): Remove.
22022 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
22023
22024 2011-07-26 Alan Mackenzie <acm@muc.de>
22025
22026 Fontify bitfield declarations properly.
22027
22028 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
22029 (c-symbol-chars): Now exported as a lang variable.
22030 (c-not-primitive-type-keywords): New lang variable.
22031
22032 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
22033 QT keyword "more" to prevent "more slots: ...." being spuriously
22034 parsed as a bitfield declaration.
22035
22036 * progmodes/cc-engine.el (c-beginning-of-statement-1):
22037 Refactor and enhance to handle bitfield declarations.
22038 (c-punctuation-in): New function.
22039 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
22040 declarations properly.
22041
22042 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
22043
22044 * calendar/icalendar.el (icalendar--all-events): Take care of
22045 multiple vcalendars in a single file.
22046 (icalendar--convert-float-to-ical): Checkdoc fixes.
22047
22048 2011-07-25 Deniz Dogan <deniz@dogan.se>
22049
22050 * image.el (insert-image): Clarifying docstring.
22051
22052 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
22053
22054 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
22055 `tramp-send-command-and-check' if there is no error.
22056 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
22057
22058 2011-07-22 Alan Mackenzie <acm@muc.de>
22059
22060 Prevent cc-langs.elc being loaded at run time.
22061
22062 * progmodes/cc-mode.el: Remove two autoload forms which loaded
22063 cc-langs.
22064
22065 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
22066 "(require 'cc-langs)". Quote a form so it will evaluate at
22067 (cc-mode's) compilation time.
22068
22069 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
22070
22071 * net/tramp.el (tramp-file-name-handler): Avoid recursive
22072 loading. (Bug#9114)
22073
22074 2011-07-21 Martin Rudalics <rudalics@gmx.at>
22075
22076 * window.el (display-buffer-pop-up-window)
22077 (display-buffer-pop-up-side-window)
22078 (display-buffer-in-side-window): Call display-buffer-set-height
22079 and display-buffer-set-width after setting the new window's
22080 buffer so `fit-window-to-buffer' and friends work on the right buffer.
22081
22082 2011-07-20 Sam Steingold <sds@gnu.org>
22083
22084 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
22085 (etags-tags-included-tables): Call `convert-standard-filename' on
22086 the file names contained in TAGS so that windows Emacs can handle
22087 TAGS files created by cygwin ctags.
22088
22089 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
22090
22091 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
22092 which apparently didn't work.
22093
22094 2011-07-19 Roland Winkler <winkler@gnu.org>
22095
22096 * proced.el (proced-send-signal): For *Marked Processes* buffer
22097 put point at beginning of buffer.
22098
22099 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
22100
22101 * proced.el (proced-format): Make header lines align with the text
22102 (bug#1779).
22103
22104 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22105
22106 * view.el (view-buffer): Allow running in `special' modes if we're
22107 visiting a file (bug#8615).
22108
22109 2011-07-19 Martin Rudalics <rudalics@gmx.at>
22110
22111 * window.el (display-buffer-alist-of-strings-p)
22112 (display-buffer-alist-set-1, display-buffer-alist-set-2):
22113 New functions.
22114 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22115 more accurately.
22116
22117 2011-07-18 Alan Mackenzie <acm@muc.de>
22118
22119 Fontify declarators properly when, e.g., a jit-lock chunk begins
22120 inside a declaration.
22121
22122 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22123
22124 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22125 New function.
22126 (c-complex-decl-matchers): Insert reference to
22127 c-font-lock-enclosing-decls.
22128
22129 * progmodes/cc-engine.el (c-backward-single-comment):
22130 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22131 to nil around calls to (forward-comment -1).
22132
22133 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22134
22135 * image.el (put-image): Doc typo fix.
22136
22137 * progmodes/etags.el (tags-search): Doc typo fix.
22138
22139 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22140 password if we get errors 550 to 554.
22141
22142 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
22143
22144 * net/gnutls.el (gnutls-log-level): Remove.
22145
22146 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22147 indentation character (bug#6380).
22148
22149 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22150
22151 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22152 to clarify what the problem is (bug#4291).
22153
22154 * simple.el (current-kill): Clarify what
22155 `interprogram-paste-function' does (bug#7500).
22156 (auto-fill-mode): Document `auto-fill-function' in relation to
22157 `auto-fill-mode' (bug#2470).
22158
22159 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22160
22161 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22162 method if slot is read-only (bug#9035).
22163
22164 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22165
22166 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22167 * window.el (pop-to-buffer): Select window used even if it was
22168 selected before, see discussion of (Bug#8615), (Bug#6954).
22169 Pass argument NORECORD on to select-frame-set-input-focus.
22170
22171 2011-07-15 Glenn Morris <rgm@gnu.org>
22172
22173 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22174 Respect help-form.
22175
22176 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22177
22178 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22179 (gnutls-negotiate): Use it.
22180
22181 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22182
22183 * net/gnutls.el (gnutls-negotiate):
22184 Upcase `gnutls-algorithm-priority'.
22185
22186 2011-07-15 Glenn Morris <rgm@gnu.org>
22187
22188 * jka-compr.el (jka-compr-verbose): Move from here...
22189 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22190 Add missing :version tag.
22191 * info.el: No need to require jka-compr when compiling.
22192
22193 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22194
22195 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22196 (gnutls-negotiate): Use it.
22197
22198 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22199
22200 * info.el (Info-beginning-of-buffer): New command.
22201 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22202 announcing `b' as the key (bug#8325).
22203 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22204
22205 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22206
22207 * international/mule-cmds.el
22208 (describe-specified-language-support): Make the error message
22209 clearer (bug#8905).
22210
22211 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22212
22213 * isearch.el (isearch-barrier): Add a doc string, since it's
22214 mentioned in a function doc string (bug#8678).
22215
22216 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22217
22218 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22219 buffer argument (Bug#9083) and self-identifying label argument.
22220
22221 2011-07-15 Glenn Morris <rgm@gnu.org>
22222
22223 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22224
22225 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22226
22227 * man.el (Man-fontify-manpage): Fix message when formatting the
22228 man page (bug#7929).
22229
22230 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22231
22232 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22233 argument LRM; if non-nil, append an invisible LRM character to the
22234 buffer name.
22235 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22236 last argument non-nil, when formatting buffer names.
22237 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22238 paragraph direction.
22239
22240 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22241
22242 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22243 the man page name (bug#7929).
22244
22245 * image.el (put-image): Mention the `put-image' overlay property
22246 (bug#7834).
22247
22248 * scroll-bar.el (set-scroll-bar-mode): Mention that
22249 `scroll-bar-mode' lists the values (bug#7772).
22250
22251 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22252 command (bug#7729).
22253
22254 * rect.el (apply-on-rectangle): Return the point after the last
22255 operation.
22256 (string-rectangle): Go to the point after the last operation
22257 (bug#7522).
22258
22259 * printing.el (pr-toggle-region): Clarify the documentation
22260 slightly (bug#7493).
22261
22262 * time.el (display-time-update):
22263 Allow `display-time-mail-function' to return nil (bug#7158).
22264 Fix suggested by Detlev Zundel.
22265
22266 * vc/diff.el (diff): Clarify the order the file names are read
22267 (bug#7111).
22268
22269 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22270 the doc string (bug#7015).
22271
22272 * font-lock.el (font-lock-maximum-decoration): Mention what
22273 numeric levels mean (bug#6935).
22274
22275 * startup.el (initial-buffer-choice): Don't mention the `none'
22276 selection, which is against policy.
22277
22278 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22279
22280 * window.el (display-buffer-normalize-special):
22281 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22282
22283 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22284
22285 * subr.el (version<, version<=, version=): Mention "-CVS" and
22286 "-12345" alpha version numbers.
22287
22288 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22289
22290 * bindings.el: Add advertised binding for set-mark-command
22291 (Bug#5772).
22292
22293 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22294
22295 * bindings.el (mode-line-other-buffer):
22296 * bookmark.el (bookmark-bmenu-2-window):
22297 * bs.el (bs-cycle-next, bs-cycle-previous):
22298 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22299 switch-to-buffer.
22300
22301 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22302 Delete.
22303
22304 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22305
22306 * follow.el (follow-debug-message, follow-redisplay):
22307 * jka-cmpr-hook.el (with-auto-compression-mode):
22308 Fix typos in docstrings.
22309
22310 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22311
22312 * subr.el (with-silent-modifications): Clarify somewhat what the
22313 macro inhibits (bug#6525).
22314
22315 * simple.el (eval-expression): Note what it does if called
22316 interactively (bug#6495).
22317
22318 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22319
22320 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22321 Use pop-to-buffer buffer-or-name if it is nil.
22322
22323 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22324 Remove switch-to-buffer.
22325
22326 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22327
22328 * files.el (make-directory): Clarify that an error will be raised
22329 if there's an error (bug#6397).
22330
22331 * startup.el (initial-buffer-choice): Add `none' as a choice
22332 (bug#6234).
22333
22334 * subr.el (add-hook): Clarify section about buffer-local hooks
22335 (bug#6218).
22336
22337 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22338
22339 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22340
22341 * tabify.el (untabify): Preserve the current column so that point
22342 doesn't move (bug#6032).
22343
22344 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22345
22346 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22347 Rewrite to avoid awkward possessive "s" (bug#5986).
22348
22349 2011-07-13 Glenn Morris <rgm@gnu.org>
22350
22351 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22352 (dired-insert-directory): Give a message the first time
22353 if ls is found not to support --dired.
22354
22355 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22356
22357 * simple.el (toggle-truncate-lines): Clarify what is toggled
22358 (bug#5580). Text by Drew Adams.
22359
22360 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22361
22362 * simple.el (blink-matching-open): Make the error message from the
22363 last change less verbose.
22364
22365 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22366
22367 * font-lock.el (font-lock-comment-face): Use the high contrast
22368 "yellow" color for font-lock-comment-face on low color terminals
22369 using a dark background color (bug#4221).
22370
22371 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22372
22373 * dired.el (dired-insert-set-properties): Make the doc string
22374 reflect what it does now (bug#5325).
22375
22376 * simple.el (blink-matching-open): Say that we were unable to find
22377 the match within the limit, if we're limited (bug#5122).
22378
22379 * international/mule-cmds.el (prefer-coding-system): Add an
22380 example (bug#4869).
22381
22382 * progmodes/etags.el (tags-search): Document `file-list-form'
22383 (bug#4731).
22384
22385 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22386
22387 * net/browse-url.el (browse-url-default-browser)
22388 (browse-url-browser-function): Make the default browser choice a
22389 bit more logical (bug#4300). Also clean up the doc string.
22390
22391 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22392
22393 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22394 binary endings (bug#4440).
22395
22396 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22397
22398 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22399 which can be pretty annoying (bug#8971).
22400
22401 * jka-compr.el (jka-compr-verbose): New variable, and use
22402 throughout (bug#8971).
22403
22404 * info.el (Info-find-file): Fall back on the installation
22405 directory if we can't find the info node anywhere else.
22406
22407 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22408
22409 * vc/vc.el (vc-revert-file):
22410 Don't set file time-stamp in the past. (Bug#5181)
22411
22412 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22413
22414 * files.el (after-find-file): Give a better error message when
22415 trying to find a symlink that points to a file that doesn't exist
22416 (bug#4398).
22417
22418 * progmodes/cc-vars.el: Remove (probably) misleading comment
22419 (bug#4396).
22420
22421 2011-07-12 Johan Bockgård <bojohan@gnu.org>
22422
22423 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22424
22425 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22426
22427 * mouse-sel.el: Hack restoring functionality, while keeping
22428 compatibility with 2010-07-03 changes to mouse selection.
22429 (mouse-sel-primary-overlay): New var.
22430 (mouse-sel-selection-alist): Use it.
22431 (mouse-sel-mode): Doc fix; remove points that are default features
22432 of mouse.el.
22433
22434 2011-07-12 Johan Bockgård <bojohan@gnu.org>
22435
22436 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22437 Fix previous fix (bug#2490).
22438
22439 2011-07-12 Roland Winkler <winkler@gnu.org>
22440
22441 * textmodes/bibtex.el (bibtex-initialize):
22442 Use pop-to-buffer-same-window.
22443 (bibtex-search-entries): Fix interactive call.
22444
22445 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22446
22447 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22448 Fontise bytecomp Error lines more correctly (bug#2490).
22449 Fix suggested by Johan Bockgård.
22450
22451 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22452
22453 * dired-x.el (dired-guess-default): Use `delete-dups'.
22454
22455 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22456
22457 * dired.el (dired-mark-prompt):
22458 * dired-aux.el (dired-read-shell-command): Doc fix.
22459
22460 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22461
22462 * mail/sendmail.el (sendmail-query-once):
22463 Use `customize-save-variable' unconditionally, now that it works under
22464 emacs -Q.
22465
22466 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22467
22468 * cus-edit.el (custom-file): Take an optional no-error variable.
22469 (customize-save-variable): Set the variable, and give a warning if
22470 running under "emacs -q".
22471
22472 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22473
22474 * loadhist.el (unload-feature-special-hooks):
22475 Add `auto-coding-functions', `fill-nobreak-predicate' and
22476 `find-directory-functions' (bug#5327).
22477
22478 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22479
22480 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22481
22482 * cus-edit.el (custom-guess-name-alist): -alist variables should
22483 use the `alist' type (bug#3120). Suggested by Drew Adams.
22484
22485 * printing.el: Add documentation to all the `pr-toggle-' commands.
22486
22487 2011-07-11 Leo Liu <sdl.web@gmail.com>
22488
22489 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22490 backends where it makes sense (bug#2623).
22491
22492 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22493
22494 * dired-x.el (dired-guess-default): Remove duplicate shell command
22495 entries (bug#2028).
22496 (dired-guess-default): Fix grammar in doc string (bug#2028).
22497 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22498
22499 * subr.el (remove-duplicates): New conveniency function.
22500
22501 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22502
22503 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22504 (bug#1526).
22505
22506 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22507
22508 * window.el (display-buffer-normalize-default): Don't invert
22509 meaning of even-window-heights. Reported by Eli Zaretskii
22510 <eliz@gnu.org>.
22511
22512 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22513
22514 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22515
22516 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22517
22518 * window.el (display-buffer): Fix arguments to
22519 display-buffer-reuse-window in last change.
22520
22521 * faces.el (link): Use a less saturated blue on light backgrounds.
22522
22523 * startup.el (fancy-startup-text, fancy-about-text)
22524 (fancy-startup-tail): Use font-lock faces, for background safety.
22525
22526 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22527
22528 * emulation/viper-cmd.el (viper-change-state-to-vi):
22529 Limit triggering of abbrev expansion (Bug#9038).
22530
22531 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22532
22533 * window.el (display-buffer-default-specifiers): Remove.
22534 (display-buffer-macro-specifiers): Remove default specifiers.
22535 (display-buffer-alist): Default to nil.
22536 (display-buffer-reuse-window): New optional argument other-window.
22537 (display-buffer-pop-up-window): Allow splitting internal
22538 windows. Check whether a live window was created.
22539 (display-buffer-other-window-means-other-frame)
22540 (display-buffer-normalize-arguments): Rename to
22541 display-buffer-normalize-argument and rewrite. Set the
22542 other-window specifier.
22543 (display-buffer-normalize-special): New function.
22544 (display-buffer-normalize-options): Rename to
22545 display-buffer-normalize-default and rewrite.
22546 (display-buffer-normalize-options-inhibit): Remove.
22547 (display-buffer-normalize-specifiers): Rewrite.
22548 (display-buffer): Process other-window specifier and call
22549 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22550 more faithfully.
22551 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22552 (display-buffer-alist-set): Don't handle 'unset default values.
22553 (display-buffer-in-window, display-buffer-alist-set):
22554 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22555 <tassilo@member.fsf.org>.
22556
22557 2011-07-09 Leo Liu <sdl.web@gmail.com>
22558
22559 * register.el (insert-register): Restore accidental change on
22560 2011-06-26. (Bug#9028)
22561
22562 2011-07-09 Glenn Morris <rgm@gnu.org>
22563
22564 * subr.el (remq): Handle the empty list. (Bug#9024)
22565
22566 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22567
22568 * mail/sendmail.el (send-mail-function): No longer delay custom
22569 initialization.
22570 * custom.el (custom-initialize-delay): Doc fix.
22571
22572 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22573
22574 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22575
22576 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22577
22578 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22579 human-friendly prompt.
22580
22581 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22582
22583 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22584 provided by a particular plugin.
22585
22586 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22587
22588 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22589 save customizations (with "emacs -Q"), just set the variable
22590 instead of erroring out.
22591
22592 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22593
22594 2011-07-08 Juri Linkov <juri@jurta.org>
22595
22596 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22597 (archive-zip-update-case): Use 7z if found by `executable-find'.
22598 The order of searching the available programs is the same as in
22599 `archive-zip-extract' (bug#8968).
22600
22601 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22602
22603 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22604 (menu-bar-options-menu): Tweak descriptions.
22605
22606 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22607
22608 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22609 menu items into verb phrases (bug#1421). Also refill to fit under
22610 80 columns.
22611
22612 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22613
22614 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22615 (Info-read-node-name): Doc fix (Bug#1084).
22616
22617 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22618 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22619 (end-of-sexp, beginning-of-sexp)
22620 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22621 (forward-symbol, forward-same-syntax, word-at-point)
22622 (sentence-at-point): Doc fix (Bug#1144).
22623
22624 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22625
22626 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22627 should cover it (bug#1281).
22628
22629 * cus-edit.el (custom-show): Mark as obsolete.
22630
22631 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22632 negotiation fails, then possibly try again with a non-encrypted
22633 connection (bug#9017).
22634
22635 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22636 be used.
22637
22638 2011-07-07 Richard Stallman <rms@gnu.org>
22639
22640 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22641 property, and handle its changed format.
22642 Look for the correct line number.
22643 Use file's line contents (but not past first =) to find
22644 correct line in message.
22645
22646 2011-07-07 Kenichi Handa <handa@m17n.org>
22647
22648 * international/characters.el (build-unicode-category-table):
22649 Delete it.
22650 (unicode-category-table): Set it by unicode-property-table-internal.
22651
22652 * international/mule-cmds.el (char-code-property-alist): Move to
22653 to src/chartab.c.
22654 (get-char-code-property): Call unicode-property-table-internal to
22655 load a file. Call get-unicode-property-internal where necessary.
22656 (put-char-code-property): Call unicode-property-table-internal to
22657 load a file. Call put-unicode-property-internal where necessary.
22658 put-unicode-property-internal where necessary.
22659 (char-code-property-description):
22660 Call unicode-property-table-internal to load a file.
22661
22662 * international/charprop.el:
22663 * international/uni-bidi.el:
22664 * international/uni-category.el:
22665 * international/uni-combining.el:
22666 * international/uni-comment.el:
22667 * international/uni-decimal.el:
22668 * international/uni-decomposition.el:
22669 * international/uni-digit.el:
22670 * international/uni-lowercase.el:
22671 * international/uni-mirrored.el:
22672 * international/uni-name.el:
22673 * international/uni-numeric.el:
22674 * international/uni-old-name.el:
22675 * international/uni-titlecase.el:
22676 * international/uni-uppercase.el: Regenerate.
22677
22678 * loadup.el: Load international/charprop.el before
22679 international/characters.
22680
22681 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22682
22683 * window.el (next-buffer, previous-buffer): Signal an error if
22684 called from a minibuffer window.
22685
22686 * bindings.el: Revert 2011-07-04 change.
22687
22688 2011-07-06 Richard Stallman <rms@gnu.org>
22689
22690 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22691 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22692 Treat markers like ints.
22693 (rmail-mime-entity): Doc fix.
22694
22695 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22696
22697 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22698 defcustom again for backwards compatibility.
22699
22700 * simple.el (shell-command-on-region): Fill.
22701
22702 * dired-aux.el (dired-kill-line): Add a doc string.
22703
22704 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22705 to "\\sw\\|\\s_" (bug#358).
22706
22707 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22708 (dired-unmark-backward): Ditto.
22709 (dired-flag-backup-files): Ditto.
22710
22711 * dired-x.el (dired-mark-sexp): Ditto.
22712
22713 2011-07-06 Richard Stallman <rms@gnu.org>
22714
22715 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22716 (rmail-mime-entity): New arg TRUNCATED.
22717 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22718 New functions.
22719 (rmail-mime-save): Warn if entity is truncated.
22720 (rmail-mime-toggle-hidden): Likewise, for showing.
22721 (rmail-mime-process-multipart): Record when an entity is truncated.
22722
22723 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22724 if ENTITY is a string.
22725
22726 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22727
22728 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22729 of faces when `M-C-x'-ing their definitions (bug#8378).
22730 Also clean up the code slightly.
22731
22732 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22733 because that makes the colors go away.
22734
22735 * mail/sendmail.el (send-mail-function): Change the default to
22736 `sendmail-query-once'.
22737 (sendmail-query-once): Add an autoload cookie.
22738
22739 * net/network-stream.el (network-stream-open-starttls): Try using
22740 a plain connection even if the server offered STARTTLS, and we
22741 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22742 capability. This should make smtpmail.el work in slightly more
22743 configurations.
22744
22745 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22746
22747 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22748 New defun.
22749 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22750
22751 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22752
22753 * progmodes/sql.el: Version 3.0
22754 (sql-product-alist): Add product :completion-object,
22755 :completion-column, and :statement attributes.
22756 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22757 (sql-mode-syntax-table): Mark all punctuation.
22758 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22759 ansi keywords.
22760 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22761 (sql-mode-oracle-font-lock-keywords): Improve.
22762 (sql-oracle-show-reserved-words): New function for development.
22763 (sql-product-font-lock): Simplify for source code buffers.
22764 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22765 New functions.
22766 (sql-highlight-product): Set product specific syntax table.
22767 (sql-mode-map): Add statement movement functions.
22768 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22769 New variable.
22770 (sql-statement-regexp, sql-beginning-of-statement)
22771 (sql-end-of-statement, sql-signum): New functions.
22772 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22773 (sql-show-sqli-buffer): Bug fix.
22774 (sql-interactive-mode): Store connection data as buffer local.
22775 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22776 with sql-interactive-mode.
22777 (sql-save-connection): Save buffer local settings.
22778 (sql-connection-menu-filter): Change menu entry name.
22779 (sql-product-interactive): Bug fix.
22780 (sql-preoutput-hold): New variable.
22781 (sql-interactive-remove-continuation-prompt): Bug fixes.
22782 (sql-debug-redirect): New variable.
22783 (sql-str-literal): New function.
22784 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22785 Redesign.
22786 (sql-oracle-save-settings, sql-oracle-restore-settings)
22787 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22788 (sql-completion-object, sql-completion-column)
22789 (sql-completion-sqlbuf): New variables.
22790 (sql-build-completions-1, sql-build-completions)
22791 (sql-try-completion): New functions.
22792 (sql-read-table-name): Use them.
22793 (sql-contains-names): New buffer local variable.
22794 (sql-list-all, sql-list-table): Use it.
22795 (sql-oracle-completion-types): New variable.
22796 (sql-oracle-completion-object, sql-sqlite-completion-object)
22797 (sql-postgres-completion-object): New functions.
22798
22799 2011-07-06 Glenn Morris <rgm@gnu.org>
22800
22801 * window.el (pop-to-buffer): Doc fix.
22802
22803 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22804
22805 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22806
22807 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22808
22809 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22810
22811 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22812
22813 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22814
22815 * button.el (button): Inherit from link face. Suggested by Dan
22816 Nicolaescu.
22817
22818 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22819
22820 * progmodes/gdb-mi.el: Fit in 80 columns.
22821 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22822 switch-to-buffer.
22823
22824 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22825 if imenu is simply not configured (bug#8941).
22826
22827 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22828
22829 * allout.el (allout-post-undo-hook): New allout outline-change
22830 event hook to signal undo activity.
22831 (allout-post-command-business): Run allout-post-undo-hook if an
22832 undo just occurred.
22833 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22834 * allout-widgets.el (allout-widgets-after-undo-function):
22835 Ensure the integrity of the current item's decoration after it has been
22836 in the vicinity of an undo.
22837 (allout-widgets-mode): Include allout-widgets-after-undo-function
22838 on the new allout-post-undo-hook.
22839
22840 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22841
22842 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22843 Let define-derived-mode define it.
22844 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22845 cycles of abbrev-table inheritance (bug#8998).
22846
22847 2011-07-05 Roland Winkler <winkler@gnu.org>
22848
22849 * textmodes/bibtex.el: Add support for biblatex.
22850 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22851 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22852 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22853 (bibtex-entry-alist, bibtex-field-alist): New variables.
22854 (bibtex-entry-field-alist): Obsolete alias for
22855 bibtex-BibTeX-entry-alist.
22856 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22857 (bibtex-set-dialect): New command.
22858 (bibtex-entry-type, bibtex-entry-head)
22859 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22860 Bind via bibtex-set-dialect.
22861 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22862 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22863 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22864 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22865 Define via bibtex-set-dialect.
22866 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22867 Obey bibtex-no-opt-remove-re.
22868 (bibtex-vec-push, bibtex-vec-incr): New functions.
22869 (bibtex-format-entry, bibtex-field-list)
22870 (bibtex-print-help-message, bibtex-validate)
22871 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22872
22873 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22874
22875 * progmodes/compile.el (compilation-goto-locus):
22876 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22877 * bs.el (bs-cycle-next, bs-cycle-previous):
22878 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22879 * bindings.el (mode-line-other-buffer):
22880 * autoinsert.el (auto-insert):
22881 * arc-mode.el (archive-extract):
22882 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22883
22884 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22885
22886 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22887 Fix check of `emacs-lock-unlockable-modes'.
22888 Coerce true values of `emacs-lock--try-unlocking' to t.
22889
22890 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22891
22892 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22893 * emacs-lock.el: New file.
22894
22895 2011-07-05 Julien Danjou <julien@danjou.info>
22896
22897 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22898 than `boundp' to check if face is set.
22899
22900 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22901
22902 * register.el (registerv-make):
22903 * window.el (window-min-height): Fix typos in docstrings.
22904
22905 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22906
22907 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22908 Update doc string.
22909
22910 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22911
22912 * server.el (server-execute): Catch quit and call
22913 `server-return-error' to pass the error back to emacsclient and
22914 close the connection (bug#8942).
22915
22916 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22917
22918 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22919 insecure exception for current topic. Also note that auto-saves
22920 are handled differently.
22921
22922 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22923 State variables for tracking auto-save inhibition situation.
22924
22925 (allout-write-contents-hook-handler): Rename from
22926 'allout-write-file-hook-handler', and describe how it depends on
22927 write-contents-functions sensitivity to non-nil value to prevent
22928 file write.
22929
22930 (allout-auto-save-hook-handler): Remove. auto-save does not check
22931 this in individual buffers, only in the starting buffer, so this
22932 is not the right way for us to inhibit auto-save in a buffer
22933 according to its condition.
22934
22935 (allout-mode): Use new allout-write-contents-hook-handler, and
22936 only with write-contents-functions. Remove auto-save provisions -
22937 they're implemented elsewhere.
22938
22939 (allout-before-change-handler): If undo is in progress, note that
22940 for attention of allout-post-command-business.
22941
22942 (allout-post-command-business): If the command we're following was
22943 an undo, check for change in the status of encrypted items and
22944 adjust auto-save inhibitions accordingly.
22945
22946 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22947 according to whether there are or aren't any plain-text topics
22948 pending encryption.
22949
22950 (allout-inhibit-auto-save-info-for-decryption):
22951 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22952 if there are plain-text topics pending encryption.
22953
22954 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22955 buffer-saved-size and some allout state to not inhibit auto-saves
22956 if there are no longer any plain-text topics pending encryption.
22957
22958 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22959 No longer provide for exemption of the current topic.
22960
22961 2011-07-04 Juri Linkov <juri@jurta.org>
22962
22963 Add 7z operations to delete and save changed members (bug#8968).
22964 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22965 New defcustoms.
22966 (archive-7z-write-file-member): New function.
22967 (archive-7z-summarize): Fix the number of dashes in the
22968 listing output.
22969
22970 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22971
22972 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22973 (bug#8958).
22974
22975 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22976
22977 * bindings.el: Ignore next-buffer and previous-buffer in
22978 minibuffer-local-map.
22979
22980 * font-lock.el (font-lock-builtin-face): Change light background
22981 color to dark slate blue (Bug#6693).
22982
22983 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22984
22985 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22986
22987 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22988
22989 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22990 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22991 Add switch-to-buffer.
22992
22993 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22994
22995 * isearch.el (isearch-search-fun-function): Clarify further the
22996 meaning of the function returned.
22997
22998 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22999
23000 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
23001
23002 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
23003 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
23004 Use it.
23005 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
23006 `tramp-default-remote-path' does not exist.
23007 (tramp-send-command-and-read): New optional argument NOERROR.
23008 (tramp-open-connection-setup-interactive-shell)
23009 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
23010 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
23011 (tramp-process-sentinel): Flush also process' connection property.
23012 (tramp-sh-handle-start-file-process): Do not set process
23013 sentinel. It is done now ...
23014 (tramp-maybe-open-connection): ... here. (Bug#8929)
23015
23016 2011-07-04 MON KEY <monkey@sandpframing.com>
23017
23018 * play/animate.el (animate-string): Doc fixes and allow changing
23019 the buffer name (bug#5417).
23020
23021 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23022
23023 * play/animate.el (animation-buffer-name): Rename from *animate*.
23024
23025 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
23026
23027 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
23028 This is simpler and helps future-proof the code.
23029 (timer-until): Use time-subtract and float-time.
23030 (timer--time-less-p): Use time-less-p.
23031
23032 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23033
23034 * type-break.el (timep): Use the value of `float-time' to avoid a
23035 byte-compiler warning.
23036
23037 * server.el (server-eval-and-print): Return any result, even nil.
23038
23039 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
23040
23041 * type-break.el: Accept time formats that the builtins accept.
23042 (timep, type-break-time-difference): Accept any format that
23043 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
23044 This is simpler and helps future-proof the code.
23045 (type-break-time-difference): Round rather than ignoring
23046 subseconds components.
23047
23048 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23049
23050 * info.el (Info-apropos-matches): Make non-interactive, since it
23051 doesn't seem to do anything useful as a command (bug#8829).
23052
23053 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
23054
23055 * frame.el (frame-background-mode, frame-set-background-mode):
23056 Move from faces.el.
23057 (frame-default-terminal-background): New function.
23058
23059 * custom.el (custom-push-theme): Don't record faces in `changed'
23060 theme; this doesn't work correctly for per-frame face settings.
23061 (disable-theme): Use face-set-after-frame-default to reset faces.
23062 (custom--frame-color-default): New function.
23063
23064 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23065
23066 * dired.el (dired-flagging-regexp): Remove unused variable
23067 (bug#8769).
23068
23069 2011-03-29 Kevin Ryde <user42@zip.com.au>
23070
23071 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23072 `perl-Test2' extend to match possible "fail #N" rep count
23073 (bug#8377).
23074
23075 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23076
23077 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
23078 `smtpmail-via-smtp' now returns the error instead of nil.
23079
23080 * isearch.el (isearch-search-fun-function): Clarify the doc string
23081 (bug#8101).
23082
23083 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
23084
23085 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
23086 unnecessary spaces (bug#8987).
23087
23088 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23089
23090 * net/network-stream.el (open-network-stream): Use the
23091 :end-of-capability command thoughout.
23092
23093 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
23094
23095 * net/network-stream.el (open-network-stream): Add the
23096 :end-of-capability command parameter, used by pop3.el.
23097
23098 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23099
23100 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
23101
23102 * fringe.el (fringe-query-style): Remove redundant text " (type ?
23103 for list)" (bug#6475).
23104
23105 * files.el (file-expand-wildcards): Ignore non-readable
23106 sub-directories while trying to find matches instead of signaling
23107 an error (bug#6297).
23108
23109 * man.el (Man-reference-regexp): Allow matching possible
23110 word-wrapped references (bug#6289).
23111
23112 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23113 for consistency with the other vc buffers (bug#6197).
23114 (vc-checkin): Ditto.
23115
23116 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23117
23118 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23119
23120 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23121
23122 * custom.el (defcustom): Clarify that :set is only used in the
23123 Customize user interface (bug#6089).
23124
23125 * progmodes/flymake.el (flymake-mode): If the buffer isn't
23126 associated with a file, refuse to run instead of erroring out
23127 (bug#6084).
23128
23129 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23130 the doc string, since it appears that using `fill-column' always
23131 controls the width (bug#7845).
23132
23133 * simple.el (shell-command-on-region): Say where the error output
23134 went if `shell-command-default-error-buffer' is set (bug#6857).
23135
23136 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
23137
23138 * allout.el (allout-yank-processing): Adjust cursor position for
23139 backwards-deleted space.
23140
23141 (allout-rebullet-heading): Register changes with
23142 allout-exposure-changed-hook, so the modified topic is properly
23143 decorated.
23144
23145 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23146
23147 * minibuffer.el (completion-in-region): Document PREDICATE
23148 (bug#7136).
23149
23150 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23151 of keyword/argument pairs (bug#6904).
23152
23153 * replace.el (multi-occur):
23154 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23155
23156 2011-07-02 Drew Adams <drew.adams@oracle.com>
23157
23158 * dired.el (dired-mark-if): Make the message about whether it's
23159 marking or unmarking clearer (bug#8523).
23160
23161 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23162
23163 * disp-table.el (display-table-print-array): New function.
23164 (describe-display-table): Use it to print the vectors more pretty
23165 (Bug#8859).
23166
23167 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23168
23169 * window.el (window-state-get-1): Don't assign clone numbers.
23170 Add clone-of item to list of window parameters.
23171 (window-state-put-2): Don't process clone numbers.
23172 (display-buffer-alist): Fix doc-string.
23173
23174 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23175
23176 * subr.el (remq): Don't allocate if it's not needed.
23177 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23178 (keymap--merge-bindings): New functions.
23179 (keymap-canonicalize): Use them to refine the canonicalization.
23180 * minibuffer.el (minibuffer-local-completion-map)
23181 (minibuffer-local-must-match-map): Move initialization from C.
23182 (minibuffer-local-filename-completion-map): Move initialization from C;
23183 don't inherit from anything here.
23184 (minibuffer-local-filename-must-match-map): Make obsolete.
23185 (completing-read-default): Use make-composed-keymap to combine
23186 minibuffer-local-filename-completion-map with either
23187 minibuffer-local-must-match-map or
23188 minibuffer-local-filename-completion-map.
23189
23190 2011-07-01 Glenn Morris <rgm@gnu.org>
23191
23192 * type-break.el (type-break-time-sum): Use dolist.
23193
23194 * textmodes/flyspell.el (flyspell-word-search-backward):
23195 Replace CL function.
23196
23197 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23198
23199 * mouse.el (mouse--strip-first-event): New function.
23200 (function-key-map): Use it to map fringe clicks to normal clicks
23201 by default.
23202
23203 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23204 (vc-bzr-revision-completion-table): Add support for annotate and date.
23205
23206 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23207 inherit from parent.
23208
23209 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23210
23211 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23212 (dired-show-file-type): Doc fixup (bug#8818).
23213
23214 * dired.el (dired-mode): Fix up the doc string as suggested by
23215 Drew Adams (bug#8817).
23216
23217 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23218 cookie, since the manual says that it should be possible to add
23219 this function to `find-file-hook' (bug#8709).
23220
23221 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23222
23223 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23224 here. Noted Ted Zlatanov as the maintainer.
23225 (cfengine-common-settings, cfengine-common-syntax): New functions
23226 to set up common things between `cfengine-mode' and
23227 `cfengine3-mode'.
23228 (cfengine3-mode): New mode.
23229 (cfengine3-defuns cfengine3-defuns-regex
23230 (cfengine3-class-selector-regex cfengine3-category-regex)
23231 (cfengine3-vartypes cfengine3-font-lock-keywords)
23232 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23233 (cfengine3-indent-line): Add from cfengine3.el.
23234
23235 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23236
23237 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23238
23239 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23240
23241 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23242
23243 * window.el (same-window-buffer-names, same-window-regexps)
23244 (same-window-p, special-display-frame-alist)
23245 (special-display-popup-frame, special-display-function)
23246 (special-display-buffer-names, special-display-regexps)
23247 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23248 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23249 (split-window-preferred-function, split-height-threshold)
23250 (split-width-threshold, even-window-heights)
23251 (display-buffer-mark-dedicated, window-splittable-p)
23252 (split-window-sensibly, window-safely-shrinkable-p):
23253 Un-obsolete.
23254 (display-buffer): Don't spread args with function specifier
23255 because special-display-popup-frame won't like it.
23256
23257 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23258
23259 Time-stamp simplifications and fixes.
23260 These improve accuracy slightly, and future-proof the code
23261 against some potential changes to current-time format.
23262
23263 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23264 by using time-since and float-time.
23265
23266 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23267 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23268 + NNN microseconds".
23269
23270 * type-break.el (type-break-time-sum): Rewrite using time-add.
23271
23272 * play/hanoi.el (hanoi-current-time-float): Remove.
23273 All uses replaced by float-time.
23274
23275 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23276 This yields a more-accurate answer.
23277 (rng-time-to-float): Remove; no longer needed.
23278
23279 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23280
23281 * calendar/timeclock.el (timeclock-seconds-to-time):
23282 Defalias to seconds-to-time, since they're the same thing.
23283
23284 * emacs-lisp/elp.el (elp-elapsed-time):
23285 * emacs-lisp/benchmark.el (benchmark-elapse):
23286 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23287
23288 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23289
23290 * window.el (bury-buffer): Don't iconify the only frame.
23291 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23292 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23293
23294 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23295
23296 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23297 Add mouse-yank-primary.
23298
23299 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23300
23301 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23302
23303 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23304
23305 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23306 (find-library-name): Use it to find relative load names when provided
23307 absolute file name (bug#8803).
23308
23309 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23310
23311 * textmodes/flyspell.el (flyspell-word): Consider words that
23312 differ only in case as potential doublons (bug#5687).
23313
23314 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23315 Remove two rather uninteresting debugging-like messages to make
23316 debbugs.el more silent.
23317
23318 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23319 a password-like phrase.
23320
23321 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23322
23323 * progmodes/cc-guess.el: New file.
23324
23325 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23326
23327 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23328 derived from `c-basic-common-init'.
23329
23330 * progmodes/cc-mode.el (top-level): Require cc-guess.
23331 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23332
23333 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23334
23335 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23336
23337 2011-06-30 Alan Mackenzie <acm@muc.de>
23338
23339 * progmodes/cc-engine.el (c-guess-continued-construct):
23340 Correct the handling of template-args-cont, particularly for when font
23341 lock is disabled. Name this case as "CASE G".
23342
23343 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23344
23345 * allout.el (allout-yank-processing): Fix injection of extra space
23346 between bullet and non-whitespace character in first topic when
23347 pasting, ensuring that the actual spacing in the pasted topic
23348 following the bullet char is preserved. This extra space was
23349 causing pasted encrypted topics to get a decrypted status even
23350 when the content was actually still encrypted. Now the decryption
23351 status from before the paste is preserved.
23352
23353 (allout-flag-region): Set all allout overlays so they evaporate
23354 when reduced to zero length (evanescent), to prevent overlay
23355 leakage.
23356
23357 2011-06-30 Glenn Morris <rgm@gnu.org>
23358
23359 * w32-fns.el (w32-charset-info-alist): Declare.
23360
23361 * find-dired.el (find-grep-options): Simplify.
23362
23363 * term/ns-win.el (ns-set-resource): Declare.
23364
23365 * ses.el (row, col): Declare dynamic variables honestly.
23366
23367 * textmodes/reftex-parse.el (index-tags): Declare.
23368
23369 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23370
23371 * cus-edit.el (customize-push-and-save): New function.
23372
23373 * files.el (hack-local-variables-confirm): Use it.
23374
23375 * custom.el (load-theme): New arg NO-CONFIRM.
23376 Use customize-push-and-save (Bug#8720).
23377 (custom-enabled-themes): Doc fix.
23378
23379 * cus-theme.el (customize-create-theme)
23380 (custom-theme-merge-theme): Callers to load-theme changed.
23381
23382 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23383
23384 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23385 short URLs have at least one dot in them (bug #7614).
23386
23387 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23388 nil, because using a pty is apparently too slow (bug #895).
23389
23390 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23391
23392 * mail/sendmail.el (sendmail-query-once): New function.
23393 (sendmail-query-once-function): New variable.
23394
23395 2011-06-29 Glenn Morris <rgm@gnu.org>
23396
23397 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23398
23399 * ses.el (top-level): Require cl when compiling.
23400 (ses-set-localvars): Fix error statement.
23401 Call it at compile time to silence a storm of warnings.
23402
23403 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23404
23405 * window.el (normalize-live-buffer): Rename to
23406 window-normalize-buffer.
23407 (normalize-live-frame): Rename to window-normalize-frame.
23408 (normalize-any-window): Rename to window-normalize-any-window.
23409 (normalize-live-window): Rename to window-normalize-live-window.
23410 (make-window-atom): Rename to window-make-atom.
23411 (window-resize-reset): Rename to window--resize-reset.
23412 (window-resize-reset-1): Rename to window--resize-reset-1.
23413 (resize-mini-window): Rename to window--resize-mini-window.
23414 (resize-subwindows-skip-p): Rename to
23415 window--resize-subwindows-skip-p.
23416 (resize-subwindows-normal): Rename to
23417 window--resize-subwindows-normal.
23418 (resize-subwindows): Rename to window--resize-subwindows.
23419 (resize-other-windows): Rename to window--resize-siblings.
23420 (resize-this-window): Rename to window--resize-this-window.
23421 (resize-root-window): Rename to window--resize-root-window.
23422 (resize-root-window-vertically): Rename to
23423 window--resize-root-window-vertically.
23424 (normalize-buffer-to-display): Rename to
23425 window-normalize-buffer-to-display.
23426 (normalize-buffer-to-switch-to): Rename to
23427 window-normalize-buffer-to-switch-to.
23428 Correspondingly update all callers of the functions listed
23429 above.
23430 (display-buffer-alist, display-buffer-normalize-arguments)
23431 (display-buffer-normalize-options, display-buffer)
23432 (display-buffer-alist-set): Use "function" instead of
23433 "fun-with-args".
23434
23435 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23436
23437 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23438 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23439 debbugs.gnu.org. Mention acknowledgment email.
23440
23441 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23442
23443 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23444 buffer multibyteness, since it shouldn't matter.
23445
23446 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23447
23448 * window.el (display-buffer-in-side-window): Handle dedicated
23449 windows as in display-buffer-reuse-window.
23450 (display-buffer-normalize-alist): Use value of override
23451 specifier.
23452 (display-buffer-normalize-specifiers): Use value of
23453 other-window-means-other-frame specifier.
23454 (display-buffer-alist): Rewrite some texts in widgets.
23455 (display-buffer): Spread arguments when calling function
23456 specified by fun-with-args.
23457
23458 2011-06-28 Deniz Dogan <deniz@dogan.se>
23459
23460 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23461 Unnest `let'.
23462
23463 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23464 selectors (Bug#5732).
23465 (css-proprietary-nmstart-re): Use `regexp-opt'.
23466
23467 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23468
23469 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23470 (eshell-ls-date-format): New defcustom.
23471 (eshell-ls-file): Use it.
23472
23473 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23474
23475 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23476
23477 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23478
23479 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23480 (ange-ftp-make-tmp-name): New arg.
23481 (ange-ftp-file-local-copy): Use it.
23482
23483 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23484
23485 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23486 no-conversion (Bug#8870).
23487
23488 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23489
23490 * window.el (window-right, window-left, window-child)
23491 (window-child-count, window-last-child)
23492 (window-iso-combination-p, walk-window-tree-1)
23493 (window-atom-check-1, window-tree-1, delete-window)
23494 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23495 new naming conventions - window-vchild, window-hchild,
23496 window-next and window-prev are now called window-top-child,
23497 window-left-child, window-next-sibling and window-prev-sibling
23498 respectively.
23499 (resize-window-reset): Rename to window-resize-reset.
23500 (resize-window-reset-1): Rename to window-resize-reset-1.
23501 (resize-window): Rename to window-resize.
23502 (window-min-height, window-min-width)
23503 (resize-mini-window, resize-this-window, resize-root-window)
23504 (resize-root-window-vertically, adjust-window-trailing-edge)
23505 (enlarge-window, shrink-window, maximize-window)
23506 (minimize-window, delete-window, quit-restore-window)
23507 (split-window, balance-windows, balance-windows-area-adjust)
23508 (balance-windows-area, window-state-put-2)
23509 (display-buffer-even-window-sizes, display-buffer-set-height)
23510 (display-buffer-set-width, set-window-text-height)
23511 (fit-window-to-buffer): Rename all "resize-window" prefixed
23512 calls to use the "window-resize" prefix convention.
23513 (display-buffer-alist): Fix symbol for label specifier.
23514 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23515 corresponding specifier.
23516 Reported by Juanma Barranquero <lekktu@gmail.com>.
23517
23518 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
23519
23520 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23521 convention.
23522 (ses-call-printer): Does not pass an empty string to formatter when the
23523 cell is empty to keep from barking printer Calc math-format-value.
23524
23525 2011-06-27 Richard Stallman <rms@gnu.org>
23526
23527 * battery.el (battery-mode-line-limit): New variable.
23528 (battery-update): Handle it.
23529
23530 * mail/rmailmm.el (rmail-mime-process-multipart):
23531 Handle truncated messages.
23532
23533 2011-06-27 Glenn Morris <rgm@gnu.org>
23534
23535 * progmodes/flymake.el (flymake-err-line-patterns):
23536 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23537
23538 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
23539
23540 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23541 (ses--clean-!, ses--clean-_): New functions.
23542 (ses-range): Add configurability of readout order, and conversion
23543 to Calc vector.
23544
23545 * ses.el (ses-repair-cell-reference-all): New function.
23546 (ses-cell-symbol): Set macro as safe, so that it can be used in
23547 formulas.
23548
23549 * ses.el: Update cycle detection algorithm.
23550 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23551 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23552 (ses-set-localvars): New function.
23553 (ses-make-cell): Add property-list as a cell element.
23554 (ses-cell-property-get-fun, ses-cell-property-get)
23555 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23556 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23557 New functions.
23558 (ses-cell-property-set, ses-cell-property-pop)
23559 (ses-cell-property-get-handle): New macro.
23560 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23561 New aliases, used for code readability.
23562 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23563 cycle detection.
23564 (ses-self-reference-early-detection): New defcustom.
23565 (ses-formula-references): Robustify against self-referring cells.
23566 (ses-mode): Use ses-set-localvars.
23567 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23568 before lauching the update processing.
23569 (ses-initialize-Dijkstra-attempt): New function.
23570 (ses-recalculate-cell): Update for cycle detection based on
23571 Dijkstra algorithm.
23572
23573 * ses.el: Fix commenting and indenting convention.
23574
23575 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23576
23577 * bs.el (bs-cycle-next): Complete last change.
23578
23579 2011-06-27 Drew Adams <drew.adams@oracle.com>
23580
23581 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23582
23583 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23584
23585 * net/network-stream.el (network-stream-open-starttls):
23586 Don't re-get capabilities unless we've reestablished connection.
23587 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23588
23589 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23590 to binary to possibly avoid line encoding issues on Windows (among
23591 other things).
23592
23593 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23594
23595 * net/network-stream.el (open-network-stream): Return an :error
23596 saying what the problem was, if possible.
23597
23598 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23599 server.
23600
23601 * net/network-stream.el (network-stream-open-starttls): If we
23602 wanted to use STARTTLS, and the server offered it, but we weren't
23603 able to because we had no STARTTLS support, then close the connection.
23604 (open-network-stream): Return an :error element, if present.
23605
23606 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23607
23608 * hl-line.el (hl-line-sticky-flag): Doc fix.
23609 (global-hl-line-sticky-flag): New option (Bug#8323).
23610 (global-hl-line-highlight): Obey it.
23611
23612 * vc/vc.el (vc-revert-show-diff): Default to t.
23613
23614 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23615
23616 * allout-widgets.el (allout-widgets-post-command-business):
23617 Stop decorating intermediate isearch matches. They're not being
23618 undecorated when an isearch is continued past, and isearch
23619 automatically collapses them. This leads to "widget leaks", where
23620 decorated items accumulate in collapsed areas. Lines with lots of
23621 hidden widgets can slow down cursor travel, substantially.
23622 Too much complicated machinery would be needed to ensure undecoration,
23623 so we're doing without this nicety.
23624
23625 (allout-widgets-tally-string): Don't try to do a hash-table-count
23626 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23627 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23628 *Messages* when allout-widgets-maintain-tally is t.
23629
23630 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23631
23632 * window.el (display-buffer-normalize-argument): Rename to
23633 display-buffer-normalize-arguments. Handle special meaning of
23634 LABEL argument. Respect special-display-function when popping up
23635 a new frame. Fix code searching for a window showing the buffer
23636 on another frame.
23637 (display-buffer-normalize-specifiers):
23638 Call display-buffer-normalize-arguments.
23639 (display-buffer-in-window): Don't undedicate the window if its
23640 buffer remains the same.
23641 Reported by Drew Adams <drew.adams@oracle.com>.
23642 (display-buffer-alist): Add choice for same-window macro
23643 specfier.
23644 (display-buffer): Mention special meaning of LABEL argument in
23645 doc-string. Fix quoting. Don't pop up a new frame even as
23646 fallback.
23647
23648 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23649
23650 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23651 avoid deleting the current window in some cases (bug#8911).
23652
23653 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23654
23655 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23656 (Bug#8934)
23657
23658 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23659
23660 * net/network-stream.el (network-stream-open-starttls):
23661 Use built-in TLS support if `gnutls-available-p' is true.
23662 (network-stream-open-tls): Ditto.
23663
23664 2011-06-26 Leo Liu <sdl.web@gmail.com>
23665
23666 * register.el (registerv): New struct.
23667 (registerv-make): New function.
23668 (jump-to-register, describe-register-1, insert-register):
23669 Support the jump-func, print-func and insert-func slot of a registerv
23670 struct. (Bug#8415)
23671
23672 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23673
23674 * vc/vc.el (vc-revert-show-diff): New defcustom.
23675 (vc-diff-internal): New arg specifying diff buffer.
23676 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23677 reuse an existing *vc-diff* buffer (Bug#8927).
23678
23679 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23680
23681 2011-06-26 Glenn Morris <rgm@gnu.org>
23682
23683 * progmodes/f90.el (f90-critical-indent): New option.
23684 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23685 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23686 (f90-mode): Doc fix.
23687 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23688 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23689 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23690 (f90-match-end): Handle block, critical.
23691
23692 2011-06-25 Glenn Morris <rgm@gnu.org>
23693
23694 * calendar/diary-lib.el (diary-included-files): Doc fix.
23695 (diary-include-files): New function, extracted from
23696 diary-include-other-diary-files and diary-mark-included-diary-files.
23697 (diary-include-other-diary-files, diary-mark-included-diary-files):
23698 Just call diary-include-files.
23699 (diary-mark-entries): Reset diary-included-files on first call.
23700
23701 * calendar/diary-lib.el (diary-mark-entries)
23702 (diary-mark-included-diary-files):
23703 Visit included diary-files in temp buffers.
23704
23705 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23706 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23707 (f90-start-block-re, f90-imenu-generic-expression)
23708 (f90-looking-at-program-block-start, f90-no-block-limit):
23709 Add support for submodules.
23710
23711 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23712 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23713
23714 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23715
23716 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23717 buffer-file-type before setting its value, to avoid disastrous
23718 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23719
23720 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23721
23722 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23723
23724 * ses.el (ses-unload-function):
23725 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23726
23727 * proced.el (proced-unload-function):
23728 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23729
23730 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23731
23732 * server.el (server-create-window-system-frame): Add parameters arg.
23733 (server-process-filter): Doc fix. Handle frame-parameters.
23734
23735 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23736
23737 Fix bug#8730, bug#8781.
23738
23739 * loadhist.el (unload--set-major-mode): New function.
23740 (unload-feature): Use it.
23741
23742 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23743 (python-unload-function): New function.
23744
23745 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23746
23747 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23748
23749 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23750
23751 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23752 the candidates list.
23753
23754 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23755
23756 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23757
23758 2011-06-23 Richard Stallman <rms@gnu.org>
23759
23760 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23761 (rmail-variables): Set next-error-move-function.
23762 (rmail-what-message): Take argument POS.
23763 (rmail-next-error-move): New function.
23764
23765 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23766
23767 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23768 messages for adjacent non-terminals.
23769
23770 2011-06-23 Richard Stallman <rms@gnu.org>
23771
23772 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23773 (rmail-show-message-1): Preserve buffer modified flag.
23774 (rmail-start-mail): Don't specify use of rmail-mail-return;
23775 that's done by mail-bury now.
23776 (rmail-mail-return): Handle arg NEWBUF.
23777
23778 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23779
23780 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23781 SIZE is a number.
23782
23783 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23784
23785 * window.el (get-lru-window, get-mru-window)
23786 (get-largest-window): Never return a minibuffer window.
23787 (display-buffer-pop-up-window): Fix a bug that could lead to
23788 reusing the minibuffer window.
23789 (display-buffer): Pass original specifier argument to
23790 display-buffer-function instead of the normalized one.
23791 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23792
23793 2011-06-22 Leo Liu <sdl.web@gmail.com>
23794
23795 * minibuffer.el (completing-read-function)
23796 (completing-read-default): Move from minibuf.c.
23797
23798 2011-06-22 Richard Stallman <rms@gnu.org>
23799
23800 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23801 to Rmail even if not started by a special Rmail command.
23802
23803 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23804 Copy the buffer currently showing just one message.
23805
23806 2011-06-22 Roland Winkler <winkler@gnu.org>
23807
23808 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23809 (bibtex-clean-entry): First delete the old key so that a
23810 customized algorithm for generating the new key does not get
23811 confused by the old key.
23812 (bibtex-url): Obey regexp of first step.
23813 (bibtex-search-entries): Do not use add-to-list with local
23814 list-var.
23815
23816 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23817
23818 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23819 stored a user name, then query for the password first, instead of
23820 waiting for SMTP to give an error message and the trying again.
23821
23822 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23823
23824 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23825 BUFFER in call-process.
23826
23827 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23828
23829 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23830 QUIT twice.
23831 (smtpmail-try-auth-methods): Require user name and password from
23832 auth-source.
23833
23834 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23835
23836 * window.el (display-buffer-default-specifiers)
23837 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23838 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23839 (split-window): Normalize SIDE argument (Bug#8916).
23840
23841 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23842 (special-display-frame-alist, special-display-popup-frame):
23843 Remove duplicate declarations. These are now in window.el.
23844
23845 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23846
23847 * mail/smtpmail.el (smtpmail-via-smtp):
23848 Set :use-starttls-if-possible so that we always use STARTTLS if the
23849 server supports it. SMTP servers that support STARTTLS commonly
23850 require it.
23851
23852 * net/network-stream.el (network-stream-open-starttls): Support
23853 upgrading to STARTTLS always, even if we don't have built-in support.
23854 (open-network-stream): Add the :always-query-capabilities keyword.
23855
23856 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23857 upgrades with `open-network-stream', and rely solely on
23858 auth-source for all credentials. Big changes throughout the file,
23859 but in particular:
23860 (smtpmail-auth-credentials): Remove.
23861 (smtpmail-starttls-credentials): Remove.
23862 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23863 MAIL FROM, too.
23864
23865 * net/network-stream.el (network-stream-open-starttls):
23866 Provide support for client certificates both for external and built-in
23867 STARTTLS.
23868 (auth-source): Require.
23869 (open-network-stream): Document the :client-certificate keyword.
23870 (network-stream-certificate): Change cert-cert to cert and
23871 cert-key to key.
23872
23873 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23874
23875 * net/tramp-cache.el (top): Don't load the persistency file when
23876 "emacs -Q" has been called.
23877
23878 2011-06-21 Tim Harper <timcharper@gmail.com>
23879
23880 * term/ns-win.el (ns-initialize-window-system):
23881 Set application-specific `ApplePressAndHoldEnabled' system
23882 resource to NO as it is not yet supported by the NS port.
23883
23884 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23885
23886 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23887 (list-dynamic-libraries): ...not here.
23888
23889 2011-06-21 Leo Liu <sdl.web@gmail.com>
23890
23891 * subr.el (sha1): Implement sha1 using secure-hash.
23892
23893 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23894
23895 * window.el (display-buffer-alist): In default value do not
23896 enforce searching a window on any but the selected frame.
23897 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23898 (display-buffer-select-window): Remove function.
23899 (display-buffer-in-window): When a window on another frame gets
23900 reused, do not select it any more but just raise its frame if
23901 necessary (Bug#8851) and (Bug#8856).
23902 (display-buffer-normalize-options): Handle pop-up-frames related
23903 options more faithfully.
23904 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23905 window if it is on another frame.
23906 (display-buffer-alist, display-buffer-default-specifiers):
23907 Don't make new frame unsplittable by default.
23908 (display-buffer-normalize-argument): Fix doc-string typo and use
23909 'same-frame-other-window instead of 'other-window when associating
23910 with display-buffer-macro-specifiers.
23911
23912 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
23913
23914 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23915 New functions.
23916 (5x5-mode-map, 5x5-mode-menu): Bind them.
23917 (5x5-draw-grid): Tweak the solver's rendering.
23918
23919 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23920
23921 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23922 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23923
23924 2011-06-21 Drew Adams <drew.adams@oracle.com>
23925
23926 * menu-bar.el: Use function variable instead of switch-to-buffer.
23927 (menu-bar-select-buffer-function): New variable.
23928 (menu-bar-update-buffers): Use it (bug#8876).
23929
23930 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23931
23932 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23933 variable's status.
23934
23935 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23936
23937 * x-dnd.el (x-dnd-version-from-flags)
23938 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23939 and long as number (Bug#8899).
23940 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23941
23942 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23943
23944 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23945 (completion-try-completion, completion-all-completions): Compute the
23946 metadata argument if it's missing; make it optional (bug#8795).
23947
23948 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23949 (widget-complete): Use new :completion-function property.
23950 (widget-completions-at-point): New function.
23951 (default): Use :completion-function instead of :complete.
23952 (widget-default-completions): Rename from widget-default-complete;
23953 Rewrite.
23954 (widget-string-complete, widget-file-complete, widget-color-complete):
23955 Remove functions.
23956 (file, symbol, function, variable, coding-system, color):
23957 * international/mule-cmds.el (default-input-method, charset)
23958 (language-info-custom-alist):
23959 * cus-edit.el (face): Use new property :completions.
23960
23961 * progmodes/pascal.el (pascal-completions-at-point): New function.
23962 (pascal-mode): Use it.
23963 (pascal-mode-map): Use completion-at-point.
23964 (pascal-toggle-completions): Make obsolete.
23965 (pascal-complete-word, pascal-show-completions):
23966 * progmodes/octave-mod.el (octave-complete-symbol):
23967 Redefine as obsolete alias.
23968 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23969 Signal absence of completion info for old Octave,
23970 (inferior-octave-complete): Redefine as obsolete alias.
23971 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23972 (meta-completions-at-point): Rename from meta-complete-symbol and
23973 adapt it for use on completion-at-point-functions.
23974 (meta-common-mode): Use it.
23975 (meta-looking-at-backward, meta-match-buffer): Remove.
23976 (meta-complete-symbol): Redefine as obsolete alias.
23977 (meta-common-mode-map): Use completion-at-point.
23978 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23979 (makefile-mode-map): Use completion-at-point.
23980 (makefile-completions-at-point): Rename from makefile-complete and
23981 adapt it for use on completion-at-point-functions.
23982 (makefile-mode): Use it.
23983 (makefile-complete): Redefine as obsolete alias.
23984
23985 2011-06-20 Deniz Dogan <deniz@dogan.se>
23986
23987 * net/rcirc.el: Delete trailing whitespaces once and for all.
23988
23989 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23990
23991 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23992
23993 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23994
23995 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23996
23997 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23998
23999 2011-06-19 Martin Rudalics <rudalics@gmx.at>
24000
24001 * window.el (display-buffer-other-window-means-other-frame):
24002 Call display-buffer-normalize-alist.
24003 (display-buffer-normalize-specifiers-1): Rename to
24004 display-buffer-normalize-argument. New argument other-frame.
24005 Rewrite.
24006 (display-buffer-normalize-specifiers-2): Rename to
24007 display-buffer-normalize-options.
24008 (display-buffer-normalize-alist-1): New function.
24009 (display-buffer-normalize-specifiers-3): Rename to
24010 display-buffer-normalize-alist.
24011 Call display-buffer-normalize-alist-1.
24012 (display-buffer-normalize-options-inhibit): New variable.
24013 (display-buffer-normalize-specifiers): Rewrite calling
24014 display-buffer-normalize-alist,
24015 display-buffer-normalize-argument, and
24016 display-buffer-normalize-options. Don't call the latter if
24017 display-buffer-normalize-options-inhibit is non-nil.
24018 (frame-auto-delete): New option.
24019 (window-deletable-p): Use frame-auto-delete.
24020 (window-list-no-nils, window-state-ignored-parameters)
24021 (window-state-get-1, window-state-get, window-state-put-list)
24022 (window-state-put-1, window-state-put-2, window-state-put):
24023 New functions.
24024 (display-buffer-normalize-options): Move special-display-p group
24025 after pop-up-frame group (Bug#8851) and (Bug#8856).
24026
24027 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
24028
24029 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
24030 groups (Bug#8776).
24031 (rx-submatch-n): New function.
24032 (rx): Document it.
24033
24034 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
24035 (Bug#8768).
24036
24037 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
24038
24039 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
24040
24041 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
24042 anytime existing face settings are present (Bug#8889).
24043
24044 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
24045 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
24046 Remove unused argument.
24047
24048 2011-06-18 Martin Rudalics <rudalics@gmx.at>
24049
24050 * window.el (display-buffer-default-specifiers):
24051 Remove pop-up-frame. Add pop-up-window-min-height,
24052 pop-up-window-min-width, and another reuse-window specifier
24053 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
24054 (display-buffer-normalize-specifiers-2):
24055 Handle split-height-threshold and split-width-threshold also when
24056 pop-up-windows is unset. Add a reuse-window specifier for the
24057 case popping up a new window fails.
24058 (special-display-popup-frame): Remove double quoting.
24059 (display-buffer-normalize-specifiers-1): Fix thinko.
24060
24061 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
24062
24063 * shell.el (shell-completion-vars): Set pcomplete-termination-string
24064 according to comint-completion-addsuffix.
24065
24066 * pcomplete.el: Convert to lexical binding and fix bug#8819.
24067 (pcomplete-suffix-list): Mark as obsolete.
24068 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
24069 pcomplete-seen in the closure.
24070 (pcomplete-comint-setup): Setup completion-at-point as well.
24071 (pcomplete--entries): New function.
24072 (pcomplete--env-regexp): New var.
24073 (pcomplete-entries): Rewrite to work with partial-completion and
24074 without relying on pcomplete-suffix-list.
24075 (pcomplete-pare-list): Remove, unused.
24076
24077 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24078
24079 * window.el (display-buffer-alist): Set pop-up-window-min-height
24080 and pop-up-window-min-width in default value. Reported by
24081 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
24082 other-window-means-other-frame.
24083 (display-buffer-macro-specifiers): Comment out entry for
24084 other-window specifier.
24085 (display-buffer-other-window-means-other-frame): New function.
24086 (display-buffer-normalize-specifiers-1): New arguments
24087 buffer-name and label. Treat other-window case specially.
24088 (display-buffer-normalize-specifiers-2): Treat other-window case
24089 specially.
24090 (display-buffer-normalize-specifiers-3): New function.
24091 (display-buffer-normalize-specifiers):
24092 Call display-buffer-normalize-specifiers-3.
24093
24094 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24095
24096 * window.el (same-window-p): Fix two typos introduced when
24097 adding with-no-warnings.
24098 (display-buffer-normalize-specifiers-1): Don't check
24099 pop-up-frames for 'unset initialization.
24100 (display-buffer-normalize-specifiers-2): Major rewrite using
24101 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
24102 (pop-up-frames, display-buffer-reuse-frames)
24103 (display-buffer-mark-dedicated): Don't initialize to 'unset.
24104 Suggested by David Engster <deng@randomsample.de>.
24105 (even-window-heights): Initialize to 'unset.
24106 (display-buffer-alist-set): Handle new 'unset initializations.
24107 (display-buffer-macro-specifiers): Don't pop up a new frame in the
24108 other window case.
24109
24110 2011-06-16 Martin Rudalics <rudalics@gmx.at>
24111
24112 * window.el (display-buffer-normalize-specifiers-1):
24113 Respect current value of pop-up-frames for most reasonable values of
24114 second argument of display-buffer (Bug#8865).
24115 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24116 (switch-to-buffer-other-window-same-frame)
24117 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
24118 Adams (Bug#8875).
24119 (display-buffer): Don't check noninteractive when calling
24120 display-buffer-pop-up-frame.
24121 (display-buffer-pop-up-frame): Never pop up a frame in
24122 noninteractive mode (Bug#8857).
24123 (enlarge-window, shrink-window): Don't report an error when the
24124 window can't be resized as requested (Bug#8862).
24125
24126 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24127
24128 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24129
24130 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24131
24132 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24133
24134 2011-06-15 Alan Mackenzie <acm@muc.de>
24135
24136 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24137 for declarators, disable knr checking to speed up for normal files.
24138 2: Refactor, replacing a sequence of nested if forms by a cond form.
24139
24140 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
24141
24142 * net/network-stream.el (open-network-stream): Add the keyword
24143 :always-query-capabilities for the case where you want to force a
24144 `plain' network connection, but the protocol still requires the
24145 capabilitiy command (i.e., SMTP and EHLO).
24146
24147 * subr.el (process-live-p): Rename from `process-alive-p' for
24148 consistency with other `-live-p' functions.
24149
24150 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24151
24152 * window.el (same-window-buffer-names, same-window-regexps)
24153 (special-display-frame-alist, special-display-popup-frame)
24154 (special-display-function, special-display-buffer-names)
24155 (special-display-regexps, pop-up-frame-alist)
24156 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24157 (pop-up-windows, split-window-preferred-function)
24158 (split-height-threshold, split-width-threshold, even-window-heights)
24159 (display-buffer-mark-dedicated): Don't encourage the use of
24160 display-buffer-alist from Elisp code.
24161
24162 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24163
24164 * progmodes/python.el (python-mode): Derive from prog-mode.
24165 * progmodes/ps-mode.el (ps-mode):
24166 * progmodes/mixal-mode.el (mixal-mode):
24167 * progmodes/cfengine.el (cfengine-mode):
24168 * progmodes/ld-script.el (ld-script-mode): Likewise.
24169
24170 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24171
24172 * window.el (display-buffer-alist): Trim default value to avoid
24173 popping up a new frame (Bug#8857) or reusing an arbitrary window
24174 on another frame.
24175 (display-buffer): Do not fall back on popping up a new frame in
24176 batch mode (Bug#8857).
24177
24178 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24179
24180 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24181 (custom-theme-summary): New function.
24182 (customize-themes): Use it.
24183
24184 2011-06-13 Glenn Morris <rgm@gnu.org>
24185
24186 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24187
24188 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24189
24190 * help.el (help-window): Remove variable.
24191 (help-window-point-marker, temp-buffer-max-height)
24192 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24193 (help-print-return-message): Don't set help-window.
24194 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24195 (help-window-setup-finish): Remove.
24196 (help-window-display-message, help-window-setup)
24197 (with-help-window): Major rewrite based on new
24198 display-buffer-window variable.
24199
24200 * help-mode.el (help-mode-finish): Remove help-window related
24201 code.
24202
24203 * view.el (view-exits-all-viewing-windows): Remove reference to
24204 view-return-to-alist in doc-string.
24205 (view-return-to-alist): Make obsolete.
24206 (view-buffer): Call pop-to-buffer-same-window and remove
24207 undo-window code.
24208 (view-buffer-other-window): Call pop-to-buffer-other-window and
24209 simplify code. Ignore second argument.
24210 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24211 simplify code. Ignore second argument.
24212 (view-return-to-alist-update): Make obsolete.
24213 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24214 Rewrite using quit-restore window parameters.
24215 (view-mode-exit): Rename second argument to EXIT-ONLY.
24216 Rewrite using quit-restore-window.
24217 (View-exit, View-exit-and-edit, View-leave, View-quit)
24218 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24219 appropriate arguments.
24220 (view-end-message): Use quit-restore window parameter.
24221
24222 * window.el (display-buffer-function): Rewrite doc-string.
24223 (display-buffer-window, display-buffer-alist): New variables.
24224 (display-buffer-split-specifiers)
24225 (display-buffer-side-specifiers)
24226 (display-buffer-macro-specifiers): New constants.
24227 (display-buffer-even-window-sizes, display-buffer-set-height)
24228 (display-buffer-set-width, display-buffer-select-window)
24229 (display-buffer-in-window, display-buffer-reuse-window)
24230 (display-buffer-split-window-1, display-buffer-split-window)
24231 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24232 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24233 (display-buffer-in-side-window, normalize-buffer-to-display)
24234 (display-buffer-normalize-specifiers-1)
24235 (display-buffer-normalize-specifiers-2)
24236 (display-buffer-normalize-specifiers, display-buffer-frame):
24237 New functions.
24238 (display-buffer): Major rewrite.
24239 (display-buffer-other-window, display-buffer-other-frame)
24240 (pop-to-buffer, switch-to-buffer-other-window)
24241 (switch-to-buffer-other-frame): Rewrite.
24242 (display-buffer-same-window, display-buffer-same-frame)
24243 (display-buffer-same-frame-other-window)
24244 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24245 (pop-to-buffer-other-window)
24246 (pop-to-buffer-same-frame-other-window)
24247 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24248 (switch-to-buffer-other-window-same-frame): New functions.
24249 (same-window-p, special-display-p): Rewrite disabling warnings.
24250 Make obsolete.
24251 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24252 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24253 Make obsolete
24254 (same-window-buffer-names, same-window-regexps)
24255 (special-display-frame-alist, special-display-popup-frame)
24256 (special-display-function, special-display-buffer-names)
24257 (special-display-regexps, pop-up-frame-alist)
24258 (pop-up-frame-function, split-window-preferred-function)
24259 (split-height-threshold, split-width-threshold)
24260 (even-window-heights): Make obsolete.
24261
24262 2011-06-12 Glenn Morris <rgm@gnu.org>
24263
24264 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24265 Misc simplifications.
24266
24267 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24268
24269 * window.el (window-safely-shrinkable-p): Restore function which
24270 was inadvertently removed in change from 2011-06-11. Declare as
24271 obsolete.
24272
24273 * calendar/calendar.el (calendar-generate-window):
24274 Use window-iso-combined-p instead of combination of one-window-p and
24275 window-safely-shrinkable-p.
24276
24277 2011-06-12 Glenn Morris <rgm@gnu.org>
24278
24279 * progmodes/fortran.el (fortran-mode-syntax-table):
24280 * progmodes/f90.el (f90-mode-syntax-table):
24281 Set % to punctuation. (Bug#8820)
24282 (f90-find-tag-default): Remove, no longer needed.
24283
24284 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24285
24286 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24287
24288 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24289
24290 * image.el (image-animated-p): Return animation delay in seconds.
24291 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24292 (image-animate-timeout): Remove DELAY argument. Don't assume
24293 every subimage has the same delay; get it from image-animated-p.
24294 (image-animate): Caller changed.
24295
24296 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24297
24298 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24299 to ignored backtrace functions.
24300
24301 2011-06-11 Glenn Morris <rgm@gnu.org>
24302
24303 * calendar/appt.el (appt-disp-window-function): Doc fix.
24304 (appt-check): Handle overlapping appointments. (Bug#8337)
24305
24306 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24307
24308 * window.el (window-tree-1, window-tree): New functions, moving
24309 the latter to window.el.
24310 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24311 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24312 (bw-refresh-edges): Remove.
24313 (balance-windows-1, balance-windows-2): New functions.
24314 (balance-windows): Rewrite in terms of window tree functions,
24315 balance-windows-1 and balance-windows-2.
24316 (bw-adjust-window): Remove.
24317 (balance-windows-area-adjust): New function with functionality of
24318 bw-adjust-window but using resize-window.
24319 (set-window-text-height): Rewrite doc-string.
24320 Use normalize-live-window and resize-window.
24321 (enlarge-window-horizontally, shrink-window-horizontally):
24322 Rename argument to DELTA.
24323 (window-buffer-height): New function.
24324 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24325 Rewrite using new window resize routines.
24326 (kill-buffer-and-window, mouse-autoselect-window-select):
24327 Use ignore-errors instead of condition-case.
24328 (quit-window): Call delete-frame instead of delete-windows-on
24329 for the only buffer on frame.
24330
24331 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24332
24333 * loadup.el (top-level): Load window before files for the sake
24334 of replace-buffer-in-windows.
24335
24336 * files.el (read-buffer-to-switch)
24337 (switch-to-buffer-other-window)
24338 (switch-to-buffer-other-frame, display-buffer-other-frame):
24339 Move to window.el.
24340
24341 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24342 (previous-buffer): Move to window.el.
24343
24344 * bindings.el (unbury-buffer): Move to window.el.
24345
24346 * window.el (delete-other-windows-vertically): Move after
24347 definition of delete-other-windows.
24348 (other-window, delete-windows-on, replace-buffer-in-windows):
24349 Move here from window.c.
24350 (record-window-buffer, unrecord-window-buffer)
24351 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24352 (switch-to-next-buffer): New functions.
24353 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24354 from simple.el. Call switch-to-next-buffer.
24355 (previous-buffer): Move here from simple.el.
24356 Call switch-to-prev-buffer.
24357 (bury-buffer): Move here from buffer.c. Switch to previous
24358 buffer when window cannot be deleted.
24359 (unbury-buffer): Move here from bindings.el.
24360 (ctl-x-map): Move binding for other-window from window.c to
24361 here.
24362 (read-buffer-to-switch, switch-to-buffer-other-window)
24363 (switch-to-buffer-other-frame): Move here from files.el.
24364 (normalize-buffer-to-switch-to): New functions.
24365 (switch-to-buffer): Move here from buffer.c.
24366 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24367
24368 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24369
24370 * window.el (window-min-height, window-min-width): Move here
24371 from window.c. Add defcustoms and rewrite doc-strings.
24372 (resize-mini-window, resize-window): New functions.
24373 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24374 Move here from window.c.
24375 (maximize-window, minimize-window): New functions.
24376 (delete-window, delete-other-windows, split-window): Move here
24377 from window.c.
24378 (window-split-min-size): New function.
24379 (split-window-keep-point): Mention split-window-above-each-other
24380 instead of split-window-vertically.
24381 (split-window-above-each-other, split-window-vertically):
24382 Rename split-window-vertically to split-window-above-each-other
24383 and provide defalias for old definition.
24384 (split-window-side-by-side, split-window-horizontally):
24385 Rename split-window-horizontally to split-window-side-by-side
24386 and provide defalias for the old definition.
24387 (ctl-x-map): Move bindings for delete-window,
24388 delete-other-windows and enlarge-window here from window.c.
24389 Replace bindings for split-window-vertically and
24390 split-window-horizontally by bindings for
24391 split-window-above-each-other and split-window-side-by-side.
24392
24393 * cus-start.el (all): Remove entries for window-min-height and
24394 window-min-width. Add entries for window-splits and
24395 window-nest.
24396
24397 2011-06-09 Glenn Morris <rgm@gnu.org>
24398
24399 * calendar/appt.el (appt-mode-line): New function.
24400 (appt-check, appt-disp-window): Use it.
24401
24402 * files.el (hack-one-local-variable-eval-safep):
24403 Allow minor-modes with explicit +/-1 arguments.
24404
24405 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24406
24407 * term/xterm.el (xterm): Add defgroup.
24408 (xterm-extra-capabilities): Add defcustom to supply known xterm
24409 capabilities, skip querying them, or query them (default).
24410 (terminal-init-xterm): Use it.
24411 (terminal-init-xterm-modify-other-keys): New function to set up
24412 modifyOtherKeys support to simplify `terminal-init-xterm'.
24413
24414 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24415
24416 * window.el (resize-window-reset, resize-window-reset-1)
24417 (resize-subwindows-skip-p, resize-subwindows-normal)
24418 (resize-subwindows, resize-other-windows, resize-this-window)
24419 (resize-root-window, resize-root-window-vertically)
24420 (window-deletable-p, window-or-subwindow-p)
24421 (frame-root-window-p): New functions.
24422
24423 2011-06-09 Glenn Morris <rgm@gnu.org>
24424
24425 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24426 (ange-ftp-get-files): Use it.
24427
24428 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24429
24430 * mail/sendmail.el (mail-recover-1, mail-recover):
24431 * files.el (recover-file, recover-session):
24432 Handle dired-listing-switches not being just a single short option.
24433
24434 2011-06-09 Glenn Morris <rgm@gnu.org>
24435
24436 * calendar/appt.el (appt-display-message, appt-disp-window):
24437 Handle lists of appointments.
24438
24439 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24440
24441 * window.el (one-window-p): Move down in code.
24442 Rewrite doc-string.
24443 (window-current-scroll-bars): Rewrite doc-string.
24444 Normalize live window argument.
24445 (walk-windows, get-window-with-predicate, count-windows):
24446 Rewrite doc-string. Use window-list-1.
24447 (window-in-direction-2, window-in-direction, get-mru-window):
24448 New functions.
24449
24450 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24451
24452 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24453 Doc fix (Bug#8713).
24454
24455 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24456
24457 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24458
24459 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24460
24461 * loadhist.el (unload-feature-special-hooks):
24462 Add `comint-output-filter-functions'.
24463
24464 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24465
24466 * calendar/appt.el (appt-check): Move some initializations into the let.
24467
24468 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24469
24470 * window.el (window-height): Defalias to window-total-height.
24471 (window-width): Defalias to window-body-width.
24472
24473 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24474
24475 * image-mode.el (image-toggle-animation): New command.
24476 (image-mode-map): Bind it to RET.
24477 (image-mode): Update message.
24478 (image-toggle-display-image): Avoid a spurious cache flush.
24479 (image-transform-rotation): Doc fix.
24480 (image-transform-properties): Return quickly in the normal case.
24481 (image-animate-loop): Rename from image-animate-max-time.
24482
24483 * image.el (image-animate-max-time): Move to image-mode.el.
24484 (create-animated-image): Remove unnecessary function.
24485 (image-animate): Rename from image-animate-start. New arg.
24486 (image-animate-stop): Remove; just use image-animate-timer.
24487 (image-animate-timer): Use car-safe.
24488 (image-animate-timeout): Rename argument.
24489
24490 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24491
24492 * window.el (get-lru-window, get-largest-window): Move here from
24493 window.c. Rename first argument to ALL-FRAMES.
24494 Rephrase doc-strings.
24495 (get-buffer-window-list): Rewrite using window-list-1.
24496 Rephrase doc-string.
24497 (window-safe-min-height, window-safe-min-width): New constants.
24498 (window-size-ignore, window-min-size, window-min-size-1)
24499 (window-sizable, window-sizable-p, window-size-fixed-1)
24500 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24501 (window-max-delta-1, window-max-delta, window-resizable)
24502 (window-resizable-p, window-total-height, window-total-width)
24503 (window-body-width): New functions.
24504 (window-full-height-p, window-full-width-p): Rewrite using
24505 window-total-size.
24506 (window-body-height): Rewrite using window-body-size.
24507
24508 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24509
24510 * window.el (window-right, window-left, window-child)
24511 (window-child-count, window-last-child, window-any-p)
24512 (normalize-live-buffer, normalize-live-frame)
24513 (normalize-any-window, normalize-live-window)
24514 (window-iso-combination-p, window-iso-combined-p)
24515 (window-iso-combinations)
24516 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24517 (windows-with-parameter, window-with-parameter)
24518 (window-atom-root, make-window-atom, window-atom-check-1)
24519 (window-atom-check, window-side-check, window-check):
24520 New functions.
24521 (ignore-window-parameters, window-sides, window-sides-vertical)
24522 (window-sides-slots): New variables.
24523 (window-size-fixed): Move down in code. Minor doc-string fix.
24524
24525 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24526
24527 * comint.el (comint-dynamic-complete-as-filename)
24528 (comint-dynamic-complete-filename): Correctly call
24529 completion-in-region.
24530
24531 2011-06-05 Deniz Dogan <deniz@dogan.se>
24532
24533 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24534 in last change.
24535
24536 2011-06-05 Deniz Dogan <deniz@dogan.se>
24537
24538 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24539 (rcirc): Use it to prompt for encryption.
24540
24541 2011-06-05 Roland Winkler <winkler@gnu.org>
24542
24543 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24544 (bibtex-search-entries): New command bound to C-c C-a.
24545 (bibtex-display-entries): New function.
24546
24547 2011-06-05 Roland Winkler <winkler@gnu.org>
24548
24549 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24550 (bibtex-insert-kill): After yanking insert newline if necessary.
24551 (bibtex-initialize): Call bibtex-string-files-init only once.
24552 (bibtex-mode): Do not call easy-menu-add.
24553 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24554 (bibtex-yank): Set arg properly if nil.
24555
24556 2011-06-05 Roland Winkler <winkler@gnu.org>
24557
24558 * textmodes/bibtex.el (bibtex-search-entry-globally):
24559 New variable.
24560 (bibtex-search-entry): Use it.
24561
24562 2011-06-05 Roland Winkler <winkler@gnu.org>
24563
24564 * textmodes/bibtex.el (bibtex-entry-format): New option
24565 sort-fields.
24566 (bibtex-format-entry, bibtex-reformat): Honor this option.
24567 (bibtex-parse-entry): Return fields in proper order.
24568
24569 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24570
24571 * doc-view.el (doc-view-remove-if): Move computation of result out
24572 of `dolist' to silence misleading lexical-binding warning.
24573
24574 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24575
24576 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24577 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24578
24579 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24580
24581 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24582 "SunOS 5.10".
24583
24584 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24585
24586 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24587 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24588 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24589 (tramp-parse-putty):
24590 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24591 (tramp-completion-function-alist-ssh)
24592 (tramp-completion-function-alist-telnet)
24593 (tramp-completion-function-alist-su)
24594 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24595 cookie.
24596
24597 * net/tramp-ftp.el:
24598 * net/tramp-sh.el:
24599 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24600 load "tramp.el" `tramp-set-completion-function'.
24601
24602 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24603
24604 * shell.el: Require and use pcomplete.
24605 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24606 (shell-completion-vars): Set pcomplete-default-completion-function.
24607
24608 2011-06-04 Deniz Dogan <deniz@dogan.se>
24609
24610 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24611 `memq' (Bug#8799).
24612
24613 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24614
24615 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24616
24617 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24618
24619 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24620 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24621 * vc/log-view.el (log-view-beginning-of-defun):
24622 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24623 (smerge-refine-forward, smerge-refine-chopup-region):
24624 Silence warning for unused `dotimes' counter variables.
24625
24626 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24627
24628 * net/tramp.el (tramp-with-progress-reporter): Rename from
24629 with-progress-reporter. Use `declare'.
24630 * net/tramp-smb.el:
24631 * net/tramp-sh.el:
24632 * net/tramp-gvfs.el: Update all uses.
24633
24634 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24635
24636 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24637 buffer isn't killed before making it current.
24638
24639 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24640
24641 Silence various byte-compiler warnings.
24642 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24643 `access-type' and new obsolescence format.
24644 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24645 new format.
24646 (byte-compile-check-variable): New `access-type' argument.
24647 Only warn if the access-type is obsolete.
24648 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24649 (byte-compile-variable-set): Adjust callers.
24650 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24651 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24652 setting it as obsolete.
24653 * simple.el (minibuffer-completing-symbol):
24654 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24655 access as obsolete.
24656 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24657 obsolete yet.
24658 * international/quail.el (quail-mouse-choose-completion): Remove unused
24659 code referring to obsolete var.
24660 (quail-choose-completion-string): Remove.
24661 * server.el (server-clients-with, server-kill-buffer-query-function)
24662 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24663 * proced.el (proced-send-signal):
24664 * emacs-lisp/lisp.el (lisp-complete-symbol):
24665 Replace completion-annotate-function with completion-extra-properties.
24666
24667 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24668
24669 * simple.el (goto-line): Use read-number.
24670 (overriding-map-is-bound): Remove.
24671 (saved-overriding-map): Change default.
24672 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24673 Take the map as argument.
24674 (universal-argument, negative-argument, digit-argument): Use it.
24675 (restore-overriding-map): Adjust.
24676 (do-auto-fill): Use fill-forward-paragraph.
24677 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24678
24679 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24680 (minibuffer-inactive-mode): New major mode.
24681 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24682 the *Messages* buffer" hack.
24683 (mouse-popup-menubar): Don't burp if the event is a normal key.
24684
24685 Miscellaneous tweaks.
24686 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24687 lexical scoping as in subr.el's dolist and dotimes.
24688 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24689 Silence compiler warning.
24690 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24691 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24692 * international/ccl.el (ccl-compile): Trivial simplification.
24693 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24694 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24695 `printflag' argument.
24696 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24697 Purecopy the whole obsolescence data.
24698
24699 2011-06-01 Leo Liu <sdl.web@gmail.com>
24700
24701 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24702 improve doc-string as suggested by Marco Pessotto
24703 <melmothx@gmail.com>.
24704 (rcirc-print): Fix last change.
24705
24706 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24707
24708 * minibuffer.el (complete-with-action): Return nil for the metadata and
24709 boundaries of non-functional tables.
24710 (completion-table-dynamic): Return nil for the metadata.
24711 (completion-table-with-terminator): Add default case, using
24712 complete-with-action.
24713 (completion--metadata): New function.
24714 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24715 to try and avoid pathological performance problems.
24716 (completion--embedded-envvar-table): Return `category' metadata.
24717
24718 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24719
24720 * subr.el (process-alive-p): New tiny convenience function.
24721
24722 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24723
24724 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24725 content but also its previous major mode.
24726
24727 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24728
24729 * emacs-lisp/debug.el (debug): Restore the previous content of the
24730 *Backtrace* buffer when we exit with C-M-c.
24731
24732 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24733
24734 * minibuffer.el: Add metadata method to completion tables.
24735 (completion-category-overrides): New defcustom.
24736 (completion-metadata, completion--field-metadata)
24737 (completion-metadata-get, completion--styles)
24738 (completion--cycle-threshold): New functions.
24739 (completion-try-completion, completion-all-completions):
24740 Add `metadata' argument to choose completion-styles.
24741 (completion--do-completion): Use metadata to choose cycling.
24742 (completion-all-sorted-completions): Use metadata for sorting.
24743 Remove :completion-cycle-penalty which is not needed any more.
24744 (completion--try-word-completion): Add `metadata' argument.
24745 (minibuffer-completion-help): Check metadata for annotation function
24746 and sorting.
24747 (completion-file-name-table): Return `category' metadata.
24748 (minibuffer-completing-file-name): Make obsolete.
24749 * simple.el (minibuffer-completing-symbol): Make obsolete.
24750 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24751 completion-try-completion.
24752
24753 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24754
24755 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24756
24757 2011-05-30 Leo Liu <sdl.web@gmail.com>
24758
24759 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24760 (rcirc-print): Decode all incoming messages (bug#8744).
24761 (rcirc-decode-coding-system): Allow value nil for automatic coding
24762 system detection.
24763
24764 2011-06-01 Glenn Morris <rgm@gnu.org>
24765
24766 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24767
24768 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24769
24770 * image.el (image-animate-max-time): Allow nil and t values.
24771 Default to nil.
24772 (create-animated-image): Doc fix.
24773 (image-animate-start): Remove second arg; just use
24774 image-animate-max-time.
24775 (image-animate-timeout): Doc fix. Args changed.
24776
24777 * image-mode.el (image-toggle-display-image): Ensure that the
24778 image spec passed to the animate timer is the same object as in
24779 the buffer's display property (Bug#6981).
24780 (image-transform-properties): Doc fix.
24781
24782 * image.el (image-animate-max-time): Default to nil.
24783
24784 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24785
24786 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24787 entire buffer list (Bug#8184).
24788
24789 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24790
24791 * image.el (imagemagick-types-inhibit)
24792 (imagemagick-register-types): Doc fix.
24793
24794 2011-05-29 Deniz Dogan <deniz@dogan.se>
24795
24796 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24797 default.
24798
24799 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24800
24801 * select.el: Don't perform clipboard-manager saving in hooks;
24802 leave the hooks empty.
24803
24804 2011-05-28 Leo Liu <sdl.web@gmail.com>
24805
24806 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24807 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24808 (occur-edit-mode): New major mode (Bug#8463).
24809 (occur-after-change-function): New function.
24810 (occur-engine): Give Occur tags a read-only property.
24811
24812 2011-05-28 Kevin Ryde <user42@zip.com.au>
24813
24814 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24815
24816 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24817
24818 * bindings.el (help-echo): Make the initial non-indicator dash
24819 empty on graphical terminals (Bug#7295).
24820
24821 * files.el (auto-mode-alist): Move config rule after the
24822 in-stripping one (Bug#8547).
24823
24824 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24825
24826 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24827 setting (Bug#8740).
24828
24829 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24830
24831 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24832 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24833 (Bug#8539).
24834
24835 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24836
24837 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24838
24839 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24840
24841 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24842 (hs-hide-block-at-point, hs-find-block-beginning)
24843 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24844 (Bug#8279).
24845
24846 2011-05-28 Glenn Morris <rgm@gnu.org>
24847
24848 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24849
24850 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24851
24852 * help-fns.el (describe-function-1): If the function is a derived
24853 major mode, print the parent mode.
24854
24855 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24856 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24857
24858 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24859
24860 * minibuffer.el (completion--capf-wrapper): Check applicability before
24861 returning non-nil for non-exclusive completion data.
24862 * progmodes/etags.el (tags-completion-at-point-function):
24863 * info-look.el (info-lookup-completions-at-point): Mark as
24864 non-exclusive.
24865 (info-complete): Adjust accordingly.
24866
24867 * info-look.el: Convert to lexical-binding and completion-at-point.
24868 (info-lookup-completions-at-point): New function.
24869 (info-complete): Use it and completion-in-region.
24870
24871 2011-05-28 Drew Adams <drew.adams@oracle.com>
24872
24873 * isearch.el: Let M-e start with point at the first mismatched char.
24874 (isearch-fail-pos): New function.
24875 (isearch-edit-string): Use it.
24876
24877 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24878
24879 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24880
24881 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24882
24883 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24884 traversal functions for avl-trees.
24885 (avl-tree--stack): New struct.
24886 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24887 (avl-tree-enter): Add optional `updatefun' arg.
24888 (avl-tree--do-enter): Add optional `updatefun' arg.
24889 Change return value.
24890 (avl-tree-delete): Add optional `test' and `nilflag' args.
24891 (avl-tree--do-delete): Add `test' and `nilflag' args.
24892 Change return value.
24893 (avl-tree-member): Add optional `nilflag'
24894 (avl-tree-member-p): New function.
24895 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24896 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24897 (avl-tree-stack-empty-p): New functions.
24898
24899 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24900 avl-tree--del-balance1 and make it work both ways.
24901 (avl-tree--del-balance2): Remove.
24902 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24903 make it work both ways.
24904 (avl-tree--enter-balance2): Remove.
24905 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24906 New macros.
24907 (avl-tree--mapc, avl-tree-map): Add direction argument.
24908
24909 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24910
24911 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24912
24913 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24914
24915 * select.el: Support clipboard managers with built-in function
24916 x-clipboard-manager-save, via delete-frame-functions and
24917 kill-emacs-hook.
24918 (xselect-convert-to-targets): Add MULTIPLE target to list.
24919 (xselect-convert-to-save-targets): New function.
24920
24921 2011-05-27 Kenichi Handa <handa@m17n.org>
24922
24923 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24924 let-binding rfc2047-encode-encoded-words to nil.
24925
24926 2011-05-27 Glenn Morris <rgm@gnu.org>
24927
24928 * mail/emacsbug.el: Don't require url-util.
24929
24930 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24931
24932 * files.el (set-auto-mode):
24933 Also respect mode: entries at the end of the file. (Bug#8586)
24934
24935 2011-05-26 Glenn Morris <rgm@gnu.org>
24936
24937 * files.el (hack-local-variables-prop-line, hack-local-variables):
24938 Downcase mode names, as seems to be traditional.
24939 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24940
24941 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24942 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24943
24944 2011-05-25 Julien Danjou <julien@danjou.info>
24945
24946 * textmodes/rst.el (rst-define-level-faces): Do not define face
24947 symbol if it is already defined.
24948
24949 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
24950
24951 * play/5x5.el (5x5-new-game, 5x5-randomize):
24952 Reset 5x5-solver-output to nil when a new grid is cast.
24953 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24954 these debugging traces, as defmacro breaks the compiled code.
24955
24956 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24957
24958 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24959
24960 2011-05-24 Leo Liu <sdl.web@gmail.com>
24961
24962 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24963 (vc-bzr-sha1): Adapt.
24964
24965 * sha1.el: Remove. Function `sha1' is now builtin.
24966
24967 * bindings.el: Provide sha1 feature.
24968
24969 2011-05-24 Kenichi Handa <handa@m17n.org>
24970
24971 * mail/sendmail.el: Require `rfc2047'.
24972 (mail-insert-from-field): Do not perform RFC2047 encoding.
24973 (mail-encode-header): New function.
24974 (sendmail-send-it): Set buffer-file-coding-system of the work
24975 buffer to the return value of select-message-coding-system.
24976 Call mail-encode-header.
24977
24978 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24979
24980 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24981
24982 * mail/supercite.el (sc-default-cite-frame):
24983 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24984
24985 2011-05-24 Glenn Morris <rgm@gnu.org>
24986
24987 * progmodes/python.el (brm-menu): Declare.
24988
24989 * emulation/viper.el (viper-set-hooks): Declare.
24990
24991 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24992 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24993 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24994 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24995 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24996 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24997
24998 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24999
25000 Add an :exit-function for completion-at-point.
25001
25002 * minibuffer.el (completion--done): New fun.
25003 (completion--do-completion): Use it. New arg `expect-exact'.
25004 (minibuffer-complete, minibuffer-complete-word): Don't output message,
25005 since completion--do-completion does it for us now.
25006 (minibuffer-force-complete): Use completion--done and
25007 completion--replace. Handle sole-completion case with more care.
25008 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
25009 (completion-extra-properties): New var.
25010 (completion-annotate-function): Make obsolete.
25011 (minibuffer-completion-help): Adjust accordingly.
25012 Use completion-list-insert-choice-function.
25013 (completion-at-point, completion-help-at-point):
25014 Bind completion-extra-properties.
25015 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
25016 * simple.el (completion-list-insert-choice-function): New var.
25017 (completion-setup-function): Preserve it.
25018 (choose-completion): Pay attention to it, shuffle the code a bit.
25019 (choose-completion-string): New arg `insert-function'.
25020
25021 * textmodes/bibtex.el: Convert to lexical binding.
25022 (bibtex-mode-map): Use completion-at-point.
25023 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
25024 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
25025 (bibtex-complete): Define as obsolete alias.
25026 (bibtex-complete-internal): Remove.
25027 (bibtex-format-entry): Remove unused sub-group in regexp.
25028 * shell.el (shell--command-completion-data)
25029 (shell-environment-variable-completion):
25030 * pcomplete.el (pcomplete-completions-at-point):
25031 * comint.el (comint--complete-file-name-data): Use :exit-function
25032 instead of completion-table-with-terminator so it also works for
25033 choose-completion.
25034
25035 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25036
25037 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
25038
25039 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
25040 (bug#8710).
25041
25042 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
25043
25044 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
25045
25046 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
25047 customization variable and implement: If non-nil, auto-fill will
25048 be inhibited while on topic's header line.
25049
25050 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
25051
25052 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
25053 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
25054 always have a solution in grid size = 5 cases.
25055 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
25056 (5x5-solver-output, 5x5-log-buffer): New vars.
25057 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
25058 Make these variables buffer local to achieve 5x5 multi-session-ness.
25059 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
25060 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
25061 (5x5-solve-suggest): New funs.
25062 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
25063 randomize a grid so that we ensure that there is always a solution.
25064 (5x5-make-random-grid): Allow other movement than flipping.
25065
25066 2011-05-23 Kevin Ryde <user42@zip.com.au>
25067
25068 * emacs-lisp/advice.el (ad-read-advised-function):
25069 Use `function-called-at-point' as the default, if it has
25070 advice and passes PREDICATE.
25071
25072 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25073
25074 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
25075 byte-compile-lambda if it's actually a lambda.
25076
25077 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
25078 Fix function quoting. Use backquote better.
25079
25080 2011-05-22 Yuanle Song <sylecn@gmail.com>
25081
25082 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
25083 matching (Bug#8516).
25084
25085 2011-05-22 Jari Aalto <jari.aalto@cante.net>
25086
25087 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
25088 different face (Bug#8178).
25089
25090 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
25091
25092 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
25093 defface (Bug#8144).
25094
25095 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
25096
25097 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
25098 funcall as well (bug#8712). Warn when performing those conversions.
25099 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
25100
25101 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25102
25103 2011-05-22 Glenn Morris <rgm@gnu.org>
25104
25105 * files.el (hack-local-variables-prop-line): Small simplifications.
25106 (hack-local-variables, hack-local-variables-prop-line):
25107 If MODE-ONLY, return the mode, rather than just `t'.
25108
25109 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
25110
25111 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25112
25113 2011-05-21 Glenn Morris <rgm@gnu.org>
25114
25115 * files.el (hack-local-variables-prop-line, hack-local-variables):
25116 If only interested in the mode, don't bother doing the other stuff.
25117
25118 * image-mode.el (image-after-revert-hook):
25119 Redraw all frames on which the image is visible. (Bug#8567)
25120
25121 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
25122
25123 * wid-edit.el (widget-checklist-match-inline):
25124 Fix 2011-04-19 change. (Bug#8649)
25125
25126 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
25127
25128 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25129 Also allow singlespace after single-letter capitals followed by a dot.
25130
25131 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25132 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25133
25134 2011-05-20 Nix <nix@esperi.org.uk>
25135
25136 * files.el (basic-save-buffer-2):
25137 Fix handling of break-hardlink-on-save with non-existent files.
25138
25139 2011-05-19 Deniz Dogan <deniz@dogan.se>
25140
25141 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25142 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25143
25144 2011-05-19 Glenn Morris <rgm@gnu.org>
25145
25146 * progmodes/f90.el (f90-type-def-re):
25147 Handle "type, bind(c)". (Bug#8691)
25148
25149 * emacs-lisp/autoload.el (batch-update-autoloads):
25150 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25151
25152 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25153
25154 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25155 property for the correct connection in case of multihops.
25156
25157 2011-05-18 Glenn Morris <rgm@gnu.org>
25158
25159 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25160 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25161
25162 Rationalize calendar handling of day and month abbrev-arrays.
25163 * calendar/calendar.el (calendar-customized-p): New function.
25164 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25165 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25166 Add :set function.
25167 (calendar-abbrev-length, calendar-day-abbrev-array)
25168 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25169 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25170 Elements may no longer be nil.
25171 (calendar-day-name, calendar-month-name):
25172 Update for changed nature of abbrev arrays.
25173 * calendar/diary-lib.el (diary-name-pattern):
25174 Update for changed nature of abbrev arrays.
25175 (diary-mark-entries-1): Update calendar-make-alist calls.
25176 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25177 * calendar/cal-html.el (cal-html-day-abbrev-array):
25178 Simply inherit from calendar-day-abbrev-array.
25179
25180 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25181
25182 * progmodes/grep.el (grep-mode): Disable default
25183 compilation-directory-matcher setting (bug#8684).
25184
25185 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25186
25187 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25188 instead of "head" and "tail". There were problems with SunOS 5.9,
25189 and it performs better.
25190
25191 2011-05-17 Glenn Morris <rgm@gnu.org>
25192
25193 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25194
25195 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25196 Replace obsolete function.
25197
25198 * shell.el (pcomplete-parse-arguments-function): Declare.
25199
25200 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25201 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25202 (appt-check): Doc fixes.
25203 (appt-disp-window-function, appt-delete-window-function):
25204 Remove needless special case in custom :type.
25205 (appt-display-count): Default to 0, not nil.
25206 (appt-check): Reset appt-display-count to 0, not nil.
25207
25208 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25209
25210 * progmodes/python.el (python-font-lock-keywords):
25211 Add the Python 3.X keyword "nonlocal" (bug#8639).
25212
25213 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25214
25215 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25216
25217 2011-05-16 Kevin Ryde <user42@zip.com.au>
25218
25219 * info-look.el (makefile-automake-mode): New setups, looking in
25220 automake manual, then makefile-mode.
25221 (makefile-mode): Remove automake manual, have it just in
25222 makefile-automake-mode since there's various things different or
25223 not relevant to plain make.
25224 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25225 believe a hypothetical automake-mode would go to makefile-mode,
25226 not the other way around.
25227
25228 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25229
25230 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25231 hunk-end tags (Bug#8672).
25232
25233 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25234 vc-annotate-show-diff-revision-at-line (Bug#8671).
25235
25236 2011-05-14 Glenn Morris <rgm@gnu.org>
25237
25238 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25239 in the middle of an existing one with multiple authors. (Bug#8645)
25240 (change-log-font-lock-keywords): Also handle multiple author lines
25241 with leading tabs. (Bug#8644)
25242
25243 * calendar/appt.el (appt-check): Rename some local variables.
25244 Some simplification/reordering.
25245
25246 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25247 (feedmail-sendmail-f-doesnt-sell-me-out)
25248 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25249 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25250 (feedmail-queue-runner-message-sender): Set :version.
25251 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25252 (bbdb-dwim-net-address, vm-mail): Declare.
25253 (feedmail-binmail-gnulinuxish-template):
25254 Rename from feedmail-binmail-linuxish-template.
25255 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25256 Use insert-buffer-substring.
25257
25258 2011-05-14 Bill Carpenter <bill@carpenter.org>
25259
25260 * mail/feedmail.el (feedmail-patch-level): Increase.
25261 (feedmail-debug): New custom group.
25262 (feedmail-confirm-outgoing-timeout)
25263 (feedmail-sendmail-f-doesnt-sell-me-out)
25264 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25265 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25266 (feedmail-sender-line, feedmail-from-line)
25267 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25268 (feedmail-spray-this-address)
25269 (feedmail-spray-address-fiddle-plex-list)
25270 (feedmail-queue-use-send-time-for-date)
25271 (feedmail-queue-use-send-time-for-message-id)
25272 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25273 (feedmail-buffer-eating-function):
25274 Doc fixes.
25275 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25276 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25277 (feedmail-message-action-scroll-down): New functions.
25278 (feedmail-queue-directory, feedmail-queue-draft-directory):
25279 Use expand-file-name.
25280 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25281 Remove C-v help entry.
25282 (feedmail-queue-buffer-file-name): New variable.
25283 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25284 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25285 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25286 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25287 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25288 (feedmail-message-action-toggle-spray)
25289 (feedmail-run-the-queue-no-prompts)
25290 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25291 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25292 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25293 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25294 (feedmail-envelope-deducer, feedmail-fiddle-from)
25295 (feedmail-fiddle-sender, feedmail-default-date-generator)
25296 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25297 (feedmail-fiddle-spray-address)
25298 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25299 (feedmail-fiddle-list-of-fiddle-plexes)
25300 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25301 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25302 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25303 Change default. Doc fix.
25304 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25305 (feedmail-binmail-linuxish-template): New constant.
25306 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25307 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25308 (feedmail-send-it): Add debug call.
25309 Use feedmail-queue-buffer-file-name, and
25310 feedmail-send-it-immediately-wrapper.
25311 (feedmail-message-action-send): Add debug call.
25312 Use feedmail-send-it-immediately-wrapper.
25313 (feedmail-queue-express-to-queue): Add debug call.
25314 Run feedmail-queue-express-hook.
25315 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25316 (feedmail-message-action-help-blat):
25317 Rename from feedmail-queue-send-edit-prompt-help-first.
25318 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25319 Check line-endings. Handle errors better.
25320 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25321 Doc fix. Add debug call.
25322 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25323 Use feedmail-queue-send-edit-prompt-inner.
25324 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25325 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25326 from feedmail-queue-send-edit-prompt.
25327 (feedmail-queue-send-edit-prompt-help)
25328 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25329 (feedmail-tidy-up-slug): Add debug call.
25330 Respect feedmail-queue-slug-suspect-regexp.
25331 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25332 (feedmail-dump-message-to-queue): Add debug call.
25333 Expand queue-directory.
25334 (feedmail-dump-message-to-queue): Change message slightly.
25335 Use feedmail-say-chatter.
25336 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25337 (feedmail-send-it-immediately-wrapper): New function.
25338 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25339 Insert empty string rather than newline. Handle full-frame case.
25340 Use catch/throw. Use feedmail-say-chatter.
25341 (feedmail-fiddle-from): Try mail-host-address.
25342 (feedmail-default-message-id-generator): Doc fix.
25343 Bind system-time-locale. Handle missing end.
25344 (feedmail-fiddle-x-mailer): Add debug call.
25345 Handle feedmail-x-mailer-line being nil.
25346 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25347 Add debug call. Use buffer-substring-no-properties.
25348 (feedmail-say-debug, feedmail-say-chatter): New functions.
25349 (feedmail-find-eoh): Give an explicit error.
25350
25351 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25352
25353 * net/newst-treeview.el (newsticker-treeview-face): Change default
25354 family from helvetica to sans.
25355 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25356 etc/images/newsticker.
25357
25358 * net/newst-reader.el (newsticker-feed-face): Change default
25359 family from helvetica to sans.
25360
25361 * net/newst-plainview.el (newsticker-new-item-face)
25362 (newsticker-old-item-face, newsticker-immortal-item-face)
25363 (newsticker-obsolete-item-face, newsticker-date-face)
25364 (newsticker-statistics-face): Change default family from
25365 helvetica to sans.
25366 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25367 etc/images/newsticker.
25368
25369 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25370 (newsticker--process-auto-mark-filter-match): Tell user about
25371 auto-marking.
25372
25373 2011-05-13 Didier Verna <didier@xemacs.org>
25374
25375 Common Lisp indentation improvements on defmethod and lambda-lists.
25376 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25377 TODO entries.
25378 (lisp-lambda-list-keyword-parameter-indentation)
25379 (lisp-lambda-list-keyword-parameter-alignment)
25380 (lisp-lambda-list-keyword-alignment): New customizable user options.
25381 (lisp-indent-defun-method): Improve docstring.
25382 (extended-loop-p): Fix comment.
25383 (lisp-indent-lambda-list-keywords-regexp): New variable.
25384 (lisp-indent-lambda-list): New function.
25385 (lisp-indent-259): Use it.
25386 (lisp-indent-defmethod): Support for more than one
25387 method qualifier and properly indent methods lambda-lists.
25388 (defgeneric): Provide a missing common-lisp-indent-function property.
25389
25390 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25391
25392 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25393 bounds for the empty string (bug#8667).
25394
25395 2011-05-13 Glenn Morris <rgm@gnu.org>
25396
25397 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25398
25399 * mail/sendmail.el (sendmail-program): Try executable-find first.
25400 (sendmail-send-it): `sendmail-program' cannot be unbound.
25401
25402 * calendar/appt.el (appt-make-list): Simplify.
25403 (appt-time-msg-list): Doc fix.
25404 (appt-check): Change mode-line message at the time of the appointment.
25405
25406 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25407
25408 * progmodes/ld-script.el (ld-script-keywords)
25409 (ld-script-builtins): Update keywords list.
25410
25411 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25412
25413 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25414
25415 * shell.el (shell-completion-vars): New function.
25416 (shell-mode):
25417 * simple.el (read-shell-command): Use it.
25418 (blink-matching-open): No need for " [...]" in minibuffer-message.
25419
25420 2011-05-12 Glenn Morris <rgm@gnu.org>
25421
25422 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25423 (appt-check): Simplify.
25424
25425 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25426
25427 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25428 literal "/dev/null".
25429
25430 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25431
25432 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25433 Fix typo.
25434
25435 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25436
25437 * progmodes/which-func.el (which-function):
25438 Use add-log-current-defun instead of add-log-current-defun-function,
25439 which might not be defined (Bug#8260).
25440
25441 2011-05-12 Glenn Morris <rgm@gnu.org>
25442
25443 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25444 Let byte-compile-initial-macro-environment always take precedence.
25445
25446 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25447
25448 * net/rcirc.el: Add support for SSL/TLS connections.
25449 (rcirc-server-alist): New field `encryption'.
25450 (rcirc): Check `encryption' settings.
25451 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25452 Merge make-local-variable into `set'.
25453 (rcirc--connection-open-p): New function.
25454 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25455 the process is not a network process (e.g. running gnutls-cli).
25456 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25457 Make rcirc-(en|de)code-coding-system local here.
25458 (rcirc-mode): Merge make-local-variable into `set'.
25459 (rcirc-parent-buffer): Make permanent buffer-local.
25460 (rcirc-multiline-minor-mode): Don't do it here.
25461 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25462 there's no server buffer.
25463
25464 2011-05-11 Glenn Morris <rgm@gnu.org>
25465
25466 * newcomment.el (comment-kill): Prefix "unused" local.
25467
25468 * term/w32console.el (get-screen-color): Declare.
25469
25470 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25471 Handle symbol elements of byte-compile-initial-macro-environment.
25472
25473 2011-05-10 Leo Liu <sdl.web@gmail.com>
25474
25475 * bookmark.el (bookmark-bmenu-mode-map):
25476 Bind bookmark-bmenu-search to `/'.
25477
25478 * mail/footnote.el: Convert to utf-8 encoding.
25479 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25480 (Footnote-unicode): New function.
25481 (footnote-style-alist): Add unicode style to the list.
25482 (footnote-style): Doc fix.
25483
25484 2011-05-10 Jim Meyering <meyering@redhat.com>
25485
25486 Fix doubled-word typos.
25487 * international/quail.el (quail-insert-kbd-layout): and and -> and
25488 * kermit.el: and and -> and
25489 * net/ldap.el (ldap-search-internal): to to -> to
25490 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25491 * progmodes/js.el (js-mode): and and -> and
25492 * textmodes/artist.el (artist-move-to-xy): at at -> at
25493 (artist-draw-region-trim-line-endings): if if -> if
25494 And Safetyc -> Safety.
25495 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25496
25497 2011-05-10 Glenn Morris <rgm@gnu.org>
25498 Stefan Monnier <monnier@iro.umontreal.ca>
25499
25500 * files.el (hack-one-local-variable-eval-safep):
25501 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25502
25503 2011-05-10 Glenn Morris <rgm@gnu.org>
25504
25505 * calendar/diary-lib.el (diary-list-entries-hook)
25506 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25507 (diary-nongregorian-marking-hook, diary-list-entries)
25508 (diary-include-other-diary-files, diary-mark-entries)
25509 (diary-mark-included-diary-files): Doc fixes.
25510
25511 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25512
25513 * misc.el: Require tabulated-list.el during compilation.
25514
25515 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25516
25517 * progmodes/compile.el (compilation-start):
25518 Run compilation-filter-hook for the async case too.
25519 (compilation-filter-hook): Doc fix.
25520
25521 2011-05-09 Deniz Dogan <deniz@dogan.se>
25522
25523 * wdired.el: Remove outdated installation comment. Fix usage
25524 comment.
25525
25526 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25527
25528 * misc.el: Implement new command `list-dynamic-libraries'.
25529 (list-dynamic-libraries--loaded-only-p): New variable.
25530 (list-dynamic-libraries--refresh): New function.
25531 (list-dynamic-libraries): New command.
25532
25533 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25534
25535 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25536 Fix the ant regexp to handle end-line and end-column info from jikes.
25537 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25538 higher priority to avoid clobbering by gnu.
25539
25540 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25541
25542 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25543 if the face has existing theme settings (Bug#8454).
25544
25545 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25546
25547 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25548 Only match variables declared via `my' or `our' (Bug#8261).
25549
25550 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25551 special file names `.' and `..' (Bug#8259).
25552
25553 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25554
25555 * progmodes/grep.el (grep-mode-font-lock-keywords):
25556 Remove buffer-changing entries.
25557 (grep-filter): New function.
25558 (grep-mode): Add it to compilation-filter-hook.
25559
25560 * progmodes/compile.el (compilation-filter-hook)
25561 (compilation-filter-start): New defvars.
25562 (compilation-filter): Call compilation-filter-hook prior to
25563 updating the process mark.
25564
25565 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25566
25567 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25568
25569 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25570
25571 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25572 mailclient-send-it even if window-system is nil. (Bug#8595)
25573
25574 * term/w32console.el (terminal-init-w32console):
25575 Call get-screen-color and use its output to set the frame
25576 background-mode. (Bug#8597)
25577
25578 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25579
25580 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25581 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25582 New functions.
25583 (defgeneric, eieio--defmethod): Use them.
25584 (eieio-defgeneric): Remove.
25585 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25586
25587 2011-05-07 Glenn Morris <rgm@gnu.org>
25588
25589 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25590 Use let rather than let*.
25591 (timeclock-find-discrep): Remove unused local.
25592
25593 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25594
25595 * calendar/appt.el (appt-time-msg-list): Doc fix.
25596
25597 2011-05-06 Noah Friedman <friedman@splode.com>
25598
25599 * apropos.el (apropos-print-doc): Only use
25600 emacs-lisp-docstring-fill-column when it is bound to an integer,
25601 per that variable's documentation.
25602
25603 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25604
25605 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25606 and warnings are not silently discarded (e.g. use -d instead of -P).
25607
25608 2011-05-06 Glenn Morris <rgm@gnu.org>
25609
25610 * calendar/appt.el (appt-message-warning-time): Doc fix.
25611 (appt-warning-time-regexp): New option.
25612 (appt-make-list): Respect appt-message-warning-time.
25613
25614 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25615 New options.
25616 (diary-add-to-list): Strip comments from the displayed string.
25617 (diary-mode): Set comment-start and comment-end.
25618
25619 * vc/diff-mode.el (smerge-refine-subst): Declare.
25620 (diff-refine-hunk): Don't require smerge-mode when compiling.
25621
25622 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25623
25624 * simple.el (list-processes): Return nil as the docstring says.
25625
25626 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25627
25628 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25629 to "".
25630 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25631 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25632 determining of binary transfer. (Bug#7383)
25633
25634 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25635
25636 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25637 Fix port computation bug. (Bug#8618)
25638
25639 2011-05-05 Glenn Morris <rgm@gnu.org>
25640
25641 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25642
25643 * simple.el (shell-dynamic-complete-functions)
25644 (comint-dynamic-complete-functions): Declare.
25645
25646 * net/network-stream.el (gnutls-negotiate):
25647 * simple.el (tabulated-list-print): Fix declarations.
25648
25649 * progmodes/gud.el (syntax-symbol, syntax-point):
25650 Remove unnecessary and incorrect declarations.
25651
25652 * emacs-lisp/check-declare.el (check-declare-scan):
25653 Handle byte-compile-initial-macro-environment in bytecomp.el.
25654
25655 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25656
25657 Fix earlier half-done eieio-defmethod change (bug#8338).
25658 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25659 Streamline and change calling convention.
25660 (defmethod): Adjust accordingly and simplify.
25661 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25662 new eieio--defmethod.
25663 (slot-boundp): Minor CSE simplification.
25664
25665 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25666
25667 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25668 (glasses-make-readable): Use glasses-separate-capital-groups.
25669
25670 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25671
25672 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25673 (warning-series): Doc fix.
25674 (display-warning): Don't try to create the buffer if we just found it.
25675
25676 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25677
25678 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25679 (autoload-find-generated-file): New function.
25680 (generate-file-autoloads): Bind generated-autoload-file to
25681 buffer-file-name.
25682 (update-file-autoloads, update-directory-autoloads):
25683 Use autoload-find-generated-file. If called interactively, prompt for
25684 output file (Bug#7989).
25685 (batch-update-autoloads): Doc fix.
25686
25687 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25688
25689 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25690
25691 2011-05-04 Glenn Morris <rgm@gnu.org>
25692
25693 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25694 function, so it follows changes in calendar-date-style.
25695 (diary-fancy-date-matcher): New function.
25696 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25697 (diary-fancy-font-lock-fontify-region-function):
25698 Use diary-fancy-date-pattern as a function.
25699
25700 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25701 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25702
25703 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25704
25705 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25706 instead of positional arguments. Allow :keylist and :crlfiles
25707 arguments.
25708 (open-gnutls-stream): Call it.
25709
25710 * net/network-stream.el (network-stream-open-starttls): Adjust to
25711 call `gnutls-negotiate' with :process and :hostname arguments.
25712
25713 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25714
25715 * minibuffer.el (completion--message): New function.
25716 (completion--do-completion, minibuffer-complete)
25717 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25718 (completion--do-completion): Don't ignore completion-auto-help when in
25719 icomplete-mode.
25720
25721 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25722 internal encoding (e.g. tibetan zero is not whitespace).
25723 (global-whitespace-mode): Prefer save-current-buffer.
25724 (whitespace-trailing-regexp): Remove useless save-match-data.
25725 (whitespace-empty-at-bob-regexp): Minor simplification.
25726
25727 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25728
25729 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25730
25731 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
25732
25733 * textmodes/ispell.el (ispell-add-per-file-word-list):
25734 Use `concat' to create string for insertion.
25735
25736 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25737
25738 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25739 Avoid open-line which runs post-self-insert-hook.
25740 (bibtex-fill-entry): Remove unused `end' var.
25741
25742 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25743
25744 * textmodes/ispell.el (ispell-add-per-file-word-list):
25745 Protect against `nil' value of `comment-start' (Bug#8579).
25746
25747 2011-05-03 Leo Liu <sdl.web@gmail.com>
25748
25749 * isearch.el (isearch-yank-pop): New command.
25750 (isearch-mode-map): Bind it to `M-y'.
25751 (isearch-forward): Mention it.
25752
25753 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25754
25755 * simple.el (minibuffer-complete-shell-command): Remove.
25756 (minibuffer-local-shell-command-map): Use completion-at-point.
25757 (read-shell-command): Setup completion vars here instead.
25758 (read-expression-map): Bind TAB to symbol completion.
25759
25760 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25761 error directly rather via storing it into `results'.
25762
25763 2011-05-02 Leo Liu <sdl.web@gmail.com>
25764
25765 * vc/diff.el: Fix description.
25766
25767 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25768
25769 * server.el (server-eval-at): New function.
25770
25771 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25772
25773 * net/network-stream.el (open-network-stream): Take a :nowait
25774 parameter and pass it on to `make-network-process'.
25775 (network-stream-open-plain): Ditto.
25776
25777 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25778
25779 * faces.el (face-spec-set-match-display): Don't match toolkit
25780 options on terminal frames.
25781
25782 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25783
25784 * progmodes/pascal.el: Use lexical binding.
25785 (pascal-mode-map): Remove author preferences.
25786
25787 * pcomplete.el (pcomplete-std-complete): Don't abuse
25788 completion-at-point.
25789
25790 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25791
25792 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25793 removing code that has been dead since 1991 or so.
25794
25795 * startup.el (command-line): When warning about "_emacs", use a
25796 delayed warning to allow the user to filter it out.
25797
25798 2011-04-28 Deniz Dogan <deniz@dogan.se>
25799
25800 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25801 user has not joined.
25802
25803 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25804
25805 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25806 aren't any completions at point.
25807
25808 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25809
25810 * subr.el (display-delayed-warnings): New function.
25811 (delayed-warnings-hook): New variable.
25812
25813 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25814
25815 * minibuffer.el (completion-at-point, completion-help-at-point):
25816 Don't presume that a given completion-at-point-function will always
25817 use the same calling convention.
25818
25819 * pcomplete.el (pcomplete-completions-at-point):
25820 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25821 pcomplete-seen is non-nil.
25822 (pcomplete-comint-setup): Also recognize the new comint/shell
25823 completion functions.
25824 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25825 pcomplete-seen is non-nil.
25826
25827 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25828
25829 * calendar/icalendar.el (diary-lib): Add require statement.
25830 (icalendar--create-uid): Read out a uid from a text-property on
25831 the first character in the entry. This allows for code to add its
25832 own uid to the entry.
25833 (icalendar--convert-float-to-ical): Add export of
25834 `diary-float'-entries save for those with the optional DAY
25835 argument.
25836
25837 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25838
25839 * subr.el (shell-quote-argument): Use alternate escaping strategy
25840 when we spot a variable reference in a string.
25841
25842 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25843
25844 * cus-start.el (all): Define customization for debug-on-event.
25845
25846 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25847
25848 * subr.el (shell-quote-argument): Escape correctly under Windows.
25849
25850 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25851
25852 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25853
25854 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25855
25856 * net/tramp.el (tramp-process-actions): Add POS argument.
25857 Delete region between POS and (pos).
25858
25859 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25860 Use `nil' position in `tramp-process-actions' call.
25861 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25862
25863 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25864 position in `tramp-process-actions' call.
25865
25866 * net/trampver.el: Update release number.
25867
25868 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25869
25870 * custom.el (defcustom): Obey lexical-binding.
25871
25872 Fix octave-inf completion problems reported by Alexander Klimov.
25873 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25874 Inherit from octave-mode-syntax-table.
25875 (inferior-octave-mode): Set info-lookup-mode.
25876 (inferior-octave-completion-at-point): New function.
25877 (inferior-octave-complete): Use it and completion-in-region.
25878 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25879 comint-filename-completion.
25880 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25881 symbol elements which shouldn't be word elements.
25882 (octave-font-lock-keywords, octave-beginning-of-defun)
25883 (octave-function-header-regexp): Adjust regexps accordingly.
25884 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25885
25886 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25887
25888 * net/gnutls.el (gnutls-errorp): Declare before first use.
25889
25890 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25891
25892 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25893 verify-error, and verify-hostname-error parameters. Check whether
25894 default trustfile exists before going to use it. Add missing
25895 argument to gnutls-message-maybe call. Return value.
25896 Reported by Claudio Bley <claudio.bley@gmail.com>.
25897 (open-gnutls-stream): Add usage example.
25898
25899 * net/network-stream.el (network-stream-open-starttls): Give host
25900 parameter to `gnutls-negotiate'.
25901 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25902 * subr.el (shell-quote-argument): Escape correctly under Windows.
25903
25904 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25905
25906 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25907 Use correct match group (bug#8438).
25908
25909 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25910
25911 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25912 (package-menu--generate): New arg specifying packages to show.
25913 (package-menu-refresh, package-menu-execute, list-packages):
25914 Callers changed.
25915 (package-show-package-list): New function, replacing deleted
25916 package--list-packages (renamed because it is non-internal).
25917
25918 * finder.el (finder-list-matches): Use package-show-package-list
25919 instead of deleted package--list-packages.
25920
25921 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25922 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25923 (vc-annotate-mode-map): Bind it to RET.
25924
25925 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25926
25927 * progmodes/etags.el (next-file): Don't use set-buffer to change
25928 buffers (Bug#8478).
25929
25930 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25931
25932 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25933
25934 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25935 (apropos-accumulator): Doc fix.
25936 (apropos-function, apropos-macro, apropos-command)
25937 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25938 (apropos-plist): Add face property.
25939 (apropos-symbols-internal): Fix indentation.
25940 (apropos-print): Simplify help, and recognize apropos-multi-type.
25941 (apropos-print-doc): Use button-type-get to extract the button's
25942 face property. Fill docstring (Bug#8352).
25943
25944 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25945
25946 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25947
25948 * play/mpuz.el (mpuz-silent): Doc fix.
25949 (mpuz-mode-map): Use mapc.
25950 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25951 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25952 Fix typos in docstrings.
25953
25954 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25955 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25956
25957 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25958
25959 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25960
25961 * minibuffer.el (completion--do-completion): Avoid the "Next char
25962 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25963
25964 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25965 mouse-2 into unread-command-events, it is interpreted correctly.
25966
25967 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25968 (image-toggle-display): Doc fix.
25969
25970 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25971
25972 * textmodes/page.el (what-page): Use line-number-at-pos to
25973 calculate line number (Bug#6825).
25974
25975 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25976
25977 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25978 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25979 Pass argument NO-DEFAULT to `find-tag-interactive'.
25980
25981 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25982
25983 Lexical-binding cleanup.
25984
25985 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25986 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25987 * progmodes/ada-prj.el (ada-prj-initialize-values)
25988 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25989 (ada-prj-show-value):
25990 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25991 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25992 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25993 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25994 * progmodes/bug-reference.el (bug-reference-push-button):
25995 * progmodes/fortran.el (fortran-line-length):
25996 * progmodes/glasses.el (glasses-change):
25997 * progmodes/octave-mod.el (octave-fill-paragraph):
25998 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25999 (python-pdbtrack-grub-for-buffer, python-sentinel):
26000 * progmodes/sql.el (sql-save-connection):
26001 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
26002 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
26003 Mark unused parameters.
26004
26005 * progmodes/compile.el (compilation--flush-directory-cache)
26006 (compilation--flush-parse, compile-internal): Mark unused parameters.
26007 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
26008 (compilation-next-error-function): Remove unused variable `timestamp'.
26009
26010 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
26011 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
26012
26013 * progmodes/dcl-mode.el (dcl-end-of-command):
26014 Remove unused variable `start'.
26015 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
26016 (dcl-option-value-basic, dcl-option-value-offset)
26017 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
26018 Mark unused parameters.
26019 (dcl-save-local-variable): Remove unused variable `val'.
26020 (mode): Declare.
26021
26022 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
26023 Mark unused parameters.
26024 (delphi-ignore-changes): Move before first use.
26025 (delphi-charset-token-at): Remove unused variable `start'.
26026 (delphi-else-start): Remove unused variable `if-count'.
26027 (delphi-comment-block-start, delphi-comment-block-end):
26028 Remove unused variable `kind'.
26029 (delphi-indent-line): Remove unused variable `new-point'.
26030
26031 * progmodes/ebrowse.el (ebrowse-files-list)
26032 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
26033 Mark unused parameters. Don't quote `lambda'.
26034 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
26035 Don't quote `lambda'.
26036 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
26037 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
26038 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
26039 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
26040 Use `ignore-errors'.
26041 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
26042 (ebrowse-view/find-file-and-search-pattern)
26043 (ebrowse-view/find-member-declaration/definition):
26044 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
26045 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
26046 Rename parameter PREFIX-ARG to PREFIX.
26047 (ebrowse-tags-read-name): Remove unused variables `start' and
26048 `member-info'.
26049 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
26050 to `tags-file'.
26051
26052 * progmodes/etags.el (local-find-tag-hook): Declare.
26053 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
26054 Mark unused parameters.
26055
26056 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
26057 (executable-interpret): Mark unused parameter.
26058
26059 * progmodes/flymake.el (flymake-process-sentinel)
26060 (flymake-after-change-function)
26061 (flymake-create-temp-with-folder-structure)
26062 (flymake-get-include-dirs-dot): Mark unused parameters.
26063 (flymake-safe-delete-directory): Remove unused variable `err'.
26064
26065 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
26066 (speedbar-timer-fn, speedbar-line-text)
26067 (speedbar-change-expand-button-char, speedbar-delete-subblock)
26068 (speedbar-center-buffer-smartly): Declare functions.
26069 (gdb-find-watch-expression): Remove unused variable `array'.
26070 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
26071 (gdb-starting): Mark unused parameters.
26072 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
26073 (gdb-table-string): Remove unused variable `res'.
26074 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
26075 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
26076 (gdb-display-buffer): Remove unused variable `cur-size'.
26077
26078 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
26079 allow lexical-binding compilation.
26080 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
26081 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
26082 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
26083 Mark unused parameters.
26084 (gud-gdb-marker-filter): Remove unused variable `match'.
26085 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
26086 lambda expressions and funcall them, instead of using `fset'.
26087
26088 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
26089 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
26090
26091 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
26092 variable `header-beg'; use `let'.
26093
26094 * progmodes/icon.el (indent-icon-exp): Remove unused variables
26095 `restart', `last-sexp' and `at-do'.
26096
26097 * progmodes/js.el (js--debug): Mark unused parameter.
26098 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
26099 (js--splice-into-items): Remove unused variable `item'.
26100 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
26101
26102 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26103 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26104 (makefile-complete): Remove unused variable `try'.
26105 (makefile-fill-paragraph, makefile-match-function-end):
26106 Mark unused parameters.
26107
26108 * progmodes/octave-inf.el (inferior-octave-complete):
26109 Remove unused variable `proc'.
26110 (inferior-octave-output-digest): Mark unused parameter.
26111
26112 * progmodes/perl-mode.el (perl-calculate-indent):
26113 Remove unused variable `err'.
26114
26115 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26116 (prolog-indent-line): Mark unused parameters.
26117 (prolog-indent-line): Remove unused variable `beg'.
26118
26119 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26120 (reporter-dont-compact-list): Declare.
26121
26122 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26123 Remove unused variable `char'.
26124 (sh-debug): Mark unused parameter.
26125 (sh-get-indent-info): Remove unused variable `start'.
26126 (sh-calculate-indent): Remove unused variable `var'.
26127
26128 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26129 (simula-electric-keyword): Remove unused variable `null'.
26130 (simula-search-backward, simula-search-forward): Remove unused
26131 variables `begin' and `end'.
26132
26133 * progmodes/vera-mode.el (vera-guess-basic-syntax):
26134 Remove unused variable `pos'.
26135 (vera-electric-tab, vera-comment-uncomment-region):
26136 Mark unused parameters.
26137 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
26138
26139 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
26140
26141 * emacs-lisp/package.el (package--builtins, package-alist)
26142 (package-load-descriptor, package-built-in-p, package-activate)
26143 (define-package, package-installed-p)
26144 (package-compute-transaction, package-buffer-info)
26145 (package--push): Doc fix. Distinguish more clearly between
26146 version strings and version lists.
26147
26148 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26149
26150 Lexical-binding cleanup.
26151
26152 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26153 (5x5-make-mutate-best):
26154 * play/fortune.el (fortune-in-buffer):
26155 * play/gomoku.el (gomoku-init-display):
26156 * play/solitaire.el (solitaire, solitaire-do-check):
26157 * play/tetris.el (tetris-default-update-speed-function):
26158 Mark unused parameters.
26159
26160 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26161 (bubbles--shift): Remove unused variable `char-org'.
26162 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26163 (bubbles--show-images): Remove unused variable `char'.
26164
26165 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26166 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26167 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26168 (decipher-analyze-buffer): Use ?\s.
26169 (decipher-make-checkpoint): Remove unused variable `mapping'.
26170
26171 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26172
26173 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26174 Remove unused variable `result'; use `let'.
26175
26176 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26177 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26178 (gametree-children-shown-p, gametree-compute-reduced-score):
26179 Use `ignore-errors'.
26180
26181 * play/handwrite.el (ps-lpr-switches): Declare.
26182 (handwrite): Remove unused variables `pmin' and `lastp'.
26183
26184 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26185
26186 * play/landmark.el (landmark-init-display)
26187 (landmark-update-naught-weights): Mark unused parameters.
26188 (landmark-y): Remove unused variable `noise'. Simplify.
26189 (landmark-human-plays): Remove unused variable `score'.
26190
26191 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26192 (mpuz-try-proposal): Remove unused variable `game'.
26193
26194 * play/zone.el (life-patterns): Declare.
26195
26196 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26197
26198 * vc/vc.el (ediff-vc-internal): Declare function.
26199
26200 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26201
26202 * shell.el: Use lexical-binding and std completion UI.
26203 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26204 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26205 comint-preoutput-filter-functions rather than on
26206 comint-output-filter-functions.
26207 (shell-command-completion, shell--command-completion-data)
26208 (shell-filename-completion, shell-environment-variable-completion)
26209 (shell-c-a-p-replace-by-expanded-directory): New functions.
26210 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26211 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26212 (shell-dynamic-complete-environment-variable): Use them.
26213 (shell-dynamic-complete-as-environment-variable)
26214 (shell-dynamic-complete-as-command): Remove.
26215 (shell-match-partial-variable): Match past point.
26216 * comint.el: Clean up use of completion-at-point-functions.
26217 (comint-completion-at-point): New function.
26218 (comint-mode): Use it completion-at-point-functions.
26219 (comint-dynamic-complete): Make it obsolete.
26220 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26221 (comint-c-a-p-replace-by-expanded-history): New function.
26222 (comint-dynamic-complete-functions)
26223 (comint-replace-by-expanded-history): Use it.
26224 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26225 termination strings. Try harder to avoid second try-completion.
26226 (completion-in-region-mode-map): Disable bindings that don't work yet.
26227
26228 * comint.el: Use lexical-binding. Require CL.
26229 (comint-dynamic-complete-functions): Use comint-filename-completion.
26230 (comint-completion-addsuffix): Tweak custom type.
26231 (comint-filename-completion, comint--common-suffix)
26232 (comint--common-quoted-suffix, comint--table-subvert)
26233 (comint--complete-file-name-data): New functions.
26234 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26235 (comint-dynamic-list-filename-completions): Use them.
26236 (comint-dynamic-simple-complete): Make obsolete.
26237
26238 * minibuffer.el (completion-in-region-mode):
26239 Keep completion-in-region-mode--predicate global.
26240 (completion-in-region--postch):
26241 Assume completion-in-region-mode--predicate is not null.
26242
26243 * progmodes/flymake.el (flymake-start-syntax-check-process):
26244 Obey `dir'. Simplify.
26245
26246 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26247 we're in VC after all.
26248
26249 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26250
26251 * vc/vc.el (vc-diff-build-argument-list-internal)
26252 (vc-version-ediff, vc-ediff): New commands.
26253 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26254
26255 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26256
26257 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26258 add sanity check.
26259
26260 * obsolete/erc-hecomplete.el: Make obsolete.
26261 * obsolete/: Standardize obsolescence info in the header.
26262
26263 2011-04-20 Glenn Morris <rgm@gnu.org>
26264
26265 * calendar/solar.el (solar-horizontal-coordinates):
26266 Use the longitude argument rather than `calendar-longitude'.
26267 (solar-date-next-longitude): Remove unused locals.
26268
26269 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26270
26271 * whitespace.el: New version 13.2.1.
26272
26273 2011-04-20 felix <EmacsWiki> (tiny change)
26274
26275 * whitespace.el (global-whitespace-mode): Keep highlight when
26276 switching between major modes on a file.
26277
26278 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26279
26280 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26281 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26282 multi-line comments as well.
26283
26284 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26285
26286 Lexical-binding cleanup.
26287
26288 * arc-mode.el (archive-mode-revert):
26289 * cmuscheme.el (scheme-interactively-start-process):
26290 * custom.el (custom-initialize-delay):
26291 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26292 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26293 * emacs-lock.el (emacs-lock-clear-sentinel):
26294 * ezimage.el (defezimage):
26295 * follow.el (follow-avoid-tail-recenter):
26296 * fringe.el (set-fringe-mode-1):
26297 * generic-x.el (bat-generic-mode-compile):
26298 * help-mode.el (help-info-variable, help-do-xref)
26299 (help-mode-revert-buffer):
26300 * help.el (view-emacs-todo):
26301 * iswitchb.el (iswitchb-completion-help):
26302 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26303 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26304 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26305 * locate.el (locate-update):
26306 * longlines.el (longlines-encode-region)
26307 (longlines-after-change-function):
26308 * outline.el (outline-isearch-open-invisible):
26309 * ps-def.el (declare-function, charset-dimension, char-width)
26310 (encode-char):
26311 * ps-mule.el (ps-mule-plot-string):
26312 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26313 (recentf-edit-list-select, recentf-edit-list-validate)
26314 (recentf-open-files-action):
26315 * rect.el (delete-whitespace-rectangle-line)
26316 (rectangle-number-line-callback):
26317 * register.el (window-configuration-to-register)
26318 (frame-configuration-to-register):
26319 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26320 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26321 (xselect-convert-to-targets, xselect-convert-to-delete)
26322 (xselect-convert-to-filename, xselect-convert-to-charpos)
26323 (xselect-convert-to-lineno, xselect-convert-to-colno)
26324 (xselect-convert-to-os, xselect-convert-to-host)
26325 (xselect-convert-to-user, xselect-convert-to-class)
26326 (xselect-convert-to-name, xselect-convert-to-integer)
26327 (xselect-convert-to-atom, xselect-convert-to-identity):
26328 * subr.el (declare, ignore, process-kill-without-query)
26329 (text-clone-maintain):
26330 * terminal.el (te-get-char, te-tic-sentinel):
26331 * tool-bar.el (tool-bar-make-keymap):
26332 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26333 * type-break.el (type-break-mode, type-break-noninteractive-query):
26334 * view.el (View-back-to-mark):
26335 * wid-browse.el (widget-browse-action, widget-browse-widget)
26336 (widget-browse-widgets, widget-browse-sexp):
26337 * widget.el (define-widget-keywords):
26338 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26339 Mark unused parameters.
26340
26341 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26342 (align-areas): Remove unused variable `look'.
26343 (align-region): Remove unused variables `real-end' and `pos-list'.
26344
26345 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26346
26347 * bindings.el (mode-line-modified, mode-line-remote):
26348 Mark unused parameters.
26349 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26350
26351 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26352 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26353
26354 * comint.el (comint-history-isearch-pop-state)
26355 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26356 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26357 (comint-substitute-in-file-name): Doc fix.
26358
26359 * completion.el (cmpl-statistics-block): Mark unused parameter.
26360 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26361 (save-completions-to-file, load-completions-from-file):
26362 Remove unused local variable `e'.
26363
26364 * composite.el (compose-chars): Remove unused variable `len'.
26365 (lgstring-insert-glyph): Remove unused variable `g'.
26366 (compose-glyph-string): Remove unused variables `ascent',
26367 `descent', `lbearing' and `rbearing'.
26368 (compose-glyph-string-relative): Remove unused variables
26369 `lbearing', `rbearing' and `wadjust'.
26370 (compose-gstring-for-graphic): Remove unused variables `header',
26371 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26372 (compose-gstring-for-terminal): Remove unused variables `header'
26373 and `nchars'. Use `let', not `let*'.
26374
26375 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26376 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26377 (Custom-buffer-done, custom-buffer-create-internal)
26378 (custom-browse-visibility-action, custom-browse-group-tag-action)
26379 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26380 (widget-magic-mouse-down-action, custom-toggle-parent)
26381 (custom-add-parent-links, custom-toggle-hide-variable)
26382 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26383 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26384 (custom-face-menu-create, custom-variable-menu-create, get)
26385 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26386 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26387 (customize-apropos): Remove unused variable `tests'.
26388 (custom-group-value-create): Remove unused variable `hidden-p'.
26389 (sort-fold-case): Declare.
26390
26391 * cus-theme.el (custom-reset-standard-faces-list)
26392 (custom-reset-standard-variables-list): Declare.
26393 (customize-create-theme, custom-theme-revert, custom-theme-write)
26394 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26395 Mark unused parameters.
26396
26397 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26398
26399 * delim-col.el (delimit-columns-max): Move defvar before first use.
26400
26401 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26402 (describe-char): Don't quote `lambda'. Mark unused parameter.
26403
26404 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26405 (auto-insert): Declare.
26406 (desktop-restore-file-buffer): Rename desktop-* parameters;
26407 mark unused ones.
26408 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26409 (desktop-buffer): Rename desktop-* parameters.
26410
26411 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26412 (dframe-reposition-frame-xemacs, dframe-help-echo)
26413 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26414 Mark unused parameters.
26415
26416 * dired-aux.el (backup-extract-version-start, overwrite-query)
26417 (overwrite-backup-query, rename-regexp-query)
26418 (rename-non-directory-query): Declare.
26419 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26420 (dired-add-entry): Remove unused variable `orig-file-name'.
26421 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26422 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26423 `dired-copy-preserve-time' directly.
26424 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26425 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26426
26427 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26428 (dired-virtual-revert, dired-make-relative-symlink):
26429 Mark unused parameters.
26430 (manual-program): Declare.
26431 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26432 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26433 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26434
26435 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26436
26437 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26438
26439 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26440 Declare.
26441
26442 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26443
26444 * electric.el (Electric-command-loop): Rename parameter
26445 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26446
26447 * expand.el (expand-in-literal): Remove unused variable `here'.
26448
26449 * facemenu.el (facemenu-add-new-color):
26450 Remove unused variable `docstring'.
26451
26452 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26453 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26454 (face-attr-construct): Mark unused parameter. Doc fix.
26455 (read-color): Remove unused variable `hex-string'.
26456
26457 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26458 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26459 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26460 (display-buffer-other-frame): Remove unused variable `old-window'.
26461 (kill-buffer-hook): Declare.
26462 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26463 Mark unused parameters.
26464 (after-find-file): Pass 1 to `auto-save-mode', not t.
26465
26466 * files-x.el (auto-insert): Declare.
26467 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26468
26469 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26470 variable `buf'. Mark unused parameter.
26471 (find-lisp-insert-directory): Mark unused parameter.
26472
26473 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26474 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26475 (format-common-tail): Remove, unused.
26476 (format-deannotate-region): Remove unused variable `loc'.
26477 (format-annotate-region): Remove unused variable `p'.
26478 (format-annotate-single-property-change): Remove unused variables
26479 `default' and `tail'.
26480
26481 * forms.el (read-file-filter): Declare.
26482 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26483
26484 * frame.el (frame-creation-function-alist): Mark unused parameter.
26485 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26486
26487 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26488 Remove unused parameters.
26489 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26490 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26491
26492 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26493 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26494 (hfy-prepare-tag-map): Mark unused parameters.
26495 (htmlfontify-buffer): Use `called-interactively-p'.
26496
26497 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26498 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26499 (ibuffer-do-occur): Mark unused parameters.
26500 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26501 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26502
26503 * ibuffer.el: Don't quote `lambda'.
26504 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26505 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26506 Mark unused parameters.
26507
26508 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26509 (ido-completing-read): Mark unused parameters.
26510 (ido-copy-current-word): Mark unused parameters;
26511 remove unused variable `name'.
26512 (ido-sort-merged-list): Remove unused parameter `dirs'.
26513
26514 * ielm.el (ielm-input-sender): Mark unused parameter.
26515 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26516 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26517 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26518 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26519 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26520
26521 * image-dired.el (image-dired-display-thumbs): Remove unused
26522 variables `curr-file' and `count'.
26523 (image-dired-remove-tag): Remove unused variable `start'.
26524 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26525 variable `curr-file'
26526 (image-dired-rotate-original): Remove unused variable `temp-file'.
26527 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26528 Remove unused variable `file'.
26529 (image-dired-gallery-generate): Remove unused variable `curr'.
26530 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26531
26532 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26533
26534 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26535
26536 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26537
26538 * isearch.el (minibuffer-history-symbol): Declare.
26539 (isearch-edit-string): Remove unused variable `err'.
26540 (isearch-message-prefix, isearch-message-suffix):
26541 Mark unused parameters.
26542
26543 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26544
26545 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26546
26547 * makesum.el (double-column): Remove unused variable `cnt'.
26548
26549 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26550 (ido-ignore-item-temp-list): Declare.
26551
26552 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26553 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26554 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26555 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26556 `mouse-col-delta'.
26557
26558 * mouse-sel.el (mouse-extend-internal):
26559 Remove unused variable `orig-window-frame'.
26560
26561 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26562 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26563 Move declarations before first use.
26564 (pcomplete-opt): Mark unused parameters; doc fix.
26565
26566 * proced.el (proced-revert): Mark unused parameter.
26567 (proced-send-signal): Remove unused variable `err'.
26568
26569 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26570 Rename parameter PREFIX-ARG to ARG.
26571 (ps-basic-plot-string, ps-basic-plot-whitespace):
26572 Mark unused parameters.
26573
26574 * replace.el (replace-count): Define.
26575 (occur-revert-function): Mark unused parameters.
26576 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26577 (isearch-case-fold-search, isearch-string): Declare.
26578 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26579 bind `case-fold-search'. Remove unused variables `beg' and `end',
26580 and simplify.
26581 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26582 COUNT and bind `replace-count'.
26583 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26584 to COUNT.
26585
26586 * savehist.el (print-readably, print-string-length): Declare.
26587
26588 * shadowfile.el (shadow-expand-cluster-in-file-name):
26589 Remove unused variable `cluster'.
26590 (shadow-copy-file): Remove unused variable `i'.
26591 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26592 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26593 (shadow-define-literal-group, shadow-define-regexp-group)
26594 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26595
26596 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26597 (shell): Use `called-interactively-p'.
26598 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26599
26600 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26601 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26602 (delete-backward-char): Remove unused variable `ocol'.
26603 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26604 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26605 (event-apply-hyper-modifier, event-apply-shift-modifier)
26606 (event-apply-control-modifier, event-apply-meta-modifier):
26607 Mark unused parameters.
26608 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26609 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26610
26611 * speedbar.el (speedbar-ignored-directory-expressions)
26612 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26613 (speedbar-find-file, speedbar-dir-follow)
26614 (speedbar-directory-buttons-follow, speedbar-tag-find)
26615 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26616 (speedbar-buffers-line-directory, speedbar-buffer-click):
26617 Mark unused parameters.
26618 (speedbar-tag-file): Remove unused variable `mode'.
26619 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26620
26621 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26622
26623 * talk.el (talk): Remove unused variable `display'.
26624
26625 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26626 (tar-write-region-annotate): Mark unused parameter.
26627
26628 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26629 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26630 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26631 warning by another.
26632
26633 * time-stamp.el (time-stamp-string-preprocess):
26634 Remove unused variable `require-padding'.
26635
26636 * tree-widget.el (widget-glyph-enable): Declare.
26637 (tree-widget-action): Mark unused parameter.
26638
26639 * w32-fns.el (x-get-selection): Mark unused parameter.
26640 (autoload-make-program, generated-autoload-file): Declare.
26641
26642 * wdired.el (wdired-revert): Mark unused parameters.
26643 (wdired-xcase-word): Remove unused variable `err'.
26644
26645 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26646 (whitespace-help-scroll): Remove unused variable `data-help'.
26647
26648 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26649 (widget-image-insert, widget-after-change, default)
26650 (widget-default-format-handler, widget-default-notify)
26651 (widget-default-prompt-value, widget-info-link-action)
26652 (widget-url-link-action, widget-function-link-action)
26653 (widget-variable-link-action, widget-file-link-action)
26654 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26655 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26656 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26657 (widget-insert-button-action, widget-delete-button-action, visibility)
26658 (widget-documentation-link-action, widget-documentation-string-action)
26659 (widget-const-prompt-value, widget-regexp-match, symbol)
26660 (widget-coding-system-prompt-value)
26661 (widget-key-sequence-value-to-external, sexp)
26662 (widget-sexp-value-to-internal, character, vector, cons)
26663 (widget-choice-prompt-value, widget-boolean-prompt-value)
26664 (widget-color--choose-action): Mark unused parameters.
26665 (widget-item-match-inline, widget-choice-match-inline)
26666 (widget-checklist-match, widget-checklist-match-inline)
26667 (widget-group-match): Rename parameter VALUES to VALS.
26668 (widget-field-value-set): Remove unused variable `size'.
26669 (widget-color-action): Remove unused variables `value' and `start'.
26670
26671 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26672 variable `dir'. Doc fix.
26673 (windmove-find-other-window): Don't pass it.
26674
26675 * window.el (count-windows): Mark unused parameter.
26676 (bw-adjust-window): Remove unused variable `err'.
26677
26678 * woman.el (woman-file-name): Remove unused variable `default'.
26679 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26680 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26681 (global-font-lock-mode): Declare.
26682 (woman-decode-region): Mark unused parameter.
26683 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26684
26685 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26686 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26687 (x-dnd-handle-moz-url): Remove unused variable `title'.
26688 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26689
26690 * xml.el (xml-parse-tag, xml-parse-attlist):
26691 Remove unused variable `pos'.
26692
26693 2011-04-19 Glenn Morris <rgm@gnu.org>
26694
26695 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26696 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26697 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26698 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26699 * calendar/cal-html.el (cal-html-insert-minical):
26700 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26701 (calendar-mark-date-pattern):
26702 Prefix "unused" locals.
26703
26704 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26705 optional argument `style'.
26706
26707 * calendar/appt.el (appt-make-list):
26708 * calendar/cal-china.el (calendar-chinese-date-string):
26709 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26710 (diary-hebrew-yahrzeit):
26711 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26712 * calendar/calendar.el (calendar-generate-window):
26713 * calendar/time-date.el (time-to-days):
26714 Remove unused local variables.
26715
26716 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26717
26718 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26719 glyphless-char-display table.
26720 (tabulated-list-glyphless-char-display): New var.
26721
26722 2011-04-18 Sam Steingold <sds@gnu.org>
26723
26724 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26725 to acknowledgments.
26726
26727 2011-04-17 Glenn Morris <rgm@gnu.org>
26728
26729 * calendar/diary-lib.el (diary-sexp-entry):
26730 * calendar/holidays.el (holiday-sexp):
26731 Set debug-on-error rather than the removed stack-trace-on-error.
26732
26733 2011-04-16 Glenn Morris <rgm@gnu.org>
26734
26735 * progmodes/f90.el: Use lexical-binding.
26736 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26737
26738 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26739
26740 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26741 (mail-mode): Setup mailalias completion here instead.
26742 * mail/mailalias.el: Use lexical-binding.
26743 (pattern, mailalias-done): Declare dynamic.
26744 (mail-completion-at-point-function): New function, from mail-complete.
26745 (mail-complete): Use it.
26746 (mail-completion-expand): New function.
26747 (mail-get-names): Use it.
26748 (mail-directory, mail-directory-process, mail-directory-stream):
26749 Don't use `pattern' for lexically bound arg.
26750
26751 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26752
26753 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26754 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26755 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26756
26757 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26758 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26759 (byte-interactive-p): Define them again, for use when inlining
26760 old code.
26761
26762 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26763
26764 * loadup.el: Use `string-to-number', not `string-to-int'.
26765
26766 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26767
26768 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26769 gud-gdb-complete-command.
26770 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26771 (gud-gdb-completion-at-point): New function.
26772 (gud-gdb-completions): Remove.
26773
26774 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26775
26776 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26777 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26778 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26779 whether `executable-find' is bound.
26780
26781 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26782
26783 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26784
26785 * minibuffer.el (completion-in-region-mode-predicate)
26786 (completion-in-region-mode--predicate): New vars.
26787 (completion-in-region, completion-in-region--postch)
26788 (completion-in-region-mode): Use them.
26789 (completion--capf-wrapper): Also return the hook function.
26790 (completion-at-point, completion-help-at-point):
26791 Adjust and provide a predicate.
26792
26793 Preserve arg names for advice of subr and lexical functions (bug#8457).
26794 * help-fns.el (help-function-arglist): Consolidate the subr and
26795 new-byte-code cases. Add argument `preserve-names' to extract names
26796 from the docstring when needed.
26797 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26798 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26799 (ad-arglist): Use help-function-arglist's new arg.
26800 (ad-definition-type): Use cond.
26801
26802 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26803
26804 * autorevert.el (auto-revert-handler):
26805 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26806 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26807 Don't quote lambda.
26808
26809 * image-mode.el (image-transform-set-scale):
26810 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26811
26812 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26813
26814 * net/network-stream.el (network-stream-open-starttls): Only do
26815 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26816 Upgrades via gnutls-cli are too slow to be done opportunistically.
26817
26818 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26819
26820 * dframe.el (dframe-current-frame): Remove spurious quote.
26821
26822 2011-04-12 Glenn Morris <rgm@gnu.org>
26823
26824 * calendar/cal-tex.el (cal-tex-end-document):
26825 Try to automatically use latin1 input if needed.
26826
26827 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26828 Don't try to cons a mark onto an empty element.
26829
26830 2011-04-11 Leo Liu <sdl.web@gmail.com>
26831
26832 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26833 buffers.
26834 (ido-kill-buffer-at-head): Support killing virtual buffers.
26835
26836 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26837
26838 * minibuffer.el (completion-show-inline-help): New var.
26839 (completion--do-completion, minibuffer-complete)
26840 (minibuffer-force-complete, minibuffer-complete-word):
26841 Inhibit minibuffer messages if completion-show-inline-help is nil.
26842
26843 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26844 to avoid interference from inline help (Bug#5849).
26845
26846 2011-04-10 Leo Liu <sdl.web@gmail.com>
26847
26848 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26849 Fix typo.
26850
26851 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26852
26853 * image-mode.el (image-toggle-display-image): Signal an error if
26854 not in Image mode.
26855 (image-transform-mode, image-transform-resize)
26856 (image-transform-set-rotation): Doc fix.
26857 (image-transform-set-resize): Delete.
26858 (image-transform-set-scale, image-transform-fit-to-height)
26859 (image-transform-fit-to-width): Handle image-toggle-display-image
26860 and image-transform-resize directly.
26861
26862 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26863
26864 * doc-view.el (doc-view-fit-width-to-window)
26865 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26866 New functions for fitting the shown image to the Emacs window size.
26867 (doc-view-mode-map): Add bindings for the new functions.
26868
26869 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26870
26871 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26872 Fix typo in docstring.
26873
26874 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26875
26876 * files.el (file-size-human-readable): Produce one digit after
26877 decimal, like "ls -lh" does.
26878
26879 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26880 the file size representation.
26881
26882 * simple.el (list-processes): If async subprocesses are not
26883 available, error out with a clear error message.
26884
26885 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26886
26887 * help.el (help-form-show): New function, to be called from C.
26888 Put help-form output in a buffer named differently than *Help*.
26889
26890 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26891
26892 * files.el (file-size-human-readable): New function.
26893
26894 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26895 computing the representation inline. Don't require `cl'.
26896
26897 2011-04-08 Glenn Morris <rgm@gnu.org>
26898
26899 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26900
26901 * net/browse-url.el (browse-url-firefox):
26902 Test system-type, not system-configuration.
26903
26904 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26905 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26906 Use log-edit-empty-buffer-p. (Bug#7598)
26907
26908 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26909 (rlogin-mode-map): Initialize in the defvar.
26910 (rlogin): Use ignore-errors.
26911
26912 * replace.el (occur-mode-map): Some fixes for menu items.
26913
26914 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26915
26916 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26917
26918 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26919
26920 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26921 issuing unused warnings.
26922
26923 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26924 macro directly.
26925
26926 * simple.el: Lisp reimplement of list-processes. Based on an
26927 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26928 (process-menu-mode): New major mode.
26929 (list-processes--refresh, list-processes):
26930 (process-menu-visit-buffer): New functions.
26931
26932 * files.el (save-buffers-kill-emacs): Don't assume any return
26933 value of list-processes, which is undocumented anyway.
26934
26935 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26936
26937 * emacs-lisp/tabulated-list.el: New file.
26938
26939 * emacs-lisp/package.el: Use Tabulated List mode.
26940 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26941 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26942 table format using Tabulated List mode variables.
26943 (package--push): New macro, replacing package-list-maybe-add.
26944 (package-menu--generate): Use package--push. Renamed from
26945 package--generate-package-list.
26946 (package-menu-refresh, list-packages): Use it.
26947 (package-menu--print-info): Rename from package-print-package.
26948 Return insertion data instead of inserting it directly.
26949 (package-menu-describe-package, package-menu-execute):
26950 Use tabulated-list-get-id.
26951 (package-menu-mark-delete, package-menu-mark-install)
26952 (package-menu-mark-unmark, package-menu-backup-unmark)
26953 (package-menu-mark-obsolete-for-deletion):
26954 Use tabulated-list-put-tag.
26955 (package--list-packages, package-menu-revert)
26956 (package-menu-get-package, package-menu-get-version)
26957 (package-menu-sort-by-column): Functions deleted.
26958 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26959 (package-menu--status-predicate, package-menu--version-predicate)
26960 (package-menu--name-predicate)
26961 (package-menu--description-predicate): Handle arguments in the
26962 Tabulated List format.
26963 (package-list-packages-no-fetch): Call list-packages.
26964
26965 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26966
26967 * files.el (after-find-file-from-revert-buffer): Remove variable.
26968 (after-find-file): Don't bind it.
26969 (revert-buffer-in-progress-p): New variable.
26970 (revert-buffer): Bind it.
26971 Pass nil for `after-find-file-from-revert-buffer'.
26972
26973 * saveplace.el (save-place-find-file-hook): Use new variable
26974 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26975
26976 2011-04-06 Glenn Morris <rgm@gnu.org>
26977
26978 * Makefile.in (AUTOGEN_VCS): New variable.
26979 (autoloads): Use $AUTOGEN_VCS.
26980
26981 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26982 * calendar/calendar.el (calendar-mode-map):
26983 Check for toolkit scroll bars. (Bug#8305)
26984
26985 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26986
26987 * minibuffer.el (completion-in-region--postch)
26988 (completion-in-region-mode): Remove unnecessary messages.
26989
26990 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26991
26992 * font-lock.el (font-lock-refresh-defaults):
26993 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26994 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26995
26996 * info.el (Info-directory-list, Info-read-node-name-2)
26997 (Info-split-parameter-string): Doc fixes.
26998 (Info-virtual-nodes): Reflow docstring.
26999 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
27000 (Info-apropos-toc-nodes, info-finder, Info-get-token)
27001 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
27002 Fix typos in docstrings.
27003 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
27004 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
27005 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
27006 (Info-restore-desktop-buffer): Mark unused parameters.
27007 (Info-directory-find-file, Info-directory-find-node)
27008 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
27009 (Info-virtual-index-find-node, Info-apropos-find-file)
27010 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
27011 Mark unused parameters; fix typos in docstrings.
27012 (Info-virtual-index): Remove unused local variable `nodename'.
27013
27014 2011-04-05 Deniz Dogan <deniz@dogan.se>
27015
27016 * net/rcirc.el: Update my e-mail address.
27017 (rcirc-mode-map): Remove M-o binding.
27018
27019 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27020
27021 * startup.el (command-line): Save the cursor's theme-face
27022 directly, instead of using face-override-spec.
27023
27024 * custom.el (load-theme): Minor optimization in assigning faces.
27025
27026 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27027
27028 * help-fns.el (describe-variable): Complete all variables having
27029 documentation, including keywords.
27030 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
27031
27032 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27033
27034 Convert to lexical-binding.
27035
27036 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
27037 (bs--get-marked-string, bs--get-modified-string)
27038 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
27039 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
27040 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
27041
27042 * ehelp.el (electric-help-execute-extended)
27043 (electric-help-ctrl-x-prefix):
27044 * hexl.el (hexl-revert-buffer-function):
27045 * linum.el (linum-after-change, linum-after-scroll):
27046 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
27047
27048 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
27049
27050 2011-04-04 Daiki Ueno <ueno@unixuser.org>
27051
27052 * epa-dired.el:
27053 * epa-mail.el:
27054 * epa-hook.el:
27055 * epa-file.el:
27056 * epa.el:
27057 * epg.el: Use lexical binding.
27058
27059 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
27060
27061 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
27062
27063 * textmodes/flyspell.el (flyspell-word): Recognize default
27064 dictionary case for flyspell-mark-duplications-exceptions.
27065 Use regexp matching for languages.
27066 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
27067 default dictionary (Bug#7926).
27068
27069 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
27070
27071 * emacs-lisp/package.el (package--with-work-buffer):
27072 Recognize https URLs.
27073
27074 * net/network-stream.el: Move from gnus/proto-stream.el.
27075 Change prefix to network-stream throughout.
27076 (open-protocol-stream): Merge into open-network-stream, leaving
27077 open-protocol-stream as an alias. Handle nil BUFFER args.
27078
27079 * subr.el (open-network-stream): Move to net/network-stream.el.
27080
27081 2011-04-02 Glenn Morris <rgm@gnu.org>
27082
27083 * find-dired.el (find-exec-terminator): New option.
27084 (find-ls-option): Test for -ls support.
27085 (find-ls-subdir-switches): Test for -b in find-ls-option.
27086 (find-dired, find-grep-dired): Doc fixes.
27087 (find-dired): Use find-exec-terminator.
27088
27089 * find-dired.el (find-ls-option, find-ls-subdir-switches)
27090 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
27091 (find-name-arg): Remove purecopy.
27092
27093 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
27094 (grep-compute-defaults): Check for `-exec COMMAND +' support.
27095 Set grep-find-use-xargs, grep-find-command, and grep-find-template
27096 accordingly. Don't add the null-device if not needed.
27097
27098 * files.el (save-some-buffers): Doc fix.
27099
27100 2011-04-02 Eli Zaretskii <eliz@gnu.org>
27101
27102 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27103
27104 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
27105
27106 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27107 Use `dolist' rather than `mapcar'.
27108
27109 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
27110
27111 Add lexical binding.
27112
27113 * subr.el (apply-partially): Use new closures rather than CL.
27114 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27115 (dolist, dotimes): Use slightly different expansion for lexical code.
27116 (functionp): Move to C.
27117 (letrec): New macro.
27118 (with-wrapper-hook): Use it and apply-partially instead of CL.
27119 (eval-after-load): Preserve lexical-binding.
27120 (save-window-excursion, with-output-to-temp-buffer): Turn them
27121 into macros.
27122
27123 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27124
27125 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27126 than the arglist.
27127 (help-add-fundoc-usage): Don't add `Not documented'.
27128 (help-function-arglist): Handle closures, subroutines, and new
27129 byte-code-functions.
27130 (help-make-usage): Remove leading underscores.
27131 (describe-function-1): Handle closures.
27132 (describe-variable): Use special-variable-p for completion.
27133
27134 * files.el (lexical-binding): Declare safe.
27135
27136 * emacs-lisp/pcase.el: Don't use destructuring-bind.
27137 (pcase--memoize): Rename from pcase-memoize. Change weakness.
27138 (pcase): Add `let' pattern.
27139 Change memoization so it actually works.
27140 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27141 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27142 <let>: New case.
27143
27144 * emacs-lisp/macroexp.el: Use lexical binding.
27145 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27146 Don't convert ' to #' without checking that it's indeed quoting
27147 a lambda.
27148
27149 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27150 Use eval-sexp-add-defvars.
27151 (eval-sexp-add-defvars): New fun.
27152
27153 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27154
27155 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27156 Don't autoload.
27157 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27158 than the internal `byte-compile-lambda'.
27159 (defmethod): Don't hide code under quotes.
27160 (eieio-defmethod): New `code' argument.
27161
27162 * emacs-lisp/eieio-comp.el: Remove.
27163
27164 * emacs-lisp/edebug.el (edebug-eval-defun)
27165 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27166 (edebug-toggle): Avoid `eval'.
27167
27168 * emacs-lisp/disass.el (disassemble-internal): Handle new
27169 `closure' objects.
27170 (disassemble-1): Handle new byte codes.
27171
27172 * emacs-lisp/cl.el (pushnew): Silence warning.
27173
27174 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27175 (cl-byte-compile-throw): Remove.
27176 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27177
27178 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27179 closures.
27180
27181 * emacs-lisp/cconv.el: New file.
27182
27183 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27184 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27185 (byte-compile-initial-macro-environment):
27186 Handle declare-function here.
27187 (byte-compile--lexical-environment): New var.
27188 (byte-stack-ref, byte-stack-set, byte-discardN)
27189 (byte-discardN-preserve-tos): New lap codes.
27190 (byte-interactive-p): Don't use any more.
27191 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27192 New macros.
27193 (byte-compile-lapcode): Use them and handle new lap codes.
27194 (byte-compile-obsolete): Remove.
27195 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27196 (byte-compile-arglist-warn): Check late def of inlinable funs.
27197 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27198 since they should have been expanded by now.
27199 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27200 (byte-compile-from-buffer): Remove unused second arg.
27201 (byte-compile-preprocess): New function.
27202 (byte-compile-toplevel-file-form): New function to distinguish
27203 file-form calls from outside from file-form calls from hunk-handlers.
27204 (byte-compile-file-form): Simplify.
27205 (byte-compile-file-form-defsubst): Remove.
27206 (byte-compile-file-form-defmumble): Simplify now that
27207 byte-compile-lambda always returns a byte-code-function.
27208 (byte-compile): Preprocess.
27209 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27210 Remove, not used any more.
27211 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27212 (byte-compile-make-args-desc): New funs.
27213 (byte-compile-lambda): Handle lexical functions. Always return
27214 a byte-code-function.
27215 (byte-compile-reserved-constants): New var, to make up room for
27216 closed-over variables.
27217 (byte-compile-constants-vector): Obey it.
27218 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27219 (byte-compile-macroexpand-declare-function): New function.
27220 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27221 byte-code-functions.
27222 (byte-compile-form): Check obsolescence here.
27223 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27224 (byte-compile-variable-ref): Remove.
27225 (byte-compile-dynamic-variable-op): New fun.
27226 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27227 (byte-compile-variable-set): New funs.
27228 (byte-compile-discard): Add 2 args.
27229 (byte-compile-stack-ref, byte-compile-stack-set)
27230 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27231 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27232 macroexpand-all instead.
27233 (byte-compile-quote-form): Remove.
27234 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27235 (byte-compile-bind, byte-compile-unbind): New funs.
27236 (byte-compile-let): Handle let* and lexical binding.
27237 (byte-compile-let*): Remove.
27238 (byte-compile-catch, byte-compile-unwind-protect)
27239 (byte-compile-track-mouse, byte-compile-condition-case):
27240 Handle a new :fun-body form, used for lexical scoping.
27241 (byte-compile-save-window-excursion)
27242 (byte-compile-with-output-to-temp-buffer): Remove.
27243 (byte-compile-defun): Simplify.
27244 (byte-compile-stack-adjustment): New fun.
27245 (byte-compile-out): Use it.
27246 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27247
27248 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27249 handler any more.
27250
27251 * emacs-lisp/byte-opt.el: Use lexical binding.
27252 (byte-inline-lapcode): Remove (to bytecomp).
27253 (byte-compile-inline-expand): Pay attention to inlining to/from
27254 lexically bound code.
27255 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27256 any more.
27257 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27258 any more and don't call compiler-macros.
27259 (byte-compile-splice-in-already-compiled-code): Remove.
27260 (byte-code): Don't inline any more.
27261 (disassemble-offset): Receive `bytes' as argument rather than via
27262 dynamic scoping.
27263 (byte-compile-tag-number): Declare before first use.
27264 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27265 `return' even if make-spliceable.
27266 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27267 obsolete interactive-p.
27268 (byte-optimize-lapcode): Optimize new lap-codes.
27269 Don't trip up on new form of `byte-constant' lap code.
27270
27271 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27272
27273 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27274
27275 * custom.el (custom-initialize-default, custom-declare-variable):
27276 Use `defvar'.
27277
27278 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27279 New variables.
27280 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27281 (COMPILE_FIRST): Add macroexp and cconv.
27282 * makefile.w32-in: Mirror changes in Makefile.in.
27283
27284 * vc/cvs-status.el:
27285 * vc/diff-mode.el:
27286 * vc/log-edit.el:
27287 * vc/log-view.el:
27288 * vc/smerge-mode.el:
27289 * textmodes/bibtex-style.el:
27290 * textmodes/css-mode.el:
27291 * startup.el:
27292 * uniquify.el:
27293 * minibuffer.el:
27294 * newcomment.el:
27295 * reveal.el:
27296 * server.el:
27297 * mpc.el:
27298 * emacs-lisp/smie.el:
27299 * doc-view.el:
27300 * dired.el:
27301 * abbrev.el: Use lexical binding.
27302
27303 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27304
27305 * info.el (info-display-manual): New function.
27306
27307 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27308
27309 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27310
27311 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27312
27313 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27314 an entry for that server in rcirc-authinfo. (Bug#8385)
27315
27316 2011-03-31 Glenn Morris <rgm@gnu.org>
27317
27318 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27319
27320 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27321
27322 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27323
27324 * progmodes/python.el (python-default-interpreter)
27325 (python-python-command-args, python-jython-command-args)
27326 (python-which-shell, python-which-args, python-which-bufname)
27327 (python-file-queue, python-comint-output-filter-function)
27328 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27329 variables and functions.
27330
27331 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27332
27333 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27334 (completion-in-region-mode): New minor mode.
27335 (completion-in-region): Use it.
27336 (completion-in-region--data, completion-in-region-mode-map): New vars.
27337 (completion-in-region--postch): New function.
27338 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27339 New vars.
27340 (completion--capf-wrapper): New function.
27341 (completion-at-point): Use it to track well-behavedness of
27342 hook functions.
27343 (completion-help-at-point): New command.
27344
27345 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27346
27347 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27348 syntax class to search for whitespace on a single line
27349 (Message-ID: <4D938140.4030905@redhat.com>).
27350
27351 2011-03-30 Leo Liu <sdl.web@gmail.com>
27352
27353 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27354 New commands.
27355 (edit-abbrevs-map): Bind them here.
27356 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27357
27358 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27359
27360 * allout.el (allout-hide-by-annotation, allout-flag-region):
27361 Reduce possibility of overlay leakage by making them volatile.
27362
27363 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27364 hash is not shared between buffers. Mode initialization is
27365 responsible for giving it a useful starting value.
27366 (allout-item-span): Reduce possibility of overlay leakage by
27367 making them volatile.
27368 (allout-widgets-count-buttons-in-region): Add diagnostic function
27369 for tracking down button overlay leaks.
27370
27371 2011-03-29 Leo Liu <sdl.web@gmail.com>
27372
27373 * ido.el (ido-read-internal): Use the default history var
27374 minibuffer-history if no HISTORY is specified.
27375
27376 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27377
27378 * net/imap.el (imap-shell-open, imap-process-connection-type):
27379 Use imap-process-connection-type for 'shell' streams as well as
27380 Kerberos, SSL, other subprocesses.
27381
27382 2011-03-28 Leo Liu <sdl.web@gmail.com>
27383
27384 * abbrev.el (abbrev-table-empty-p): New function.
27385 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27386 nonempty ones. (Bug#5937)
27387
27388 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27389
27390 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27391
27392 2011-03-27 Leo Liu <sdl.web@gmail.com>
27393
27394 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27395 for foreground and background colors.
27396 (ansi-color-make-color-map): Adapt.
27397
27398 2011-03-25 Leo Liu <sdl.web@gmail.com>
27399
27400 * midnight.el (midnight-time-float): Remove. Note it calculates
27401 the microsecond component incorrectly and seconds-to-time does the
27402 same job.
27403 Remove redundant (require 'timer).
27404
27405 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27406 (ido-completions): Remove unused arguments. (Bug#8329)
27407
27408 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27409
27410 * minibuffer.el (completion--flush-all-sorted-completions):
27411 Remove itself from hook.
27412 (completion-at-point): Let the functions perform the completion
27413 immediately and return nil or t.
27414 * comint.el (comint-dynamic-complete-functions): Now identical to
27415 completion-at-point-functions.
27416 (comint-dynamic-list-input-ring): Remove unused var `index'.
27417 (comint--match-partial-filename, comint--unquote&expand-filename):
27418 New funs, split from comint-match-partial-filename.
27419 (comint-dynamic-complete): Use completion-at-point.
27420 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27421
27422 2011-03-24 Drew Adams <drew.adams@oracle.com>
27423
27424 * thingatpt.el: Support `defun'.
27425
27426 2011-03-23 Leo Liu <sdl.web@gmail.com>
27427
27428 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27429
27430 * help-mode.el (help-mode-finish): Tweak regexp.
27431
27432 2011-03-23 Glenn Morris <rgm@gnu.org>
27433
27434 * eshell/esh-opt.el (eshell-eval-using-options):
27435 Do not bind unused local variable `eshell-option-stub'.
27436
27437 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27438
27439 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27440
27441 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27442 keymap variable in `with-no-warnings' to avoid a warning when the
27443 keymap has been already `defconst'ed.
27444
27445 2011-03-22 Leo Liu <sdl.web@gmail.com>
27446
27447 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27448 encode all chars in abbrevs; otherwise use emacs-mule or
27449 utf-8-emacs. (Bug#8308)
27450
27451 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27452
27453 * simple.el (backward-delete-char-untabify):
27454 Avoid warning about using `delete-backward-char'.
27455
27456 * image.el (image-type-file-name-regexps): Make it variable.
27457 `imagemagick-register-types' modifies it, and the user may want
27458 to add new extensions for known image types.
27459 (imagemagick-register-types): Throw error if not using ImageMagick.
27460
27461 2011-03-22 Leo Liu <sdl.web@gmail.com>
27462
27463 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27464 located before rcirc-prompt-end-marker.
27465 (rcirc-complete): Error if point is not after rcirc prompt.
27466 Handle the case when table is nil.
27467 (rcirc-user-authenticated): Define to fix compiler warning.
27468
27469 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27470
27471 * custom.el (custom--inhibit-theme-enable): Make it affect only
27472 custom-theme-set-variables and custom-theme-set-faces.
27473 (provide-theme): Ignore custom--inhibit-theme-enable.
27474 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27475 (custom-enabling-themes): Delete variable.
27476 (enable-theme): Accept only loaded themes as arguments.
27477 Ignore the special custom-enabled-themes variable.
27478 (custom-enabled-themes): Forbid themes from setting this.
27479 Eliminate use of custom-enabling-themes.
27480 (custom-push-theme): Quote "changed" custom var entry.
27481
27482 2011-03-21 Leo Liu <sdl.web@gmail.com>
27483
27484 * ido.el (ido-read-internal): Add ido-selected to history instead
27485 of user input.
27486
27487 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27488
27489 * subr.el (deferred-action-list, deferred-action-function):
27490 Mark obsolete.
27491
27492 2011-03-21 Leo Liu <sdl.web@gmail.com>
27493
27494 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27495 change on 2011-02-13 (bug#8309).
27496
27497 * minibuffer.el (read-file-name-function): Change default value.
27498 (read-file-name--defaults): Rename from read-file-name-defaults.
27499 (read-file-name-default): Rename from read-file-name.
27500 (read-file-name): Call read-file-name-function.
27501
27502 2011-03-21 Glenn Morris <rgm@gnu.org>
27503
27504 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27505 Doc fixes.
27506
27507 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27508
27509 * cus-theme.el: Add missing provide statement.
27510 (customize-create-theme): Extract theme value correctly.
27511 (custom-theme-visit-theme): Autoload.
27512 (customize-create-theme): Prompt before inserting default faces.
27513
27514 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27515
27516 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27517 units and musical notes.
27518
27519 2011-03-20 Leo Liu <sdl.web@gmail.com>
27520
27521 * ido.el (ido-read-internal): Use completing-read-default.
27522 (ido-completing-read): Fix compatibility with completing-read.
27523
27524 2011-03-20 Christian Ohler <ohler@gnu.org>
27525
27526 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27527 (ert-delete-all-tests): Use `called-interactively-p' rather than
27528 `interactive-p'.
27529 (ert--make-xrefs-region): Respect END.
27530
27531 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27532
27533 * dired-aux.el (dired-create-directory): Signal an error if the
27534 directory already exists (Bug#8246).
27535
27536 * facemenu.el (list-colors-display): Call list-faces-display
27537 inside with-help-window.
27538 (list-colors-print): Use display property to align the final
27539 column, instead of checking window-width.
27540
27541 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27542
27543 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27544 windows-nt systems.
27545 (emerge-protect-metachars): Quote correctly for ms-dos and
27546 windows-nt systems.
27547
27548 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27549
27550 * info.el (info-initialize): Replace all uses of `:' with
27551 path-separator for compatibility with non-Unix systems.
27552 Cache quoting of path-separator. (Bug#8258)
27553
27554 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27555
27556 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27557 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27558 (mouse-avoidance-mode): Fix typos in docstrings.
27559
27560 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27561
27562 * startup.el (package-subdirectory-regexp): Move from package.el.
27563 Omit \\` and \\', and let callers add them.
27564
27565 * emacs-lisp/package.el (package-strip-version)
27566 (package-load-all-descriptors): Add \\` and \\' to
27567 package-subdirectory-regexp before using it.
27568 (package-untar-buffer): New arg DIR; ensure that file untars only
27569 into this expected directory. Remove superfluous delete-region.
27570 (package-unpack): Caller changed.
27571 (package-tar-file-info): Use package-subdirectory-regexp.
27572
27573 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27574
27575 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27576 diff-mode-shared-map (bug#8284).
27577 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27578
27579 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27580
27581 * calendar/time-date.el (format-seconds): Use assoc instead of
27582 assoc-string, since assoc-string doesn't exist in XEmacs.
27583
27584 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27585
27586 * custom.el (custom-known-themes): Reflow docstring.
27587 (custom-theme-load-path): Fix typo in docstring.
27588 (load-theme): Fix typo in error message.
27589 (custom-available-themes, custom-variable-theme-value):
27590 Use `let', not `let*'.
27591
27592 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27593
27594 * calc/README: Mention inclusion of musical notes.
27595
27596 * calc/calc-units.el (calc-lu-quant): Rename from
27597 `calc-logunits-quantity'.
27598 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27599 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27600 (calc-db): Rename from `calc-dblevel'.
27601 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27602 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27603 (calc-np): Rename from `calc-nplevel'.
27604 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27605 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27606 (calc-lu-plus): Rename from `calc-logunits-add'.
27607 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27608 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27609 (calc-lu-minus): Rename from `calc-logunits-sub'.
27610 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27611 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27612 (calc-lu-times): Rename from `calc-logunits-mul'.
27613 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27614 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27615 (calc-lu-divide): Rename from `calc-logunits-div'.
27616 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27617 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27618
27619 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27620 functions being autoloaded.
27621
27622 * calc/calc.el (calc-lu-power-reference): Rename from
27623 `calc-logunits-power-reference'.
27624 (calc-lu-field-reference): Rename from
27625 `calc-logunits-field-reference'.
27626
27627 * calc/calc-help.el (calc-l-prefix-help):
27628 Mention musical note functions.
27629
27630 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27631
27632 * minibuffer.el (completion-all-sorted-completions):
27633 Use :completion-cycle-penalty text property if present.
27634
27635 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27636
27637 * allout.el (allout-yank-processing): Adjust for new rebulleting
27638 regime so bullet being yanked is used without prompting the user
27639 for a choice.
27640
27641 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27642
27643 * startup.el (command-line): Warn the user that _emacs is deprecated.
27644
27645 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27646
27647 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27648 (delphi-verbose, delphi-comment-face, delphi-string-face)
27649 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27650 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27651 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27652 (delphi-new-comment-line, delphi-font-lock-defaults)
27653 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27654 Fix typos in docstrings.
27655
27656 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27657
27658 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27659 Invert the roles of character and string values for INSTEAD, so a
27660 string is used for the more common case of a defaulting prompt.
27661
27662 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27663
27664 * progmodes/ruby-mode.el (ruby-backward-sexp):
27665 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27666 * play/gamegrid.el (gamegrid-make-face):
27667 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27668 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27669 * notifications.el (notifications-notify):
27670 * net/xesam.el (xesam-search-engines):
27671 * net/quickurl.el (quickurl-list-insert):
27672 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27673
27674 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27675
27676 * startup.el (command-line): Update package subdirectory regexp.
27677
27678 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27679
27680 * allout.el (allout-abbreviate-flattened-numbering)
27681 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27682
27683 * subr.el (read-char-choice): Only show the cursor after the prompt,
27684 not after the answer.
27685
27686 2011-03-15 Kevin Ryde <user42@zip.com.au>
27687
27688 * help-fns.el (variable-at-point): Skip leading quotes, if any
27689 (bug#8253).
27690
27691 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27692
27693 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27694 warning message.
27695
27696 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27697
27698 * shell.el (shell): When called interactively, offer to change the
27699 shell file name on remote hosts.
27700
27701 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27702
27703 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27704 integration for LDAP parameters. The host, base, user or binddn,
27705 and secret tokens can be specified in a netrc file, for instance.
27706 This is optional because an `auth-source' parameter must be
27707 specified in the search attributes.
27708
27709 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27710
27711 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27712
27713 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27714
27715 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27716 into declaration. Remove redundant and harmful binding.
27717
27718 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27719
27720 * files.el (file-ownership-preserved-p): Pass `integer' as an
27721 explicit 2nd argument to `file-attributes'. If the file's owner
27722 is the Administrators group on Windows, and the current user is
27723 Administrator, consider that a match.
27724
27725 * server.el (server-ensure-safe-dir): Consider server directory
27726 safe on MS-Windows if its owner is the Administrators group while
27727 the current Emacs user is Administrator. Use `=' to compare
27728 numerical UIDs, since they could be integers or floats.
27729
27730 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27731
27732 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27733
27734 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27735
27736 Sync with Tramp 2.2.1.
27737
27738 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27739
27740 * net/trampver.el: Update release number.
27741
27742 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27743
27744 * progmodes/compile.el (compilation--previous-directory): Fix up
27745 various nil/dead-marker mismatches (bug#8014).
27746 (compilation-directory-properties, compilation-error-properties):
27747 Don't call it at a position past the one we're about to change.
27748
27749 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27750 Disable obsolescence warnings in the file that declares it.
27751
27752 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27753
27754 * allout-widgets.el (allout-widgets-tally):
27755 Initialize allout-widgets-tally as a hash table rather than nil to
27756 prevent mode-line redisplay warnings. Also, clarify the module
27757 description and fix a comment typo.
27758
27759 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27760
27761 * help-fns.el (describe-variable): Don't complete keywords.
27762 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27763
27764 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27765
27766 * emacs-lisp/package.el (package-version-join): Impose a standard
27767 string representation for pre/alpha/beta version lists.
27768 (package-unpack-single): Standardize the directory name by passing
27769 it through package-version-join.
27770 (package-strip-rcs-id): Accept any version string that does not
27771 signal an error in version-to-list.
27772
27773 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27774
27775 * simple.el (delete-trailing-whitespace): Return nil for the
27776 benefit of `write-file-functions'.
27777
27778 2011-03-10 Glenn Morris <rgm@gnu.org>
27779
27780 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27781
27782 * vc/vc-git.el (vc-git-program): New option.
27783 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27784 (vc-git--call): Use it.
27785
27786 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27787
27788 * cus-edit.el (Custom-newline): If no button at point, look
27789 for a subgroup button at start-of-line. (Bug#2298)
27790
27791 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27792
27793 2011-03-10 Julien Danjou <julien@danjou.info>
27794
27795 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27796 `cursor-type' is nil.
27797
27798 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27799
27800 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27801
27802 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27803
27804 * allout.el: Change so yank of distinctive-bullet items
27805 preserves the existing header prefix, rebulleting it if necessary,
27806 rather than replacing it. This is necessary for proper operation
27807 of cooperative addons like allout-widgets.
27808 (allout-make-topic-prefix, allout-rebullet-heading):
27809 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27810 value as alternate bullet to be used, instead of prompting the user
27811 for a bullet character.
27812
27813 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27814
27815 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27816 Do not use `tramp-file-name-port', because this returns also
27817 `tramp-default-port'.
27818
27819 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27820
27821 * net/rcirc.el (rcirc-handler-001): Remove useless
27822 with-rcirc-process-buffer.
27823 (rcirc-check-auth-status): Swap arguments to string-match.
27824
27825 2011-03-09 Glenn Morris <rgm@gnu.org>
27826
27827 * shell.el (shell-mode):
27828 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27829
27830 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27831 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27832
27833 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27834
27835 * emacs-lisp/package.el (package-refresh-contents)
27836 (package-menu-execute): Use condition-case-no-debug.
27837
27838 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27839
27840 * simple.el (shell-command-to-string): Use `process-file'.
27841
27842 * emacs-lisp/package.el (package-tar-file-info): Handle also
27843 remote files.
27844
27845 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27846 Use `equal' for upload base check.
27847
27848 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27849
27850 * textmodes/texinfo.el (texinfo-environments):
27851 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27852
27853 2011-03-08 Glenn Morris <rgm@gnu.org>
27854
27855 * cus-start.el (cursor-in-non-selected-windows):
27856 Fix :set quoting oddness. (Bug#8192)
27857
27858 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27859 in some setf expressions. (Bug#2159)
27860
27861 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27862
27863 * custom.el (custom-available-themes): Return themes in
27864 alphabetical order.
27865
27866 See ChangeLog.15 for earlier changes.
27867
27868 ;; Local Variables:
27869 ;; coding: utf-8
27870 ;; End:
27871
27872 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27873
27874 This file is part of GNU Emacs.
27875
27876 GNU Emacs is free software: you can redistribute it and/or modify
27877 it under the terms of the GNU General Public License as published by
27878 the Free Software Foundation, either version 3 of the License, or
27879 (at your option) any later version.
27880
27881 GNU Emacs is distributed in the hope that it will be useful,
27882 but WITHOUT ANY WARRANTY; without even the implied warranty of
27883 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27884 GNU General Public License for more details.
27885
27886 You should have received a copy of the GNU General Public License
27887 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.