75fc7f5884de922fac02517b1b6d79f338f0e3d0
[bpt/emacs.git] / lisp / ChangeLog
1 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2
3 * image-mode.el: Fit to width/height for rotated images (bug#11431).
4 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5 (image-transform-width, image-transform-fit-width): New functions.
6 (image-transform-properties): Use them.
7 (image-transform-check-size): New function.
8 (image-toggle-display-image): Use it (for testing).
9 (image-transform-set-rotation): Reduce angle mod 360.
10 Delete obsolete comment.
11
12 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13
14 * image-mode.el: Fix scaling (bug#11399).
15 (image-transform-resize): Doc fix.
16 (image-transform-properties): Default scale is 1 and height should
17 be an integer.
18
19 2012-05-13 Johan Bockgård <bojohan@gnu.org>
20
21 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
22 than hard-coding `car', to fix misbehavior when moving forward.
23
24 2012-05-13 Chong Yidong <cyd@gnu.org>
25
26 * emacs-lisp/tabulated-list.el (tabulated-list-format)
27 (tabulated-list-entries, tabulated-list-padding)
28 (tabulated-list-sort-key): Make permanent-local.
29
30 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
31 (electric-buffer-list): Put electric buffer menu
32 command descriptions in this docstring, instead of the docstring
33 of electric-buffer-menu-mode. Code cleanups.
34 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
35 Electric-buffer-menu-mode.
36 (electric-buffer-update-highlight): Minor code cleanup.
37
38 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
39
40 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
41 (Bug#11447)
42
43 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
44
45 Move define-obsolete-variable-alias before the var's definition.
46 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
47 * tooltip.el (tooltip-hook):
48 * textmodes/reftex-toc.el (reftex-toc-map):
49 * textmodes/reftex-sel.el (reftex-select-label-map)
50 (reftex-select-bib-map):
51 * textmodes/reftex-index.el (reftex-index-map)
52 (reftex-index-phrases-map):
53 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
54 * progmodes/meta-mode.el (meta-mode-map):
55 * novice.el (disabled-command-hook):
56 * loadhist.el (unload-hook-features-list):
57 * frame.el (blink-cursor):
58 * files.el (find-file-not-found-hooks, write-file-hooks)
59 (write-contents-hooks):
60 * emulation/tpu-edt.el (GOLD-map):
61 * emacs-lock.el (emacs-lock-from-exiting):
62 * emacs-lisp/generic.el (generic-font-lock-defaults):
63 * emacs-lisp/chart.el (chart-map):
64 * dos-fns.el (register-name-alist):
65 * dired-x.el (dired-omit-files-p):
66 * desktop.el (desktop-enable):
67 * cus-edit.el (custom-mode-hook):
68 * buff-menu.el (buffer-menu-mode-hook):
69 * bookmark.el (bookmark-read-annotation-text-func)
70 (bookmark-exit-hooks):
71 * allout.el (allout-mode-deactivate-hook)
72 (allout-exposure-change-hook, allout-structure-added-hook)
73 (allout-structure-deleted-hook, allout-structure-shifted-hook):
74 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
75 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
76 comes before the corresponding variable's definition.
77
78 2012-05-12 Chong Yidong <cyd@gnu.org>
79
80 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
81 (Buffer-menu-mouse-select): Restore function (Bug#11459).
82 (Buffer-menu-mode-map): Bind it.
83 (Buffer-menu--pretty-name): Add a mouse-face property.
84
85 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
86
87 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
88 (prolog-upper-case-string, prolog-lower-case-string)
89 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
90 (prolog-use-smie, prolog-smie-grammar): New vars.
91 (prolog-smie-forward-token, prolog-smie-backward-token)
92 (prolog-smie-rules): New funs.
93 (prolog-comment-indent): Remove.
94 (prolog-mode-variables): Use default comment indentation instead.
95 Setup SMIE.
96 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
97 (prolog-mode): Don't call them any more.
98 (prolog-electric-colon, prolog-electric-dash)
99 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
100
101 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
102
103 * minibuffer.el (completion--twq-all): Again, allow case differences.
104
105 * term.el: Move keymap initialization code to be more idiomatic.
106 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
107 (term-terminal-menu): Move initialization into declaration.
108 (term-escape-char): Let the user set it in her .emacs.
109
110 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
111 Provide SMIE-based indentation (not enabled by default yet).
112 (sh-mode-map): Don't bind electric keys.
113 Use electric-pair-mode instead of skeleton-pair.
114 (sh-assignment-regexp): Fit within 80 columns.
115 (sh-indent-supported): Specify actual shell name instead of boolean.
116 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
117 (sh-maybe-here-document): Use it. Make obsolete.
118 (sh-electric-here-document-mode) New minor mode.
119 (sh-mode): Use it. Don't set sh-indent-supported-here here.
120 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
121 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
122 (sh-smie-rc-grammar, sh-use-smie): New vars.
123 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
124 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
125 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
126 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
127 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
128 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
129 (sh-set-shell): Use smie-setup if requested.
130
131 * term.el (term-set-escape-char): Properly set term-escape-char.
132 See http://stackoverflow.com/questions/10524656.
133
134 2012-05-10 Chong Yidong <cyd@gnu.org>
135
136 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
137 Use url-generic-parse-url, and handle host names and Windows
138 filenames properly.
139 (ffap-url-unwrap-remote): Use url-generic-parse-url.
140 (ffap-url-unwrap-remote): Accept list values, specifying a list of
141 URL schemes to work on.
142 (ffap--toggle-read-only): New function.
143 (ffap-read-only, ffap-read-only-other-window)
144 (ffap-read-only-other-frame): Use it.
145 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
146 necessary for ffap-url-unwrap-remote.
147
148 2012-05-10 Dave Abrahams <dave@boostpro.com>
149
150 * cus-start.el (create-lockfiles): Add it.
151
152 2012-05-09 Chong Yidong <cyd@gnu.org>
153
154 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
155 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
156
157 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
158
159 * shell.el (shell-completion-vars): Fix last change (bug#11348).
160
161 2012-05-09 Chong Yidong <cyd@gnu.org>
162
163 * ansi-color.el (ansi-color-process-output): Check for validity of
164 comint-last-output-start before using it. This avoids a bad
165 interaction with gdb-mi's input/output buffer.
166
167 2012-05-09 Glenn Morris <rgm@gnu.org>
168
169 * files.el (dir-locals-read-from-file):
170 Mention dir-locals in any error message.
171
172 2012-05-09 Chong Yidong <cyd@gnu.org>
173
174 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
175 package (Bug#11410).
176
177 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
178 variables into description.
179
180 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
181
182 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
183 shell-delimiter-argument-list (bug#11348).
184 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
185
186 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
187
188 * textmodes/rst.el: Silence byte-compiler warnings.
189 (rst-re-alist, rst-reset-section-caches): Move around.
190 (rst-re): Use `characterp', not `char-valid-p'.
191 (font-lock-beg, font-lock-end): Declare.
192
193 * progmodes/idlw-shell.el (specs): Remove reference to deleted
194 variable `idlwave-shell-activate-alt-keybindings' and simplify.
195
196 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
197
198 2012-05-08 Glenn Morris <rgm@gnu.org>
199
200 * files.el (auto-mode-alist): Treat ".make" like ".mk".
201
202 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
203
204 * vc/log-edit.el: Add GNU coding standards highlighting.
205 (log-edit-font-lock-gnu-style)
206 (log-edit-font-lock-gnu-keywords): New vars.
207 (log-edit-font-lock-keywords): New fun.
208 (log-edit-mode): Don't fold case in font-lock.
209 (log-edit-font-lock-keywords): Do not assume case-folding.
210
211 * imenu.el: Misc cleanup. Make docstrings out of comments.
212 Use lexical-binding.
213 (imenu--index-alist, imenu--last-menubar-index-alist)
214 (imenu-menubar-modified-tick): Use defvar-local.
215 (imenu--split-menu): Remove unused var.
216 (imenu--cleanup-seen): Declare as global.
217 (imenu--cleanup): Use dolist.
218
219 * subr.el (defvar-local): Add debug spec and doc-string position.
220
221 2012-05-08 Glenn Morris <rgm@gnu.org>
222
223 * lisp/language/burmese.el, language/cham.el, language/czech.el:
224 * language/english.el, language/georgian.el, language/greek.el:
225 * language/japanese.el, language/khmer.el, language/korean.el:
226 * language/lao.el, language/misc-lang.el, language/romanian.el:
227 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
228 * language/thai.el, language/utf-8-lang.el:
229 Remove no-byte-compile setting.
230
231 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
232
233 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
234
235 * progmodes/make-mode.el (makefile-browse):
236 Remove unnecessary interactive. (Bug#11324)
237
238 2012-05-07 Glenn Morris <rgm@gnu.org>
239
240 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
241
242 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
243
244 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
245
246 * loadup.el: Preload newcomment.el.
247 * newcomment.el: Move autoload-only code to toplevel.
248
249 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
250 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
251 Handle new :right-align column property.
252 (tabulated-list-print-col): Idem, plus use `display' text-property to
253 try and preserve alignment for variable pitch fonts.
254
255 2012-05-07 Chong Yidong <cyd@gnu.org>
256
257 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
258 (tabulated-list-use-header-line): New var.
259 (tabulated-list-init-header): Use it.
260 (tabulated-list-print-fake-header): New function.
261 (tabulated-list-print): Use it.
262 (tabulated-list-sort-button-map): Add non-header-line commands.
263 (tabulated-list-init-header): Add column name property to basic
264 labels as well.
265 (tabulated-list-col-sort): Handle non-header-line button case.
266 (tabulated-list--sort-by-column-name): Fix a corner case.
267
268 * buff-menu.el (list-buffers--refresh):
269 Handle Buffer-menu-use-header-line.
270
271 2012-05-06 Chong Yidong <cyd@gnu.org>
272
273 * buff-menu.el: Convert to Tabulated List mode.
274 (Buffer-menu-buffer+size-width): Make obsolete.
275 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
276 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
277 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
278 documentation into docstring of buffer-menu.
279 (Buffer-menu-toggle-files-only): Add an informative message.
280 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
281 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
282 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
283 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
284 (Buffer-menu-execute, Buffer-menu-select)
285 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
286 (Buffer-menu-bury): Use Tabulated List machinery.
287 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
288 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
289 Delete.
290 (list-buffers--refresh): New function.
291 (list-buffers-noselect): Use it.
292 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
293 (Buffer-menu--pretty-file-name): New helper functions.
294
295 * loadup.el: Preload tabulated-list.
296
297 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
298 tabulated-list-sort-column.
299 (tabulated-list-init-header): Add the initial aligning space even
300 if tabulated-list-padding is zero.
301
302 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
303
304 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
305 whose cdr is not a cons cell correctly (bug#11038).
306
307 2012-05-06 Chong Yidong <cyd@gnu.org>
308
309 * emacs-lisp/tabulated-list.el (tabulated-list-format):
310 Accept additional plist in column descriptors.
311 (tabulated-list-init-header): Obey it.
312 (tabulated-list-get-entry): New function.
313 (tabulated-list-put-tag): Use it. Use string-width instead of
314 length.
315 (tabulated-list--column-number): New function.
316 (tabulated-list-print): Use it.
317 (tabulated-list-print-col): New function.
318 Set `tabulated-list-column-name' property on each column's text.
319 (tabulated-list-print-entry): Use it.
320 (tabulated-list-delete-entry, tabulated-list-set-col):
321 New functions.
322 (tabulated-list-sort-column): New command (Bug#11337).
323
324 * buff-menu.el (list-buffers): Move C-x C-b binding from
325 buff-menu.el to bindings.el.
326
327 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
328 :advertised-binding feature.
329
330 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
331
332 * progmodes/compile.el (compilation-internal-error-properties):
333 Calculate start position correctly when end-col is set but
334 end-line is not (Bug#11382).
335
336 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
337
338 * man.el (Man-unindent): Use text-property-default-nonsticky to
339 prevent untabify from inheriting face properties (Bug#11408).
340
341 2012-05-05 Glenn Morris <rgm@gnu.org>
342
343 * calendar/cal-html.el: Optionally include holidays in the output.
344 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
345 (cal-html-holidays): New option.
346 (cal-html-css-default): Add holiday entry.
347 (holiday-in-range): Autoload it.
348 (cal-html-htmlify-entry): Add optional class argument.
349 (cal-html-htmlify-list): Add optional holidays argument.
350 (cal-html-insert-agenda-days): Include holidays in the output.
351 (cal-html-one-month): Maybe include holidays.
352
353 * calendar/holidays.el (holiday-in-range):
354 Move here from cal-tex-list-holidays.
355 * calendar/cal-tex.el (cal-tex-list-holidays):
356 Make it an obsolete alias for holiday-in-range. Update all callers.
357
358 2012-05-05 Chong Yidong <cyd@gnu.org>
359
360 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
361 Nextstep.
362
363 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
364
365 * files.el (file-auto-mode-skip): New var.
366 (set-auto-mode-1): Use it.
367
368 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
369
370 * repeat.el: Use lexical-binding.
371 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
372 (repeat-undo-count): Remove.
373 (repeat):
374 * progmodes/octave-mod.el (octave-abbrev-start):
375 * progmodes/f90.el (f90-abbrev-start):
376 * face-remap.el (text-scale-adjust):
377 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
378
379 * emacs-lisp/pcase.el (pcase--let*): New function.
380 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
381 a bit more.
382 (pcase--split-pred): Be more clever about ruling out overlap between
383 a predicate and some constant pattern.
384 (pcase--q1): Use `null' instead of (eq foo nil).
385
386 * subr.el (setq-local, defvar-local): New macros.
387 (kbd): Redefine as an alias.
388 (with-selected-window): Leave unrelated frames alone.
389 (set-temporary-overlay-map): New function.
390
391 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
392
393 * subr.el (user-error): New function.
394 * window.el (switch-to-buffer):
395 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
396 (smerge-match-conflict):
397 * simple.el (previous-matching-history-element)
398 (next-matching-history-element, goto-history-element, undo-more)
399 (undo-start):
400 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
401 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
402 (next-file, tags-loop-scan, list-tags, complete-tag):
403 * progmodes/compile.el (compilation-loop):
404 * mouse.el (mouse-minibuffer-check):
405 * man.el (Man-bgproc-sentinel, Man-goto-page):
406 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
407 (Info-history-forward, Info-follow-reference, Info-menu)
408 (Info-extract-menu-item, Info-extract-menu-counting)
409 (Info-forward-node, Info-backward-node, Info-next-menu-item)
410 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
411 (Info-next-reference, Info-prev-reference, Info-index)
412 (Info-index-next, Info-follow-nearest-node)
413 (Info-copy-current-node-name):
414 * imenu.el (imenu--make-index-alist)
415 (imenu-default-create-index-function, imenu-add-to-menubar):
416 * files.el (basic-save-buffer, recover-file):
417 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
418 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
419 (checkdoc-message-text, checkdoc-defun):
420 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
421 * cus-edit.el (customize-changed-options, customize-rogue)
422 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
423 (custom-variable-mark-to-reset-standard)
424 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
425 (custom-file):
426 * completion.el (check-completion-length):
427 * comint.el (comint-search-arg)
428 (comint-previous-matching-input-string-position)
429 (comint-previous-matching-input)
430 (comint-replace-by-expanded-history-before-point, comint-send-input)
431 (comint-copy-old-input, comint-backward-matching-input)
432 (comint-goto-process-mark, comint-set-process-mark):
433 * calendar/calendar.el (calendar-cursor-to-date): Use it.
434 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
435
436 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
437
438 * dabbrev.el (dabbrev--ignore-case-p): New function.
439 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
440 Use it.
441
442 * files.el (automount-dir-prefix): Mark as obsolete.
443
444 2012-05-04 Glenn Morris <rgm@gnu.org>
445
446 * patcomp.el, play/bruce.el: Move to obsolete/.
447
448 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
449
450 Fix minor Y10k bugs.
451 * arc-mode.el (archive-unixdate):
452 * autoinsert.el (auto-insert-alist):
453 * calc/calc-forms.el (math-this-year):
454 * emacs-lisp/copyright.el (copyright-current-year)
455 (copyright-update-year, copyright):
456 * tar-mode.el (tar-clip-time-string):
457 * time.el (display-time-update):
458 Don't assume years have 4 digits.
459
460 2012-05-04 Chong Yidong <cyd@gnu.org>
461
462 * dos-w32.el (file-name-buffer-file-type-alist)
463 (direct-print-region-use-command-dot-com):
464 * ffap.el (ffap-menu-regexp):
465 * find-file.el (ff-special-constructs):
466 * follow.el (follow-debug):
467 * forms.el (forms--debug):
468 * iswitchb.el (iswitchb-all-frames):
469 * ido.el (ido-all-frames):
470 * emacs-lisp/timer.el (timer-max-repeats):
471 * mail/feedmail.el (feedmail-mail-send-hook)
472 (feedmail-mail-send-hook-queued):
473 * mail/footnote.el (footnote-signature-separator):
474 * mail/mailabbrev.el (mail-alias-separator-string)
475 (mail-abbrev-mode-regexp):
476 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
477 * progmodes/idlwave.el (idlwave-libinfo-file)
478 (idlwave-default-completion-case-is-down)
479 (idlwave-library-routines): Convert defvars to defcustoms.
480
481 * mail/rmail.el (rmail-decode-mime-charset):
482 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
483 (idlwave-shell-fix-inserted-breaks)
484 (idlwave-shell-activate-alt-keybindings)
485 (idlwave-shell-use-breakpoint-glyph):
486 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
487
488 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
489
490 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
491
492 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
493
494 * progmodes/verilog-mode.el (font-lock-keywords):
495 Fix mis-highligting auto. Reported by Craig Barner.
496 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
497 defines from global name space. Reported by Dan Dever.
498 (verilog-auto-reset, verilog-auto-reset-widths)
499 (verilog-auto-tieoff): Support using unbased numbers for
500 AUTORESET and AUTOTIEOFF.
501 (verilog-submit-bug-report): Update variable list.
502 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
503 parenthesis from not matching. Reported by Michael Rytting.
504 (verilog-auto-template-lint): Fix hash error when linting modules
505 with no used templates.
506 (verilog-warn, verilog-warn-error)
507 (verilog-warn-fatal): When non-interactive report multiple
508 warnings before exiting. Suggested by Brad Dobbie.
509 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
510 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
511 to report unused template errors. Reported by Brad Dobbie.
512 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
513 nets, bug438. Reported by Vns Blore.
514 (verilog-auto-inout-module, verilog-auto-reg)
515 (verilog-read-decls, verilog-read-sub-decls-sig)
516 (verilog-signals-edit-wire-reg, verilog-signals-with):
517 Fix passing of Verilog data types in ANSI input/output ports
518 such as "output logic" into the AUTOs. Special case "wire" and
519 "reg" for backwards compatibility presuming Verilog 2001.
520 (verilog-auto-ascii-enum): Add "auto enum" as alias.
521 (verilog-preprocess): Fix replication of preprocess output.
522 Reported by Brad Dobbie.
523 (verilog-auto-inst-interfaced-ports):
524 Create verilog-auto-inst-interfaced-ports, bug429.
525 Reported by Julian Gorfajn.
526 (verilog-after-save-font-hook)
527 (verilog-before-save-font-hook): New variable.
528 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
529 (verilog-save-font-mods): Wrap disabling fontification, reported
530 by David Rogoff.
531 (verilog-do-indent, verilog-pretty-declarations-auto)
532 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
533 Reported by Pierre-David Pfister.
534 (verilog-set-auto-endcomments): Fix endtask auto comments outside
535 of class declarations, bug292. Reported by Kevin Heilman.
536 (verilog-read-decls): Fix 'parameter type' not appearing in
537 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
538 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
539 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
540 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
541 Reported by David Kravitz.
542
543 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
544
545 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
546 assignment with tests in ifs and for loops.
547 (verilog-extended-complete-re, verilog-complete-reg): Change so
548 that DPI inport functions don't look like fuction declarations.
549 (verilog-pretty-expr): Don't line up assignment
550 operations to the test and increment in if and for loops
551 (verilog-extended-complete-re, verilog-complete-reg): Change so
552 that DPI inport functions don't look like fuction declarations
553
554 2012-05-03 Kenichi Handa <handa@m17n.org>
555
556 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
557 decoding, and show a warning message without signalling an error
558 (Bug#11282).
559
560 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
561
562 * emacs-lisp/bytecomp.el
563 (byte-compile-file-form-custom-declare-variable): Compile all elements,
564 since cconv.el might have introduced :fun-body, internal-make-closure,
565 and friends for bytecomp to handle (bug#11391).
566 * custom.el (defcustom): Avoid ((λ ..) ..).
567
568 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
569
570 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
571
572 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
573
574 * notifications.el (dbus-debug):
575 * term/linux.el (gpm-mouse-enable):
576 * term/screen.el (xterm-register-default-colors): Declare.
577
578 2012-05-02 Chong Yidong <cyd@gnu.org>
579
580 * cus-start.el (gc-cons-percentage, exec-suffixes)
581 (dos-display-scancodes, dos-hyper-key, dos-super-key)
582 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
583 (make-cursor-line-fully-visible, void-text-area-pointer)
584 (font-list-limit): Add customization data.
585
586 * allout.el (allout-exposure-change-functions)
587 (allout-structure-added-functions)
588 (allout-structure-deleted-functions)
589 (allout-structure-shifted-functions): Rename abnormal hooks from
590 *-hook, and convert to defcustoms.
591 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
592 Convert to defcustoms.
593 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
594
595 * allout-widgets.el: Hook callers changed.
596
597 2012-05-02 Eli Zaretskii <eliz@gnu.org>
598
599 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
600 the yanked message in preference to the default value of
601 buffer-file-coding-system.
602
603 2012-05-02 Martin Rudalics <rudalics@gmx.at>
604
605 * window.el (display-buffer--action-function-custom-type):
606 Fix entry.
607
608 2012-05-02 Alan Mackenzie <acm@muc.de>
609
610 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
611
612 2012-05-01 Glenn Morris <rgm@gnu.org>
613
614 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
615
616 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
617
618 * cus-edit.el (custom-variable-documentation): Simplify with format.
619
620 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
621 Stefan Monnier <monnier@iro.umontreal.ca>
622
623 * simple.el (suggest-key-bindings, execute-extended-command):
624 Move from keyboard.c.
625
626 2012-05-01 Chong Yidong <cyd@gnu.org>
627
628 * follow.el: Eliminate advice.
629 (set-process-filter, process-filter, sit-for): Advice deleted.
630 (follow-mode-off-hook): Obsolete hook removed.
631 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
632 Vars deleted.
633 (follow-auto): Use a :set function.
634 (follow-mode): Rewritten. Don't advise process filters.
635 (follow-switch-to-current-buffer-all, follow-scroll-up)
636 (follow-scroll-down): Assume follow-mode is bound.
637 (follow-comint-scroll-to-bottom)
638 (follow-align-compilation-windows): New functions.
639 (follow--window-sorter): New function.
640 (follow-all-followers): Use it to explicitly sort windows by their
641 positions; don't make assumptions about next-window order.
642 (follow-windows-start-end, follow-delete-other-windows-and-split)
643 (follow-calc-win-start): Doc fix.
644 (follow-windows-aligned-p, follow-select-if-visible): Don't call
645 vertical-motion unnecessarily.
646 (follow-adjust-window): New function.
647 (follow-post-command-hook): Use it.
648 (follow-call-set-process-filter, follow-call-process-filter)
649 (follow-intercept-process-output, follow-tidy-process-filter-alist)
650 (follow-stop-intercept-process-output, follow-generic-filter):
651 Functions deleted.
652 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
653 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
654 New functions, replacing advice on scroll-bar-* commands.
655 (follow-mwheel-scroll): New function (Bug#4112).
656
657 * comint.el (comint-adjust-point): New function.
658 (comint-postoutput-scroll-to-bottom): Use it.
659 Call follow-comint-scroll-to-bottom for Follow mode buffers.
660
661 2012-05-01 Glenn Morris <rgm@gnu.org>
662
663 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
664 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
665 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
666 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
667 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
668 Remove no-byte-compile setting.
669
670 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
671
672 * minibuffer.el (completion-table-with-quoting): Fix compatibility
673 all-completions code to not return a number in the last cdr.
674
675 2012-04-30 Leo Liu <sdl.web@gmail.com>
676
677 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
678 read-only error.
679
680 2012-04-29 Chong Yidong <cyd@gnu.org>
681
682 * follow.el (follow-calc-win-end): Rewrite to handle partial
683 screen lines correctly (Bug#8390).
684 (follow-avoid-tail-recenter): Minor cleanup.
685
686 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
687
688 Avoid the obsolete `assoc' package.
689 * speedbar.el (speedbar-refresh): Avoid adelete.
690 (speedbar-file-lists): Simplify and avoid aput.
691 * man.el (Man--sections, Man--refpages): New vars, replacing
692 Man-sections-alist and Man-refpages-alist.
693 (Man-build-section-alist, Man-build-references-alist):
694 Use them; avoid aput.
695 (Man--last-section, Man--last-refpage): New vars.
696 (Man-follow-manual-reference): Use them.
697 Use the `default' arg of completing-read.
698 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
699
700 2012-04-27 Chong Yidong <cyd@gnu.org>
701
702 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
703
704 * startup.el (x-apply-session-resources): New function.
705
706 * term/ns-win.el (ns-initialize-window-system):
707 * term/w32-win.el (w32-initialize-window-system):
708 * term/x-win.el (x-initialize-window-system): Use it to properly
709 set menu-bar-mode and other vars from X resources, even if the
710 initial frame is not a window-system frame (Bug#2299).
711
712 * subr.el (read-key): Avoid running filter function when setting
713 up temporary tool bar entries (Bug#9922).
714
715 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
716
717 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
718 (Bug#11344)
719
720 2012-04-27 Chong Yidong <cyd@gnu.org>
721
722 * select.el (xselect--encode-string): New function, split from
723 xselect-convert-to-string.
724 (xselect-convert-to-string): Use it.
725 (xselect-convert-to-filename, xselect-convert-to-os)
726 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
727 returned strings are properly encoded (Bug#11315).
728
729 2012-04-27 Chong Yidong <cyd@gnu.org>
730
731 * simple.el (delete-active-region): Move to killing custom group.
732
733 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
734
735 * progmodes/which-func.el (which-func-current): Quote %
736 characters for mode-line processing.
737
738 2012-04-27 Chong Yidong <cyd@gnu.org>
739
740 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
741 reaching eob (Bug#11286).
742
743 2012-04-27 Eli Zaretskii <eliz@gnu.org>
744
745 * progmodes/gdb-mi.el (gdb-control-level): New variable.
746 (gdb): Make it buffer-local and init to zero.
747 (gdb-control-commands-regexp): New variable.
748 (gdb-send): Don't wrap in "-interpreter-exec console" if
749 gdb-control-level is positive. Increment gdb-control-level
750 whenever the command matches gdb-control-commands-regexp, and
751 decrement it each time the command is "end". (Bug#11279)
752
753 2012-04-27 Martin Rudalics <rudalics@gmx.at>
754
755 * window.el (adjust-window-trailing-edge, enlarge-window)
756 (shrink-window, window-resize):
757 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
758 windows (Bug#11276).
759
760 2012-04-27 Chong Yidong <cyd@gnu.org>
761
762 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
763 fix "missing prefix" warning. All callers changed.
764
765 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
766
767 * emacs-lisp/assoc.el: Move to obsolete/.
768
769 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
770
771 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
772
773 * term/ns-win.el (ns-define-service):
774 * progmodes/pascal.el (pascal-goto-defun):
775 * progmodes/js.el (js--read-tab):
776 * progmodes/etags.el (tags-lazy-completion-table):
777 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
778 * emacs-lisp/ewoc.el (ewoc--wrap):
779 * emacs-lisp/assoc.el (aput, adelete, amake):
780 * doc-view.el (doc-view-convert-current-doc):
781 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
782
783 2012-04-26 Chong Yidong <cyd@gnu.org>
784
785 * image.el (image-type-from-buffer): Only return supported image
786 type (Bug#9045).
787
788 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
789 value, for symmetry with diff-end-of-hunk.
790 (diff-split-hunk, diff-find-source-location)
791 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
792 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
793 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
794 compute the relevant hunk or file properly (Bug#6005).
795 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
796
797 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
798
799 * vc/vc-mtn.el:
800 * vc/vc-hg.el:
801 * vc/vc-git.el:
802 * vc/vc-dir.el:
803 * vc/vc-cvs.el:
804 * vc/vc-bzr.el:
805 * vc/vc-arch.el:
806 * vc/vc.el: Replace lexical-let by lexical-binding.
807 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
808 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
809 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
810
811 2012-04-26 Chong Yidong <cyd@gnu.org>
812
813 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
814 (diff-mode-shared-map): Bind it to / and [remap undo].
815
816 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
817 (ediff-window-setup-function): Use it as the default, to set up
818 windows based on whether the current frame is graphical (Bug#2138).
819 (ediff-choose-window-setup-function-automatically): Make obsolete.
820
821 * vc/ediff-init.el: Always define ediff-pixel-width/height.
822
823 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
824
825 * ffap.el: Remove old code for obsolete package.
826 (ffap-complete-as-file-p): Remove.
827
828 Use completion-table-with-quoting for comint and pcomplete.
829 * comint.el (comint--unquote&requote-argument)
830 (comint--unquote-argument, comint--requote-argument): New functions.
831 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
832 (comint-quote-filename): Use regexp-opt-charset.
833 (comint--common-suffix, comint--common-quoted-suffix)
834 (comint--table-subvert): Remove.
835 (comint-unquote-function, comint-requote-function): New vars.
836 (comint--complete-file-name-data): Use them with
837 completion-table-with-quoting.
838 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
839 * pcomplete.el (pcomplete-arg-quote-list)
840 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
841 (pcomplete-unquote-argument-function): Default to non-nil.
842 (pcomplete-unquote-argument): Simplify.
843 (pcomplete--common-quoted-suffix): Remove.
844 (pcomplete-requote-argument-function): New var.
845 (pcomplete--common-suffix): New function.
846 (pcomplete-completions-at-point): Use completion-table-with-quoting
847 and completion-table-subvert.
848
849 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
850 (minibuffer--double-dollars): Preserve properties.
851 (completion--sifn-requote): New function.
852 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
853
854 * minibuffer.el: Add support for completion of quoted/escaped data.
855 (completion-table-with-quoting, completion-table-subvert): New funs.
856 (completion--twq-try, completion--twq-all): New functions.
857 (completion--nth-completion): New function.
858 (completion-try-completion, completion-all-completions): Use it.
859
860 2012-04-25 Leo Liu <sdl.web@gmail.com>
861
862 * progmodes/python.el (python-pdbtrack-get-source-buffer):
863 Use compilation-message if available to find real filename.
864
865 2012-04-25 Chong Yidong <cyd@gnu.org>
866
867 * vc/diff-mode.el (diff-setup-whitespace): New function.
868 (diff-mode): Use it.
869
870 * vc/diff.el (diff-sentinel):
871 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
872 Whitespace mode variables based on diff style (Bug#8612).
873
874 2012-04-25 Leo Liu <sdl.web@gmail.com>
875
876 * progmodes/python.el (python-send-region): Add suffix .py to the
877 temp file.
878
879 * files.el (auto-mode-alist): Use javascript-mode instead.
880
881 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
882
883 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
884
885 * soap-client.el (soap-resolve-references-for-sequence-type)
886 (soap-resolve-references-for-array-type): Hack to prevent self
887 references, see Bug#9.
888 (soap-parse-envelope): Report the contents of the 'detail' node
889 when receiving a fault reply.
890 (soap-parse-envelope): Report the contents of the entire 'detail' node.
891
892 * soap-inspect.el (soap-sample-value-for-simple-type)
893 (soap-inspect-simple-type): New function.
894
895 * soap-client.el (soap-simple-type): New struct.
896 (soap-default-xsd-types, soap-default-soapenc-types)
897 (soap-decode-basic-type, soap-encode-basic-type):
898 support unsignedInt and double basic types.
899 (soap-resolve-references-for-simple-type)
900 (soap-parse-simple-type, soap-encode-simple-type): New function.
901 (soap-parse-schema): Parse xsd:simpleType declarations.
902
903 * soap-client.el (soap-default-xsd-types)
904 (soap-default-soapenc-types): Add integer, byte and anyURI types.
905 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
906 the local name of "soapenc:Array".
907 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
908 decoding integer, byte and anyURI xsd types.
909
910 2012-04-25 Chong Yidong <cyd@gnu.org>
911
912 * cus-edit.el (custom-buffer-create-internal): Update header text.
913
914 2012-04-25 Eli Zaretskii <eliz@gnu.org>
915
916 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
917 settings on 'system-type', not on 'window-system'. On MS-Windows,
918 set interactive-mode on in GDB.
919
920 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
921
922 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
923 (ruby-syntax-propertize-regexp): Remove.
924 (ruby-syntax-propertize-function): Split regexp into chunks.
925 Match following code directly.
926
927 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
928
929 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
930 (ruby-syntax-propertize-regexp): New function.
931 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
932 by a special keyword.
933
934 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
935 (ruby-syntax-general-delimiters-goto-beg)
936 (ruby-syntax-propertize-general-delimiters): New functions.
937 (ruby-syntax-propertize-function): Use them to handle GDL.
938 (ruby-font-lock-keywords): Move old handling of GDL...
939 (ruby-font-lock-syntactic-keywords): .. to here.
940 (ruby-calculate-indent): Adjust indentation for GDL.
941
942 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
943
944 * notifications.el (top): Remove unneeded declarations.
945 (notifications-specification-version): Change to "1.2".
946 (notifications-interface, notifications-notify-method)
947 (notifications-close-notification-method): Fix docstring.
948 (notifications-get-capabilities-method): New defconst.
949 (notifications-notify): Add :action-items, :resident and
950 :transient hints. Change "image_data" to "image-data" and
951 "image_path" to "image-path".
952 (notifications-get-capabilities): New defun.
953
954 2012-04-24 Leo Liu <sdl.web@gmail.com>
955
956 * progmodes/python.el: Move hideshow setup to the end.
957
958 2012-04-24 Martin Rudalics <rudalics@gmx.at>
959
960 * window.el (handle-select-window): Clear echo area since this is
961 no more done by read_char (Bug#11304).
962
963 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
964
965 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
966 and `/ M' to filter-derived-mode.
967 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
968 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
969 (ibuffer-mark-by-mode): Use default rather than initial-input.
970 (ibuffer-filter-by-derived-mode): Autoload and require-match.
971
972 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
973
974 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
975 (ibuffer-filter-by-derived-mode): New filter.
976 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
977
978 2012-04-23 Andreas Politz <politza@fh-trier.de>
979
980 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
981
982 2012-04-23 Chong Yidong <cyd@gnu.org>
983
984 * cus-edit.el (customize-apropos, customize-apropos-options):
985 Disable matching of non-option variables (Bug#11176).
986 (customize-option, customize-option-other-window)
987 (customize-changed-options): Doc fix.
988 (customize-apropos-options, customize-apropos-faces)
989 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
990
991 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
992 Fix word list splitting (Bug#11132).
993 (apropos-symbol, apropos-keybinding, apropos-label)
994 (apropos-property, apropos-function-button)
995 (apropos-variable-button, apropos-misc-button): New faces.
996 (apropos-symbol-face, apropos-keybinding-face)
997 (apropos-label-face, apropos-property-face, apropos-match-face):
998 Variables removed (Bug#8396).
999 (apropos-library-button, apropos-format-plist, apropos-print)
1000 (apropos-print-doc, apropos-describe-plist): Callers changed.
1001
1002 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
1003
1004 * net/xesam.el (xesam-mode-map): Use let-bound map in
1005 initialization. (Bug#11292)
1006
1007 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1008
1009 Preserve ispell session localwords when switching back to
1010 original buffer.
1011
1012 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1013 variable to hold buffer session localwords.
1014 (ispell-kill-ispell): add option 'clear to delete session
1015 localwords.
1016 (ispell-command-loop, ispell-change-dictionary)
1017 (ispell-buffer-local-words): Preserve session localwords when
1018 needed.
1019
1020 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1021 Preserve session localwords when needed.
1022
1023 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1024
1025 * ispell.el (ispell-insert-word) Remove unneeded function using
1026 obsolete `translation-table-for-input'.
1027 (ispell-word, ispell-process-line, ispell-complete-word):
1028 Use plain `insert' instead of removed `ispell-insert-word'.
1029
1030 2012-04-22 Chong Yidong <cyd@gnu.org>
1031
1032 * cus-edit.el (custom-variable-menu)
1033 (custom-variable-reset-saved, custom-face-menu)
1034 (custom-face-reset-saved): If there is no saved value, make the
1035 "reset-saved" operation bring back the default (Bug#9509).
1036 (custom-face-state): Properly detect themed faces.
1037
1038 * faces.el (face-spec-set): Stop supporting deprecated form of
1039 third arg.
1040
1041 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
1042
1043 Move functions from C to Lisp. Make non-blocking method calls
1044 the default. Implement further D-Bus standard interfaces.
1045
1046 * net/dbus.el (dbus-message-internal): Declare function.
1047 Remove unneeded function declarations.
1048 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1049 (dbus-message-type-method-return, dbus-message-type-error)
1050 (dbus-message-type-signal): Declare variables. Remove local
1051 definitions.
1052 (dbus-interface-dbus, dbus-interface-peer)
1053 (dbus-interface-introspectable, dbus-interface-properties)
1054 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1055 Adapt docstring.
1056 (dbus-interface-objectmanager): New defconst.
1057 (dbus-call-method, dbus-call-method-asynchronously)
1058 (dbus-send-signal, dbus-method-return-internal)
1059 (dbus-method-error-internal, dbus-register-service)
1060 (dbus-register-signal, dbus-register-method): New defuns, moved
1061 from dbusbind.c
1062 (dbus-call-method-handler, dbus-setenv)
1063 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1064 New defuns.
1065 (dbus-call-method-non-blocking): Make it an obsolete function.
1066 (dbus-unregister-object, dbus-unregister-service)
1067 (dbus-handle-event, dbus-register-property)
1068 (dbus-property-handler): Obey the new structure of
1069 `bus-registered-objects'.
1070 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1071 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1072 Use `dbus-call-method'.
1073
1074 2012-04-22 Chong Yidong <cyd@gnu.org>
1075
1076 * cus-edit.el (custom-commands, custom-reset-menu)
1077 (Custom-reset-standard): Tweak labels.
1078 (custom-reset-button-menu): Change default to t.
1079 (custom-buffer-create-internal): For the custom-reset-button-menu
1080 case, put the revert button first.
1081 (custom-group-subtitle): New face.
1082 (custom-group-value-create): Align docstring to a specific column.
1083
1084 * wid-edit.el (widget-documentation-link-add): Don't handle
1085 indentation in this function.
1086 (widget-documentation-string-indent-to): New function.
1087 (widget-documentation-string-value-create): Use it.
1088
1089 * autorevert.el (auto-revert):
1090 * epg-config.el (epg):
1091 * ibuffer.el (ibuffer):
1092 * mpc.el (mpc):
1093 * ses.el (ses):
1094 * eshell/eshell.el (eshell):
1095 * net/ange-ftp.el (ange-ftp):
1096 * progmodes/ebnf2ps.el (postscript):
1097 * progmodes/flymake.el (flymake):
1098 * progmodes/prolog.el (prolog):
1099 * progmodes/verilog-mode.el (verilog-mode):
1100 * progmodes/which-func.el (which-func):
1101 * term/xterm.el (xterm):
1102 * textmodes/picture.el (picture):
1103 * textmodes/tildify.el (tildify):
1104 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1105 customization buffers.
1106
1107 2012-04-22 Alan Mackenzie <acm@muc.de>
1108
1109 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1110 Adding a ) can hide the resulting (..) from searches. Fix it.
1111 Bound the backward search to the position of the existing (.
1112
1113 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
1114
1115 * progmodes/verilog-mode.el (verilog-mode): Check whether
1116 which-func-modes is t before adding verilog-mode.
1117 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1118
1119 2012-04-21 Leo Liu <sdl.web@gmail.com>
1120
1121 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
1122
1123 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1124
1125 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1126 filling of the last column of a table (Bug#5635).
1127 (woman-find-next-control-line): New arg, specifying an additional
1128 regexp component for the control line.
1129 (woman2-roff-buffer): Use it.
1130 (woman-break-table): New function.
1131 (woman2-TS): Use it.
1132
1133 2012-04-21 Chong Yidong <cyd@gnu.org>
1134
1135 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1136 (woman-horizontal-escapes, woman-negative-vertical-space)
1137 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1138 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1139
1140 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1141
1142 * minibuffer.el (completion-file-name-table): Complete user names.
1143
1144 2012-04-20 Leo Liu <sdl.web@gmail.com>
1145
1146 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1147 and pcase-let*.
1148
1149 2012-04-20 Chong Yidong <cyd@gnu.org>
1150
1151 * server.el (server-execute): Respect initial-buffer-choice if it
1152 is a string and there are no files to open (Bug#2825).
1153 (server-create-window-system-frame, server-create-tty-frame):
1154 Don't switch buffers here.
1155 (server-process-filter): Only try to open a window system frame if
1156 compiled with graphical support (Bug#8314).
1157
1158 2012-04-20 Dan Nicolaescu <dann@gnu.org>
1159
1160 * battery.el (battery-echo-area-format): Display remaining time
1161 for sysfs backend too (Bug#11269).
1162 (battery-linux-sysfs): Fix conditional for the charge.
1163
1164 2012-04-20 Chong Yidong <cyd@gnu.org>
1165
1166 * progmodes/gdb-mi.el (gdb): Revert previous change.
1167 (gdb-inferior-io--init-proc): New function.
1168 (gdb-init-1): Use it.
1169 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1170 responsible for allocating a new pty and hooking it to gdb when
1171 the old pty gets an EIO due to process exit.
1172 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1173 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1174 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1175
1176 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1177
1178 * window.el (window-min-size, window-sizable, window-min-delta)
1179 (window-max-delta, window--resizable, window-resizable)
1180 (window-total-size, window-full-height-p, window-full-width-p)
1181 (window-in-direction, window--resize-mini-window, window-resize)
1182 (window--resize-child-windows-normal)
1183 (window--resize-child-windows, window--resize-siblings)
1184 (window--resize-this-window, adjust-window-trailing-edge)
1185 (enlarge-window, shrink-window): Doc fixes.
1186
1187 2012-04-20 Chong Yidong <cyd@gnu.org>
1188
1189 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1190 New function to call delete-process on the gdb-inferior buffer's pty.
1191 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1192 pty process (Bug#11273).
1193 (gdb-update): New arg to suppress talking to the gdb process.
1194 (gdb-done-or-error): Use it.
1195 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1196 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1197 sentinel not being called.
1198
1199 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1200
1201 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1202
1203 2012-04-20 Glenn Morris <rgm@gnu.org>
1204
1205 * net/network-stream.el (open-network-stream): Doc fix.
1206
1207 2012-04-20 Chong Yidong <cyd@gnu.org>
1208
1209 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1210
1211 2012-04-20 Alan Mackenzie <acm@muc.de>
1212
1213 Ensure searching for keywords is case sensitive.
1214
1215 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1216 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1217 (c-defun-name, c-mark-function, c-cpp-define-name)
1218 (c-comment-indent, c-scan-conditionals, c-indent-defun)
1219 (c-context-line-break): Bind case-fold-search to nil.
1220
1221 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1222 Bind case-fold-search to nil.
1223
1224 2012-04-20 Chong Yidong <cyd@gnu.org>
1225
1226 * mail/sendmail.el (mail-bury): Call return action with the right
1227 Rmail buffer (Bug#11242).
1228
1229 * server.el (server-process-filter): Handle corner case where both
1230 tty and nowait options are present (Bug#11102).
1231
1232 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1233
1234 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
1235 (top level): Put into the executable the ident-style '$Id:' tag on
1236 windows-nt as well.
1237
1238 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1239
1240 * electric.el (electric-indent-post-self-insert-function): Check that
1241 electric-indent-mode is enabled in current buffer.
1242
1243 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1244
1245 * imenu.el (imenu-progress-message): Restore; it is "used" in
1246 erc/erc-imenu.el and net/snmp-mode.el.
1247
1248 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1249
1250 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1251 (mouse-avoidance-nudge-mouse): Remove unused binding.
1252
1253 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1254
1255 * descr-text.el (describe-char):
1256 * progmodes/python.el (python-describe-symbol):
1257 Don't call `toggle-read-only', set `buffer-read-only'.
1258
1259 * imenu.el (imenu-default-goto-function): Mark unused args.
1260 (imenu-progress-message): Remove obsolete macro; all callers changed.
1261
1262 * subr.el (keymap-canonicalize): Remove unused binding.
1263 (read-passwd): Mark unused arg.
1264
1265 * tutorial.el (tutorial--display-changes): Remove unused binding.
1266 (tutorial--save-tutorial-to): Remove unused variable.
1267
1268 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1269 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1270 (package-generate-autoloads, package-menu--generate)
1271 (package-menu--find-upgrades): Remove unused bindings.
1272
1273 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1274 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1275 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1276 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1277 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1278 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1279 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1280 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1281 (cua-delete-char-rectangle): Mark unused args.
1282 (cua-align-rectangle): Remove unused binding.
1283
1284 * mail/rmail.el (compilation--message->loc)
1285 (epa--find-coding-system-for-mime-charset): Declare.
1286
1287 * net/dbus.el (dbus-register-service): Declare.
1288 (dbus-name-owner-changed-handler): Remove unused binding.
1289
1290 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1291 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1292 (nxml-scan-backward-within): Mark unused arg.
1293 (nxml-dynamic-markup-word): Remove unused binding.
1294
1295 * mouse.el (mouse-menu-major-mode-map):
1296 * emacs-lisp/authors.el (authors-scan-change-log)
1297 (authors-add-to-author-list):
1298 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1299 * emacs-lisp/smie.el (smie-auto-fill):
1300 * mail/sendmail.el (mail-bury):
1301 * mail/unrmail.el (unrmail):
1302 * net/tls.el (open-tls-stream):
1303 * textmodes/picture.el (picture-mouse-set-point):
1304 Remove unused bindings.
1305
1306 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
1307
1308 * net/tramp.el (tramp-action-password): Let-bind
1309 `enable-recursive-minibuffers' to t.
1310
1311 2012-04-18 Sam Steingold <sds@gnu.org>
1312
1313 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1314 instead of 'string to accommodate values like [f11].
1315 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1316 * progmodes/gdb-mi.el: Likewise.
1317
1318 2012-04-18 Leo Liu <sdl.web@gmail.com>
1319
1320 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1321 current buffer.
1322 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1323 LOCAL is nil.
1324
1325 2012-04-18 Chong Yidong <cyd@gnu.org>
1326
1327 * simple.el (line-move): Use forward-line if in batch mode
1328 (Bug#11053).
1329
1330 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1331
1332 * files.el (after-find-file): Do not try to add a final newline if
1333 the buffer is read-only (Bug#11156).
1334
1335 2012-04-17 Richard Stallman <rms@gnu.org>
1336
1337 * mail/rmail.el (rmail-start-mail):
1338 Pass (rmail-mail-return...) for the return-action.
1339 Pass (rmail-yank-current-message...) for the yank-action.
1340 (rmail-yank-current-message): New function.
1341 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1342 (rmail-reply): Likewise.
1343 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1344
1345 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
1346 buffer, not the last. Reject temp buffers. Use the rmail-mode
1347 buffer, not newbuf.
1348
1349 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
1350
1351 * server.el (server-ensure-safe-dir): Simplify.
1352
1353 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1354
1355 * emacs-lisp/smie.el: Provide smarter auto-filling.
1356 (smie-auto-fill): New function.
1357 (smie-setup): Use it.
1358
1359 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1360
1361 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
1362
1363 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1364 (comment-indent): Use it.
1365
1366 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
1367
1368 * ses.el: The overall change is to add cell renaming, that is
1369 setting fancy names for cell symbols other than name matching
1370 "\\`[A-Z]+[0-9]+\\'" regexp .
1371 (ses-localvars): Add ses--renamed-cell-symb-list.
1372 (ses-create-cell-variable): New defun.
1373 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
1374 (ses-relocate-formula): Relocate formulas only for cells the
1375 symbols of which are not renamed, i.e. symbols whose names do not
1376 match regexp "\\`[A-Z]+[0-9]+\\'".
1377 (ses-relocate-all): Relocate values only for cells the symbols of
1378 which are not renamed.
1379 (ses-load): Create cells variables as the (ses-cell ...) are read,
1380 in order to check row col consistency with cell symbol name only
1381 for cells that are not renamed.
1382 (ses-replace-name-in-formula): New defun.
1383 (ses-rename-cell): New defun.
1384
1385 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1386
1387 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1388 New option (bug#11118).
1389 (perl-calculate-indent): Respect it.
1390
1391 2012-04-17 Glenn Morris <rgm@gnu.org>
1392
1393 * dired-aux.el (dired-mark-read-string): Doc fix.
1394
1395 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1396
1397 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1398 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1399
1400 2012-04-17 Glenn Morris <rgm@gnu.org>
1401
1402 * mouse.el (mouse-drag-track):
1403 * speedbar.el (speedbar-frame-mode):
1404 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1405
1406 2012-04-16 Leo Liu <sdl.web@gmail.com>
1407
1408 * progmodes/python.el: Trivial cleanup.
1409
1410 2012-04-16 Glenn Morris <rgm@gnu.org>
1411
1412 * vc/vc.el (vc-string-prefix-p):
1413 * vc/pcvs-util.el (cvs-string-prefix-p):
1414 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1415 * mpc.el (mpc-string-prefix-p):
1416 Make all of these into obsolete aliases for string-prefix-p.
1417 Update callers.
1418 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1419
1420 * textmodes/two-column.el: Move custom options to the start.
1421 (frame-width): Remove compat definition.
1422 (2C-associate-buffer, 2C-dissociate):
1423 Use with-current-buffer rather than save-excursion.
1424 (2C-dissociate): Force a mode-line update.
1425 (2C-autoscroll): Use ignore-errors.
1426
1427 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1428 Autoload trivia.
1429
1430 * emacs-lisp/cl-extra.el (*random-state*):
1431 Remove unnecessary declaration.
1432
1433 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1434
1435 * play/cookie1.el (cookie-snarf):
1436 Give an explicit error if input file cannot be read.
1437
1438 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1439
1440 * progmodes/perl-mode.el (c-macro-expand):
1441 Remove unnecessary autoload (it is in loaddefs.el).
1442
1443 * textmodes/picture.el (picture-desired-column)
1444 (picture-update-desired-column): Convert comments to doc-strings.
1445 (picture-substitute): Remove function.
1446 (picture-mode-map): Initialize in the defvar.
1447
1448 * woman.el: Remove eval-after-load for tar-mode.
1449 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1450 (woman-tar-extract-file): Autoload it.
1451
1452 * frame.el (automatic-hscrolling): Make this alias obsolete.
1453
1454 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1455
1456 * ispell.el (ispell-set-spellchecker-params): Post-process
1457 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
1458 (ispell-dictionary-base-alist): Revert to original XEmacs
1459 friendly version for default. [:alpha:] will be added in
1460 `ispell-set-spellchecker-params' if needed
1461
1462 2012-04-16 Chong Yidong <cyd@gnu.org>
1463
1464 * image.el (imagemagick--extension-regexp): New variable.
1465 (imagemagick-register-types): Use it.
1466 (imagemagick-types-inhibit): Add :set function. Allow new value
1467 of t to inhibit all types.
1468
1469 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1470 so we can preload it.
1471
1472 * loadup.el (fboundp): Preload regexp-opt, needed by
1473 imagemagick-register-types.
1474
1475 2012-04-15 Chong Yidong <cyd@gnu.org>
1476
1477 * frame.el (scrolling): Remove nearly unused customization group.
1478
1479 * scroll-all.el (scroll-all-mode): Move to windows group.
1480
1481 2012-04-15 Chong Yidong <cyd@gnu.org>
1482
1483 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1484
1485 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1486
1487 Avoid the use of ((lambda ...) ...) in lexical-binding code.
1488 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
1489
1490 2012-04-15 Glenn Morris <rgm@gnu.org>
1491
1492 * simple.el (process-file-side-effects): Doc fix.
1493
1494 2012-04-15 Glenn Morris <rgm@gnu.org>
1495
1496 * international/mule-cmds.el (set-language-environment): Doc fix.
1497
1498 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1499
1500 * server.el (server-auth-key, server-generate-key): Doc fixes.
1501 (server-get-auth-key): Doc fix. Use `string-match-p'.
1502 (server-start): Reflow docstring.
1503
1504 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1505
1506 * server.el (server-generate-key): `called-interactively-p'
1507 requires a parameter.
1508
1509 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
1510
1511 * server.el (server-auth-key): New variable.
1512 (server-generate-key, server-get-auth-key): New function.
1513 (server-start): Use the new variable and functions to allow
1514 setting a permanent server key (bug#9423).
1515
1516 2012-04-14 Leo Liu <sdl.web@gmail.com>
1517
1518 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1519
1520 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1521
1522 Spelling fixes.
1523 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1524 Emacs uses American spelling.
1525
1526 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1527
1528 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1529 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1530 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1531 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1532
1533 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1534
1535 * progmodes/which-func.el (which-func-modes): Change default.
1536
1537 2012-04-14 Kim F. Storm <storm@cua.dk>
1538
1539 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1540 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1541
1542 2012-04-14 Chong Yidong <cyd@gnu.org>
1543
1544 * custom.el (custom-theme-set-variables): Doc fix.
1545
1546 2012-04-14 Glenn Morris <rgm@gnu.org>
1547
1548 * international/mule.el (set-auto-coding-for-load): Doc fix.
1549
1550 2012-04-14 Alan Mackenzie <acm@muc.de>
1551
1552 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1553 imenu work again for Objective C Mode. Correct the *-index values,
1554 these having been disturbed by a previous change in 2011-08.
1555
1556 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1557 Correct two search limits.
1558
1559 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1560
1561 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1562
1563 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
1564
1565 * international/characters.el: Fix sorting.
1566
1567 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1568
1569 * international/characters.el: Add more missing Latin case pairs.
1570
1571 2012-04-14 Glenn Morris <rgm@gnu.org>
1572
1573 * files.el (dir-locals-set-class-variables): Doc fix.
1574
1575 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1576
1577 * international/characters.el: Add set-case-syntax-pair call for
1578 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1579 counterpart. (Bug#11209)
1580
1581 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1582
1583 2012-04-14 Glenn Morris <rgm@gnu.org>
1584
1585 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1586
1587 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1588
1589 * textmodes/ispell.el (ispell-dictionary-base-alist):
1590 Add data for Hebrew.
1591
1592 2012-04-14 Chong Yidong <cyd@gnu.org>
1593
1594 * net/rcirc.el (rcirc-cmd-quit):
1595 Revert 2012-03-18 change (Bug#11192).
1596
1597 2012-04-14 Glenn Morris <rgm@gnu.org>
1598
1599 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1600
1601 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1602
1603 * minibuffer.el (completion-in-region-mode-map):
1604 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
1605
1606 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1607
1608 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1609
1610 2012-04-13 Masatake YAMATO <yamato@redhat.com>
1611
1612 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1613 to allow `C-M-f' and `C-M-b' to move to the nearest path
1614 separator (bug#9511).
1615
1616 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1617
1618 * avoid.el: Require cl when compiling. And also move the
1619 `provide' to the end.
1620
1621 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1622
1623 * avoid.el (mouse-avoidance-banish-position): New variable.
1624 (mouse-avoidance-banish-destination): Use it (bug#10165).
1625
1626 2012-04-13 Leo Liu <sdl.web@gmail.com>
1627
1628 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1629
1630 2012-04-13 Ken Brown <kbrown@cornell.edu>
1631
1632 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1633 this is no longer needed now that cygstart understands file:// URLs.
1634 (browse-url-filename-alist): For the same reason, don't modify
1635 file:// URLs on Cygwin.
1636
1637 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1638
1639 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1640 the region on shift if the binding is already shifted (bug#11221).
1641
1642 2012-04-12 Glenn Morris <rgm@gnu.org>
1643
1644 * mail/mailpost.el: Move to obsolete/.
1645
1646 2012-04-12 Drew Adams <drew.adams@oracle.com>
1647
1648 * imenu.el (imenu--generic-function): Ignore invisible definitions
1649 (bug#10123).
1650
1651 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1652
1653 * hexl.el (hexl-bits): New variable.
1654 (hexl-options): Mention the variable in the doc string.
1655 (hexl-rulerise, hexl-line-displen): New functions.
1656 (hexl-mode): Mention the new variable.
1657 (hexl-mode, hexl-current-address, hexl-current-address):
1658 Use the displen.
1659 (hexl-ascii-start-column): New function.
1660 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1661 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1662
1663 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1664
1665 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1666 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1667 the encoding, as expected by hunspell.
1668
1669 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1670
1671 * battery.el (battery--linux-sysfs-regexp): New const.
1672 (battery-status-function): Use it. Remove yeeloong special case.
1673 (battery-yeeloong-sysfs): Remove.
1674 (battery-echo-area-format): Remove yeeloong special case.
1675
1676 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1677
1678 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1679 Reported by Noah Friedman.
1680
1681 * subr.el (read-passwd): Use read-string.
1682
1683 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1684
1685 * vcursor.el (vcursor-move): Increase the priority of the overlay
1686 (bug#9663).
1687
1688 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1689
1690 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1691 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1692
1693 2012-04-11 William Stevenson <yhvh2000@gmail.com>
1694
1695 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1696 define-minor-mode (bug#10760).
1697
1698 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1699
1700 * progmodes/grep.el (rgrep): Tweak the find command line so
1701 that directories matching `grep-find-ignored-files' won't be
1702 pruned (bug#10351).
1703
1704 2012-04-11 Chong Yidong <cyd@gnu.org>
1705
1706 * startup.el (command-line): Remove support for long-obsolete
1707 variable font-lock-face-attributes.
1708
1709 2012-04-11 Glenn Morris <rgm@gnu.org>
1710
1711 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1712
1713 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1714
1715 * window.el (window--state-get-1): Obey window-point-insertion-type.
1716
1717 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1718
1719 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1720 to previous function when point is on the first character of a
1721 function. Take care of that in `narrow-to-defun' (bug#6157).
1722
1723 2012-04-11 Glenn Morris <rgm@gnu.org>
1724
1725 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1726 not just file-errors.
1727
1728 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1729 (vc-bzr-sha1): Use internal sha1.
1730
1731 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1732
1733 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1734
1735 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1736
1737 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1738 that start in the middle of the line (bug#10496).
1739
1740 2012-04-10 Dan Nicolaescu <dann@gnu.org>
1741
1742 * battery.el (battery-linux-proc-acpi): Only one battery is
1743 discharged at a time, but that seems to confuse battery.el when
1744 computing `rate-type' for the battery not being discharged
1745 (bug#10332).
1746
1747 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1748
1749 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1750
1751 * international/quail.el: Use dolist and simplify.
1752 (quail-define-package, quail-update-keyboard-layout)
1753 (quail-define-rules): Use dolist.
1754 (quail-insert-kbd-layout, quail-get-translation): CSE.
1755
1756 * tmm.el: Use dolist, remove left over hook.
1757 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1758 Use dolist.
1759 (calendar-load-hook): Don't mess with it.
1760
1761 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1762 Use derived-mode-p. Run the diff asynchronously.
1763
1764 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1765
1766 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1767
1768 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
1769
1770 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1771 (list-dynamic-libraries--loaded): New function.
1772 (list-dynamic-libraries--refresh): Use it.
1773
1774 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
1775
1776 * progmodes/python.el (python-fill-paragraph):
1777 Make python-fill-region in a multiline string work when font-lock is
1778 disabled (bug#7018).
1779
1780 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1781
1782 * language/european.el (cp775): Add oem/legacy (en)coding on
1783 DOS/MS Windows for the Baltic languages. There are still plenty
1784 of texts written in this encoding/codepage (bug#6519).
1785
1786 2012-04-10 Glenn Morris <rgm@gnu.org>
1787
1788 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1789 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1790
1791 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1792
1793 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1794 next-line "n" and previous-line "p" in order to make recentf more
1795 consistent with ibuffer, dired or org-mode (bug#9387).
1796
1797 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1798
1799 * image.el (put-image): Return the overlay created instead of the
1800 optional input string (bug#7834). Note that this may break code
1801 that is (for some reason or other) depending on `put-image'
1802 returning the string.
1803
1804 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1805
1806 * simple.el (zap-to-char): Allow zapping using input methods
1807 (bug#1580).
1808
1809 * textmodes/fill.el (fill-region): Leave point and mark where they
1810 were before filling (bug#5399).
1811
1812 2012-04-09 Glenn Morris <rgm@gnu.org>
1813
1814 * version.el (emacs-bzr-get-version):
1815 Handle lightweight checkouts of local branches.
1816
1817 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1818
1819 * international/characters.el: Recover lost case pairs. (Bug#11209)
1820
1821 2012-04-09 Chong Yidong <cyd@gnu.org>
1822
1823 * custom.el (custom-variable-p): Return nil for non-symbol
1824 arguments instead of signaling an error.
1825 (user-variable-p): Obsolete alias for custom-variable-p.
1826
1827 * apropos.el (apropos-variable):
1828 * files-x.el (read-file-local-variable):
1829 * simple.el (set-variable):
1830 * woman.el (woman-mini-help):
1831 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1832
1833 2012-04-09 Glenn Morris <rgm@gnu.org>
1834
1835 * startup.el (normal-top-level): Don't look for leim-list.el
1836 in places where it will not be found. (Bug#910)
1837
1838 * international/mule-cmds.el (set-default-coding-systems):
1839 * files.el (normal-mode):
1840 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1841 This function was removed with ucs-tables.el in 2008.
1842
1843 2012-04-08 Eli Zaretskii <eliz@gnu.org>
1844
1845 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1846 ispell-encoding8-command to "-i", without a trailing space.
1847 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1848 separate command-line arguments, to specify the encoding, since
1849 that's how hunspell expects it.
1850
1851 2012-04-08 Glenn Morris <rgm@gnu.org>
1852
1853 * loadup.el: Load bindings before cus-start.
1854 This reduces somewhat the number of "rogue" settings in emacs -Q.
1855
1856 2012-04-07 Glenn Morris <rgm@gnu.org>
1857
1858 * version.el (emacs-bzr-get-version): New function.
1859 (emacs-bzr-version): New variable.
1860 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1861 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1862
1863 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1864
1865 * international/uni-bidi.el, international/uni-category.el:
1866 * international/uni-combining.el, international/uni-decimal.el:
1867 * international/uni-decomposition.el, international/uni-digit.el:
1868 * international/uni-lowercase.el, international/uni-mirrored.el:
1869 * international/uni-name.el, international/uni-numeric.el:
1870 * international/uni-titlecase.el, international/uni-uppercase.el:
1871 Update for Unicode 6.1.
1872
1873 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1874
1875 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1876
1877 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1878
1879 * window.el (shrink-window): Mention the `window-min-height'
1880 variable in the doc string.
1881
1882 2012-04-05 Bastien Guerry <bzg@altern.org>
1883
1884 * color.el (color-lighten-name): Fix typo.
1885
1886 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1887
1888 * server.el (server--on-display-p): New function.
1889 (server--on-display-p): Use it.
1890
1891 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1892
1893 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1894 (bug#11145).
1895
1896 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1897
1898 * comint.el (comint--common-quoted-suffix): Check string boundary
1899 before comparing (bug#11158).
1900 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1901
1902 2012-04-04 Chong Yidong <cyd@gnu.org>
1903
1904 * minibuffer.el (completion-extra-properties): Doc fix.
1905
1906 * subr.el (delayed-warnings-hook): Doc fix.
1907
1908 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1909
1910 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1911 selection (Bug#11159).
1912 (epa-insert-keys): Inform that the default public key will be
1913 exported if no key is selected.
1914
1915 2012-04-04 Richard Stallman <rms@gnu.org>
1916
1917 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1918
1919 2012-04-03 Chong Yidong <cyd@gnu.org>
1920
1921 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1922 mail-insert-file, not its obsolete alias mail-attach-file.
1923
1924 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1925
1926 * notifications.el (notifications-notify): Fix docstring.
1927
1928 2012-04-02 Glenn Morris <rgm@gnu.org>
1929
1930 * emacs-lisp/authors.el (authors-aliases): Another addition.
1931
1932 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1933
1934 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1935 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1936 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1937
1938 2012-04-01 Chong Yidong <cyd@gnu.org>
1939
1940 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1941 Handle root directory properly.
1942 (copy-directory): Caller changed.
1943
1944 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1945 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1946
1947 2012-03-31 Glenn Morris <rgm@gnu.org>
1948
1949 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1950
1951 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1952
1953 * calendar/calendar.el (calendar-window-list)
1954 (calendar-hide-window): Restore. (Bug#11140)
1955 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1956
1957 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1958
1959 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1960
1961 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1962 Check if file is a symlink (Bug#10489).
1963
1964 * files.el (copy-directory): Likewise.
1965
1966 2012-03-30 Chong Yidong <cyd@gnu.org>
1967
1968 * image.el (imagemagick-types-inhibit)
1969 (imagemagick-register-types): Doc fix.
1970
1971 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1972
1973 * ispell.el (ispell-get-extended-character-mode):
1974 Disable extended-char-mode for hunspell. hunspell does not support it
1975 and treats ~word as ordinary words in pipe mode.
1976
1977 2012-03-30 Glenn Morris <rgm@gnu.org>
1978
1979 * tutorial.el (help-with-tutorial): Ensure local variables don't
1980 happen to make the buffer read-only. (Bug#11127)
1981
1982 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1983
1984 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1985 (perl-calculate-indent): Return `noindent' in strings.
1986
1987 2012-03-28 Sam Steingold <sds@gnu.org>
1988
1989 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1990 instead of the broken adhockery which does not prevent calendar
1991 buffers from being displayed at random after exit.
1992 (calendar-window-list, calendar-hide-window): Remove the broken
1993 adhockery.
1994
1995 2012-03-28 Glenn Morris <rgm@gnu.org>
1996
1997 * replace.el (query-replace-map): Doc fix.
1998
1999 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2000
2001 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2002 contents. (Bug#11109)
2003
2004 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2005
2006 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2007 (bug#11077).
2008 (avl-tree--check, avl-tree--check-node): New funs.
2009
2010 2012-03-27 Martin Rudalics <rudalics@gmx.at>
2011
2012 * window.el (switch-to-visible-buffer): New option.
2013 (switch-to-prev-buffer, switch-to-next-buffer):
2014 Observe switch-to-visible-buffer. Make sure that checking for a window
2015 showing a buffer already is done on the same frame.
2016
2017 2012-03-27 Glenn Morris <rgm@gnu.org>
2018
2019 * startup.el (mail-host-address): Doc fix.
2020
2021 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2022
2023 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2024 than 197 variables.
2025
2026 2012-03-26 Ami Fischman <ami@fischman.org>
2027
2028 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2029
2030 2012-03-26 Glenn Morris <rgm@gnu.org>
2031
2032 * files.el (save-buffers-kill-emacs): Doc fix.
2033
2034 * startup.el (normal-top-level, command-line, command-line-1):
2035 Give them doc strings.
2036
2037 2012-03-25 Eli Zaretskii <eliz@gnu.org>
2038
2039 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
2040 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
2041
2042 2012-03-25 Chong Yidong <cyd@gnu.org>
2043
2044 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2045 theme if it was previously enabled before (Bug#11031).
2046
2047 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2048 spec with custom-face-get-current-spec if its :shown-value is not
2049 determined yet (Bug#9337).
2050 (customize-create-theme, custom-theme-revert): Doc fixes.
2051
2052 * button.el (button-at): Minor addition to docstring.
2053
2054 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
2055
2056 * vc/vc.el (vc-merge): Fix a prompt.
2057
2058 2012-03-24 Chong Yidong <cyd@gnu.org>
2059
2060 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2061 point (Bug#9623).
2062
2063 * button.el (button-at): Minor addition to docstring.
2064
2065 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2066
2067 * newcomment.el (comment-choose-indent): No space after BOL.
2068
2069 2012-03-22 Sam Steingold <sds@gnu.org>
2070
2071 * window.el (switch-to-prev-buffer): Revert last patch because the
2072 bug turned out to be an advertised feature (Elisp manual 28.14).
2073
2074 2012-03-22 Glenn Morris <rgm@gnu.org>
2075
2076 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2077 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2078
2079 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2080
2081 * net/network-stream.el (network-stream-open-starttls): Make error
2082 message under Windows be less misleading.
2083
2084 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2085
2086 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2087 understands (bug#9942).
2088
2089 2012-03-22 Chong Yidong <cyd@gnu.org>
2090
2091 * simple.el (end-of-visible-line): Handle return value of
2092 next-single-property-change properly (Bug#9371).
2093
2094 2012-03-22 Kenichi Handa <handa@m17n.org>
2095
2096 * international/quail.el (quail-insert-kbd-layout): Fix previous
2097 change. To avoid unwanted bidi reordering, use
2098 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2099
2100 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2101
2102 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2103 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2104 (ruby-beginning-of-indent): Be more careful with the difference
2105 between word-boundary and symbol boundary.
2106 (ruby-mode-syntax-table): Make : a symbol constituent.
2107
2108 2012-03-21 Andreas Politz <politza@fh-trier.de>
2109
2110 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2111
2112 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2113
2114 * progmodes/etags.el (tags-completion-at-point-function):
2115 Improve last fix.
2116
2117 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2118
2119 2012-03-21 Sam Steingold <sds@gnu.org>
2120
2121 * progmodes/etags.el (tags-completion-at-point-function):
2122 Avoid the error when point is inside the pattern.
2123
2124 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2125
2126 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2127 line (Bug#10855).
2128
2129 2012-03-21 Drew Adams <drew.adams@oracle.com>
2130
2131 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2132
2133 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2134
2135 * ido.el (ido-set-current-directory, ido-read-internal)
2136 (ido-choose-completion-string, ido-completion-help): Handle nil
2137 value of ido-completion-buffer (Bug#11008).
2138
2139 2012-03-21 Sam Steingold <sds@gnu.org>
2140
2141 * window.el (switch-to-prev-buffer): Do not switch to a visible
2142 window previous buffer, just like with the frame previous buffers.
2143
2144 2012-03-21 Chong Yidong <cyd@gnu.org>
2145
2146 * faces.el (make-face, make-empty-face, copy-face):
2147 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2148 Doc fixes.
2149
2150 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2151
2152 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2153 (widget-complete): Remove broken use of it.
2154
2155 2012-03-20 Chong Yidong <cyd@gnu.org>
2156
2157 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2158 Use string-width and truncate-string-width to handle arbitrary
2159 characters.
2160
2161 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2162
2163 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2164 to draw rectangles, not squares. (Regression introduced by revno
2165 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2166
2167 2012-03-18 Chong Yidong <cyd@gnu.org>
2168
2169 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2170 it is not yet defined (for temacs).
2171
2172 2012-03-18 Leo Liu <sdl.web@gmail.com>
2173
2174 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
2175
2176 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2177
2178 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2179 (ispell-choices-win-default-height, ispell-silently-savep)
2180 (ispell-dictionary-alist, ispell-encoding8-command)
2181 (ispell-check-version, ispell-aspell-find-dictionary)
2182 (ispell-valid-dictionary-list, ispell-words-keyword)
2183 (ispell-get-word, ispell-internal-change-dictionary)
2184 (ispell-region, ispell-skip-region-list)
2185 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2186 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2187 (ispell-message-text-end, ispell-message)
2188 (ispell-buffer-local-parsing): Doc fix.
2189
2190 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
2191
2192 * htmlfontify.el: Add support for code block fontification for ODT
2193 export (Bug #9914).
2194 (hfy-optimisations): Define new option
2195 `body-text-only'
2196 (hfy-fontify-buffer): Honor above setting.
2197 (hfy-begin-span, hfy-end-span): New routines factored out form
2198 `hfy-fontify-buffer'.
2199 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2200 that permit insertion of custom tags.
2201 (hfy-fontify-buffer): Use above handlers.
2202 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2203 (hfy-face-to-css): Re-defined to be a variable.
2204 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
2205 over multiple runs. This is made possible by having the caller let
2206 bind a special variable `hfy-user-sheet-assoc'.
2207 (htmlfontify-string): New defun.
2208 (hfy-compile-face-map): Make sure that the last char in the
2209 buffer is correctly fontified.
2210 (hfy-face-resolve-face): Whitespace only change.
2211
2212 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2213
2214 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2215 message more clear.
2216
2217 2012-03-16 Leo Liu <sdl.web@gmail.com>
2218
2219 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2220
2221 2012-03-16 Alan Mackenzie <acm@muc.de>
2222
2223 Further optimise the handling of large macros.
2224
2225 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2226 limit to a call of `c-literal-limits'.
2227 (c-determine-+ve-limit): New function.
2228 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2229 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2230 In CASE 5B, restrict a search limit to 500.
2231 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2232
2233 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2234 Restrict macro bounds to +-500 from after-change's BEG END.
2235
2236 2012-03-16 Leo Liu <sdl.web@gmail.com>
2237
2238 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2239
2240 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2241
2242 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
2243 `special-mode' setting of `buffer-read-only'. (Bug#11010)
2244
2245 2012-03-16 Glenn Morris <rgm@gnu.org>
2246
2247 * view.el (view-buffer, view-buffer-other-window)
2248 (view-buffer-other-frame): Doc fixes re special mode-class.
2249
2250 * subr.el (eval-after-load): If named feature is provided not from
2251 a file, run after-load forms. (Bug#10946)
2252
2253 * calendar/calendar.el (calendar-insert-at-column):
2254 Handle non-unit-width characters a bit better. (Bug#10978)
2255
2256 2012-03-15 Chong Yidong <cyd@gnu.org>
2257
2258 * emacs-lisp/ring.el (ring-extend): New function.
2259 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2260
2261 * comint.el (comint-read-input-ring)
2262 (comint-add-to-input-history): Grow comint-input-ring lazily.
2263
2264 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2265
2266 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2267 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2268
2269 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2270 (imenu-add-to-menubar): Don't add a redundant index.
2271 (imenu-update-menubar): Handle a dynamically composed keymap.
2272
2273 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2274
2275 * mail/sendmail.el (mail-encode-header):
2276 Bind rfc2047-encode-encoded-words to nil.
2277
2278 2012-03-13 Glenn Morris <rgm@gnu.org>
2279
2280 * calendar/calendar.el (calendar-string-spread):
2281 Handle non-unit-width characters a bit better. (Bug#10978)
2282
2283 2012-03-13 Leo Liu <sdl.web@gmail.com>
2284
2285 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2286 directory and file as argument (Bug#10822).
2287
2288 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2289
2290 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2291 For dynamically generated code, follow $PC.
2292 (gdb-disassembly-handler-custom): Handle no function name case.
2293
2294 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2295
2296 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2297 * emulation/ws-mode.el (ws-query-replace):
2298 * sort.el (sort-regexp-fields):
2299 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2300
2301 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2302
2303 * dabbrev.el: Fix cycle completion order (bug#10963).
2304 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2305 (dabbrev-completion): Don't use an obarray; provide
2306 a cycle-sort-function.
2307
2308 2012-03-12 Leo Liu <sdl.web@gmail.com>
2309
2310 * simple.el (kill-new): Use equal-including-properties for comparison.
2311 (kill-do-not-save-duplicates): Doc fix.
2312
2313 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2314
2315 * dabbrev.el: Fix cycle completion (bug#10963).
2316 Use lexical binding and wrap to 80 columns.
2317 (dabbrev-completion): Delay computing the list of completions.
2318
2319 2012-03-12 Kenichi Handa <handa@m17n.org>
2320
2321 * international/quail.el (quail-insert-kbd-layout): Surround each
2322 row by LRO and PDF instead of inserting many LRMs. Pad the left
2323 and right of each non-spacing marks. Insert invisible space
2324 between lower and upper characters to prevent composition.
2325
2326 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2327
2328 * minibuffer.el (minibuffer-complete): Don't get confused when the
2329 function is run twice via different commands (bug#10958).
2330 (complete-with-action): Fix docstring.
2331
2332 2012-03-12 Chong Yidong <cyd@gnu.org>
2333
2334 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2335 (nxml-completion-at-point-function): New function.
2336 (nxml-mode): Use it.
2337 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2338
2339 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2340 Load generated autoloads file before byte compiling (Bug#10970).
2341 (package--make-autoloads-and-compile): New helper fun.
2342
2343 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2344
2345 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2346
2347 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
2348
2349 * autorevert.el (auto-revert-handler): Ensure, that
2350 file-readable-p is applied only for local files or in
2351 auto-revert-tail-mode.
2352
2353 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2354
2355 * server.el (server-eval-at): Handle non-tcp connections.
2356 Decode result string.
2357
2358 * server.el (server-msg-size): New constant.
2359 (server-reply-print): New function.
2360 (server-eval-and-print): Use it.
2361 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2362 Handle -print-nonl.
2363
2364 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2365
2366 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2367 (Bug#10987).
2368
2369 2012-03-11 Chong Yidong <cyd@gnu.org>
2370
2371 * simple.el (goto-line): Doc fix (Bug#9938).
2372
2373 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2374
2375 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2376 when finished (Bug#10963).
2377
2378 2012-03-11 Martin Rudalics <rudalics@gmx.at>
2379
2380 * window.el (split-window-below): Fix bug in case where
2381 split-window-keep-point is nil (Bug#10971).
2382
2383 2012-03-11 Juri Linkov <juri@jurta.org>
2384
2385 * replace.el (replace-highlight): Set isearch-word to nil
2386 unconditionally. (Bug#10887)
2387
2388 2012-03-10 Eli Zaretskii <eliz@gnu.org>
2389
2390 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2391 mairix-replace-illegal-chars; all callers changed. Don't remove
2392 ^, ~, and = characters: they are meaningful in mairix search specs.
2393 (mairix-widget-create-query): Add usage information about mairix
2394 search forms: negating words, searching for substrings, etc.
2395
2396 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2397
2398 * international/fontset.el (font-encoding-alist): Add an entry for
2399 ksx1001 (Bug#5667).
2400
2401 2012-03-10 Richard Stallman <rms@gnu.org>
2402
2403 * mail/sendmail.el (mail-encode-header):
2404 Set rfc2047-encode-encoded-words.
2405
2406 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2407
2408 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2409 view buffer means not swapped.
2410 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2411 (rmail-write-region-annotate): Error if real text has disappeared.
2412
2413 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2414
2415 2012-03-10 Chong Yidong <cyd@gnu.org>
2416
2417 * emulation/cua-rect.el (cua--init-rectangles):
2418 * emulation/cua-base.el (cua--init-keymaps):
2419 Add delete-forward-char to remappings (Bug#9666).
2420
2421 2012-03-10 Martin Rudalics <rudalics@gmx.at>
2422
2423 * speedbar.el (speedbar-unhighlight-one-tag-line):
2424 Avoid unhighlighting due to frame switching (Bug#10275).
2425
2426 2012-03-10 Chong Yidong <cyd@gnu.org>
2427
2428 * minibuffer.el (completion-in-region, completion-help-at-point):
2429 Give the completion field overlay a high priority (Bug#6830).
2430
2431 * dired.el (dired-goto-file): Recognize absolute file name
2432 listings (Bug#7126).
2433 (dired-goto-file-1): New helper function.
2434 (dired-toggle-read-only): Inhibit warnings.
2435
2436 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
2437
2438 * net/dbus.el (dbus-property-handler): Return empty array if
2439 there are no properties.
2440
2441 2012-03-09 Leo Liu <sdl.web@gmail.com>
2442
2443 * savehist.el (savehist-printable): Stricter check for string
2444 value (Bug#10937).
2445
2446 2012-03-09 Eli Zaretskii <eliz@gnu.org>
2447
2448 * mail/smtpmail.el (smtpmail-send-it):
2449 Bind coding-system-for-write to *-unix, so that FCC files are kept in
2450 valid mbox format.
2451
2452 2012-03-09 Glenn Morris <rgm@gnu.org>
2453
2454 * files.el (dir-locals-find-file):
2455 Don't check result is regular, readable.
2456 (dir-locals-read-from-file): Demote errors.
2457
2458 2012-03-08 Eli Zaretskii <eliz@gnu.org>
2459
2460 * international/quail.el (quail-insert-kbd-layout):
2461 Insert invisible LRM characters before each character in a keyboard
2462 layout cell, to prevent their reordering by bidi display engine.
2463 For details, see the discussion in
2464 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2465
2466 2012-03-08 Alan Mackenzie <acm@muc.de>
2467
2468 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2469 the starting position; make it extend the marked region when
2470 invoked repeatedly - all under appropriate circumstances.
2471 Fixes bugs #5525, #10906.
2472
2473 2012-03-08 Glenn Morris <rgm@gnu.org>
2474
2475 * files.el (locate-dominating-file, dir-locals-find-file):
2476 Undo 2012-03-06 change.
2477
2478 2012-03-07 Eli Zaretskii <eliz@gnu.org>
2479
2480 * international/quail.el (quail-help):
2481 Force bidi-paragraph-direction be left-to-right. See discussion in
2482 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2483 for the reason.
2484
2485 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
2486
2487 Avoid superfluous registering of signals. (Bug#10807)
2488
2489 * notifications.el (notifications-on-action-object)
2490 (notifications-on-close-object): New defvars.
2491 (notifications-on-action-signal, notifications-on-closed-signal):
2492 Unregister the signal if not needed any longer.
2493 (notifications-notify): Register `notifications-action-signal' or
2494 `notifications-closed-signal', if :on-action or :on-close has been
2495 passed as argument.
2496
2497 2012-03-07 Chong Yidong <cyd@gnu.org>
2498
2499 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2500 non-X platforms.
2501
2502 2012-03-06 Glenn Morris <rgm@gnu.org>
2503
2504 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2505 (x-disown-selection-internal, x-get-selection-internal):
2506 Doc fix (add arglist signatures). (Bug#10783)
2507
2508 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2509
2510 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2511 Handle breakpoints with no "type".
2512
2513 2012-03-06 Glenn Morris <rgm@gnu.org>
2514
2515 * files.el (locate-dominating-file): Add optional predicate argument.
2516 (dir-locals-find-file): Make use of above change.
2517
2518 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2519
2520 * info.el (Info-insert-dir): Also try "dir.gz".
2521
2522 2012-03-06 Glenn Morris <rgm@gnu.org>
2523
2524 * files.el (dir-locals-find-file):
2525 Ignore non-readable or non-regular files. (Bug#10928)
2526
2527 * files.el (locate-dominating-file): Doc fix.
2528
2529 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2530
2531 * calendar/calendar.el (calendar-set-mode-line):
2532 `getenv' returns a string. (Bug#10951)
2533
2534 2012-03-05 Leo Liu <sdl.web@gmail.com>
2535
2536 * simple.el (backward-delete-char-untabify): Constrain point to
2537 field (Bug#10939).
2538
2539 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2540
2541 2012-03-05 Chong Yidong <cyd@gnu.org>
2542
2543 * simple.el (count-words): If called from Lisp, return the word
2544 count, for symmetry with `count-lines'. Arglist changed.
2545 (count-words--message): Args changed. Consolidate counting code
2546 from count-words and count-words-region.
2547 (count-words-region): Caller changed.
2548 (count-lines-region): Make it an obsolete alias.
2549
2550 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2551
2552 * saveplace.el (save-place-to-alist)
2553 (save-place-ignore-files-regexp): Allow value nil to disable this
2554 feature.
2555
2556 2012-03-04 Chong Yidong <cyd@gnu.org>
2557
2558 * faces.el (face-spec-reset-face): For the default face, reset the
2559 attributes to default values (Bug#10748).
2560
2561 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2562
2563 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2564 previous patch: Check `message-send-mail-function', and not the
2565 default function (bug#10897).
2566
2567 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
2568
2569 * notifications.el (notifications-on-action-signal)
2570 (notifications-on-closed-signal): Check for unique service name of
2571 incoming event. Fix error in removing entry.
2572 (top): Register for signals with wildcard service name.
2573 (notifications-notify): Use daemon unique service name for map entries.
2574
2575 2012-03-04 Chong Yidong <cyd@gnu.org>
2576
2577 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
2578
2579 2012-03-04 Glenn Morris <rgm@gnu.org>
2580
2581 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2582 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2583 (expand-abbrev, define-abbrev-table): Doc fixes.
2584
2585 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2586
2587 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2588 `message-default-send-mail-function' and not `send-mail-function'
2589 when doing the prompting for `sendmail-query-once' before sending
2590 in Message buffers (bug#10897).
2591
2592 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2593 This is inconsistent with all the other stream functions, which leave
2594 the setting up to the higher levels (if so wanted) (bug#10931).
2595
2596 2012-03-02 Alan Mackenzie <acm@muc.de>
2597
2598 Depessimize the handling of very large macros.
2599
2600 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2601 (c-macro-cache-syntactic): New variables to implement a one
2602 element macro cache.
2603 (c-invalidate-macro-cache): New function.
2604 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2605 Adapt to use the new cache.
2606 (c-state-safe-place): Use better the cache of safe positions.
2607 (c-state-semi-nonlit-pos-cache)
2608 (c-state-semi-nonlit-pos-cache-limit):
2609 New variables for...
2610 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2611 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
2612 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2613 Use c-state-semi-safe-place.
2614
2615 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2616 Add c-invalidate-macro-cache to the C, C++, Obj entries.
2617
2618 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
2619
2620 * jka-compr.el (jka-compr-call-process):
2621 Apply `file-accessible-directory-p' only when the default directory is
2622 not remote.
2623
2624 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
2625
2626 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2627 access of FILE2, if FILE1 does not exist.
2628
2629 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2630 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2631
2632 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2633 Add "PAGER=" to `process-environment'.
2634
2635 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2636
2637 * progmodes/sql.el: Bug fix
2638 (sql-get-login-ext): Save login values in globals.
2639 (sql-get-login): Use new version of `sql-get-login-ext'.
2640 (sql-interactive-mode): Set global `sql-connection' to nil.
2641 (sql-connect): Set global values for connection.
2642 (sql-product-interactive): Save global values as buffer local.
2643
2644 2012-02-29 Leo Liu <sdl.web@gmail.com>
2645
2646 * abbrev.el (define-abbrevs): Reset sys to nil.
2647
2648 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2649
2650 * files.el (file-equal-p): Rename from `files-equal-p'.
2651 Return nil when one or both files don't exist.
2652 (file-subdir-of-p): Now only top directory must exists,
2653 return nil if it doesn't.
2654 (copy-directory): No need to test with `file-subdir-of-p' after
2655 creating dir.
2656 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2657 to `file-equal-p'.
2658
2659 2012-02-28 Glenn Morris <rgm@gnu.org>
2660
2661 * shell.el (shell-mode):
2662 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2663 * play/landmark.el (landmark-font-lock-face-O):
2664 * play/handwrite.el (handwrite):
2665 * play/gomoku.el (gomoku-O):
2666 * net/browse-url.el (browse-url-browser-display):
2667 * international/mule.el (define-charset):
2668 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2669 * filesets.el (filesets-find-file-delay):
2670 * eshell/em-xtra.el (eshell-xtra):
2671 * eshell/em-unix.el (eshell-grep):
2672 * emulation/viper.el (viper-mode):
2673 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2674 * emacs-lisp/easymenu.el (easy-menu-define):
2675 * calendar/timeclock.el (timeclock-use-display-time):
2676 * bs.el (bs-mode):
2677 * bookmark.el (bookmark-save-flag):
2678 Doc fix (standardize possessive apostrophe usage).
2679
2680 2012-02-27 Chong Yidong <cyd@gnu.org>
2681
2682 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2683 Fix key-binding lookup for ESC key (Bug#9146).
2684
2685 * font-lock.el (font-lock-specified-p): Rename from
2686 font-lock-spec-present. Callers changed.
2687
2688 2012-02-27 Daniel Hackney <dan@haxney.org>
2689
2690 * emacs-lisp/package.el (package-compute-transaction):
2691 Handle holding a package version to t in package-load-list.
2692
2693 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
2694
2695 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2696 (tramp-get-inode, tramp-get-device): Use cached values.
2697
2698 2012-02-26 Alan Mackenzie <acm@muc.de>
2699
2700 Check there is a font-lock specification before doing initial
2701 fontification.
2702
2703 * font-core.el (font-lock-mode): Move the conditional from
2704 :after-hook to font-lock-initial-fontify.
2705 (font-lock-default-function): Move the check for a specification
2706 to font-lock-spec-present.
2707
2708 * font-lock.el (font-lock-initial-fontify): Call ...
2709 (font-lock-spec-present): New function.
2710
2711 2012-02-26 Jim Blandy <jimb@red-bean.com>
2712
2713 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2714 (gdb-send): Apply it to the operand of the '-interpreter-exec
2715 console' command, so that we can pass arguments with (say) quotes
2716 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2717
2718 2012-02-26 Chong Yidong <cyd@gnu.org>
2719
2720 * help-fns.el (describe-function-1): Clarify description of
2721 remapping (Bug#10844).
2722
2723 * files.el (files-equal-p): Doc fix.
2724 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2725 and quit the loop once a mismatch is found.
2726
2727 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
2728
2729 * bs.el (bs--show-with-configuration): Don't throw an error
2730 if the window cannot be split; otherwise, subsequent calls to
2731 bs-show fail, restoring a stale window config. (Bug#10882)
2732
2733 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2734
2735 * term/ns-win.el (global-map): Bind ns-drag-file to
2736 ns-find-file (Bug#5855, Bug#10050).
2737
2738 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2739
2740 * calendar/parse-time.el (parse-time-string): Allow extractor to
2741 return nil.
2742
2743 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
2744
2745 * net/tramp.el (tramp-file-name-for-operation):
2746 Add `files-equal-p' and `file-subdir-of-p'.
2747
2748 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2749 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2750 Add COPY-CONTENTS argument.
2751
2752 2012-02-25 Chong Yidong <cyd@gnu.org>
2753
2754 Add custom groups for VC backends, for consistency with vc-bzr.
2755
2756 * vc/vc-arch.el (vc-arch):
2757 * vc/vc-cvs.el (vc-cvs):
2758 * vc/vc-git.el (vc-git):
2759 * vc/vc-hg.el (vc-hg):
2760 * vc/vc-mtn.el (vc-mtn):
2761 * vc/vc-rcs.el (vc-rcs):
2762 * vc/vc-sccs.el (vc-sccs):
2763 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2764 All relevant defcustoms reassigned.
2765
2766 2012-02-25 Chong Yidong <cyd@gnu.org>
2767
2768 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2769
2770 * term/x-win.el (x-initialize-window-system): Reduce default for
2771 x-selection-timeout to 5 seconds (Bug#8869).
2772
2773 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2774
2775 * files.el (files-equal-p, file-subdir-of-p): New functions.
2776 (copy-directory): Error when trying to copy a directory on itself.
2777 Add missing copy-contents arg to tramp handler.
2778 * dired-aux.el (dired-copy-file-recursive): Same.
2779 (dired-create-files): Modify destination when source is equal to
2780 dest when copying files.
2781 Return also when dest is a subdir of source. (Bug#10489)
2782
2783 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
2784
2785 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2786 (Bug#10874)
2787
2788 2012-02-23 Alan Mackenzie <acm@muc.de>
2789
2790 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2791 parameter "after-hook:" to allow the expansion to run code after
2792 the execution of the mode hooks.
2793
2794 * font-lock.el (font-lock-initial-fontify): New function extracted
2795 from font-lock-mode-internal.
2796
2797 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2798 :after-hook.
2799
2800 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2801
2802 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2803 (completion--cache-all-sorted-completions): New function.
2804 (completion-all-sorted-completions): Use it.
2805 (completion--do-completion, minibuffer-force-complete):
2806 Use it to re-instate the flush hook.
2807
2808 * icomplete.el (icomplete-completions): Replace last fix with a better
2809 one (bug#10850).
2810
2811 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2812
2813 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2814 when it might call us back infinitely (bug#10797).
2815
2816 2012-02-23 Glenn Morris <rgm@gnu.org>
2817
2818 * minibuffer.el (completion-category-overrides): Doc fix.
2819
2820 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2821
2822 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2823 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2824
2825 2012-02-23 Glenn Morris <rgm@gnu.org>
2826
2827 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2828 (authors-obsolete-files-regexps, authors-ignored-files)
2829 (authors-ambiguous-files, authors-renamed-files-alist):
2830 Add more entries.
2831
2832 2012-02-23 Juri Linkov <juri@jurta.org>
2833
2834 * isearch.el (isearch-occur): Sync interactive spec with occur's
2835 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2836
2837 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2838
2839 2012-02-22 Juri Linkov <juri@jurta.org>
2840
2841 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2842 (ucs-insert): Doc fix. Check for hex digits in the string.
2843 Don't display `nil' in the error message. (Bug#10857)
2844
2845 2012-02-22 Alan Mackenzie <acm@muc.de>
2846
2847 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2848
2849 2012-02-22 Glenn Morris <rgm@gnu.org>
2850
2851 * ffap.el (ffap-c-path):
2852 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2853
2854 2012-02-22 Chong Yidong <cyd@gnu.org>
2855
2856 * custom.el (load-theme): Doc fix.
2857
2858 2012-02-22 Glenn Morris <rgm@gnu.org>
2859
2860 * dired-x.el (dired-guess-shell-alist-default):
2861 Remove escape sequences from nroff output. (Bug#172)
2862
2863 2012-02-21 Glenn Morris <rgm@gnu.org>
2864
2865 * vc/emerge.el (emerge-defvar-local):
2866 Set `permanent-local' property rather than unused `preserved'.
2867
2868 * textmodes/picture.el (picture-delete-char): New alias.
2869 (picture-mode-map): Use it. (Bug#10860)
2870 (picture-mode): Doc fix.
2871
2872 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2873
2874 * newcomment.el (uncomment-region-default): Remove unused binding.
2875
2876 2012-02-21 Glenn Morris <rgm@gnu.org>
2877
2878 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2879 (picture-self-insert, picture-tab-chars): Doc fix.
2880 (picture-mode-map): Fix C-a, C-e.
2881
2882 2012-02-20 Glenn Morris <rgm@gnu.org>
2883
2884 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2885
2886 2012-02-20 Leo Liu <sdl.web@gmail.com>
2887
2888 * icomplete.el (icomplete-completions): Check FROM arg before
2889 passing to substring (Bug#10850).
2890
2891 2012-02-19 Chong Yidong <cyd@gnu.org>
2892
2893 * comint.el: Require ansi-color.
2894 (comint-output-filter-functions): Add ansi-color-process-output.
2895
2896 * ansi-color.el: Don't set comint-output-filter-functions; it is
2897 now in the initial value defined in comint.el.
2898 (ansi-color-apply-face-function): New variable.
2899 (ansi-color-apply-on-region): Use it.
2900 (ansi-color-apply-overlay-face): New function.
2901
2902 * shell.el (shell): No need to require ansi-color.
2903 (shell-mode): Use ansi-color-apply-face-function to highlight
2904 color escapes using font-lock-face property (Bug#10835).
2905
2906 2012-02-19 Chong Yidong <cyd@gnu.org>
2907
2908 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2909 mode-line formats (Bug#10839).
2910
2911 2012-02-18 Glenn Morris <rgm@gnu.org>
2912
2913 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2914
2915 * mail/undigest.el (unforward-rmail-message): Doc fix.
2916
2917 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2918
2919 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2920
2921 * international/characters.el (script-list): Sync with the latest
2922 Unicode Character Database.
2923
2924 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2925
2926 * international/titdic-cnv.el: Remove duplicate coding tag.
2927 * language/cham.el: Likewise.
2928 * language/tai-viet.el: Likewise.
2929
2930 2012-02-18 Glenn Morris <rgm@gnu.org>
2931
2932 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2933 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2934 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2935 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2936 * calendar/holidays.el (holiday-bahai-holidays)
2937 (calendar-holidays, list-holidays):
2938 Use utf-8 Bahá'í in doc-strings, menus, etc.
2939
2940 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2941
2942 * saveplace.el (save-place-ignore-files-regexp): New variable
2943 allowing for excluding files from saving their location of point.
2944 The default value matches the temporary commit message editing
2945 files from Git, SVN, Bazaar, and Mercurial.
2946 (save-place-to-alist): Use it.
2947
2948 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2949 Stefan Monnier <monnier@iro.umontreal.ca>
2950
2951 * newcomment.el (uncomment-region-default): Don't leave extra space
2952 when an arg is provided (bug#8150).
2953
2954 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2955
2956 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2957
2958 2012-02-17 Glenn Morris <rgm@gnu.org>
2959
2960 * net/socks.el: Require network-stream. (Bug#10599)
2961
2962 2012-02-17 Kenichi Handa <handa@m17n.org>
2963
2964 * international/charprop.el:
2965 * international/uni-name.el:
2966 * international/uni-old-name.el:
2967 * international/uni-comment.el: Regenerate.
2968
2969 2012-02-16 Glenn Morris <rgm@gnu.org>
2970
2971 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2972 Interactively in calendar buffer, give an error if not on a date.
2973
2974 2012-02-15 Glenn Morris <rgm@gnu.org>
2975
2976 * shell.el (shell-delimiter-argument-list):
2977 Revert 2011-02-17 change. (Bug#8027)
2978
2979 2012-02-15 Chong Yidong <cyd@gnu.org>
2980
2981 * minibuffer.el (completion-at-point-functions): Doc fix.
2982
2983 * custom.el (defcustom): Doc fix; note use of defvar.
2984
2985 2012-02-15 Glenn Morris <rgm@gnu.org>
2986
2987 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2988 Doc fixes.
2989
2990 2012-02-14 Glenn Morris <rgm@gnu.org>
2991
2992 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2993
2994 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2995
2996 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2997 way the ports list is computed.
2998 (smtpmail-query-smtp-server): Prompt the user for a port number if
2999 we can't connect to any of the standard ports (bug#10810).
3000
3001 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3002
3003 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3004
3005 2012-02-13 Glenn Morris <rgm@gnu.org>
3006
3007 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3008
3009 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3010
3011 * net/gnutls.el (gnutls-trustfiles): New variable.
3012 (gnutls-negotiate): Use it.
3013
3014 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3015
3016 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3017 does its stuff if Gnus is running.
3018
3019 2012-02-13 Alan Mackenzie <acm@muc.de>
3020
3021 Fix a loop in c-set-fl-decl-start.
3022
3023 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
3024 c-backward-syntactic-ws actually moves backwards.
3025
3026 2012-02-13 Leo Liu <sdl.web@gmail.com>
3027
3028 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3029 beginning so that all \C-o chars are removed.
3030
3031 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3032
3033 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
3034
3035 2012-02-12 Alan Mackenzie <acm@muc.de>
3036
3037 Fix infinite loop with long macros.
3038 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
3039
3040 2012-02-12 Chong Yidong <cyd@gnu.org>
3041
3042 * window.el (display-buffer): Doc fix (Bug#10785).
3043
3044 2012-02-12 Glenn Morris <rgm@gnu.org>
3045
3046 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3047 (x-disown-selection-internal, x-get-selection-internal):
3048 Sync docs with the xselect.c versions.
3049
3050 * allout-widgets.el: Add missing license notice.
3051
3052 2012-02-11 Glenn Morris <rgm@gnu.org>
3053
3054 * select.el (x-get-selection-internal, x-own-selection-internal)
3055 (x-disown-selection-internal):
3056 * x-dnd.el (x-get-selection-internal): Update declarations.
3057
3058 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3059
3060 * window.el (window-sides-slots):
3061 * tool-bar.el (tool-bar-position):
3062 * term/xterm.el (xterm-extra-capabilities):
3063 * ses.el (ses-self-reference-early-detection):
3064 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3065 (verilog-auto-wire-type)
3066 (verilog-auto-delete-trailing-whitespace)
3067 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3068 (verilog-auto-tieoff-declaration):
3069 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3070 (sql-oracle-statement-starters, sql-oracle-scan-on):
3071 * progmodes/prolog.el (prolog-align-comments-flag)
3072 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3073 (prolog-left-indent-regexp, prolog-paren-indent-p)
3074 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3075 (prolog-types, prolog-mode-specificators)
3076 (prolog-determinism-specificators, prolog-directives)
3077 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3078 (prolog-electric-dot-flag)
3079 (prolog-electric-dot-full-predicate-template)
3080 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3081 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3082 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3083 (prolog-program-switches, prolog-prompt-regexp)
3084 (prolog-debug-on-string, prolog-debug-off-string)
3085 (prolog-trace-on-string, prolog-trace-off-string)
3086 (prolog-zip-on-string, prolog-zip-off-string)
3087 (prolog-use-standard-consult-compile-method-flag)
3088 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3089 (prolog-imenu-max-lines, prolog-info-predicate-index)
3090 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3091 (prolog-char-quote-workaround):
3092 * progmodes/cc-vars.el (c-defun-tactic):
3093 * net/tramp.el (tramp-encoding-command-interactive)
3094 (tramp-local-end-of-line):
3095 * net/soap-client.el (soap-client):
3096 * net/netrc.el (netrc-file):
3097 * net/gnutls.el (gnutls):
3098 * minibuffer.el (completion-category-overrides)
3099 (completion-cycle-threshold)
3100 (completion-pcm-complete-word-inserts-delimiters):
3101 * man.el (Man-name-local-regexp):
3102 * mail/feedmail.el (feedmail-display-full-frame):
3103 * international/characters.el (glyphless-char-display-control):
3104 * eshell/em-ls.el (eshell-ls-date-format):
3105 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3106 (lisp-lambda-list-keyword-parameter-indentation)
3107 (lisp-lambda-list-keyword-parameter-alignment):
3108 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3109 * dired-x.el (dired-omit-verbose):
3110 * cus-theme.el (custom-theme-allow-multiple-selections):
3111 * calc/calc.el (calc-highlight-selections-with-faces)
3112 (calc-lu-field-reference, calc-lu-power-reference)
3113 (calc-note-threshold):
3114 * battery.el (battery-mode-line-limit):
3115 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3116 (archive-7z-update):
3117 * allout.el (allout-prefixed-keybindings)
3118 (allout-unprefixed-keybindings)
3119 (allout-inhibit-auto-fill-on-headline)
3120 (allout-flattened-numbering-abbreviation):
3121 * allout-widgets.el (allout-widgets-auto-activation)
3122 (allout-widgets-icons-dark-subdir)
3123 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3124 (allout-widgets-theme-dark-background)
3125 (allout-widgets-theme-light-background)
3126 (allout-widgets-item-image-properties-emacs)
3127 (allout-widgets-item-image-properties-xemacs)
3128 (allout-widgets-run-unit-tests-on-load)
3129 (allout-widgets-time-decoration-activity)
3130 (allout-widgets-hook-error-post-time)
3131 (allout-widgets-track-decoration):
3132 Add missing :version tags to new defcustoms and defgroups.
3133
3134 * progmodes/sql.el (sql-ansi-statement-starters)
3135 (sql-oracle-statement-starters): Add custom type.
3136
3137 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3138 (prolog-system-version): Give it a type.
3139
3140 2012-02-11 Eli Zaretskii <eliz@gnu.org>
3141
3142 * term/pc-win.el (x-select-text, x-selection-owner-p)
3143 (x-own-selection-internal, x-disown-selection-internal)
3144 (x-get-selection-internal): Sync doc strings and argument lists
3145 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3146
3147 2012-02-11 Leo Liu <sdl.web@gmail.com>
3148
3149 * progmodes/python.el (python-end-of-statement): Fix infinite
3150 loop. (Bug#10788)
3151
3152 2012-02-10 Glenn Morris <rgm@gnu.org>
3153
3154 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3155 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3156
3157 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3158
3159 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3160 about SMTP before checking the From header.
3161
3162 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
3163 into own function for reuse by emacsbug.el.
3164
3165 2012-02-10 Leo Liu <sdl.web@gmail.com>
3166
3167 * subr.el (condition-case-unless-debug): Rename from
3168 condition-case-no-debug. All callers changed.
3169 (with-demoted-errors): Fix caller.
3170
3171 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3172 * nxml/rng-valid.el (rng-do-some-validation):
3173 * emacs-lisp/package.el (package-refresh-contents)
3174 (package-menu-execute):
3175 * desktop.el (desktop-create-buffer):
3176 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
3177
3178 2012-02-10 Glenn Morris <rgm@gnu.org>
3179
3180 * textmodes/bibtex.el:
3181 Add missing :version tags for new/changed defcustoms.
3182
3183 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3184
3185 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
3186
3187 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3188 (smtpmail-via-smtp): Use it, or fall back on the From address.
3189 (smtpmail-send-it): Ditto.
3190
3191 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3192
3193 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3194 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3195 (byte-compile-tmp-var): New const.
3196 (byte-compile-defvar): Use it to minimize .elc size.
3197 Just use `defvar' rather than simulate it (bug#10761).
3198
3199 2012-02-09 Glenn Morris <rgm@gnu.org>
3200
3201 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3202
3203 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3204 Add :version tags.
3205
3206 * progmodes/compile.el (compilation-error-screen-columns)
3207 (compilation-first-column, compilation-filter-start): Doc fixes.
3208
3209 * vc/log-view.el (log-view-toggle-entry-display):
3210 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3211
3212 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3213 (report-emacs-bug-can-use-xdg-email):
3214 (report-emacs-bug-insert-to-mailer): Doc fixes.
3215 (report-emacs-bug): Message fix.
3216
3217 * net/browse-url.el (browse-url-can-use-xdg-open)
3218 (browse-url-xdg-open): Doc fixes.
3219
3220 * electric.el (electric-indent-mode, electric-pair-mode)
3221 (electric-layout-rules, electric-layout-mode): Doc fixes.
3222 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3223
3224 2012-02-08 Martin Rudalics <rudalics@gmx.at>
3225
3226 * server.el (server-unselect-display): Don't inadvertently kill
3227 the current buffer. (Bug#10729)
3228
3229 2012-02-08 Glenn Morris <rgm@gnu.org>
3230
3231 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3232 (sql-list-table): Doc fixes.
3233
3234 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3235 Comment out (does nothing).
3236
3237 * completion.el (dynamic-completion-mode):
3238 * dirtrack.el (dirtrack-debug-mode):
3239 * electric.el (electric-layout-mode):
3240 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3241 * face-remap.el (text-scale-mode, buffer-face-mode):
3242 * iimage.el (iimage-mode):
3243 * image-mode.el (image-transform-mode):
3244 * minibuffer.el (completion-in-region-mode):
3245 * scroll-lock.el (scroll-lock-mode):
3246 * simple.el (next-error-follow-minor-mode):
3247 * tar-mode.el (tar-subfile-mode):
3248 * tooltip.el (tooltip-mode):
3249 * vcursor.el (vcursor-use-vcursor-map):
3250 * wid-browse.el (widget-minor-mode):
3251 * emulation/tpu-edt.el (tpu-edt-mode):
3252 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3253 * international/iso-ascii.el (iso-ascii-mode):
3254 * language/thai-util.el (thai-word-mode):
3255 * mail/supercite.el (sc-minor-mode):
3256 * net/goto-addr.el (goto-address-mode):
3257 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3258 * progmodes/cwarn.el (cwarn-mode):
3259 * progmodes/flymake.el (flymake-mode):
3260 * progmodes/glasses.el (glasses-mode):
3261 * progmodes/hideshow.el (hs-minor-mode):
3262 * progmodes/pascal.el (pascal-outline-mode):
3263 * textmodes/enriched.el (enriched-mode):
3264 * vc/smerge-mode.el (smerge-mode):
3265 Doc fixes (minor mode argument).
3266
3267 2012-02-07 Eli Zaretskii <eliz@gnu.org>
3268
3269 * ls-lisp.el (ls-lisp-sanitize): New function.
3270 (ls-lisp-insert-directory): Use it to fix or remove any elements
3271 in file-alist with missing attributes. (Bug#4673)
3272
3273 2012-02-07 Alan Mackenzie <acm@muc.de>
3274
3275 Fix spurious recognition of c-in-knr-argdecl.
3276
3277 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3278 putative K&R region.
3279
3280 2012-02-07 Alan Mackenzie <acm@muc.de>
3281
3282 * progmodes/cc-engine.el (c-forward-objc-directive):
3283 Prevent looping in "#pragma mark @implementation".
3284
3285 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
3286
3287 * notifications.el (notifications-on-closed-signal): Make `reason'
3288 optional. (Bug#10744)
3289
3290 2012-02-07 Glenn Morris <rgm@gnu.org>
3291
3292 * emacs-lisp/easy-mmode.el (define-minor-mode):
3293 Doc fixes for the macro and the mode it defines.
3294
3295 * image.el (imagemagick-types-inhibit): Doc fix.
3296
3297 * cus-start.el (imagemagick-render-type): Add it.
3298
3299 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3300
3301 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3302 Set the default at load time, too, so that `font-lock-fontify-buffer'
3303 can be called without setting up the entire mode first. This fixes
3304 a bug in `mm-inline-text' with C MIME parts.
3305
3306 2012-02-06 Chong Yidong <cyd@gnu.org>
3307
3308 * simple.el (list-processes--refresh): Delete exited processes
3309 (Bug#8094).
3310
3311 * comint.el (comint-next-prompt): next-single-char-property-change
3312 and prev-single-char-property-change never return nil (Bug#8657).
3313
3314 * custom.el (defcustom): Doc fix (Bug#9711).
3315
3316 2012-02-05 Chong Yidong <cyd@gnu.org>
3317
3318 * cus-edit.el (custom-variable-reset-backup): Quote the value
3319 before storing it in the customized-value property (Bug#6712).
3320 (custom-display): Add a customization type tag.
3321 (custom-buffer-create-internal): Improve tooltip message.
3322
3323 * wid-edit.el (widget-field-value-get): New optional arg to
3324 suppress trailing whitespace truncation.
3325 (character): Use it (Bug#2689).
3326
3327 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3328
3329 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3330 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3331
3332 2012-02-05 Chong Yidong <cyd@gnu.org>
3333
3334 * cus-edit.el (custom-variable-value-create): For mismatched
3335 types, show the current value (Bug#7600).
3336
3337 * custom.el (defcustom): Doc fix.
3338
3339 2012-02-05 Glenn Morris <rgm@gnu.org>
3340
3341 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3342
3343 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
3344
3345 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3346 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3347 (pp-last-sexp): Use `looking-at-p'.
3348
3349 2012-02-04 Glenn Morris <rgm@gnu.org>
3350
3351 * files.el (revert-buffer):
3352 Doc fix (mention revert-buffer-in-progress-p).
3353
3354 * emacs-lisp/ert-x.el (ert-simulate-command):
3355 Check deferred-action-list (which is obsolete) is bound.
3356
3357 * subr.el (with-wrapper-hook): Doc fixes.
3358
3359 * simple.el (filter-buffer-substring-functions)
3360 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3361
3362 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3363
3364 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3365 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3366
3367 2012-02-04 Leo Liu <sdl.web@gmail.com>
3368
3369 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3370
3371 2012-02-04 Glenn Morris <rgm@gnu.org>
3372
3373 * image.el (image-extension-data): Add obsolete alias.
3374
3375 * isearch.el (isearch-update): Doc fix.
3376
3377 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3378
3379 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3380
3381 2012-02-03 Glenn Morris <rgm@gnu.org>
3382
3383 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3384 (image-animate-timeout): Doc fix.
3385
3386 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3387
3388 2012-02-02 Glenn Morris <rgm@gnu.org>
3389
3390 * server.el (server-auth-dir): Doc fix.
3391 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3392
3393 * subr.el (run-mode-hooks): Doc fix.
3394
3395 2012-02-02 Juri Linkov <juri@jurta.org>
3396
3397 * image-mode.el (image-toggle-display-image): Remove tautological
3398 `major-mode' from the `derived-mode-p' test.
3399
3400 2012-02-02 Kenichi Handa <handa@m17n.org>
3401
3402 * composite.el (compose-region): Cancel previous change.
3403
3404 2012-02-02 Kenichi Handa <handa@m17n.org>
3405
3406 * composite.el (compose-region, compose-string): Signal error for
3407 a null string component (Bug#6988).
3408
3409 2012-02-01 Chong Yidong <cyd@gnu.org>
3410
3411 * view.el (view-buffer-other-window, view-buffer-other-frame):
3412 Handle special modes like view-buffer (Bug#10650).
3413 (view-buffer): Simplify.
3414
3415 * frame.el (set-frame-font): Tweak meaning of third argument.
3416
3417 * dynamic-setting.el (font-setting-change-default-font):
3418 Use set-frame-font (Bug#9982).
3419
3420 2012-02-01 Glenn Morris <rgm@gnu.org>
3421
3422 * progmodes/compile.el (compilation-internal-error-properties):
3423 Respect compilation-first-column in the "*compilation*" buffer.
3424
3425 * emacs-lisp/easy-mmode.el (define-minor-mode):
3426 Relax :variable's test for a named function.
3427
3428 2012-01-31 Alan Mackenzie <acm@muc.de>
3429
3430 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3431 off by one error.
3432
3433 2012-01-31 Chong Yidong <cyd@gnu.org>
3434
3435 * frame.el (set-frame-font): New arg ALL-FRAMES.
3436
3437 * menu-bar.el (menu-set-font): Use set-frame-font.
3438
3439 * faces.el (face-spec-reset-face): Don't apply unspecified
3440 attribute values to the default face.
3441
3442 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
3443
3444 * progmodes/cwarn.el (cwarn): Remove dead link.
3445 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3446 Remove * from defcustom docstrings.
3447 (turn-on-cwarn-mode): Make obsolete.
3448 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3449 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3450
3451 2012-01-31 Glenn Morris <rgm@gnu.org>
3452
3453 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3454 Fix :variable handling of mode a symbol not equal to modefun.
3455 Allow named functions to be used as the cdr of :variable.
3456
3457 2012-01-30 Glenn Morris <rgm@gnu.org>
3458
3459 * emacs-lisp/authors.el (authors-fixed-entries):
3460 Remove reference to deleted file rnewspost.el.
3461
3462 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
3463
3464 * window.el (window-with-parameter): Remove unused variable `windows'.
3465 (window--side-check): Remove unused variable `code'.
3466 (window--resize-siblings): Remove unused variable `first'.
3467 (adjust-window-trailing-edge): Remove unused variable `failed'.
3468 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3469 Use `let', not `let*'.
3470 (balance-windows-2): Remove unused variable `found'.
3471 (window--state-put-2): Remove unused variable `splits'.
3472 (window-state-put): Remove unused variable `selected'.
3473 (same-window-p): Use `string-match-p'.
3474 (display-buffer-assq-regexp): Remove unused variable `value'.
3475 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3476 Mark argument ALIST as ignored.
3477 (pop-to-buffer): Remove unused variable `old-window'.
3478
3479 2012-01-29 Eli Zaretskii <eliz@gnu.org>
3480
3481 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3482 and .lzma compressed files.
3483
3484 2012-01-29 Chong Yidong <cyd@gnu.org>
3485
3486 * frame.el (window-system-default-frame-alist): Doc fix.
3487
3488 * dynamic-setting.el (font-setting-change-default-font): Don't
3489 change the default face if SET-FONT argument is non-nil (Bug#9982).
3490
3491 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3492
3493 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3494
3495 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
3496
3497 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3498 breakpoints in files outside current directory (Bug#6098).
3499
3500 2012-01-29 Chong Yidong <cyd@gnu.org>
3501
3502 * progmodes/python.el: Require ansi-color at top-level.
3503
3504 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3505 Define and use in Emacs Lisp mode (Bug#9360).
3506 (lisp-mode-abbrev-table): Add doc.
3507 (lisp-mode-variables): Don't set local-abbrev-table.
3508 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3509
3510 2012-01-28 Roland Winkler <winkler@gnu.org>
3511
3512 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3513
3514 2012-01-28 Roland Winkler <winkler@gnu.org>
3515
3516 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3517 (bibtex-set-dialect): Use it. Either set global values of
3518 dialect-dependent variables or bind these variables buffer-locally
3519 (Bug#10254).
3520 (bibtex-mode): Call bibtex-set-dialect via
3521 hack-local-variables-hook.
3522 (bibtex-dialect): Update docstring.
3523 Add safe-local-variable predicate.
3524 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3525 bibtex-set-dialect.
3526 (bibtex-mode-map): Define menu for each dialect.
3527 (bibtex-entry): Fix docstring.
3528
3529 2012-01-28 Chong Yidong <cyd@gnu.org>
3530
3531 * eshell/esh-arg.el (eshell-quote-argument): New function.
3532
3533 * eshell/esh-ext.el (eshell-invoke-batch-file):
3534 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3535 first arg to eshell-parse-command (Bug#10523).
3536
3537 2012-01-28 Drew Adams <drew.adams@oracle.com>
3538
3539 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3540 `default-directory' is non-nil.
3541
3542 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3543
3544 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3545 line that displays system-configuration-options. (Bug#9924)
3546
3547 2012-01-28 Drew Adams <drew.adams@oracle.com>
3548
3549 * descr-text.el (describe-char): Show information about POS, in
3550 addition to information about the character at POS. Improve and
3551 update the doc string. Change "code point" to "code point in
3552 charset", to avoid confusion with the character's Unicode code
3553 point shown above that. (Bug#10129)
3554
3555 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3556
3557 * descr-text.el (describe-char): Show the raw character, not only
3558 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3559 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3560 for the reasons.
3561
3562 2012-01-28 Phil Hagelberg <phil@hagelb.org>
3563
3564 * emacs-lisp/package.el (package-install):
3565 Run package-refresh-contents if there is no archive yet (Bug#9798).
3566
3567 2012-01-28 Chong Yidong <cyd@gnu.org>
3568
3569 * emacs-lisp/package.el (package-maybe-load-descriptor):
3570 New function, split from package-maybe-load-descriptor.
3571 (package-maybe-load-descriptor): Use it.
3572 (package-download-transaction): Fully load required packages
3573 inside the loop, so that `require' calls work (Bug#10593).
3574 (package-install): No need to call package-initialize now.
3575
3576 2012-01-28 Chong Yidong <cyd@gnu.org>
3577
3578 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3579
3580 * tooltip.el (tooltip-mode): Doc fix.
3581 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3582
3583 * frame.el (set-cursor-color): Doc fix (Bug#352).
3584
3585 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3586 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3587
3588 * cus-edit.el (custom-buffer-create-internal): Fix search button
3589 action (Bug#10542).
3590 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
3591
3592 2012-01-27 Eduard Wiebe <usenet@pusto.de>
3593
3594 * dired.el (dired-mark-files-regexp):
3595 Include any subdirectory components. (Bug#10445)
3596
3597 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3598
3599 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3600 Handle [host]:port syntax. (Bug#10533)
3601
3602 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
3603
3604 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3605
3606 2012-01-26 Glenn Morris <rgm@gnu.org>
3607
3608 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3609 * term.el (term-raw-escape-map): Use Control-X-prefix.
3610 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3611
3612 2012-01-25 Martin Rudalics <rudalics@gmx.at>
3613
3614 * window.el (window-state-get, window--state-get-1): Don't deal
3615 with fixed-sizeness of windows. Simplify code.
3616
3617 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3618
3619 * window.el (window--state-get-1, window--state-put-2):
3620 Don't save and restore the mark.
3621
3622 2012-01-25 Chong Yidong <cyd@gnu.org>
3623
3624 * custom.el (custom-variable-p): Doc fix.
3625
3626 2012-01-25 Glenn Morris <rgm@gnu.org>
3627
3628 * dired.el (dired-goto-file): Handle some of the more common
3629 characters that `ls -b' escapes. (Bug#10596)
3630
3631 * progmodes/compile.el (compilation-next-error-function):
3632 Respect compilation-first-column in the "*compilation*" buffer.
3633 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3634
3635 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3636
3637 2012-01-24 Glenn Morris <rgm@gnu.org>
3638
3639 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3640
3641 2012-01-24 Julien Danjou <julien@danjou.info>
3642
3643 * color.el (color-rgb-to-hsl): Fix value computing.
3644 (color-hue-to-rgb): New function.
3645 (color-hsl-to-rgb): New function.
3646 (color-clamp, color-saturate-hsl, color-saturate-name)
3647 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3648 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3649
3650 2012-01-24 Glenn Morris <rgm@gnu.org>
3651
3652 * vc/vc-rcs.el (vc-rcs-create-tag):
3653 * vc/vc-sccs.el (vc-sccs-create-tag):
3654 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3655
3656 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3657
3658 * eshell/esh-util.el (eshell-read-hosts-file):
3659 Skip comment lines. (Bug#10549)
3660
3661 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3662
3663 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
3664
3665 * subr.el (display-delayed-warnings): Doc fix.
3666 (collapse-delayed-warnings): New function to collapse identical
3667 adjacent warnings.
3668 (delayed-warnings-hook): Add it.
3669
3670 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
3671
3672 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3673
3674 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3675 properties, when "login-as" is set.
3676
3677 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3678 (tramp-default-user-alist): Don't add "pscp".
3679 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3680 property "login-as", if set. (Bug#10530)
3681
3682 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
3683
3684 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3685 "plink1" and "psftp". (Bug#10530)
3686
3687 2012-01-21 Kenichi Handa <handa@m17n.org>
3688
3689 * international/mule-cmds.el (prefer-coding-system): Show a
3690 warning message if the default value of file-name-coding-system
3691 was not changed.
3692
3693 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3694
3695 * windmove.el (windmove-reference-loc):
3696 Fix windmove-reference-loc miscalculation.
3697
3698 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3699
3700 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3701 default unit.
3702
3703 2012-01-21 Glenn Morris <rgm@gnu.org>
3704
3705 * international/mule.el (auto-coding-alist): Add .tbz.
3706
3707 * files.el (local-enable-local-variables): Doc fix.
3708 (inhibit-local-variables-regexps): Rename from
3709 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3710 Doc fix. Add some extensions from auto-coding-alist.
3711 (inhibit-local-variables-suffixes):
3712 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3713 (inhibit-local-variables-p):
3714 New function, extracted from set-auto-mode-1.
3715 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3716 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3717 (hack-local-variables): Doc fix. Make the mode-only case
3718 respect enable-local-variables and friends.
3719 Respect inhibit-local-variables-regexps for file-locals, but
3720 not for directory-locals.
3721 (set-visited-file-name):
3722 Take account of inhibit-local-variables-regexps.
3723 Whether it applies may change as the file name is changed.
3724 * jka-cmpr-hook.el (jka-compr-install):
3725 * jka-compr.el (jka-compr-uninstall):
3726 Update for inhibit-first-line-modes-suffixes name change.
3727
3728 2012-01-20 Martin Rudalics <rudalics@gmx.at>
3729
3730 * help-macro.el (make-help-screen): Temporarily restore original
3731 binding for minor-mode-map-alist (Bug#10454).
3732
3733 2012-01-19 Julien Danjou <julien@danjou.info>
3734
3735 * color.el (color-name-to-rgb): Use the white color to find the max
3736 color component value and return correctly computed values.
3737 (color-name-to-rgb): Add missing float conversion for max value.
3738
3739 2012-01-19 Martin Rudalics <rudalics@gmx.at>
3740
3741 * window.el (window--state-get-1, window-state-get): Do not use
3742 special state value for window-persistent-parameters.
3743 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
3744 (window--state-put-2): Reset all window parameters to nil before
3745 assigning values of persistent parameters.
3746
3747 2012-01-18 Alan Mackenzie <acm@muc.de>
3748
3749 Eliminate sluggishness and hangs in fontification of "semicolon
3750 deserts".
3751
3752 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3753 Change value 10000 -> 3000.
3754 (c-state-safe-place): Reformulate so it doesn't stack up an
3755 infinite number of wrong entries in c-state-nonlit-pos-cache.
3756 (c-determine-limit-get-base, c-determine-limit): New functions to
3757 determine backward search limits disregarding literals.
3758 (c-find-decl-spots): Amend commenting.
3759 (c-cheap-inside-bracelist-p): New function which detects "={".
3760
3761 * progmodes/cc-fonts.el
3762 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3763 backward search.
3764 (c-font-lock-declarations): Fix an occurrence of point being
3765 undefined. Check additionally for point being in a bracelist or
3766 near a macro invocation without a semicolon so as to avoid a
3767 fruitless time consuming search for a declarator. Give a more
3768 precise search limit for declarators using the new
3769 c-determine-limit.
3770
3771 2012-01-18 Glenn Morris <rgm@gnu.org>
3772
3773 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3774 (set-auto-mode): Doc fixes.
3775
3776 2012-01-17 Glenn Morris <rgm@gnu.org>
3777
3778 * isearch.el (search-nonincremental-instead): Fix doc typo.
3779
3780 * dired.el (dired-insert-directory): Handle newlines in directory name.
3781 (dired-build-subdir-alist): Unescape newlines in directory name.
3782
3783 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
3784
3785 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3786 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3787 (tramp-action-terminal): Use it. (Bug#10530)
3788
3789 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3790
3791 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3792
3793 2012-01-16 Martin Rudalics <rudalics@gmx.at>
3794
3795 * window.el (window-state-ignored-parameters): Remove variable.
3796 (window--state-get-1): Rename argument MARKERS to IGNORE.
3797 Handle persistent window parameters. Make copy of clone-of
3798 parameter only if requested. (Bug#10348)
3799 (window--state-put-2): Install a window parameter only if it has
3800 a non-nil value or an existing parameter shall be overwritten.
3801
3802 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
3803
3804 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3805
3806 2012-01-14 Eli Zaretskii <eliz@gnu.org>
3807
3808 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3809 don't pass the (nil) value of `upnode' to string-match.
3810
3811 2012-01-14 Chong Yidong <cyd@gnu.org>
3812
3813 * startup.el (command-line): Fix X resource class for cursorColor.
3814 Fix values recognized by the cursorBlink resource.
3815
3816 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3817
3818 * epg.el (epg--make-temp-file): Avoid permission race condition
3819 when running on old Emacs versions (bug#10403).
3820
3821 2012-01-14 Glenn Morris <rgm@gnu.org>
3822
3823 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3824
3825 2012-01-13 Alan Mackenzie <acm@muc.de>
3826
3827 Fix filling for when filladapt mode is enabled.
3828
3829 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3830 c-mask-paragraph, pass in `fill-paragraph' rather than
3831 `fill-region-as-paragraph'. (This is a reversion of a previous
3832 change.)
3833 * progmodes/cc-mode.el (c-basic-common-init):
3834 Make fill-paragraph-handle-comment buffer local and set it to nil.
3835
3836 2012-01-13 Glenn Morris <rgm@gnu.org>
3837
3838 * dired.el (dired-switches-escape-p): New function.
3839 (dired-insert-directory): Use dired-switches-escape-p.
3840 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3841
3842 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3843
3844 2012-01-12 Glenn Morris <rgm@gnu.org>
3845
3846 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3847 changes in adaptive-fill-regexp. (Bug#10276)
3848
3849 2012-01-11 Alan Mackenzie <acm@muc.de>
3850
3851 Fix Emacs bug #10463 - put `widen's around the critical spots.
3852
3853 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3854 widen around each invocation of c-state-pp-to-literal. Remove an
3855 unused let variable.
3856
3857 2012-01-11 Glenn Morris <rgm@gnu.org>
3858
3859 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3860 Doc fix.
3861
3862 2012-01-10 Chong Yidong <cyd@gnu.org>
3863
3864 * net/network-stream.el (network-stream-open-starttls):
3865 Avoid emitting a confusing error message when the server gives a bad
3866 response to the capability command.
3867
3868 2012-01-10 Glenn Morris <rgm@gnu.org>
3869
3870 * mail/unrmail.el (unrmail): Tweak previous change.
3871
3872 2012-01-09 Chong Yidong <cyd@gnu.org>
3873
3874 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3875
3876 2012-01-08 Alan Mackenzie <acm@muc.de>
3877
3878 Optimise font locking in long enum definitions.
3879
3880 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3881 arm to a cond form to handle enums.
3882 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3883 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3884
3885 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3886
3887 * files.el (move-file-to-trash): Preserve default file modes on error.
3888 (Bug#10401)
3889
3890 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3891
3892 * faces.el (set-face-attribute): Clarify the meaning of the nil
3893 frame (bug#10294).
3894
3895 * subr.el (with-selected-frame): Mention that the selected frame
3896 is restored (bug#9980).
3897
3898 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3899 (bug#9759).
3900
3901 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3902 (password-read): Don't autoload unused function.
3903
3904 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3905
3906 * progmodes/which-func.el (which-func-mode): Turn into a
3907 non-interactive function and mark as obsolete (bug#10428).
3908
3909 2012-01-06 Chong Yidong <cyd@gnu.org>
3910
3911 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3912 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3913 functions, along with 1 and -1.
3914
3915 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3916
3917 * time.el (display-time-load-average)
3918 (display-time-default-load-average): Doc fixes. See the thread
3919 starting at
3920 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3921 for the details.
3922
3923 2012-01-06 Glenn Morris <rgm@gnu.org>
3924
3925 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3926 has no messages. (Bug#10377)
3927
3928 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3929 than Info-edit. (Bug#10385)
3930
3931 * time.el (display-time-load-average, display-time-next-load-average):
3932 Doc fixes.
3933
3934 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3935 local setting of buffer-read-only to the input buffer. (Bug#10419)
3936
3937 * calendar/calendar.el (calendar-mode):
3938 Locally set scroll-margin to 0. (Bug#10379)
3939
3940 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3941
3942 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3943
3944 2012-01-05 Glenn Morris <rgm@gnu.org>
3945
3946 * eshell/em-unix.el (diff-no-select): Autoload it.
3947 (eshell/diff): Use diff-no-select. (Bug#10420)
3948
3949 2012-01-05 Chong Yidong <cyd@gnu.org>
3950
3951 * shell.el (shell-dynamic-complete-functions): Revert last change.
3952 (shell-command-completion-function): New function.
3953 (shell-completion-vars): Use it to implement
3954 shell-completion-execonly (Bug#10417).
3955
3956 * custom.el (enable-theme): Don't set custom-safe-themes.
3957
3958 * cus-theme.el (custom-theme-merge-theme):
3959 Ignore custom-enabled-themes and custom-safe-themes.
3960
3961 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3962
3963 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3964 first prompt in `sql-interacive-mode'.
3965 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3966 keywords.
3967 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3968 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3969 context of original buffer. Invoke `sql-login-hook'.
3970
3971 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3972
3973 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3974 letters in cite-prefix.
3975
3976 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3977
3978 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3979
3980 2012-01-03 Chong Yidong <cyd@gnu.org>
3981
3982 * shell.el (shell-dynamic-complete-functions):
3983 Put pcomplete-completions-at-point, so as to try
3984 comint-filename-completion first (Bug#10417).
3985
3986 2012-01-02 Richard Stallman <rms@gnu.org>
3987
3988 * battery.el (battery-status-function):
3989 Detect when to use battery-yeeloong-sysfs.
3990 (battery-echo-area-format): Add string for Yeeloong.
3991 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3992 (battery-yeeloong-sysfs): New function.
3993
3994 2012-01-02 Chong Yidong <cyd@gnu.org>
3995
3996 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3997 (dirtrack): Merge code for handling relative filenames in prompt
3998 from shell-dir-cookie-watcher.
3999 (dirtrack-debug-message): New arg to avoid excess format calls.
4000
4001 * shell.el (shell-dir-cookie-re): Variable deleted.
4002 (shell-dir-cookie-watcher): Function deleted.
4003 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4004 with dirtrack-mode.
4005
4006 2012-01-01 Eli Zaretskii <eliz@gnu.org>
4007
4008 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4009 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
4010 libgnutls-26.dll.
4011
4012 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4013
4014 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4015
4016 2011-12-31 Eli Zaretskii <eliz@gnu.org>
4017
4018 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4019 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4020
4021 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
4022
4023 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4024 also for alternative shells.
4025 (tramp-open-connection-setup-interactive-shell): Check, whether
4026 the shell is a busybox.
4027 (tramp-send-command): Don't suppress multiple prompts for
4028 busyboxes, it hurts.
4029
4030 2011-12-28 Chong Yidong <cyd@gnu.org>
4031
4032 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4033 (gdb-get-source-file): Move mode line update to
4034 gdb-get-source-file (Bug#10087).
4035
4036 2011-12-25 Chong Yidong <cyd@gnu.org>
4037
4038 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4039 gud-gdb-marker-filter without taking it as an argument.
4040 (gud-gdb-run-command-fetch-lines): Caller changed.
4041 (gud-gdb-completion-function): New variable.
4042 (gud-gdb-completion-at-point): Use it.
4043 (gud-gdb-completions-1): Split from gud-gdb-completions.
4044
4045 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4046 function as separate arguments.
4047 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4048 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4049 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4050 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4051 (gdb-stopped, def-gdb-auto-update-trigger)
4052 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
4053 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4054 Callers changed.
4055 (gud-gdbmi-completions): New function.
4056 (gdb): Use it for generating the completion table.
4057
4058 2011-12-24 Alan Mackenzie <acm@muc.de>
4059
4060 Introduce a mechanism to widen the region used in context font
4061 locking. Use this to protect declarations from losing their contexts.
4062
4063 * progmodes/cc-langs.el (c-before-font-lock-functions):
4064 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
4065 (c-before-context-fontification-functions): New defvar, a list of
4066 functions to be run just before context (etc.) font locking.
4067
4068 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
4069 New, functionality extracted from
4070 c-neutralize-syntax-in-and-mark-CPP.
4071 (c-in-after-change-fontification): New variable.
4072 (c-after-change): Set c-in-after-change-fontification.
4073 (c-set-fl-decl-start): Rejig its interface, so it can be called
4074 from both after-change and context fontifying.
4075 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4076 New functions.
4077 (c-standard-font-lock-fontify-region-function): New variable.
4078 (c-font-lock-fontify-region): New function.
4079
4080 2011-12-24 Juri Linkov <juri@jurta.org>
4081
4082 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4083 (Bug#10348)
4084
4085 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
4086
4087 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4088 existence of source file. (Bug#10325)
4089
4090 2011-12-23 Alan Mackenzie <acm@muc.de>
4091
4092 Fix unstable fontification inside templates.
4093
4094 * progmodes/cc-langs.el (c-before-font-lock-functions):
4095 Newly created from the singular version. The (c c++ objc) entry now
4096 additionally has c-set-fl-decl-start. The other languages (apart
4097 from AWK) have that as a single entry.
4098
4099 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4100 The functionality for "local" declarations has been extracted to
4101 c-set-fl-decl-start.
4102
4103 * progmodes/cc-mode.el (c-common-init, c-after-change):
4104 Changes due to pluralisation of c-before-font-lock-functions.
4105 (c-set-fl-decl-start): New function, extracted from
4106 c-font-lock-enclosing-decls and enhanced.
4107
4108 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
4109
4110 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4111
4112 2011-12-22 Juri Linkov <juri@jurta.org>
4113
4114 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4115
4116 2011-12-22 Chong Yidong <cyd@gnu.org>
4117
4118 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4119
4120 2011-12-21 Drew Adams <drew.adams@oracle.com>
4121
4122 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4123
4124 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4125
4126 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4127
4128 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4129
4130 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4131 highlighting and support. Fix up comments for capitalization.
4132 (cfengine-mode-debug): New var.
4133 (cfengine3-mode): Change the modeline indicator to "CFE3".
4134 (cfengine3-font-lock-keywords): Improve defun highlighting.
4135 (cfengine2-actions): Rename from `cfengine-actions'.
4136 (cfengine2-font-lock-keywords): Rename from
4137 `cfengine-font-lock-keywords'.
4138 (cfengine2-imenu-expression): Rename from
4139 `cfengine-imenu-expression'.
4140 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4141 (cfengine2-beginning-of-defun): Rename from
4142 `cfengine-beginning-of-defun'.
4143 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4144 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4145 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4146 modeline indicator to "CFE2".
4147 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4148 (cfengine-mode-abbrevs): Mark obsolete.
4149
4150 2011-12-21 Chong Yidong <cyd@gnu.org>
4151
4152 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4153 filename argument.
4154
4155 2011-12-20 Martin Rudalics <rudalics@gmx.at>
4156
4157 * window.el (window-normalize-buffer-to-display): Remove.
4158 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4159
4160 2011-12-19 Chong Yidong <cyd@gnu.org>
4161
4162 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4163 Don't signal an error in a predicate function; return non-nil.
4164 (vc-dir-mark-file): Move the error here.
4165 (vc-dir-mark-unmark): If acting on the region, keep going if one
4166 of the entries cannot be marked/unmarked.
4167 (vc-dir-mark-all-files): If current entry is a directory, mark
4168 only child files, as documented.
4169
4170 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4171
4172 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4173 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4174 addition.
4175
4176 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4177
4178 * term/ns-win.el (ns-get-selection-internal)
4179 (ns-store-selection-internal): Declare.
4180 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4181 Declare as obsolete.
4182 (ns-get-pasteboard, ns-paste-secondary):
4183 Use ns-get-selection-internal.
4184 (ns-set-pasteboard, ns-copy-including-secondary):
4185 Use ns-store-selection-internal.
4186
4187 2011-12-17 Chong Yidong <cyd@gnu.org>
4188
4189 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
4190 (vc-deduce-fileset): Doc fix.
4191
4192 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4193
4194 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4195
4196 2011-12-13 Sam Steingold <sds@gnu.org>
4197
4198 * man.el (Man-getpage-in-background): When running under a
4199 window-system, ignore $MANWIDTH and $COLUMNS.
4200
4201 2011-12-15 Kenichi Handa <handa@m17n.org>
4202
4203 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4204 (setup-ethiopic-environment-internal): Comment out key-binding for
4205 ethio-toggle-punctuation.
4206
4207 2011-12-13 Alan Mackenzie <acm@muc.de>
4208
4209 Add the switch statement to AWK Mode.
4210
4211 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
4212 "default" to the keywords regexp.
4213
4214 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
4215 expression as the rest.
4216 (c-nonlabel-token-key): Allow string literals for AWK.
4217 Refactor for the other modes.
4218
4219 Large brace-block initialisation makes CC Mode slow: Fix.
4220 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
4221 routines. Limit backward searching in c-font-lock-enclosing.decl.
4222
4223 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4224 pp-state and literal type in addition to the limits.
4225 (c-state-safe-place): New defun, extracted from c-state-literal-at.
4226 (c-state-literal-at): Use the above new defun.
4227 (c-slow-in-literal, c-fast-in-literal): Remove.
4228 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
4229
4230 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4231 being in a literal. Add a limit for backward searching.
4232
4233 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4234 c-slow-in-literal.
4235
4236 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4237
4238 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4239
4240 2011-12-13 Martin Rudalics <rudalics@gmx.at>
4241
4242 * window.el (delete-other-windows): Use correct frame in call to
4243 window-with-parameter.
4244
4245 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4246
4247 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4248 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4249 (makefile-gmake-statements, makefile-makepp-statements):
4250 Use it and add new makepp keywords.
4251 (makefile-makepp-font-lock-keywords): Add new patterns.
4252 (makefile-match-function-end): Match new [...] and [[...]].
4253
4254 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
4255
4256 * ses.el (ses-call-printer-return, ses-cell-property-get)
4257 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4258 (ses-create-cell-variable, ses-reset-header-string)
4259 (ses-cell-set-formula, ses-repair-cell-reference-all)
4260 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4261 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4262 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4263 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4264 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4265 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4266 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4267 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4268 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4269 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4270 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4271 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4272
4273 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4274
4275 * ses.el: The overall change is to add cell renaming, that is
4276 setting fancy names for cell symbols other than name matching
4277 "\\`[A-Z]+[0-9]+\\'" regexp .
4278 (ses-create-cell-variable): New defun.
4279 (ses-relocate-formula): Relocate formulas only for cells the
4280 symbols of which are not renamed, i.e. symbols whose names do not
4281 match regexp "\\`[A-Z]+[0-9]+\\'".
4282 (ses-relocate-all): Relocate values only for cells the symbols of
4283 which are not renamed.
4284 (ses-load): Create cells variables as the (ses-cell ...) are read,
4285 in order to check row col consistency with cell symbol name only
4286 for cells that are not renamed.
4287 (ses-replace-name-in-formula): New defun.
4288 (ses-rename-cell): New defun.
4289
4290 2011-12-11 Chong Yidong <cyd@gnu.org>
4291
4292 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4293 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4294
4295 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4296
4297 * window.el (other-window): Fix docstring.
4298
4299 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4300
4301 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
4302 `from' or `to' address before taking its substring.
4303 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
4304 encoded name is chopped in the middle of the encoded string, and
4305 thus displayed encoded.
4306
4307 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
4308
4309 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4310
4311 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4312
4313 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4314 to use texinfo-update-node and commands that call it if the
4315 Texinfo file uses @node lines without next/prev/up pointers.
4316 Correct outdated description about texinfo-master-menu.
4317 (texinfo-all-menus-update, texinfo-master-menu)
4318 (texinfo-update-node, texinfo-every-node-update)
4319 (texinfo-multiple-files-update): Doc fix. Warn against updating
4320 all the @node lines.
4321 (texinfo-master-menu): Only call texinfo-update-node if the prefix
4322 argument is numeric. Explain better in the doc string what the
4323 function really does.
4324 (texinfo-insert-master-menu-list): Improve the error message
4325 displayed if there's no menu in the Top node.
4326 (Bug#2975) See also this thread:
4327 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4328
4329 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4330
4331 * speedbar.el (speedbar-supported-extension-expressions):
4332 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4333
4334 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
4335
4336 * printing.el (pr-mode-alist):
4337 * simple.el (filter-buffer-substring-functions)
4338 (completion-list-insert-choice-function):
4339 * window.el (window-with-parameter, window-atom-root)
4340 (window-sides-slots, window-size-fixed, window-min-delta)
4341 (window-max-delta, window--resize-mini-window)
4342 (window--resize-child-windows-normal, window-tree)
4343 (delete-other-windows, quit-window, split-window)
4344 (display-buffer-record-window, special-display-buffer-names)
4345 (special-display-regexps, special-display-popup-frame)
4346 (same-window-p, split-window-sensibly)
4347 (display-buffer-overriding-action, display-buffer-alist)
4348 (display-buffer-base-action, display-buffer, switch-to-buffer)
4349 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4350 (fit-window-to-buffer, recenter-positions)
4351 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4352 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4353 and remove unneeded backslashes in docstrings.
4354
4355 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4356
4357 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4358
4359 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4360 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4361 end in ".mk".
4362 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4363 when reading the makefile (bug#10116).
4364
4365 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4366
4367 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4368 (bug#10116).
4369
4370 2011-12-06 Glenn Morris <rgm@gnu.org>
4371
4372 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4373
4374 2011-12-06 Chong Yidong <cyd@gnu.org>
4375
4376 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4377
4378 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
4379
4380 * textmodes/table.el (table-shorten-cell): Fix typo.
4381
4382 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4383
4384 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4385
4386 2011-12-05 Eli Zaretskii <eliz@gnu.org>
4387
4388 * descr-text.el (describe-char): Fix display of strong
4389 right-to-left characters and directional embeddings and overrides.
4390
4391 * simple.el (what-cursor-position): Fix display of codepoints of
4392 strong right-to-left characters.
4393
4394 2011-12-05 Chong Yidong <cyd@gnu.org>
4395
4396 * faces.el (read-color): Doc fix.
4397
4398 2011-12-05 Glenn Morris <rgm@gnu.org>
4399
4400 * align.el (align--set-marker): Add doc-string.
4401 Don't try to move something that is not a marker. (Bug#10216)
4402
4403 2011-12-04 Glenn Morris <rgm@gnu.org>
4404
4405 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4406 overly zealous deletion of trailing whitespace.
4407
4408 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
4409
4410 * server.el (server-delete-client): On Windows, do not try to delete
4411 the only terminal.
4412 (server-process-filter): On Windows, treat requests for a tty frame as
4413 if they were for a GUI frame if the running server is in GUI mode.
4414
4415 2011-12-03 Glenn Morris <rgm@gnu.org>
4416
4417 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4418
4419 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4420
4421 * electric.el: Streamline electric-indent's hook.
4422 (electric-indent-chars): Revert to simple list.
4423 (electric-indent-functions): New var.
4424 (electric-indent-post-self-insert-function): Use it.
4425
4426 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4427 there's no inferior buffer (bug#10196).
4428 (prolog-consult-compile): Don't use toggle-read-only.
4429
4430 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
4431
4432 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4433 interrupt. (Bug#10187)
4434
4435 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4436
4437 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4438 (bug#9160).
4439
4440 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4441 (bug#10191).
4442
4443 2011-12-02 Juri Linkov <juri@jurta.org>
4444
4445 * info.el (Info-search): Display "end of manual" when Isearch
4446 reaches the end of single-file Info manual. (Bug#9918)
4447
4448 2011-12-02 Eli Zaretskii <eliz@gnu.org>
4449
4450 * isearch.el (isearch-message-prefix): Run the input method part
4451 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4452
4453 2011-12-02 Juri Linkov <juri@jurta.org>
4454
4455 * isearch.el (isearch-occur): Use `word-search-regexp' for
4456 `isearch-word'.
4457 (isearch-search-and-update): Add condition for `isearch-word' and
4458 call `word-search-regexp'. (Bug#10145)
4459
4460 2011-12-01 Glenn Morris <rgm@gnu.org>
4461
4462 * eshell/em-hist.el (eshell-hist-initialize):
4463 Handle eshell-history-size nil and HISTSIZE set or unset.
4464 (eshell-history-file-name, eshell-history-size): Fix custom type.
4465
4466 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4467
4468 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4469
4470 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
4471
4472 * progmodes/verilog-mode.el (verilog-pretty-expr):
4473 Rework verilog-pretty-expr to handle new assignment operators in system
4474 verilog, such as += *= and the like.
4475 (verilog-assignment-operator-re): Regular expression to find the
4476 assigment operator in a verilog assignment.
4477 (verilog-assignment-operation-re): Regular expression to find an
4478 assignment statement for pretty-expr.
4479 (verilog-in-attribute-p): Query returns true if point is in an
4480 attribute context; used to skip these for expression line up from
4481 pretty-expr.
4482 (verilog-in-parameter-p): Query returns true if point is in an
4483 parameter definition context; used to skip these for expression
4484 line up from pretty-expr.
4485 (verilog-in-parenthesis-p): Query returns true if point is in a
4486 parenthetical expression, specifically ( ) but not [ ] or { };
4487 used by pretty-expr.
4488 (verilog-just-one-space): If there is no space, don't add one.
4489 (verilog-get-lineup-indent-2): Specifically skip just attribute
4490 contexts for expression lineup, rather than skipping all
4491 parenthetical expressions.
4492 (verilog-calculate-indent): Fix comment, and fix indent.
4493 (verilog-do-indent): Indent declarations in lists (suggested by
4494 Joachim Lechner).
4495 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4496 skeleton items.
4497 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4498 by Alain Mellan).
4499
4500 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
4501
4502 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4503 parameters with embedded comments. Reported by Ray Stevens.
4504 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4505 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4506 Reported by Tim Holt.
4507 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4508 instantiated by upper module causing wrong expansion until AUTOed a
4509 second time. Reported by K C Buckenmaier.
4510 (verilog-diff-auto): Fix showing .* as a difference when
4511 `verilog-auto-star-save' off. Reported by Dan Dever.
4512 (verilog-auto-reset, verilog-read-always-signals)
4513 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4514 temporary signals in reset list if
4515 verilog-auto-reset-blocking-in-non is nil, and match assignment
4516 style to each signal's assignment type, bug381.
4517 Reported by Thomas Esposito.
4518 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4519 (verilog-uvm-statement-re): Support UVM indentation and
4520 highlighting, with old OVM keywords only.
4521 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
4522 Support AUTOTIEOFF creating non-wire data types.
4523 Suggested by Jonathan Greenlaw.
4524 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4525 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4526 (verilog-inject-sense, verilog-read-inst-pins)
4527 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4528 Fix mismatching parenthesis inside commented out code when deleting
4529 AUTOINST, bug383. Reported by Jonathan Greenlaw.
4530 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4531 non-numeric vector width. Reported by Alex Reed.
4532 (verilog-auto-ascii-enum): Add "onehot" option to work around not
4533 detecting signals with parameter widths. Reported by Alex Reed.
4534 (verilog-auto-delete-trailing-whitespace):
4535 With `verilog-auto-delete-trailing-whitespace' remove trailing
4536 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4537 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4538 Fix verilog-scan-cache corruption when running user AUTO expansion
4539 hooks that call indentation routines.
4540 (verilog-simplify-range-expression): Fix typo ignoring lower case
4541 identifiers.
4542 (verilog-delete-auto): Fix delete-autos to also remove user created
4543 automatics, as long as they start with AUTO.
4544 (verilog-batch-diff-auto, verilog-diff-auto)
4545 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4546 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4547 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4548 (verilog-in-paren-quick, verilog-re-search-backward-quick)
4549 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4550 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
4551 is disabled and its cache will get corrupt, causing AUTOS not to
4552 expand. Instead use only -quick functions.
4553 (verilog-scan-region): Fix scanning over escaped quotes.
4554 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4555 (verilog-re-search-backward-quick)
4556 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4557 related functions now ignore strings, to fix misparsing of strings
4558 with magic comments embedded in them.
4559 (verilog-read-auto-template):
4560 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4561 Reported by Brad Dobbie.
4562 (verilog-read-auto-template):
4563 Fix 'verilog-auto-inst-template-numbers' with comments.
4564 Reported by Brad Dobbie.
4565 (verilog-auto-inst, verilog-auto-inst-param)
4566 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4567 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4568 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
4569 debugging templates without merge conflicts, bug357.
4570 Reported by Brad Dobbie.
4571 (verilog-read-auto-template):
4572 Fix verilog-auto-inst-template-numbers with multiple templates.
4573 Reported by Brad Dobbie.
4574 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4575 abbrevs so user won't be asked to save.
4576 (verilog-read-auto-lisp-present): Fix to start at beginning of
4577 buffer in case called outside of verilog-auto.
4578 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4579 to "X-2". Reported by Matthew Myers.
4580 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4581 all inputs from module templates. Reported by Leith Johnson.
4582 (verilog-module-inside-filename-p): Fix locating programs as with
4583 modules.
4584 (verilog-auto-inst-port): Fix vl-width expressions when using
4585 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4586 (verilog-decls-get-regs, verilog-decls-get-signals,
4587 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4588 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4589 verilog-read-decls): Combine reg and wire structures into one var
4590 structure to represent SystemVerilog concepts.
4591 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4592 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
4593 (verilog-auto-wire-type, verilog-insert-definition):
4594 Add verilog-auto-wire-type and AUTOLOGIC to support using
4595 SystemVerilog "logic" keyword instead of "wire"/"reg".
4596 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4597 to declares outputs that also have assignments (presumably in an
4598 ifdef or generate if so there's not a driver conflict).
4599 Reported by Matthew Myers.
4600 (verilog-auto-declare-nettype, verilog-insert-definition):
4601 Add verilog-auto-declare-nettype to fix declarations using
4602 `default_nettype none. Reported by Julian Gorfajn.
4603 (verilog-read-always-signals-recurse, verilog-read-decls)
4604 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4605 malformed end statement, bug325. Reported by Joshua Wise and
4606 Andrew Drake.
4607 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4608 (verilog-inst-comment-re): Fix not deleting Interfaced comment
4609 when expanding .* in interfaces, bug320.
4610 Reported by Pierre-David Pfister.
4611 (verilog-read-module-name): Fix import statements between module
4612 name and open parenthesis, bug317.
4613 Reported by Pierre-David Pfister.
4614 (verilog-simplify-range-expression): Fix simplification of
4615 multiplications inside AUTOWIRE connections, bug303.
4616 (verilog-auto-inst-port): Support parameter expansion in
4617 multidimensional arrays.
4618 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4619 after "assert property". Reported by Julian Gorfajn.
4620 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4621 with multiplication, bug303.
4622 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4623 Reported by Jan Frode Lonnum.
4624
4625 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
4626
4627 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4628 (hfy-shell-file-name, hfy-shell):
4629 * international/fontset.el (x-decompose-font-name): Fix typos.
4630
4631 2011-11-29 Ken Brown <kbrown@cornell.edu>
4632
4633 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4634 (gdb-version): Remove defvar.
4635 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4636 (gdb-gud-context-command, gdb-non-stop-handler)
4637 (gdb-current-context-command, gdb-stopped): Use it.
4638 (gdb-init-1): Enable pretty printing here.
4639 (gdb-non-stop-handler): Don't enable pretty-printing here.
4640 Check to see if the target supports non-stop mode; if not, turn off
4641 non-stop mode. Use the following.
4642 (gdb-check-target-async): New defun.
4643 (gud-watch, gdb-stopped): Fix whitespace.
4644 (gdb-get-source-file): Don't try to display the source file if
4645 `gdb-main-file' is nil.
4646
4647 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4648
4649 * align.el: Try to generate fewer markers (bug#10047).
4650 (align--set-marker): New macro.
4651 (align-region): Use it.
4652
4653 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4654
4655 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4656
4657 2011-11-29 Chong Yidong <cyd@gnu.org>
4658
4659 * indent.el (indent-for-tab-command, indent-according-to-mode):
4660 Doc fix.
4661 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4662
4663 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
4664
4665 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4666 aware of remote file names. (Bug#10124)
4667
4668 2011-11-29 Chong Yidong <cyd@gnu.org>
4669
4670 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4671
4672 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4673
4674 * files.el (find-file): Don't use force-same-window (bug#10144).
4675 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4676 use pop-to-buffer if the selected window can't be used.
4677 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4678
4679 2011-11-28 Eli Zaretskii <eliz@gnu.org>
4680
4681 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4682 special-mode-map.
4683
4684 2011-11-28 Chong Yidong <cyd@gnu.org>
4685
4686 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4687
4688 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
4689
4690 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4691 gdb-get-source-file-list on gdb-create-source-file-list.
4692
4693 2011-11-26 Eli Zaretskii <eliz@gnu.org>
4694
4695 * whitespace.el (whitespace-newline): Use a different foreground
4696 color for 16-color light-background displays.
4697
4698 2011-11-24 Chong Yidong <cyd@gnu.org>
4699
4700 * window.el (display-buffer--special-action): Doc fix.
4701
4702 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
4703
4704 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4705 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4706 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4707 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4708 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4709 (avl-tree-stack-first):
4710 * emacs-lisp/cconv.el (cconv--analyse-use):
4711 * net/gnutls.el (gnutls-negotiate): Fix typos.
4712
4713 2011-11-24 Glenn Morris <rgm@gnu.org>
4714
4715 * lpr.el (lpr-windows-system, lpr-lp-system):
4716 * mail/binhex.el (binhex-begin-line):
4717 * progmodes/grep.el (grep-history, grep-find-history):
4718 * textmodes/flyspell.el:
4719 * vc/pcvs-defs.el (cvs-global-menu):
4720 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4721 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4722 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4723
4724 * net/tls.el: Fix case of "GnuTLS".
4725
4726 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4727
4728 * version.el (emacs-build-system): Give it a doc-string.
4729
4730 2011-11-24 Juri Linkov <juri@jurta.org>
4731
4732 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4733
4734 2011-11-24 Glenn Morris <rgm@gnu.org>
4735
4736 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4737 if called on a non-mime message just toggle the headers. (Bug#8006)
4738
4739 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
4740
4741 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4742 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4743 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4744 (allout-rebullet-heading, allout-open-sibtopic)
4745 (allout-toggle-current-subtree-encryption)
4746 (allout-toggle-subtree-encryption, allout-encrypt-string)
4747 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4748 (allout-distinctive-bullets-string, allout-auto-activation):
4749 * window.el (window-normalize-buffer-to-display):
4750 * progmodes/verilog-mode.el (verilog-batch-indent):
4751 * textmodes/bibtex.el (bibtex-field-braces-opt)
4752 (bibtex-field-strings-opt):
4753 * vc/cvs-status.el (cvs-tree-merge):
4754 Fix typos.
4755
4756 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
4757
4758 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4759 `non-essential' to t, in order to avoid remote connections.
4760
4761 2011-11-23 Eli Zaretskii <eliz@gnu.org>
4762
4763 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4764 On MS-DOS and MS-Windows, compare with loaddefs.el
4765 case-insensitively.
4766
4767 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4768
4769 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4770
4771 2011-11-23 Glenn Morris <rgm@gnu.org>
4772
4773 * paths.el (rmail-file-name): Reformat the doc-string so that it
4774 is picked up.
4775
4776 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4777 (rmail-auto-file): Ignore case in the "special" field names,
4778 as mail-fetch-field does for all others.
4779
4780 * mail/rmail.el (rmail-forward):
4781 * mail/rmailkwd.el (rmail-set-label):
4782 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4783 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4784
4785 * mail/rmail.el (rmail-current-message): Doc fix.
4786
4787 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4788
4789 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4790
4791 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4792
4793 2011-11-22 Glenn Morris <rgm@gnu.org>
4794
4795 * mail/rmailmm.el (test-rmail-mime-handler)
4796 (test-rmail-mime-bulk-handler)
4797 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4798
4799 2011-11-21 Juri Linkov <juri@jurta.org>
4800
4801 * calc/calc.el (calc-read-key-sequence):
4802 Let-bind `input-method-function' to nil. (Bug#10018)
4803
4804 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4805
4806 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4807 Tell the caller that the next line needs recomputation, even
4808 though it doesn't start a sexp (bug#10094).
4809
4810 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4811
4812 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4813
4814 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4815
4816 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4817 Use force-same-window.
4818
4819 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4820
4821 * descr-text.el (describe-char-unicode-data):
4822 * json.el (json-string-escape):
4823 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4824 (Footnote-unicode, Footnote-style-p):
4825 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4826
4827 2011-11-20 Chong Yidong <cyd@gnu.org>
4828
4829 * window.el (replace-buffer-in-windows): Restore interactive spec.
4830
4831 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4832
4833 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4834
4835 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4836 (byte-compile-global-not-obsolete-vars): New var.
4837 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4838 Use it.
4839 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4840
4841 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4842
4843 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4844 * progmodes/pascal.el (electric-pascal-equal):
4845 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4846 * xml.el (xml-substitute-special): Fix typos.
4847
4848 2011-11-20 Glenn Morris <rgm@gnu.org>
4849
4850 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4851 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4852 Doc fixes.
4853 (rmail-decode-mime-charset): Mark as obsolete.
4854
4855 * mail/rmailsum.el (rmail-message-regexp-p-1):
4856 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4857 Before using mime functions, check they are set. (Bug#10077)
4858
4859 2011-11-19 Juri Linkov <juri@jurta.org>
4860
4861 * info.el (Info-finder-find-node): Use `package--builtins' instead
4862 of `package-alist'. Use node names formed by the pattern "Keyword "
4863 and the keyword name.
4864
4865 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4866
4867 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4868
4869 2011-11-19 Juri Linkov <juri@jurta.org>
4870
4871 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4872 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4873 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4874 `old-history', `old-history-forward'. Add let-binding
4875 `window-selected'. Remove calls to `kill-buffer',
4876 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4877 before calling `Info-find-node', so `Info-find-node-2' will reread
4878 the Info file. Restore window positions only when `window-selected'
4879 is non-nil.
4880
4881 2011-11-19 Juri Linkov <juri@jurta.org>
4882
4883 * isearch.el (isearch-lazy-highlight-new-loop):
4884 Remove condition `(not isearch-error)'. (Bug#9918)
4885
4886 * misearch.el (multi-isearch-search-fun): Add condition
4887 `(not bound)' to ignore lazy-highlighting search.
4888 Add the search-failed message "end of multi" when the end of
4889 multi-sequence is reached. Uncapitalize the search-failed
4890 message "Repeat for next buffer".
4891
4892 * info.el (Info-search): Add the search-failed message
4893 "end of the manual" when the end of the manual is reached
4894 in Isearch mode.
4895
4896 2011-11-19 Juri Linkov <juri@jurta.org>
4897
4898 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4899 Use non-destructive `remove' instead of `delete' because
4900 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4901 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4902
4903 2011-11-19 Juri Linkov <juri@jurta.org>
4904
4905 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4906 to nil instead of binding `search-ring' and `regexp-search-ring'.
4907 (Bug#9185)
4908
4909 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4910
4911 * simple.el (line-move): Force movement by logical lines for any
4912 hscrolled window, not only when auto-hscroll-mode is on.
4913 (line-move-visual): Update doc string to that effect. (Bug#10076)
4914
4915 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4916
4917 * language/european.el (macintosh): Define as alias for mac-roman.
4918
4919 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4920
4921 * mail/rmailmm.el (rmail-mime-display-header)
4922 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4923 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4924 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4925 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4926 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4927 of a raw aref.
4928 (rmail-mime-entity-segment): To get past the tagline, move forward
4929 2 more lines, to account for the 2 empty lines that precede and
4930 follow the line with the buttons.
4931 (rmail-mime-update-tagline): Move one more line, to get past the
4932 empty line that follows the buttons in the tagline. (Bug#9520)
4933
4934 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4935
4936 * window.el (window-max-delta-1, window-min-delta-1)
4937 (window-min-size-1, window-state-get-1, window-state-put-1)
4938 (window-state-put-2): Use "window--" prefix.
4939
4940 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4941
4942 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4943 (smie-warning-count): New var.
4944 (smie-set-prec2tab): Use it.
4945 (smie-bnf->prec2): Improve warnings. Add docstring.
4946 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4947 (smie-bnf--set-class): New function.
4948 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4949 corner case.
4950
4951 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4952 (compilation-error-properties, compilation-move-to-column):
4953 Handle compilation-first-column while in the target buffer.
4954
4955 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4956 Don't hardcode point-min==1.
4957
4958 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4959 (eshell-rewrite-for-command): Remove workaround.
4960 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4961 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4962 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4963
4964 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4965
4966 2011-11-17 Glenn Morris <rgm@gnu.org>
4967
4968 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4969 Ignore buffer-local generated-autoload-file if it is the same
4970 as the global value. (Bug#10049)
4971
4972 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4973
4974 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4975 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4976 (reftex-toc-previous-heading, reftex-toc-max-level)
4977 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4978 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4979 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4980 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4981 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4982 (reftex-toc-rename-label, reftex-toc-visit-location)
4983 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4984 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4985 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4986 leaving "*toc*" only for references to the buffer.
4987
4988 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4989
4990 * window.el (window-resize, delete-window, split-window):
4991 Replace window-splits by window-combination-resize.
4992 * cus-start.el (window-splits): Replace by window-combination-resize.
4993
4994 2011-11-17 Glenn Morris <rgm@gnu.org>
4995
4996 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4997 Make bash entry derive from sh entry, not shell entry.
4998
4999 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
5000
5001 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5002 properties of linked files. (Bug#9879)
5003
5004 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5005 local file name.
5006
5007 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5008
5009 * menu-bar.el (menu-bar-file-menu):
5010 * printing.el (pr-ps-utility):
5011 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5012 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5013 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5014 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5015 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5016 (icalendar--convert-cyclic-to-ical)
5017 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5018 (icalendar--convert-ical-to-diary)
5019 (icalendar--convert-recurring-to-diary)
5020 (icalendar--convert-non-recurring-all-day-to-diary)
5021 (icalendar-import-format-sample):
5022 * progmodes/idlw-shell.el (idlwave-shell-mode):
5023 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5024 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5025 (vhdl-ps-print-init): Fix typos.
5026
5027 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5028
5029 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5030 FSF and collapse date sequence, obscure author/maintainer email address
5031 better, remove extra version line, track relocation of author's webpage.
5032
5033 * progmodes/python.el (python-pdbtrack-input-prompt)
5034 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5035 regular python pdb prompts. Adjustments shamelessly taken exactly as
5036 suggested in EmacsWiki page (tiny change):
5037 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
5038
5039 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5040
5041 * expand.el (expand-pos, expand-index, expand-point):
5042 Remove redundant info from docstring.
5043 (expand-add-abbrevs): Doc fix.
5044 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5045 (expand-sample-perl-mode-expand-list): Fix typos.
5046
5047 * net/dbus.el (dbus-event-member-name):
5048 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5049 * term/pc-win.el (msdos-create-frame-with-faces):
5050 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5051
5052 2011-11-16 Martin Rudalics <rudalics@gmx.at>
5053
5054 * window.el (split-window, window-state-get-1)
5055 (window-state-put-1, window-state-put-2): Rename occurrences of
5056 window-nest to window-combination-limit.
5057 * cus-start.el (window-nest): Rename to window-combination-limit.
5058
5059 2011-11-16 Chong Yidong <cyd@gnu.org>
5060
5061 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5062 regexp (Bug#10033).
5063
5064 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5065
5066 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5067 `completing-read' will remove *Completions* and will preserve
5068 current-buffer for us.
5069 (tmm-add-prompt): Users of *Completions* will always (re)set its
5070 major mode.
5071 (tmm-old-comp-map): Remove.
5072
5073 2011-11-16 Glenn Morris <rgm@gnu.org>
5074
5075 * mail/rmailedit.el: Require rmailmm when compiling.
5076 (rmail-old-mime-state): New declaration.
5077 (rmail-edit-current-message): If editing a mime message,
5078 edit the "raw" message from the mbox buffer.
5079 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5080
5081 2011-11-15 Glenn Morris <rgm@gnu.org>
5082
5083 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5084 which wasn't being used. Add optional arg to force given state.
5085 (rmail-mime): Add optional arg to force given state.
5086
5087 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5088
5089 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5090 * frame.el (display-mm-dimensions-alist):
5091 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5092 (outline-move-subtree-down):
5093 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5094 (newsticker--treeview-do-get-node):
5095 * net/quickurl.el (quickurl-list-buffer-name):
5096 * progmodes/dcl-mode.el (dcl-mode):
5097 * progmodes/gdb-mi.el (gdb-mapcar*):
5098 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5099
5100 2011-11-15 Glenn Morris <rgm@gnu.org>
5101
5102 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5103 in a boolean sense, so just make it a boolean, and fix the doc.
5104 (rmail-show-mime-function, rmail-mime-feature)
5105 (rmail-require-mime-maybe): Doc fixes.
5106 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5107
5108 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5109
5110 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5111
5112 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5113 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5114 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5115 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5116
5117 2011-11-15 Glenn Morris <rgm@gnu.org>
5118
5119 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5120 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5121 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5122 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5123 (rmail-mime, rmail-show-mime): Doc fixes.
5124
5125 * term/ns-win.el (mode-line-frame-identification):
5126 Leave it alone. (Bug#10051)
5127
5128 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5129
5130 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5131 Handle empty buffers. (Bug#9978)
5132
5133 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
5134
5135 * international/mule.el (define-charset):
5136 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5137 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5138 * progmodes/verilog-mode.el (verilog-backward-token):
5139 * textmodes/ispell.el (lookup-words):
5140 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5141
5142 2011-11-14 Glenn Morris <rgm@gnu.org>
5143
5144 * progmodes/executable.el
5145 (executable-make-buffer-file-executable-if-script-p):
5146 Handle file-modes returning nil.
5147
5148 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5149 message - not necessary, and causes problems. (Bug#9831)
5150
5151 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5152
5153 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5154
5155 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5156 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5157 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5158
5159 2011-11-12 Martin Rudalics <rudalics@gmx.at>
5160
5161 * window.el (window-resize, delete-window): Use window-splits
5162 variable instead of function.
5163 (window-state-get-1, window-state-put-2, window-state-put):
5164 Don't deal with windows' splits status.
5165
5166 2011-11-12 Glenn Morris <rgm@gnu.org>
5167
5168 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5169 (apropos-documentation): Doc fixes.
5170
5171 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
5172
5173 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5174 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5175
5176 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5177
5178 * electric.el (electric-indent-post-self-insert-function): Make it
5179 possible for a char to only indent in some circumstances.
5180 (electric-indent-mode): Simplify.
5181
5182 2011-11-11 Martin Rudalics <rudalics@gmx.at>
5183
5184 * window.el (windows-with-parameter): Remove unused function.
5185 (windows-at-side): Rename to window-at-side-list.
5186 (window-check, window-atom-check, window-atom-check-1)
5187 (window-side-check, window-size-ignore, window-size-fixed-1)
5188 (window-in-direction-2): Prefix with "window--".
5189 (window-tree-1): Rename to window--subtree, fix doc-string.
5190
5191 2011-11-11 Glenn Morris <rgm@gnu.org>
5192
5193 * subr.el (eval-after-load): If FILE is already loaded,
5194 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5195
5196 2011-11-10 Glenn Morris <rgm@gnu.org>
5197
5198 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5199 Call svn via vc-svn-command rather than vc-do-command.
5200 (vc-svn-command): Add --non-interactive. (Bug#9993)
5201 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5202
5203 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5204 Add toggle-read-only. (Bug#7292)
5205 * files.el (toggle-read-only): Mention that it should only
5206 be used interactively. (Bug#10006)
5207
5208 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5209
5210 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5211 Adjust regexp for OCaml warnings.
5212
5213 * electric.el (electric-pair-post-self-insert-function): Let user
5214 turn it off buffer-locally (bug#9932).
5215
5216 * progmodes/python.el (python-beginning-of-statement):
5217 Rewrite (bug#2703).
5218
5219 * progmodes/compile.el: Better handle TABs (bug#9749).
5220 (compilation-internal-error-properties)
5221 (compilation-next-error-function): Obey the target buffer's
5222 compilation-error-screen-columns.
5223
5224 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
5225
5226 * progmodes/meta-mode.el: Remove obsolete comments.
5227 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5228 Fix typos in docstrings.
5229
5230 2011-11-09 Martin Rudalics <rudalics@gmx.at>
5231
5232 * window.el (window-size-fixed-p): Rewrite doc-string.
5233 (window-resizable-p): Rename to window--resizable-p. Update callers.
5234 (window--resizable): New function. Make all callers of
5235 window-resizable call window--resizable instead.
5236 (window-resizable): Rewrite in terms of window--resizable.
5237
5238 2011-11-08 Glenn Morris <rgm@gnu.org>
5239
5240 * progmodes/delphi.el (delphi-mode-syntax-table):
5241 Let define-derived-mode define a proper syntax table. (Bug#9994)
5242
5243 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5244
5245 * window.el: Stay away from defsubst.
5246 (window-list-no-nils): Remove.
5247 (window-state-get-1, window-state-get): Use backquote instead.
5248
5249 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5250
5251 * emacs-lisp/find-func.el (find-function-read):
5252 Fix incorrect use of default argument in `completing-read'.
5253
5254 2011-11-08 Martin Rudalics <rudalics@gmx.at>
5255
5256 * window.el (display-buffer-function, special-display-function):
5257 Mention display-buffer-record-window but do not mention
5258 help-setup parameter in doc-strings.
5259 (window-min-delta): Fix doc-string typo.
5260
5261 2011-11-08 Chong Yidong <cyd@gnu.org>
5262
5263 * window.el (window-total-height, window-total-width): Doc fix.
5264 (window-body-size): Move from C.
5265 (window-body-height, window-body-width): Move to C.
5266
5267 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5268
5269 * window.el: Make special-display like display-buffer-alist (bug#9532).
5270 (display-buffer--special-action): New function, morphed
5271 from display-buffer--special.
5272 (display-buffer): Use it to handle special-display-buffers at higher
5273 priority (just after display-buffer-alist).
5274 (display-buffer-fallback-action, display-buffer--other-frame-action)
5275 (pop-to-buffer-same-window): Remove display-buffer--special.
5276
5277 2011-11-07 Glenn Morris <rgm@gnu.org>
5278
5279 * calendar/cal-menu.el (cal-menu-set-date-title):
5280 Do nothing if not in a calendar. (Bug#9976)
5281
5282 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5283
5284 * files.el (find-file): Always use selected-window.
5285
5286 2011-11-07 Martin Rudalics <rudalics@gmx.at>
5287
5288 * window.el (window-combinations): Make WINDOW argument
5289 mandatory. Rewrite doc-string.
5290 (walk-window-subtree, window-atom-check, window-min-delta)
5291 (window-max-delta, window--resize-this-window)
5292 (window--resize-root-window-vertically, window-tree)
5293 (balance-windows, window-state-put): Rewrite doc-strings as to
5294 not mention the term "subwindow".
5295 (window--resize-subwindows-skip-p): Rename to
5296 window--resize-child-windows-skip-p.
5297 (window--resize-subwindows-normal): Rename to
5298 window--resize-child-windows-normal.
5299 (window--resize-subwindows): Rename to
5300 window--resize-child-windows.
5301 (window-or-subwindow-p): Rename to window--in-subtree-p.
5302
5303 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5304
5305 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5306 Ensure that mbox format messages end in two newlines (Bug#9974).
5307
5308 2011-11-06 Chong Yidong <cyd@gnu.org>
5309
5310 * window.el (window-combination-p): Function deleted; its
5311 side-effect is not used in any existing code.
5312 (window-combinations, window-combined-p): Call window-*-child
5313 directly.
5314
5315 2011-11-05 Chong Yidong <cyd@gnu.org>
5316
5317 * window.el (window-valid-p): Rename from window-any-p.
5318 (window-size-ignore, window-state-get): Callers changed.
5319 (window-normalize-window): Rename from window-normalize-any-window.
5320 New arg LIVE-ONLY, replacing window-normalize-live-window.
5321 (window-normalize-live-window): Delete.
5322 (window-combination-p, window-combined-p, window-combinations)
5323 (walk-window-subtree, window-atom-root, window-min-size)
5324 (window-sizable, window-sizable-p, window-size-fixed-p)
5325 (window-min-delta, window-max-delta, window-resizable)
5326 (window-resizable-p, window-full-height-p, window-full-width-p)
5327 (window-current-scroll-bars, window-point-1, set-window-point-1)
5328 (window-at-side-p, window-in-direction, window-resize)
5329 (adjust-window-trailing-edge, maximize-window, minimize-window)
5330 (window-deletable-p, delete-window, delete-other-windows)
5331 (record-window-buffer, unrecord-window-buffer)
5332 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5333 (quit-window, split-window, window-state-put)
5334 (set-window-text-height, fit-window-to-buffer)
5335 (shrink-window-if-larger-than-buffer): Callers changed.
5336
5337 2011-11-04 Eli Zaretskii <eliz@gnu.org>
5338
5339 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5340 rfc2047-decode-string.
5341 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5342 warnings.
5343
5344 * window.el (window-body-height, window-body-width): Mention in
5345 the doc string that the return values are in frame's canonical
5346 units. (Bug#9949)
5347
5348 2011-11-03 Alan Mackenzie <acm@muc.de>
5349
5350 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5351 change in cc-engine.el.
5352
5353 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5354
5355 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5356
5357 2011-11-02 Martin Rudalics <rudalics@gmx.at>
5358
5359 * window.el (quit-window): Call unrecord-window-buffer after
5360 showing another buffer in the window. (Bug#9937)
5361 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
5362
5363 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
5364
5365 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5366 Accept status with more than 9 shelves. (Bug#9935)
5367 Reported by Colin D Bennett <colin@gibibit.com>.
5368
5369 2011-11-01 Martin Rudalics <rudalics@gmx.at>
5370
5371 * help.el (with-help-window): Don't reference
5372 temp-buffer-show-specifiers in doc-string.
5373
5374 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5375
5376 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5377 menu-item.
5378
5379 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5380
5381 * whitespace.el: New version 13.2.2.
5382 (whitespace-newline-mode): Disable properly. Reported by Sarah
5383 <EmacsWiki>.
5384
5385 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
5386
5387 * net/newst-treeview.el: Remove "Time-stamp".
5388 (newsticker--group-manage-orphan-feeds): Do not call
5389 newsticker--treeview-tree-update.
5390 (newsticker-treeview-update, newsticker-treeview):
5391 Call newsticker--treeview-tree-update if necessary.
5392
5393 2011-10-30 Martin Rudalics <rudalics@gmx.at>
5394
5395 * window.el (window-iso-combination-p, window-iso-combined-p)
5396 (window-iso-combinations): Remove "iso-" infix.
5397 Suggested by Chong Yidong.
5398 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5399 (window-max-delta-1, window-resize, window--resize-siblings)
5400 (window--resize-this-window, adjust-window-trailing-edge)
5401 (split-window, balance-windows-1)
5402 (shrink-window-if-larger-than-buffer):
5403 * calendar/calendar.el (calendar-generate-window):
5404 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
5405
5406 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5407
5408 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5409 in place (bug#9907).
5410 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5411 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5412 (eshell-structure-basic-command, eshell-rewrite-while-command)
5413 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5414 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5415 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5416 (eshell-do-pipelines-synchronously, eshell-eval-command):
5417 Use backquotes and prefer setq to set.
5418 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5419 (eshell-macrop): Use functionp.
5420 (eshell-do-eval): Handle multiple expressions in `while' body.
5421
5422 2011-10-30 Chong Yidong <cyd@gnu.org>
5423
5424 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5425 instead of set-mark (Bug#9810).
5426
5427 2011-10-30 Chong Yidong <cyd@gnu.org>
5428
5429 * window.el (split-window-below, split-window-right): Rename from
5430 split-window-above-each-other and split-window-side-by-side
5431 respectively. All callers changed.
5432 (split-window-sensibly, split-window-sensibly): Use them.
5433 (split-window-keep-point): Doc fix.
5434
5435 * isearch.el: Add isearch-scroll property to split-window-below
5436 and split-window-right.
5437
5438 * follow.el (follow-mode):
5439 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5440 * progmodes/ada-xref.el (ada-gdb-application):
5441 * emulation/vip.el (vip-buffer-in-two-windows):
5442 * image-dired.el (image-dired-dired-with-window-configuration):
5443 * dired-x.el (dired-do-find-marked-files):
5444 * dired.el (dired-pop-to-buffer):
5445 * bs.el (bs--show-with-configuration):
5446 * vc/emerge.el (emerge-setup-windows):
5447 * textmodes/two-column.el (2C-two-columns):
5448 * textmodes/reftex-toc.el (reftex-toc):
5449 * progmodes/gdb-mi.el (gdb-setup-windows):
5450 * progmodes/fortran.el (fortran-window-create):
5451 * net/newst-treeview.el (newsticker--treeview-window-init):
5452 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5453 * emulation/tpu-edt.el (tpu-gold-map):
5454 * emulation/crisp.el (crisp-mode-map):
5455 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5456
5457 2011-10-29 Chong Yidong <cyd@gnu.org>
5458
5459 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5460
5461 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5462
5463 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5464 forged Ispell output (Bug#7904).
5465
5466 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5467
5468 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5469
5470 * doc-view.el: Avoid ugly errors about not finding nil.
5471 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5472 (doc-view-dvipdf-program, doc-view-unoconv-program)
5473 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5474 Avoid nil or absolute file name as default value.
5475 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5476
5477 2011-10-28 Alan Mackenzie <acm@muc.de>
5478
5479 * progmodes/cc-defs.el (c-version): -> 5.32.2.
5480
5481 2011-10-28 Alan Mackenzie <acm@muc.de>
5482
5483 Amend the handling of c-beginning/end-of-defun in nested declaration
5484 scopes.
5485
5486 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5487 cc-langs.el. Change it to a defcustom.
5488
5489 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5490 cc-vars.el.
5491
5492 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5493 Prevent "class foo : bar" being spuriously recognized as a label.
5494
5495 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
5496 Add parameter `inclusive' (to include enclosing braces in the region).
5497 (c-widen-to-enclosing-decl-scope): New function.
5498 (c-while-widening-to-decl-block): New macro.
5499 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5500 outward for defun boundaries, and correspondingly change symbol
5501 `respect-enclosure' to `go-outward'.
5502 (c-declaration-limits): Change algorithm to report only the "innermost"
5503 defun's boundaries.
5504
5505 2011-10-28 Deniz Dogan <deniz@dogan.se>
5506
5507 * net/rcirc.el (rcirc-mode): Use hard newlines.
5508
5509 2011-10-28 Alan Mackenzie <acm@muc.de>
5510
5511 Amend to indent and fontify macros "which include their own semicolon"
5512 correctly, using the "virtual semicolon" mechanism.
5513
5514 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
5515
5516 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5517 Recode to scan one line at a time rather than having \n and \r
5518 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
5519 (c-forward-label): Amend for virtual semicolons.
5520 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
5521
5522 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5523 of the new C macros.
5524
5525 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
5526 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5527 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
5528 (c-opt-cpp-macro-define): Make into a full language variable.
5529 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5530 AWK Mode (including \n, \r) removed, no longer needed.
5531
5532 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5533 Invoke c-make-macro-with-semi-re.
5534
5535 * progmodes/cc-vars.el (c-macro-with-semi-re):
5536 (c-macro-names-with-semicolon): New variables.
5537 (c-make-macro-with-semi-re): New function.
5538
5539 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5540
5541 * vc/log-edit.el: Fill empty field rather than adding new one.
5542 (log-edit-add-field): New function.
5543 (log-edit-insert-changelog): Use it.
5544
5545 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5546
5547 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5548
5549 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5550
5551 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5552 (gdb--check-interpreter): New function.
5553 (gdb): Use it.
5554
5555 2011-10-27 Glenn Morris <rgm@gnu.org>
5556
5557 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5558 (least-positive-float, least-negative-float)
5559 (least-positive-normalized-float, least-negative-normalized-float)
5560 (float-epsilon, float-negative-epsilon):
5561 Remove unnecessary declarations.
5562
5563 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5564 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5565 (least-positive-float, least-negative-float)
5566 (least-positive-normalized-float, least-negative-normalized-float)
5567 (float-epsilon, float-negative-epsilon): Add doc-strings,
5568 based on those in cl.texi.
5569
5570 * files.el (set-visited-file-name): If the major-mode changed,
5571 reload the local variables. (Bug#9796)
5572
5573 2011-10-27 Chong Yidong <cyd@gnu.org>
5574
5575 * subr.el (change-major-mode-after-body-hook): New hook.
5576 (run-mode-hooks): Run it.
5577
5578 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5579 Use change-major-mode-before-body-hook.
5580
5581 * simple.el (fundamental-mode):
5582 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5583 change introducing fundamental-mode-hook.
5584
5585 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
5586
5587 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5588
5589 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
5590
5591 * ido.el (ido-file-name-all-completions-1): Do not require
5592 tramp.el explicitly. (Bug#7583)
5593
5594 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5595
5596 * progmodes/octave-mod.el:
5597 * progmodes/octave-inf.el: Update maintainer.
5598
5599 2011-10-26 Chong Yidong <cyd@gnu.org>
5600
5601 * subr.el (with-wrapper-hook): Rewrite doc.
5602
5603 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
5604
5605 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
5606 filenames "/method:foo:". (Bug#9793)
5607
5608 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5609
5610 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5611 (bug#9865).
5612
5613 2011-10-24 Glenn Morris <rgm@gnu.org>
5614
5615 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5616
5617 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
5618
5619 * notifications.el: Add the requirement of a running D-Bus session
5620 bus to the Commentary.
5621
5622 2011-10-24 Juri Linkov <juri@jurta.org>
5623
5624 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5625 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5626 (Bug#9364)
5627
5628 2011-10-24 Juri Linkov <juri@jurta.org>
5629
5630 * info.el (Info-following-node-name-re): Add newline to the list
5631 of allowed characters for leading space. (Bug#9824)
5632
5633 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5634
5635 * progmodes/octave-inf.el (inferior-octave-mode-map):
5636 Fix C-c C-h binding.
5637 * progmodes/octave-mod.el (octave-help): Remove.
5638
5639 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
5640
5641 Sync with Tramp 2.2.3.
5642
5643 * net/tramp-cache.el (top): Pacify byte-compiler using
5644 `init-file-user' and `site-run-file'.
5645
5646 * net/trampver.el: Update release number.
5647
5648 2011-10-23 Chong Yidong <cyd@gnu.org>
5649
5650 * files.el (toggle-read-only): Remove obsolete comment about
5651 version control.
5652
5653 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5654 for toggle-read-only. Note that this hasn't called vc-next-action
5655 since 2008-05-02, though it wasn't documented at the time.
5656
5657 * vc/ediff-init.el (ediff-toggle-read-only-function):
5658 Use toggle-read-only.
5659
5660 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5661
5662 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5663 of c-parse-state.
5664
5665 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5666 correct faulty logical expression.
5667 (c-parse-state-state, c-record-parse-state-state):
5668 (c-replay-parse-state-state): New defvar/defuns.
5669 (c-debug-parse-state): Use new functions.
5670
5671 2011-10-22 Martin Rudalics <rudalics@gmx.at>
5672
5673 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5674 last fix. Use window-in-direction correctly.
5675
5676 2011-10-21 Chong Yidong <cyd@gnu.org>
5677
5678 * progmodes/idlwave.el (idlwave-mode):
5679 * progmodes/vera-mode.el (vera-mode): No need to set
5680 require-final-newline; that's done in prog-mode.
5681 Suggested by Stefan Monnier.
5682
5683 2011-10-21 Martin Rudalics <rudalics@gmx.at>
5684
5685 * mouse.el (mouse-drag-window-above)
5686 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5687 (mouse-drag-mode-line-1, mouse-drag-header-line)
5688 (mouse-drag-vertical-line-rightward-window): Remove.
5689 (mouse-drag-line): New function.
5690 (mouse-drag-mode-line, mouse-drag-header-line)
5691 (mouse-drag-vertical-line): Call mouse-drag-line.
5692 * window.el (window-at-side-p, windows-at-side): New functions.
5693
5694 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
5695
5696 * tar-mode.el (tar-grind-file-mode):
5697 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5698
5699 2011-10-21 Chong Yidong <cyd@gnu.org>
5700
5701 * progmodes/idlwave.el (idlwave-mode):
5702 * progmodes/vera-mode.el (vera-mode):
5703 Use mode-require-final-newline.
5704
5705 2011-10-20 Glenn Morris <rgm@gnu.org>
5706
5707 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
5708
5709 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5710
5711 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5712
5713 2011-10-20 Chong Yidong <cyd@gnu.org>
5714
5715 * emulation/cua-base.el (cua-mode):
5716 * mail/footnote.el (footnote-mode):
5717 * mail/mailabbrev.el (mail-abbrevs-mode):
5718 * net/xesam.el (xesam-minor-mode):
5719 * progmodes/bug-reference.el (bug-reference-mode):
5720 * progmodes/cap-words.el (capitalized-words-mode):
5721 * progmodes/compile.el (compilation-minor-mode)
5722 (compilation-shell-minor-mode):
5723 * progmodes/gud.el (gud-tooltip-mode):
5724 * progmodes/hideif.el (hide-ifdef-mode):
5725 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5726 * progmodes/subword.el (subword-mode):
5727 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5728 * progmodes/which-func.el (which-function-mode):
5729 * term/tvi970.el (tvi970-set-keypad-mode):
5730 * term/vt100.el (vt100-wide-mode):
5731 * textmodes/flyspell.el (flyspell-mode):
5732 * textmodes/ispell.el (ispell-minor-mode):
5733 * textmodes/nroff-mode.el (nroff-electric-mode):
5734 * textmodes/paragraphs.el (use-hard-newlines):
5735 * textmodes/refill.el (refill-mode):
5736 * textmodes/reftex.el (reftex-mode):
5737 * textmodes/rst.el (rst-minor-mode):
5738 * textmodes/sgml-mode.el (html-autoview-mode)
5739 (sgml-electric-tag-pair-mode):
5740 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5741 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5742 * emulation/crisp.el (crisp-mode):
5743 * emacs-lisp/eldoc.el (eldoc-mode):
5744 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5745 minor mode behavior.
5746
5747 2011-10-19 Juri Linkov <juri@jurta.org>
5748
5749 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5750 the list of hard-coded chars with escape-glyph face.
5751
5752 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5753
5754 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5755
5756 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
5757
5758 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5759 running process.
5760
5761 2011-10-19 Glenn Morris <rgm@gnu.org>
5762
5763 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5764 Ignore ignored files. (Bug#9726)
5765
5766 2011-10-19 Chong Yidong <cyd@gnu.org>
5767
5768 Doc fix for minor modes, stating that an omitted argument enables
5769 the mode unconditionally when called from Lisp.
5770
5771 * abbrev.el (abbrev-mode):
5772 * allout.el (allout-mode):
5773 * autoinsert.el (auto-insert-mode):
5774 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5775 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5776 (global-auto-revert-mode):
5777 * battery.el (display-battery-mode):
5778 * composite.el (global-auto-composition-mode)
5779 (auto-composition-mode):
5780 * delsel.el (delete-selection-mode):
5781 * desktop.el (desktop-save-mode):
5782 * dired-x.el (dired-omit-mode):
5783 * dirtrack.el (dirtrack-mode):
5784 * doc-view.el (doc-view-minor-mode):
5785 * double.el (double-mode):
5786 * electric.el (electric-indent-mode, electric-pair-mode):
5787 * emacs-lock.el (emacs-lock-mode):
5788 * epa-hook.el (auto-encryption-mode):
5789 * follow.el (follow-mode):
5790 * font-core.el (font-lock-mode):
5791 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5792 * help.el (temp-buffer-resize-mode):
5793 * hilit-chg.el (highlight-changes-mode)
5794 (highlight-changes-visible-mode):
5795 * hi-lock.el (hi-lock-mode):
5796 * hl-line.el (hl-line-mode, global-hl-line-mode):
5797 * icomplete.el (icomplete-mode):
5798 * ido.el (ido-everywhere):
5799 * image-file.el (auto-image-file-mode):
5800 * image-mode.el (image-minor-mode):
5801 * iswitchb.el (iswitchb-mode):
5802 * jka-cmpr-hook.el (auto-compression-mode):
5803 * linum.el (linum-mode):
5804 * longlines.el (longlines-mode):
5805 * master.el (master-mode):
5806 * mb-depth.el (minibuffer-depth-indicate-mode):
5807 * menu-bar.el (menu-bar-mode):
5808 * minibuf-eldef.el (minibuffer-electric-default-mode):
5809 * mouse-sel.el (mouse-sel-mode):
5810 * msb.el (msb-mode):
5811 * mwheel.el (mouse-wheel-mode):
5812 * outline.el (outline-minor-mode):
5813 * paren.el (show-paren-mode):
5814 * recentf.el (recentf-mode):
5815 * reveal.el (reveal-mode, global-reveal-mode):
5816 * rfn-eshadow.el (file-name-shadow-mode):
5817 * ruler-mode.el (ruler-mode):
5818 * savehist.el (savehist-mode):
5819 * scroll-all.el (scroll-all-mode):
5820 * scroll-bar.el (scroll-bar-mode):
5821 * server.el (server-mode):
5822 * shell.el (shell-dirtrack-mode):
5823 * simple.el (auto-fill-mode, transient-mark-mode)
5824 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5825 (line-number-mode, column-number-mode, size-indication-mode)
5826 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5827 * strokes.el (strokes-mode):
5828 * time.el (display-time-mode):
5829 * t-mouse.el (gpm-mouse-mode):
5830 * tool-bar.el (tool-bar-mode):
5831 * tooltip.el (tooltip-mode):
5832 * type-break.el (type-break-mode-line-message-mode)
5833 (type-break-query-mode):
5834 * view.el (view-mode):
5835 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5836 (global-whitespace-mode, global-whitespace-newline-mode):
5837 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5838
5839 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5840 Fix autogenerated docstring.
5841
5842 2011-10-19 Juri Linkov <juri@jurta.org>
5843
5844 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5845 by checking environment variables "DESKTOP_SESSION" and
5846 "XDG_CURRENT_DESKTOP". (Bug#9779)
5847
5848 2011-10-19 Juri Linkov <juri@jurta.org>
5849
5850 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5851 (browse-url-chromium-program, browse-url-chromium-arguments):
5852 New defcustoms.
5853 (browse-url-default-browser): Check for `browse-url-chromium' and
5854 call `browse-url-chromium-program'.
5855 (browse-url-chromium): New command. (Bug#9779)
5856
5857 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5858
5859 * facemenu.el (list-colors-duplicates): On Windows, detect more
5860 duplicates by assuming that only colors matching "^System" are
5861 special "system colors". (Bug#9722)
5862
5863 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5864
5865 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5866 to distinguish the author from the committer.
5867
5868 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5869
5870 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5871
5872 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5873
5874 * international/mule.el (sgml-html-meta-auto-coding-function):
5875 Add support for detecting encoding in HTML5 specified only as
5876 <meta charset="UTF-8">. Implementation just makes http-equiv and
5877 content-type parts from HTML4 encoding string optional. (Bug#9716)
5878
5879 2011-10-18 Glenn Morris <rgm@gnu.org>
5880
5881 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5882
5883 2011-10-18 Chong Yidong <cyd@gnu.org>
5884
5885 * faces.el (cursor): Doc fix.
5886
5887 2011-10-17 Chong Yidong <cyd@gnu.org>
5888
5889 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5890
5891 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5892
5893 * dirtrack.el (dirtrack): Support shell buffers with path
5894 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5895
5896 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5897
5898 * json.el: Bump version to 1.3 and note change in History.
5899 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5900
5901 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5902
5903 * comint.el (comint-insert-input, comint-send-input)
5904 (comint-get-old-input-default, comint-backward-matching-input)
5905 (comint-next-prompt): Use nil instead of `input' for field property of
5906 past user input (bug#114).
5907
5908 * minibuffer.el (completion--replace): Inherit surrounding properties
5909 (bug#114).
5910 (minibuffer-complete-and-exit): Use it.
5911
5912 * comint.el (comint--table-subvert): Quote the all-completions output
5913 (bug#9160).
5914
5915 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5916
5917 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5918
5919 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5920 window on right of selected. (Bug#9350) Reword other window
5921 entries and separate them from frame entries.
5922
5923 2011-10-15 Glenn Morris <rgm@gnu.org>
5924
5925 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5926 Doc fixes.
5927
5928 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5929
5930 * net/network-stream.el (network-stream-open-starttls):
5931 Improve detection of failure due to lack of TLS support.
5932
5933 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5934 putting the input text in front and in bold.
5935
5936 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5937
5938 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5939
5940 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5941 empty buffer.
5942
5943 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5944 unread-command-events rather than pushing yet-another event.
5945
5946 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5947
5948 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5949 the explanation of the possible choices. Make the options passed
5950 to completing-read shorter.
5951
5952 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5953
5954 * textmodes/flyspell.el (flyspell-large-region): Make sure
5955 extended character mode is used if defined (Bug#1339).
5956
5957 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5958
5959 * simple.el (what-cursor-position): Fix the display of the
5960 character info for LRE, LRO, RLE, and RLO characters by appending
5961 an invisible PDF.
5962
5963 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5964
5965 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5966 even in case of error; add debug spec; simplify data flow.
5967 (with-timeout-handler): Remove.
5968
5969 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5970
5971 Fix Bug#6019, Bug#9315.
5972
5973 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5974 complete `buffer-file-name', the local file name part could look
5975 remotely (for example on VMS).
5976
5977 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5978 `tramp-run-real-handler'.
5979 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5980 already quoted by '"'.
5981
5982 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5983 Let `file-name-handler-alist' be nil, the local file name part
5984 could look remotely (for example on VMS).
5985
5986 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5987
5988 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5989 from here...
5990 (flyspell-post-command-hook): ...to here.
5991
5992 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5995 if not needed.
5996 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5997 using completion. Protect against "slow" callers.
5998 Remove the "message hack".
5999
6000 2011-10-11 Juri Linkov <juri@jurta.org>
6001
6002 * isearch.el (isearch-lazy-highlight-word): New variable.
6003 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6004 Use it. (Bug#9727)
6005
6006 2011-10-11 Glenn Morris <rgm@gnu.org>
6007
6008 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6009 like f90-previous-statement does.
6010
6011 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6012
6013 * eshell/eshell.el (eshell-command): History should be saved
6014 only in interactive use, to avoid error.
6015
6016 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6017
6018 * minibuffer.el (completion-file-name-table): Fix last change,
6019 i.e. ignore normal errors but not the other ones.
6020
6021 2011-10-10 Martin Rudalics <rudalics@gmx.at>
6022
6023 * window.el (special-display-buffer-names)
6024 (special-display-regexps): Remove some remnants of earlier
6025 changes from doc-strings.
6026 (quit-windows-on): New function.
6027
6028 * vc/vc.el (vc-revert, vc-rollback):
6029 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6030 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
6031 (Bug#6183) (Bug#7074) (Bug#7447)
6032
6033 2011-10-09 Martin Rudalics <rudalics@gmx.at>
6034
6035 * window.el (frame-auto-hide-function): Add version tag.
6036 (Bug#9699)
6037
6038 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
6039
6040 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6041 condition.
6042
6043 2011-10-09 Leo Liu <sdl.web@gmail.com>
6044
6045 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6046 (Bug#9701)
6047
6048 2011-10-08 Glenn Morris <rgm@gnu.org>
6049
6050 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6051 before the first code statement zero indent. (Bug#9690)
6052
6053 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
6054
6055 * simple.el (count-words-region): Always count in the region.
6056 Report the number of lines and characters too.
6057 (count-words): New command, which counts in the buffer if the
6058 region is inactive, as count-words-region used to.
6059 (count-words--message): New function. Handle plurals.
6060 (count-lines-region): Make it an alias for count-words-region.
6061
6062 * bindings.el (esc-map): Replace count-lines-region with
6063 count-words-region.
6064
6065 2011-10-08 Martin Rudalics <rudalics@gmx.at>
6066
6067 * window.el (window--delete): Delete dedicated frame
6068 unconditionally when argument KILL is non-nil. (Bug#9699)
6069 (switch-to-buffer): Fix doc-string typo.
6070
6071 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6072
6073 * eshell/eshell.el (eshell-command): Avoid using hooks.
6074
6075 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
6076
6077 * bindings.el ([M-left],[M-right]): Bind to left-word and
6078 right-word respectively.
6079
6080 2011-10-07 Glenn Morris <rgm@gnu.org>
6081
6082 * cus-start.el (debug-on-quit): Fix custom type.
6083
6084 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6085
6086 * subr.el (define-key-after): Clarify that the function is not
6087 useful for non-menu keymaps.
6088
6089 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6090
6091 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6092
6093 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
6094 in current minibuffer (Fix bug with recursive minibuffers).
6095
6096 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
6097
6098 * progmodes/gdb-mi.el (gdb): Doc fix.
6099
6100 2011-10-05 Martin Rudalics <rudalics@gmx.at>
6101
6102 * window.el (frame-auto-hide-function): New option replacing
6103 frame-auto-delete. Suggested by Stefan Monnier.
6104 (window--delete): Call frame-auto-hide-function instead of
6105 investigating frame-auto-delete.
6106 (window-point-1, set-window-point-1): New functions.
6107 (window-in-direction, record-window-buffer, window-state-get-1)
6108 (display-buffer-record-window): Use window-point-1 instead of
6109 window-point.
6110 (set-window-buffer-start-and-point): Use set-window-point-1.
6111
6112 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6113
6114 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6115
6116 2011-10-05 Glenn Morris <rgm@gnu.org>
6117
6118 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6119 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6120
6121 2011-10-05 Leo Liu <sdl.web@gmail.com>
6122
6123 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6124 works with buffer object.
6125
6126 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6127
6128 * mpc.el (mpc-tool-bar-map): Add labels.
6129
6130 2011-10-04 Glenn Morris <rgm@gnu.org>
6131
6132 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6133
6134 2011-10-04 Martin Rudalics <rudalics@gmx.at>
6135
6136 * window.el (window--delete): New function.
6137 (frame-auto-delete): Resuscitate option.
6138 (bury-buffer, replace-buffer-in-windows)
6139 (quit-window): Rewrite using window--delete.
6140 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6141 Pass display-buffer-mark-dedicated to window--display-buffer-2
6142 (Bug#9639).
6143
6144 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6145
6146 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6147 returns a list (bug#9554). Add remote file name completion.
6148 * comint.el (comint--table-subvert): Curry and get quote&unquote
6149 functions as arguments.
6150 (comint--complete-file-name-data): Adjust call accordingly.
6151 * pcomplete.el (pcomplete--table-subvert): Remove.
6152 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6153
6154 * minibuffer.el (completion-table-case-fold): Use currying.
6155 (completion--styles-type, completion--cycling-threshold-type):
6156 New constants.
6157 (completion-styles, completion-category-overrides)
6158 (completion-cycle-threshold): Use them.
6159 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6160 completion-table-case-fold.
6161
6162 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
6163
6164 * minibuffer.el (completion-category-overrides): Fix type of styles
6165 and add more user friendly tags (bug#9660).
6166
6167 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6168
6169 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6170 (mule-input-method-string): New widget.
6171 (default-input-method, language-info-custom-alist): Use it.
6172
6173 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6174
6175 * pcomplete.el: Require comint.
6176 (pcomplete--common-suffix): Remove.
6177 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6178 (pcomplete--table-subvert): Sync with comint--table-subvert.
6179 (pcomplete--entries): Use comint-completion-file-name-table.
6180 * comint.el (comint-unquote-filename): Simplify.
6181 (comint-completion-file-name-table): New function (bug#9616).
6182 (comint--complete-file-name-data): Use it.
6183
6184 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6185 (pcmpl-gnu-tar-buffer): Remove.
6186 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
6187 around. Make sure pcomplete-suffix-list is only changed temporarily.
6188 Don't look inside the tar's file if it's too large.
6189
6190 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
6191
6192 * cus-edit.el (custom-mode-map):
6193 * epa.el (epa-key-list-mode-map):
6194 * man.el (Man-mode-map):
6195 * startup.el (splash-screen-keymap):
6196 * simple.el (special-mode-map): Use scroll-up-command and
6197 scroll-down-command.
6198
6199 * progmodes/idlw-help.el (idlwave-help-mode-map):
6200 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6201 * net/newst-plainview.el (newsticker-mode-map):
6202 * emulation/ws-mode.el (wordstar-mode-map):
6203 * emulation/vi.el (vi-com-map):
6204 * calc/calc-graph.el (calc-graph-show-dumb):
6205 * term/sun.el (terminal-init-sun):
6206 * term/ns-win.el (global-map):
6207 * progmodes/grep.el (grep-mode-map):
6208 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6209 * mail/rmail.el (rmail-mode-map):
6210 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6211
6212 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6213 custom-safe-themes as special.
6214
6215 2011-10-01 Julien Danjou <julien@danjou.info>
6216
6217 * notifications.el (notifications-notify): Fix docstring.
6218
6219 2011-10-01 Per Starbäck <per@starback.se>
6220
6221 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6222
6223 2011-09-30 Martin Rudalics <rudalics@gmx.at>
6224
6225 * startup.el (command-line-1): Fix last fix by inserting
6226 initial-scratch-message into *scratch* before displaying it.
6227 (Bug#9605) and (Bug#9636)
6228
6229 2011-09-29 Eli Zaretskii <eliz@gnu.org>
6230
6231 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6232 window is hscrolled, move by logical lines. (Bug#9607)
6233 (line-move-visual): Update the doc string to the above effect.
6234
6235 2011-09-29 Martin Rudalics <rudalics@gmx.at>
6236
6237 * window.el (display-buffer-record-window): When WINDOW is the
6238 selected window use `point' instead of `window-point'. (Bug#9626)
6239
6240 * startup.el (command-line-1): Use insert-before-markers when
6241 inserting initial-scratch-message. (Bug#9605)
6242
6243 * help.el (help-window): Remove variable.
6244
6245 2011-09-29 Glenn Morris <rgm@gnu.org>
6246
6247 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6248
6249 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
6250
6251 * descr-text.el (describe-char-categories): Accept category
6252 descriptions more than one line long.
6253
6254 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6255
6256 * simple.el (delete-trailing-whitespace): Fix last change.
6257
6258 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6259 Don't confuse "y => 3" as the beginning of a `y' operation.
6260
6261 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6262 object has more than 4 slots (bug#9613).
6263
6264 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
6265
6266 * subr.el (with-output-to-temp-buffer):
6267 * net/quickurl.el (quickurl, quickurl-browse-url):
6268 Fix typos in docstrings.
6269
6270 2011-09-27 Eli Zaretskii <eliz@gnu.org>
6271
6272 * minibuffer.el (completion-styles)
6273 (completion-category-overrides): Cross reference each other in doc
6274 strings.
6275
6276 2011-09-27 Glenn Morris <rgm@gnu.org>
6277
6278 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6279 to split-string. (Bug#9606)
6280
6281 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6282
6283 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6284 (bug#9615).
6285
6286 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
6287
6288 * emacs-lisp/package.el (list-packages): Fix echo area message.
6289
6290 2011-09-27 Leo Liu <sdl.web@gmail.com>
6291
6292 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6293
6294 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
6295
6296 * net/dbus.el (dbus-unregister-object): Don't release services for
6297 registered signals. (Bug#9581)
6298
6299 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6300
6301 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6302 function that picks between cfengine 2 and 3 support
6303 automatically. Update docs accordingly.
6304
6305 2011-09-22 Kenichi Handa <handa@m17n.org>
6306
6307 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6308 ZERO.
6309 (indian-itrans-v5-table-for-tamil): New variable.
6310 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6311
6312 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6313
6314 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6315 that's true if the current command involved collapsing of text.
6316 It's reset to false at the beginning of the next command.
6317 (allout-post-command-business): Move the cursor to the beginning
6318 of entry if the cursor is hidden and collapsing activity just
6319 happened.
6320
6321 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
6322
6323 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6324 tracking (Bug#9541).
6325
6326 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
6327
6328 * net/newst-reader.el (newsticker-html-renderer)
6329 (newsticker-show-news): Automatically load html rendering package
6330 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6331 because w3m-fill-column is let-bound" and the error "Symbol's value
6332 as variable is void: w3m-fill-column".
6333
6334 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
6335
6336 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6337 Release services only if they are defined. (Bug#9581)
6338
6339 2011-09-23 Richard Stallman <rms@gnu.org>
6340
6341 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6342 distinguish start of paragraph from start of its text.
6343
6344 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6345
6346 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6347 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6348 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6349
6350 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6351
6352 * international/mule-diag.el (mule-diag): Insert a newline after
6353 each fontset description.
6354
6355 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6356
6357 * simple.el (delete-trailing-whitespace):
6358 Document last change; simplify.
6359
6360 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6361
6362 * simple.el (delete-trailing-whitespace): Also delete
6363 extra newlines at the end of the buffer.
6364
6365 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6366 (picture-newline): Use forward-line so as to ignore fields.
6367
6368 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6369
6370 * subr.el (with-wrapper-hook): Fix edebug spec.
6371
6372 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6373
6374 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6375 (bug#4538).
6376
6377 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
6378
6379 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6380 Fix nasty bug using wrong cached values.
6381
6382 2011-09-23 Alan Mackenzie <acm@muc.de>
6383
6384 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6385
6386 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
6387
6388 * window.el (pop-to-buffer): Ensure right window is selected if we
6389 chose another frame.
6390
6391 2011-09-22 Eli Zaretskii <eliz@gnu.org>
6392
6393 * simple.el (what-cursor-position): Use get-char-property-change
6394 and next-single-char-property-change, to be able to show display
6395 properties that come from overlays as well as text properties.
6396
6397 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
6398
6399 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6400
6401 * cmuscheme.el (run-scheme, switch-to-scheme):
6402 * cus-edit.el (customize-group, custom-buffer-create)
6403 (customize-browse):
6404 * info.el (info):
6405 * shell.el (shell):
6406 * mail/sendmail.el (mail):
6407 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6408
6409 2011-09-22 Richard Stallman <rms@gnu.org>
6410
6411 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6412 move back only to line beg, don't move back over blank lines.
6413
6414 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
6415
6416 * files.el (copy-directory): Set directory attributes only in case
6417 they could be retrieved from the source directory. (Bug#9565)
6418
6419 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6420
6421 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6422 (hs-find-block-beginning, hs-hide-level-recursive):
6423 Ignore strings as well as comments. (Bug#9502)
6424
6425 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6426
6427 * progmodes/sql.el (sql-comint-postgres):
6428 Convert port number to a string. (Bug#9566)
6429
6430 2011-09-22 Martin Rudalics <rudalics@gmx.at>
6431
6432 * window.el (quit-window): Undedicate window when switching to
6433 previous buffer. Reported by Thierry Volpiatto
6434 <thierry.volpiatto@gmail.com>.
6435 (special-display-popup-frame): When popping up a new frame reset
6436 its previous buffers to nil. Simplify code.
6437
6438 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
6439
6440 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6441 and process filter, as done also in `shell-command'.
6442
6443 2011-09-21 Martin Rudalics <rudalics@gmx.at>
6444
6445 * window.el (set-window-buffer-start-and-point):
6446 Call set-window-start with NOFORCE argument t.
6447 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6448 (quit-window): Reword doc-string. Handle new format of
6449 quit-restore parameter. Don't delete window if it has a
6450 previous buffer we can show instead of the present one.
6451 (display-buffer-record-window): Rewrite using a new format for
6452 the quit-restore window parameter
6453 (special-display-popup-frame, display-buffer-same-window)
6454 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6455 (display-buffer-pop-up-window, display-buffer-use-some-window):
6456 Adapt symbol passed to display-buffer-record-window.
6457 * help.el (help-window-setup): Handle new format of quit-restore
6458 parameter.
6459
6460 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6461
6462 * faces.el (face-list): Fix docstring (bug#9564).
6463
6464 * window.el (display-buffer--action-function-custom-type):
6465 Don't include internal functions in the Custom interface.
6466
6467 2011-09-20 Juri Linkov <juri@jurta.org>
6468
6469 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6470 (Info-forward-node, Info-backward-node, Info-next-preorder)
6471 (Info-last-preorder): Use it. (Bug#9528)
6472
6473 2011-09-20 Juri Linkov <juri@jurta.org>
6474
6475 * info.el (Info-last-preorder): Visit last menu item only when
6476 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6477
6478 2011-09-20 Julien Danjou <julien@danjou.info>
6479
6480 * password-cache.el (password-cache-remove): Remove entries even if the
6481 value is nil, so that password with a nil value (negative caching) is
6482 possible to invalidate.
6483
6484 2011-09-20 Lawrence Mitchell <wence@gmx.li>
6485
6486 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6487 all whitespace around breakpoint. (Bug#9553)
6488 (f90-find-breakpoint): Only break at whitespace inside a comment.
6489
6490 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6491
6492 * minibuffer.el (completion-file-name-table): Keep track of errors.
6493 (completion-table-with-predicate): Handle the case where pred1 is nil.
6494 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6495
6496 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6497
6498 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6499 (debugger-return-value): Signal an error if the debugging context does
6500 not await any return value.
6501
6502 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6503 * image-mode.el (image-toggle-display-text)
6504 (image-toggle-display-image): Stay away from evil `intangible'.
6505
6506 2011-09-19 Leo Liu <sdl.web@gmail.com>
6507
6508 * replace.el (occur-revert-arguments): Make it permanent-local.
6509 (occur-mode): Don't call font-lock-defontify.
6510
6511 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
6512
6513 * net/ldap.el (ldap-search-internal): Don't push empty search
6514 result (Bug#9508).
6515
6516 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6517
6518 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6519
6520 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
6521
6522 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6523 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6524
6525 2011-09-18 Juri Linkov <juri@jurta.org>
6526
6527 * buff-menu.el (Buffer-menu-mode-map):
6528 * dired.el (dired-mode-map):
6529 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6530 (lisp-interaction-mode-map):
6531 * emacs-lisp/package.el (package-menu-mode-map):
6532 * epa.el (epa-key-list-mode-map):
6533 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6534 (menu-bar-options-menu):
6535 * outline.el (outline-mode-menu-bar-map):
6536 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6537 * vc/vc-dir.el (vc-dir-menu-map):
6538 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6539 Capitalize non-function content words in menu item strings.
6540
6541 * dired.el (dired-mode-map): Add menu item for
6542 `image-dired-dired-toggle-marked-thumbs'.
6543
6544 2011-09-18 Juri Linkov <juri@jurta.org>
6545
6546 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6547 to `isearch-case-fold-search' and restore its original value
6548 after the `isearch-mode' call.
6549
6550 2011-09-18 Juri Linkov <juri@jurta.org>
6551
6552 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6553 because `zgrep' returns 1 for successful matches (bug#9226).
6554
6555 2011-09-18 Juri Linkov <juri@jurta.org>
6556
6557 * info.el (Info-extract-menu-node-name): Check the second match
6558 for empty string (second test-case of bug#9528).
6559 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6560 intermediate nodes to the history (first test-case of bug#9528).
6561
6562 2011-09-18 Juri Linkov <juri@jurta.org>
6563
6564 * info.el (Info-mode-syntax-table): New variable.
6565 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
6566
6567 2011-09-18 Juri Linkov <juri@jurta.org>
6568
6569 * info.el (Info-file-supports-index-cookies):
6570 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6571 outputs one more line for long file names (bug#4142).
6572
6573 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6574
6575 * newcomment.el (comment-normalize-vars): If prompting for
6576 comment-start, set comment-start-skip too (Bug#8424).
6577
6578 2011-09-18 Johan Bockgård <bojohan@gnu.org>
6579
6580 * icomplete.el: Fix previous fix of Bug#5849.
6581 (icomplete-mode): Don't set completion-show-inline-help.
6582 (icomplete-minibuffer-setup): Set completion-show-inline-help
6583 locally during icompletion.
6584
6585 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6586
6587 * woman.el (woman2-process-escapes): Don't delete unrecognized
6588 escapes (Bug#7843).
6589
6590 * files.el (inhibit-first-line-modes-regexps): Add image files.
6591 (hack-local-variables-prop-line): Return nil for malformed
6592 prop-lines (Bug#9044).
6593
6594 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
6595
6596 * net/tramp.el (top): Don't require 'shell.
6597 (tramp-methods): Fix docstring.
6598 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
6599 Return complete remote file name. Handle "smb" case.
6600 Use `tramp-tmpdir', if defined for the respective method.
6601 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6602
6603 * net/tramp-compat.el (top): Require 'shell.
6604
6605 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6606 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6607 `tramp-current-host'.
6608 (tramp-get-remote-tmpdir): Remove.
6609
6610 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6611 `tramp-tmpdir' entries.
6612 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6613 (tramp-smb-handle-file-attributes): Ignore errors.
6614 (tramp-smb-wait-for-output): Check also for process end.
6615
6616 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6617
6618 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6619 when sending QUIT (bug#9312).
6620
6621 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
6622
6623 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6624 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6625 occur-mode-display-occurrence.
6626 (occur-edit-mode): Add usage message.
6627 (occur-cease-edit): New command.
6628 (occur-after-change-function): Use text properties to find the
6629 position of the prefix text.
6630 (occur-engine): Set stickiness of prefix text properties.
6631
6632 2011-09-17 Glenn Morris <rgm@gnu.org>
6633
6634 * progmodes/etags.el (complete-tag):
6635 Fix call to completion-in-region. (Bug#9526)
6636
6637 2011-09-17 Juri Linkov <juri@jurta.org>
6638
6639 * textmodes/ispell.el (ispell-word): Add to the error message
6640 the word, ispell program name and current dictionary (bug#9121).
6641 (ispell-tex-arg-end): Capitalize "error" in the error message.
6642
6643 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6644
6645 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6646 check. (Bug#4251)
6647
6648 2011-09-17 Juri Linkov <juri@jurta.org>
6649
6650 * window.el (window-safe-min-height, window-safe-min-width):
6651 Fix typos (followup to bug#9522).
6652
6653 2011-09-17 Sven Joachim <svenjoac@gmx.de>
6654
6655 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6656
6657 2011-09-16 Eli Zaretskii <eliz@gnu.org>
6658
6659 * simple.el (line-move): If goal-column is set, move by logical
6660 lines, not by display lines. (Bug#971)
6661 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6662 to reflect the above change.
6663
6664 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6665
6666 * image.el (imagemagick-register-types): Use regexp-opt.
6667
6668 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6669
6670 * window.el (display-buffer-base-action): Rename from
6671 display-buffer-default-action. Make default value empty.
6672 (display-buffer-overriding-action): Convert to defvar.
6673 (display-buffer-fallback-action): New var.
6674
6675 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6676
6677 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6678 declaration.
6679 (package--add-to-archive-contents): If there is a duplicate entry
6680 with an older version, remove it.
6681 (package-menu-mark-delete, package-menu-mark-install)
6682 (package-menu-mark-unmark): Make unused args optional.
6683 (package-menu-mark-obsolete-for-deletion):
6684 Use package-menu-get-status instead of a regexp search.
6685 (package-menu-get-status): Use tabulated-list-entry.
6686 (package-menu-mark-upgrades): New command.
6687 (package-menu-mode-map): Bind it to U. Add it to menu bar.
6688 (package-menu-execute): Do installation before deletion.
6689 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6690 instead of checking major-mode.
6691 (package-menu--find-upgrades): New function.
6692
6693 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6694
6695 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6696 passwords in the log buffer.
6697 (smtpmail-process-filter): Update the process marker so that the
6698 "broken by peer" status message is inserted in the right place.
6699
6700 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6701
6702 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6703 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6704 bibtex-completion-at-point-function.
6705 (bibtex-completion-at-point-function): Use them.
6706
6707 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6708
6709 * mpc.el (mpc-constraints-tag-lookup): New function.
6710 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6711 also to browser "album|playlist".
6712
6713 2011-09-14 Juri Linkov <juri@jurta.org>
6714
6715 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6716 (isearch-edit-string): Use length of `isearch-string' when
6717 `isearch-fail-pos' returns nil.
6718 (isearch-message): Remove duplicate code and call
6719 `isearch-fail-pos' with arg `t'.
6720
6721 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
6722
6723 * replace.el (occur-mode-goto-occurrence): Don't force using other
6724 window (Bug#9499).
6725
6726 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6727
6728 2011-09-14 Martin Rudalics <rudalics@gmx.at>
6729
6730 * window.el (display-buffer-window): Remove.
6731 (display-buffer-record-window): Use help-setup window parameter
6732 instead of variable display-buffer-window.
6733 (display-buffer-function, special-display-buffer-names)
6734 (special-display-function): Mention help-setup parameter instead
6735 of display-buffer-window in doc-string.
6736 * help.el (help-window-setup): New argument help-window.
6737 Use help-window-setup parameter instead of display-buffer-window.
6738 Reword some messages.
6739 (with-help-window): Pass window used for displaying the buffer
6740 to help-window-setup. Don't set display-buffer-window.
6741
6742 2011-09-13 Glenn Morris <rgm@gnu.org>
6743
6744 * emacs-lisp/debug.el (debugger-make-xrefs):
6745 Preserve point. (Bug#9462)
6746
6747 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6748
6749 * window.el (window-deletable-p): Use next-frame.
6750
6751 2011-09-13 Martin Rudalics <rudalics@gmx.at>
6752
6753 * window.el (window-auto-delete): Remove.
6754 (window-deletable-p): Remove argument FORCE. Don't deal with
6755 dedication and previous buffers.
6756 (switch-to-prev-buffer): Don't delete window.
6757 (delete-windows-on): Delete a window's frame if and only if the
6758 window is dedicated.
6759 (replace-buffer-in-windows): Delete buffer's window or frame if
6760 and only if window is dedicated.
6761 (quit-window): Handle quit-restore as before last change.
6762 (bury-buffer): Delete window only if window-deletable-p returns t.
6763
6764 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6765
6766 * window.el (window-deletable-p): Never delete the last frame on a
6767 given terminal.
6768
6769 2011-09-13 Glenn Morris <rgm@gnu.org>
6770
6771 * help.el (describe-key-briefly): Copy previous standard-output change.
6772
6773 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
6774
6775 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6776
6777 2011-09-13 Glenn Morris <rgm@gnu.org>
6778
6779 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6780 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6781
6782 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
6783
6784 * dired-aux.el (dired-mark-read-string): Don't return default
6785 value on empty input (Bug#9361).
6786 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6787 Omit initial minibuffer contents.
6788 (dired-do-chmod): Signal an error on empty input.
6789 (dired-mark-read-string): Don't return default on empty input.
6790
6791 * files.el (file-modes-symbolic-to-number): Doc fix.
6792
6793 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6794
6795 * international/mule-cmds.el (ucs-completions): Remove.
6796 (read-char-by-name): Use complete-with-action instead; add metadata.
6797
6798 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6799
6800 * window.el (display-buffer--action-function-custom-type)
6801 (display-buffer--action-custom-type): New vars.
6802 (display-buffer-alist, display-buffer-default-action)
6803 (display-buffer-overriding-action): Add defcustom types.
6804
6805 * frame.el (delete-other-frames): Doc fix (Bug#276).
6806
6807 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6808
6809 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6810
6811 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6812
6813 Change modes that used same-window-* vars to use switch-to-buffer.
6814
6815 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6816 Use switch-to-buffer.
6817
6818 * cus-edit.el (customize-group, custom-buffer-create)
6819 (customize-browse, custom-buffer-create-other-window):
6820 Use switch-to-buffer or switch-to-buffer-other-window.
6821
6822 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6823 (Info-prev, Info-up, Info-speedbar-goto-node)
6824 (info-display-manual): Use switch-to-buffer.
6825 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6826
6827 * mail/sendmail.el (mail): Use switch-to-buffer.
6828 (mail-recover): Use switch-to-buffer-other-window.
6829
6830 * cmuscheme.el (run-scheme, switch-to-scheme):
6831 * ielm.el (ielm):
6832 * shell.el (shell):
6833 * net/rlogin.el (rlogin):
6834 * net/telnet.el (telnet, rsh):
6835 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6836
6837 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6838
6839 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6840
6841 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6842
6843 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6844 so don't mention it (bug#9301).
6845 (dired-sort-toggle-or-edit): Clarify string further.
6846
6847 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6848 match `x', `w32' and `ns', like the manual says (bug#9029).
6849
6850 * subr.el (eval-after-load): Doc string clarification (bug#9125).
6851 (process-kill-buffer-query-function): Mention the buffer name in
6852 the query.
6853
6854 * image-mode.el (image-next-line): The line parameter is mandatory
6855 (bug#9258).
6856
6857 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6858 which can be useful (bug#9301).
6859
6860 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6861
6862 * subr.el (match-string): Mention that the current buffer should
6863 be the same as the search was done in (bug#9282).
6864
6865 * facemenu.el: Disable the remove-* commands if the mark isn't
6866 active (bug#9162).
6867
6868 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6869
6870 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6871 of display-buffer.
6872 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6873
6874 * replace.el (occur-mode-goto-occurrence)
6875 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6876 and display-buffer.
6877
6878 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6879 display-buffer.
6880
6881 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6882 special-display and same-window variables.
6883 (mail-other-window): Use switch-to-buffer-other-window.
6884 (mail-other-frame): USe switch-to-buffer-other-frame.
6885
6886 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6887 Use display-buffer-other-frame.
6888 (gdb-display-gdb-buffer): Use pop-to-buffer.
6889
6890 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6891
6892 * progmodes/python.el: Don't set same-window-buffer-names.
6893
6894 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6895
6896 * window.el (display-buffer-alist): Add *Python*.
6897
6898 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6899
6900 * window.el (display-buffer-alist): Add entry for buffers
6901 previously handled same-window-*.
6902 (display-buffer-alist, display-buffer-default-action)
6903 (display-buffer-overriding-action): Mark as risky.
6904 (display-buffer-alist): Document action function changes.
6905 (display-buffer--same-window-action)
6906 (display-buffer--other-frame-action): New variables.
6907 (switch-to-buffer, display-buffer-other-frame): Use them.
6908 (display-buffer): Rename reuse-frame entry to reusable-frames.
6909 (display-buffer-reuse-selected-window): Function deleted.
6910 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6911 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6912 (display-buffer-special): New function.
6913 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6914 display-buffer-reuse-or-pop-window. Split off special-display
6915 part into display-buffer-special.
6916 (display-buffer-use-some-window): Don't perform any special
6917 pop-up-frames handling.
6918 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6919 (display-buffer--maybe-same-window): Rename from
6920 display-buffer-maybe-same-window.
6921
6922 * info.el: Don't set same-window-regexps.
6923 (info-setup): New function.
6924 (info-other-window, info): Call it.
6925
6926 * cus-edit.el: Don't set same-window-regexps.
6927 (customize-group): New argument.
6928 (customize-group-other-window): Use it.
6929 (customize-face, customize-face-other-window): Likewise.
6930 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6931
6932 * net/rlogin.el:
6933 * net/telnet.el:
6934 * progmodes/gud.el: Don't set same-window-regexps.
6935
6936 * cmuscheme.el:
6937 * ielm.el:
6938 * shell.el:
6939 * mail/sendmail.el:
6940 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6941
6942 2011-09-10 Juri Linkov <juri@jurta.org>
6943
6944 * isearch.el (isearch-edit-string): Remove obsolete mention of
6945 `C-w' (`isearch-yank-word-or-char') from docstring.
6946 (isearch-query-replace): Fix typo in docstring (bug#9466).
6947
6948 2011-09-10 Juri Linkov <juri@jurta.org>
6949
6950 * paren.el (show-paren-function): Don't show escaped parens.
6951 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6952
6953 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6954
6955 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6956 (mm-default-file-encoding): Remove autoload forms, they are
6957 replaced with autoload cookies in mml.el and mm-encode.el.
6958 (mail-add-attachment): New command.
6959 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6960 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6961 the doc string.
6962 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6963
6964 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6965
6966 * simple.el (count-words-region): Use buffer if there's no region
6967 (bug#9429).
6968
6969 2011-09-09 Juri Linkov <juri@jurta.org>
6970
6971 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6972 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6973 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6974
6975 2011-09-09 Alan Mackenzie <acm@muc.de>
6976
6977 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6978 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6979
6980 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6981
6982 Fix for Savannah bug#9392.
6983 * simple.el (mail-encode-mml): New defvar.
6984
6985 * mail/rmail.el (mail-encode-mml): Add a defvar.
6986 (rmail-enable-mime-composing): Default to t.
6987 (rmail-forward): Use MIME method of forwarding only if both
6988 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6989 Set mail-encode-mml non-nil if the MIME method was used.
6990
6991 * mail/sendmail.el (mml-to-mime): Add autoload form.
6992 (mail-encode-mml): Add a defvar.
6993 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6994 to nil.
6995 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6996 message through mml-to-mime, and reset mail-encode-mml to nil.
6997
6998 2011-09-09 Glenn Morris <rgm@gnu.org>
6999
7000 * woman.el (woman-if-body): When processing an .el block,
7001 do not delete the next .el block as well. (Bug#9447)
7002 (woman-special-characters): Add oq, cq, and hy characters.
7003
7004 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7005
7006 * window.el (window-deletable-p): Make sure window is live before
7007 invoking window-prev-buffers.
7008
7009 2011-09-08 Leo Liu <sdl.web@gmail.com>
7010
7011 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7012
7013 2011-09-08 Juri Linkov <juri@jurta.org>
7014
7015 * progmodes/compile.el (compilation-environment): Make it
7016 a defcustom (bug#8340).
7017
7018 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7019
7020 * window.el (frame-auto-delete): Rename to window-auto-delete.
7021 Make it control auto-deletion of windows and/or frames.
7022 (window-deletable-p): New argument FORCE. Rewrite conditions
7023 for deleting window/frame. (Bug#9419)
7024 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7025 Rewrite handling of case when window/frame can be deleted.
7026 (delete-windows-on): Call window-deletable-p with new FORCE
7027 argument t. (Bug#9456)
7028
7029 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
7030
7031 * help-mode.el (help-mode): Restore autoload.
7032
7033 2011-09-07 Juri Linkov <juri@jurta.org>
7034
7035 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7036 `compilation-environment'. Set buffer-local
7037 `compilation-environment' to `thisenv' later after (funcall mode).
7038 (Bug#8340)
7039
7040 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7041 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7042 instead of replacing its value. (Bug#8340)
7043
7044 2011-09-07 Juri Linkov <juri@jurta.org>
7045
7046 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7047 based on text properties put by `grep-filter' instead of matching
7048 escape sequences.
7049 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7050 to the value of `grep-error-screen-columns' (bug#9438).
7051
7052 2011-09-07 Juri Linkov <juri@jurta.org>
7053
7054 * simple.el (next-error-highlight, next-error-highlight-no-select):
7055 Doc fix (bug#9432).
7056
7057 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7058
7059 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7060 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7061
7062 2011-09-07 Leo Liu <sdl.web@gmail.com>
7063
7064 * net/rcirc.el (rcirc-mode): Conditionally initialize
7065 rcirc-input-ring.
7066
7067 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7068
7069 * emacs-lisp/find-func.el (find-function-C-source): Only set
7070 find-function-C-source-directory after checking that we found a source
7071 file there (bug#9440).
7072
7073 2011-09-06 Alan Mackenzie <acm@muc.de>
7074
7075 * isearch.el (isearch-other-meta-char): Wherever a key list is
7076 unread, "unread" the prefix arg, too. This fixes bug #8901.
7077
7078 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7079
7080 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7081
7082 2011-09-05 Juri Linkov <juri@jurta.org>
7083
7084 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7085
7086 2011-09-05 Juri Linkov <juri@jurta.org>
7087
7088 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7089 keeping point where processing of grep matches begins, and
7090 continue to delete remaining escape sequences from the same point.
7091 (grep-filter): Make leading zero optional in "0?1;31m" because
7092 git-grep emits "\033[1;31m" escape sequences unlike expected
7093 "\033[01;31m" as GNU Grep does (bug#9408).
7094 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7095
7096 2011-09-05 Juri Linkov <juri@jurta.org>
7097
7098 * subr.el (y-or-n-p): Capitalize "yes".
7099
7100 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
7101
7102 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7103 `tramp-cache-unload-hook' where appropriate.
7104 (tramp-methods): Rename `tramp-remote-sh' to
7105 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7106 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7107
7108 * net/tramp-sh.el (top): Don't require 'shell.
7109 (tramp-methods): Add `tramp-remote-shell' and
7110 `tramp-remote-shell-args' entries.
7111 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7112 (tramp-sh-handle-shell-command): Remove.
7113 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7114 Use `tramp-remote-shell'.
7115
7116 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
7117
7118 * mail/sendmail.el (sendmail-query-once-function): Delete.
7119 (sendmail-query-once): Save directly to send-mail-function.
7120 Update message-send-mail-function too.
7121
7122 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7123
7124 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7125
7126 * progmodes/python.el (python-mode-map): Use correct function to
7127 start python interpreter from menu-bar (as reported by Geert
7128 Kloosterman).
7129 (inferior-python-mode-map): Fix typo.
7130 (python-shell-map): Remove.
7131
7132 2011-09-03 Deniz Dogan <deniz@dogan.se>
7133
7134 * net/rcirc.el (rcirc-print): Simplify code for
7135 rcirc-scroll-show-maximum-output. There is no need to walk
7136 through all windows to find the right one.
7137
7138 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7139
7140 * help.el (help-return-method): Doc fix.
7141
7142 2011-09-03 Martin Rudalics <rudalics@gmx.at>
7143
7144 * window.el (window-deletable-p): Don't return a non-nil value
7145 when there's a buffer that was shown in the window before.
7146 (Bug#9419)
7147 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7148 Set window's previous buffers to nil.
7149
7150 2011-09-03 Eli Zaretskii <eliz@gnu.org>
7151
7152 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7153 newline before and after the tag line, so it doesn't interfere
7154 with determining the paragraph direction of bidirectional text.
7155
7156 2011-09-03 Leo Liu <sdl.web@gmail.com>
7157
7158 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7159
7160 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7161
7162 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
7163 (pop-to-buffer): Change interactive spec. Pass second argument
7164 directly to display-buffer.
7165 (display-buffer): Fix interactive spec. Use functionp to
7166 distinguish between a function and a list of functions.
7167
7168 * abbrev.el (edit-abbrevs):
7169 * arc-mode.el (archive-extract):
7170 * autoinsert.el (auto-insert):
7171 * bookmark.el (bookmark-bmenu-list):
7172 * files.el (find-file):
7173 * view.el (view-buffer):
7174 * progmodes/compile.el (compilation-goto-locus):
7175 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7176
7177 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7178
7179 * window.el (display-buffer-alist): Doc fix.
7180 (display-buffer): Add docstring. Don't treat
7181 display-buffer-default specially.
7182 (display-buffer-reuse-selected-window)
7183 (display-buffer-same-window, display-buffer-maybe-same-window)
7184 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7185 (display-buffer-pop-up-window)
7186 (display-buffer-reuse-or-pop-window)
7187 (display-buffer-use-some-window): New functions.
7188 (display-buffer-default-action): Use them.
7189 (display-buffer-default): Delete.
7190 (pop-to-buffer-1): Fix choice of actions.
7191
7192 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7193
7194 * minibuffer.el (completion--insert-strings): Don't get confused by
7195 completion entries that end with an LF char.
7196
7197 2011-09-01 Eli Zaretskii <eliz@gnu.org>
7198
7199 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7200
7201 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
7202
7203 * window.el (display-buffer): Restore interactive spec.
7204 (display-buffer-same-window, display-buffer-other-window):
7205 New functions.
7206 (pop-to-buffer-1): New function. Use the above.
7207 (pop-to-buffer, pop-to-buffer-same-window): Use it.
7208 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
7209
7210 * view.el (view-buffer-other-window, view-buffer-other-frame):
7211 Just use pop-to-buffer.
7212
7213 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7214
7215 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7216
7217 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7218
7219 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7220
7221 2011-08-31 Richard Stallman <rms@gnu.org>
7222
7223 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7224 of the separation of rmail-view-buffer from rmail-buffer.
7225 If you say no to "replace original", the decrypt is in the
7226 view buffer. If you say yes, the decrypt goes into the
7227 rmail buffer also.
7228
7229 2011-08-31 Martin Rudalics <rudalics@gmx.at>
7230
7231 * window.el (display-buffer-window): Rewrite doc-string.
7232 (display-buffer-record-window): New function.
7233 (display-buffer-macro-specifiers)
7234 (display-buffer-even-window-sizes, display-buffer-set-height)
7235 (display-buffer-set-width, display-buffer-in-window)
7236 (display-buffer-reuse-window, display-buffer-split-specifiers)
7237 (display-buffer-side-specifiers, display-buffer-split-window-1)
7238 (display-buffer-split-window, display-buffer-split-atom-window)
7239 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7240 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7241 (display-buffer-other-window-means-other-frame)
7242 (display-buffer-normalize-special)
7243 (display-buffer-normalize-default)
7244 (display-buffer-normalize-argument)
7245 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7246 (display-buffer-normalize-specifiers, display-buffer-frame)
7247 (display-buffer-same-window, display-buffer-same-frame)
7248 (display-buffer-other-window)
7249 (display-buffer-same-frame-other-window)
7250 (display-buffer-other-frame, pop-to-buffer-same-window)
7251 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7252 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7253 (switch-to-buffer-same-frame)
7254 (switch-to-buffer-other-window-same-frame)
7255 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7256 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7257 (display-buffer-alist-set): Remove.
7258 (display-buffer-function, special-display-buffer-names)
7259 (special-display-regexps, special-display-function):
7260 In doc-string refer to display-buffer-window and quit-restore
7261 parameter.
7262 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7263 (special-display-frame-alist, special-display-popup-frame)
7264 (same-window-buffer-names, same-window-regexps, same-window-p)
7265 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7266 (split-window-preferred-function, split-height-threshold)
7267 (split-width-threshold, window-splittable-p)
7268 (split-window-sensibly, window--try-to-split-window)
7269 (window--frame-usable-p, even-window-heights)
7270 (window--even-window-heights, window--display-buffer-1)
7271 (window--display-buffer-2, display-buffer-other-frame):
7272 Restore old Emacs 23 code, order and doc-strings where applicable.
7273 (display-buffer-default, display-buffer-assq-regexp): New functions.
7274 (display-buffer-alist): Rewrite doc-string.
7275 (display-buffer-default-action)
7276 (display-buffer-overriding-action): New variables.
7277 (display-buffer, switch-to-buffer): Rewrite.
7278 (pop-to-buffer): Restore Emacs 23 behavior but use
7279 window-normalize-buffer-to-display.
7280 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7281 Restore Emacs 23 behavior but use
7282 window-normalize-buffer-to-switch-to.
7283 (pop-to-buffer-same-window): Rewrite.
7284 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7285 Rewrite using Emacs 23 options.
7286
7287 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
7288
7289 * net/tramp.el (tramp-root-regexp): Remove.
7290 (tramp-completion-file-name-regexp-unified)
7291 (tramp-completion-file-name-regexp-separate)
7292 (tramp-completion-file-name-regexp-url): Don't use leading volume
7293 letter on win32 systems. (Bug#5303, Bug#9311)
7294 (tramp-drop-volume-letter): Simplify definition.
7295 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7296
7297 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7298
7299 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7300 (bug#9356).
7301
7302 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7303
7304 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
7305
7306 2011-08-29 Juri Linkov <juri@jurta.org>
7307
7308 * isearch.el (isearch-done): Don't display message "Mark saved"
7309 when arg `edit' is non-nil to prevent its flicker in the echo area.
7310
7311 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7312
7313 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7314 obsolete packages for deletion.
7315
7316 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7317
7318 * help-mode.el (help-mode-map): Add special-mode-map to parent.
7319 (help-mode): Derive help-mode from special-mode. Don't invoke
7320 view-mode from help-mode.
7321 (help-xref-override-view-map): Remove.
7322 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7323 view-mode is not used anymore.
7324
7325 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7326
7327 * server.el (server-port): Doc fix.
7328
7329 * cus-theme.el (custom-theme-choose-mode): Inherit from
7330 special-mode (Bug#9124).
7331 (custom-theme-choose-mode-map): Add special-mode to parent.
7332
7333 2011-08-28 Alan Mackenzie <acm@muc.de>
7334
7335 * progmodes/cc-fonts.el
7336 (c-make-font-lock-BO-decl-search-function): New function.
7337 (c-basic-matchers-after - "Fontify the clauses after various
7338 keywords"): Extract the three keyword lists for the 3 erroneous
7339 constructs from the list of four, and use the new function above
7340 in place of an old one.
7341
7342 2011-08-28 Deniz Dogan <deniz@dogan.se>
7343
7344 * net/rcirc.el (rcirc-insert-prev-input)
7345 (rcirc-insert-next-input): Remove unused argument.
7346
7347 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7348
7349 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7350
7351 2011-08-27 Alan Mackenzie <acm@muc.de>
7352
7353 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7354 handle function pointer parameters properly.
7355
7356 2011-08-27 Martin Rudalics <rudalics@gmx.at>
7357
7358 * window.el (display-buffer-reuse-window): Fix case where
7359 selected window was reused with non-nil OTHER-WINDOW argument.
7360 (Bug#9381)
7361
7362 2011-08-27 Deniz Dogan <deniz@dogan.se>
7363
7364 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7365 oftc's NickServ messages.
7366
7367 2011-08-27 Glenn Morris <rgm@gnu.org>
7368
7369 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7370
7371 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
7372
7373 * emacs-lisp/package.el (package-install): Call package-initialize
7374 if called interactively.
7375
7376 2011-08-26 Leo Liu <sdl.web@gmail.com>
7377
7378 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7379
7380 2011-08-25 Juri Linkov <juri@jurta.org>
7381
7382 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7383 `search-whitespace-regexp' (bug#9364).
7384
7385 2011-08-25 Juri Linkov <juri@jurta.org>
7386
7387 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7388 `regexp-search-ring' to their global values to protect from
7389 updating by `read-from-minibuffer' (bug#9185).
7390
7391 2011-08-25 Juri Linkov <juri@jurta.org>
7392
7393 * textmodes/ispell.el (ispell-command-loop): Add newline
7394 at the end of the "Use option `i'..." line.
7395
7396 2011-08-25 Juri Linkov <juri@jurta.org>
7397
7398 * battery.el (display-battery-mode): If `battery-status-function'
7399 or `battery-mode-line-format' is nil, display the message and set
7400 `display-battery-mode' to nil (bug#9363).
7401
7402 2011-08-25 Eli Zaretskii <eliz@gnu.org>
7403
7404 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7405 bidi-string-mark-left-to-right; they are unnecessary now.
7406
7407 2011-08-25 Deniz Dogan <deniz@dogan.se>
7408
7409 * net/quickurl.el: Documentation typo fixes.
7410
7411 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
7412
7413 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7414
7415 2011-08-25 Glenn Morris <rgm@gnu.org>
7416
7417 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7418
7419 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7420 (smtpmail-via-smtp): Handle nil response from smtp.
7421
7422 2011-08-24 Juri Linkov <juri@jurta.org>
7423
7424 * proced.el (proced-marked): Inherit from `error' instead of
7425 `font-lock-warning-face'.
7426
7427 * ibuffer.el (ibuffer-marked-face): Change default face from
7428 `font-lock-warning-face' to `warning'.
7429 (ibuffer-deletion-face): Change default face from
7430 `font-lock-type-face' to `error'.
7431
7432 * battery.el (battery-update): Use the face `error' instead of
7433 `font-lock-warning-face' (bug#6117).
7434
7435 2011-08-24 Juri Linkov <juri@jurta.org>
7436
7437 * faces.el (success): Change face color from "Green3" to
7438 "ForestGreen" on light background (bug#9353).
7439
7440 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
7441
7442 * window.el (quit-window): Rename from quit-restore-window.
7443 Use same arglist as old quit-window.
7444 (frame-auto-delete): Doc fix.
7445
7446 * view.el (view-mode-exit): Use quit-window.
7447
7448 2011-08-24 Juri Linkov <juri@jurta.org>
7449
7450 * isearch.el (isearch-ring-adjust1): Start visiting previous
7451 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7452 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7453 for empty search string (when the last search string is reused
7454 automatically) to adjust the isearch ring to the last element and
7455 prepare the correct index for further M-p commands (bug#9185).
7456
7457 2011-08-24 Kenichi Handa <handa@m17n.org>
7458
7459 * international/ucs-normalize.el: If decomposition property of
7460 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7461 nil.
7462 (nfd, nfkd): Likewise.
7463
7464 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7465
7466 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7467 from process filters aren't reliably transmitted to the surrounding
7468 accept-process-output.
7469 (mpc-proc-check): New function.
7470 (mpc-proc-sync): Use it (bug#8293)
7471
7472 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7473
7474 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7475 Add compatibility functions (bug#9313).
7476
7477 2011-08-23 Eli Zaretskii <eliz@gnu.org>
7478
7479 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7480
7481 * international/uni-bidi.el: Regenerate.
7482
7483 2011-08-23 Kenichi Handa <handa@m17n.org>
7484
7485 * international/charprop.el:
7486 * international/uni-bidi.el:
7487 * international/uni-category.el:
7488 * international/uni-combining.el:
7489 * international/uni-comment.el:
7490 * international/uni-decimal.el:
7491 * international/uni-decomposition.el:
7492 * international/uni-digit.el:
7493 * international/uni-lowercase.el:
7494 * international/uni-mirrored.el:
7495 * international/uni-name.el:
7496 * international/uni-numeric.el:
7497 * international/uni-old-name.el:
7498 * international/uni-titlecase.el:
7499 * international/uni-uppercase.el: Regenerate.
7500
7501 2011-08-23 Martin Rudalics <rudalics@gmx.at>
7502
7503 * help.el (help-window-setup): Fix message displayed when other
7504 window is reused. (Bug#9341)
7505
7506 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7507
7508 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7509 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7510
7511 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7512 Mark obsolete.
7513 * shell.el (shell-parse-pcomplete-arguments): New function.
7514 (shell-completion-vars): Use it instead (bug#9160).
7515
7516 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7517
7518 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7519 strings and comments (bug#9333).
7520
7521 * emacs-lisp/debug.el (debug-arglist): New function.
7522 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7523 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7524
7525 2011-08-22 Juri Linkov <juri@jurta.org>
7526
7527 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7528 Revert regexp that highlights output switches to its old
7529 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7530
7531 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7532 to check for empty output (bug#9226).
7533
7534 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
7535
7536 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7537 symbol-constituent as the default, as that stops font-lock from
7538 working properly (Bug#8843).
7539
7540 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7541
7542 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7543 `coding-system-for-*' around the process open call to avoid
7544 auth-source side effects.
7545 (smtpmail-try-auth-methods): Expand the secret password.
7546 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7547 probe hangs.
7548
7549 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7550
7551 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7552
7553 * emacs-lisp/find-func.el (find-function-noselect): New arg
7554 lisp-only.
7555
7556 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7557 signal an error for built-in functions (Bug#6664).
7558
7559 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7560
7561 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7562 (smtpmail-try-auth-methods): Use it.
7563
7564 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7565
7566 * font-lock.el (font-lock-fontify-region)
7567 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7568 (font-lock-default-unfontify-buffer)
7569 (font-lock-default-fontify-region)
7570 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7571
7572 * progmodes/compile.el (compilation-error-properties):
7573 Fix confusion between file struct and message struct (Bug#9319).
7574 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7575 `ant' regexp.
7576
7577 * net/browse-url.el (browse-url-firefox): Don't call
7578 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7579
7580 2011-08-20 Glenn Morris <rgm@gnu.org>
7581
7582 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7583
7584 * tutorial.el (tutorial--default-keys): Update some default bindings.
7585
7586 * files.el (hack-local-variables): Fully ignore case for "mode:".
7587
7588 2011-08-20 Alan Mackenzie <acm@muc.de>
7589
7590 Resolve invalid use of a regexp in regexp-opt.
7591
7592 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7593 detection for a java annotation.
7594
7595 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
7596 detection for a java annotation.
7597
7598 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7599 handling for java.
7600 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7601
7602 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
7603
7604 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7605 (Bug#9274).
7606
7607 2011-08-20 Alan Mackenzie <acm@muc.de>
7608
7609 Fontify CPP expressions correctly when starting in the middle of
7610 such a construct. Mainly for when jit-lock etc. starts a chunk
7611 here.
7612
7613 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
7614 variable.
7615 (c-make-font-lock-search-form): New function, extracted from
7616 c-make-font-lock-search-function.
7617 (c-make-font-lock-search-function): Use the above function.
7618 (c-make-font-lock-context-search-function): New function.
7619 (c-cpp-matchers): Enhance the preprocessor expression case with
7620 the above function
7621 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7622 which takes an expression.
7623
7624 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7625
7626 2011-08-20 Martin Rudalics <rudalics@gmx.at>
7627
7628 * window.el (display-buffer-reuse-window)
7629 (display-buffer-pop-up-window): Don't reuse or split a side
7630 window.
7631
7632 2011-08-19 Glenn Morris <rgm@gnu.org>
7633
7634 * files.el (hack-local-variables-prop-line, hack-local-variables):
7635 Downcase "Mode:". (Bug#9331)
7636
7637 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
7638
7639 * international/characters.el: Add L and R categories.
7640
7641 * subr.el (bidi-string-mark-left-to-right): Rename from
7642 string-mark-left-to-right. Use category search.
7643
7644 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7645
7646 2011-08-18 Juri Linkov <juri@jurta.org>
7647
7648 * faces.el (error, warning, success): New faces with definitions
7649 copied from old default values of `font-lock-warning-face',
7650 `compilation-warning', `compilation-info' (bug#6117).
7651
7652 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7653
7654 * progmodes/compile.el (compilation-error): Inherit from `error'.
7655 (compilation-warning): Inherit from `warning'.
7656 (compilation-info): Inherit from `success'.
7657
7658 * dired.el (dired-marked): Inherit from `warning'.
7659 (dired-flagged): Inherit from `error'.
7660
7661 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7662
7663 * mail/smtpmail.el (auth-source): Require to avoid problems with
7664 binding variables (bug#9298). Also clean up some unused
7665 autoloads.
7666
7667 * net/network-stream.el (network-stream-open-starttls):
7668 Support using starttls.el without using gnutls-cli.
7669
7670 2011-08-17 Juri Linkov <juri@jurta.org>
7671
7672 * progmodes/grep.el (rgrep): Handle the case when
7673 `grep-find-command' is a cons cell (bug#9278).
7674
7675 2011-08-17 Martin Rudalics <rudalics@gmx.at>
7676
7677 * window.el (display-buffer-pop-up-frame): Run frame creation
7678 function with BUFFER current (as special-display-popup-frame
7679 does). Reported by Drew Adams.
7680
7681 2011-08-17 Daiki Ueno <ueno@unixuser.org>
7682
7683 * epa-mail.el: Simplify GnuPG group expansion using
7684 epg-expand-group.
7685 (epa-mail-group-alist, epa-mail-group-modtime)
7686 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7687 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7688 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7689 Remove.
7690
7691 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7692
7693 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7694
7695 2011-08-16 Alan Mackenzie <acm@muc.de>
7696
7697 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7698 Correct, to avoid the inside of macros.
7699
7700 2011-08-16 Richard Stallman <rms@gnu.org>
7701
7702 * epa-mail.el: Handle GnuPG group definitions.
7703 (epa-mail-group-alist, epa-mail-group-modtime)
7704 (epa-mail-gnupg-conf-file): New variables.
7705 (epa-mail-parse-groups, epa-mail-sync-groups)
7706 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7707 (epa-mail-expand-recipients): New functions.
7708 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7709
7710 * mail/rmail.el (rmail-epa-decrypt): New command.
7711
7712 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7713 Don't bind buffer-read-only, just inhibit-read-only.
7714 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7715 (epa-decrypt-armor-in-region): Make error message clearer.
7716
7717 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7718
7719 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7720 and "a2b" to "ab" for `prefix'.
7721
7722 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
7723
7724 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7725 filter groups.
7726 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7727 Fourquet (Bug#8804).
7728
7729 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
7730
7731 * startup.el (argi): Declare as global variable (bug#9275).
7732
7733 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
7734
7735 * subr.el (string-mark-left-to-right): Search the entire string
7736 for RTL script, not just the terminating character. Doc fix.
7737
7738 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7739
7740 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7741 New function.
7742 (js--regexp-literal, js-syntax-propertize-function): Remove.
7743 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7744 (js-mode-map): Don't rebind electric keys.
7745 (js-insert-and-indent): Remove.
7746 (js-mode): Setup electric-layout and electric-indent instead.
7747
7748 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7749
7750 2011-08-12 Daiki Ueno <ueno@unixuser.org>
7751
7752 * epa.el (epa-progress-callback-function): Fix the logic of
7753 displaying progress.
7754 * epa-file.el (epa-file-insert-file-contents): Make progress
7755 display more user-friendly.
7756 (epa-file-write-region): Ditto.
7757
7758 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
7759
7760 * subr.el (string-mark-left-to-right): New function.
7761
7762 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7763 Use string-mark-left-to-right.
7764 (list-buffers-noselect): Caller changed.
7765
7766 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7767 Use string-mark-left-to-right.
7768 (tabulated-list-print): Recenter after moving point.
7769
7770 2011-08-10 Juri Linkov <juri@jurta.org>
7771
7772 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7773 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7774 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7775
7776 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
7777
7778 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7779 (Bug#7554).
7780
7781 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7782
7783 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7784 character. (Bug#6594)
7785
7786 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
7787
7788 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7789 (image-dired--with-db-file): New macro.
7790 (image-dired-write-tags, image-dired-remove-tag)
7791 (image-dired-create-gallery-lists, image-dired-write-comments)
7792 (image-dired-get-comment, image-dired-mark-tagged-files)
7793 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7794 (image-dired-gallery-generate): Use insert-file-contents.
7795
7796 * time.el (display-time-world-list, display-time-world-display):
7797 * time-stamp.el (time-stamp-string):
7798 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7799 set-time-zone-rule (Bug#7337).
7800
7801 2011-08-08 Daiki Ueno <ueno@unixuser.org>
7802
7803 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7804 (epg-error-to-string, epg-errors-to-string): New function.
7805 (epg-wait-for-completion): Reverse errors list.
7806 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7807 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7808 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7809 (epg-sign-keys, epg-generate-key-from-file)
7810 (epg-generate-key-from-string): Format errors by using
7811 epg-errors-to-string (bug#9255).
7812 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7813
7814 2011-08-07 Juri Linkov <juri@jurta.org>
7815
7816 * faces.el (list-faces-display): Remove extra angle bracket
7817 from `help-mode-map'.
7818
7819 * info.el (Info-history-toc-nodes): Doc fix.
7820
7821 * longlines.el (longlines-mode): Doc fix.
7822
7823 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7824
7825 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7826 of statements and in a few more cases (bug#9183).
7827
7828 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7829 New functions.
7830 (cl-transform-lambda): Use them (bug#9239).
7831
7832 2011-08-05 Martin Rudalics <rudalics@gmx.at>
7833
7834 * window.el (display-buffer-same-window)
7835 (display-buffer-same-frame, display-buffer-other-window)
7836 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7837 (pop-to-buffer-other-window)
7838 (pop-to-buffer-same-frame-other-window)
7839 (pop-to-buffer-other-frame): Make them defuns.
7840 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7841
7842 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7843
7844 * subr.el (make-composed-keymap): Move from C. Change calling
7845 convention, and improve docstring to bring attention to a subtle point.
7846 * minibuffer.el (completing-read-default): Adjust accordingly.
7847
7848 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
7849
7850 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7851 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7852
7853 * net/trampver.el: Update release number.
7854
7855 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7856
7857 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7858 "in" (bug#9190).
7859
7860 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7861
7862 * mail/sendmail.el (sendmail-query-once): Restore the current
7863 buffer after querying (bug#9074).
7864
7865 * dired.el (dired-flagged): Use different faces for marked and
7866 flagged files (bug#6117).
7867
7868 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7869 (bug#4433).
7870
7871 * ido.el (ido-mode): Switch off the message if called
7872 non-interactively.
7873
7874 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7875 before 587, since it appears that that's more likely to work for
7876 more people.
7877
7878 * cus-edit.el (custom-file): When running under emacs -q, always
7879 refuse to save the customizations, even if the .emacs file doesn't
7880 exist.
7881
7882 * info.el: Remove the `Info-beginning-of-buffer' function
7883 (bug#8325).
7884
7885 * net/network-stream.el (network-stream-open-starttls):
7886 Use `starttls-available-p' to see whether starttls.el can be used.
7887
7888 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7889
7890 * window.el (display-buffer-in-window): Don't set dedicated status
7891 of window here (Bug#9215).
7892 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7893 (display-buffer-pop-up-side-window)
7894 (display-buffer-in-side-window): Set dedicated status of window here.
7895
7896 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7897
7898 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7899 before binding generated-autoload-file.
7900
7901 2011-08-01 Deniz Dogan <deniz@dogan.se>
7902
7903 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7904
7905 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7906
7907 Sync with Tramp 2.2.2.
7908
7909 * net/trampver.el: Update release number.
7910
7911 2011-07-30 Juri Linkov <juri@jurta.org>
7912
7913 * dired-aux.el (dired-touch-initial): Remove function.
7914 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7915 current time, and `default' to the last modification time of the
7916 current marked file (bug#6887).
7917
7918 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7919
7920 * simple.el (goto-line): Use string-to-number to provide a
7921 numeric argument to read-number (bug#9163).
7922
7923 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7924
7925 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7926 connection process, it could be nil.
7927
7928 2011-07-27 Leo Liu <sdl.web@gmail.com>
7929
7930 Simplify url handling in rcirc-mode.
7931
7932 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7933 (rcirc-browse-url-at-mouse): Remove.
7934 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7935
7936 2011-07-26 Alan Mackenzie <acm@muc.de>
7937
7938 Fontify bitfield declarations properly.
7939
7940 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7941 (c-symbol-chars): Now exported as a lang variable.
7942 (c-not-primitive-type-keywords): New lang variable.
7943
7944 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7945 QT keyword "more" to prevent "more slots: ...." being spuriously
7946 parsed as a bitfield declaration.
7947
7948 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7949 Refactor and enhance to handle bitfield declarations.
7950 (c-punctuation-in): New function.
7951 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7952 declarations properly.
7953
7954 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7955
7956 * calendar/icalendar.el (icalendar--all-events): Take care of
7957 multiple vcalendars in a single file.
7958 (icalendar--convert-float-to-ical): Checkdoc fixes.
7959
7960 2011-07-25 Deniz Dogan <deniz@dogan.se>
7961
7962 * image.el (insert-image): Clarifying docstring.
7963
7964 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7965
7966 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7967 `tramp-send-command-and-check' if there is no error.
7968 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7969
7970 2011-07-22 Alan Mackenzie <acm@muc.de>
7971
7972 Prevent cc-langs.elc being loaded at run time.
7973
7974 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7975 cc-langs.
7976
7977 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7978 "(require 'cc-langs)". Quote a form so it will evaluate at
7979 (cc-mode's) compilation time.
7980
7981 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7982
7983 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7984 loading. (Bug#9114)
7985
7986 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7987
7988 * window.el (display-buffer-pop-up-window)
7989 (display-buffer-pop-up-side-window)
7990 (display-buffer-in-side-window): Call display-buffer-set-height
7991 and display-buffer-set-width after setting the new window's
7992 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7993
7994 2011-07-20 Sam Steingold <sds@gnu.org>
7995
7996 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7997 (etags-tags-included-tables): Call `convert-standard-filename' on
7998 the file names contained in TAGS so that windows Emacs can handle
7999 TAGS files created by cygwin ctags.
8000
8001 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8002
8003 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8004 which apparently didn't work.
8005
8006 2011-07-19 Roland Winkler <winkler@gnu.org>
8007
8008 * proced.el (proced-send-signal): For *Marked Processes* buffer
8009 put point at beginning of buffer.
8010
8011 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
8012
8013 * proced.el (proced-format): Make header lines align with the text
8014 (bug#1779).
8015
8016 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8017
8018 * view.el (view-buffer): Allow running in `special' modes if we're
8019 visiting a file (bug#8615).
8020
8021 2011-07-19 Martin Rudalics <rudalics@gmx.at>
8022
8023 * window.el (display-buffer-alist-of-strings-p)
8024 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8025 New functions.
8026 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8027 more accurately.
8028
8029 2011-07-18 Alan Mackenzie <acm@muc.de>
8030
8031 Fontify declarators properly when, e.g., a jit-lock chunk begins
8032 inside a declaration.
8033
8034 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8035
8036 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8037 New function.
8038 (c-complex-decl-matchers): Insert reference to
8039 c-font-lock-enclosing-decls.
8040
8041 * progmodes/cc-engine.el (c-backward-single-comment):
8042 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8043 to nil around calls to (forward-comment -1).
8044
8045 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8046
8047 * image.el (put-image): Doc typo fix.
8048
8049 * progmodes/etags.el (tags-search): Doc typo fix.
8050
8051 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8052 password if we get errors 550 to 554.
8053
8054 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8055
8056 * net/gnutls.el (gnutls-log-level): Remove.
8057
8058 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8059 indentation character (bug#6380).
8060
8061 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8062
8063 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8064 to clarify what the problem is (bug#4291).
8065
8066 * simple.el (current-kill): Clarify what
8067 `interprogram-paste-function' does (bug#7500).
8068 (auto-fill-mode): Document `auto-fill-function' in relation to
8069 `auto-fill-mode' (bug#2470).
8070
8071 2011-07-16 Lawrence Mitchell <wence@gmx.li>
8072
8073 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8074 method if slot is read-only (bug#9035).
8075
8076 2011-07-16 Martin Rudalics <rudalics@gmx.at>
8077
8078 * frame.el (select-frame-set-input-focus): New argument NORECORD.
8079 * window.el (pop-to-buffer): Select window used even if it was
8080 selected before, see discussion of (Bug#8615), (Bug#6954).
8081 Pass argument NORECORD on to select-frame-set-input-focus.
8082
8083 2011-07-15 Glenn Morris <rgm@gnu.org>
8084
8085 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
8086 Respect help-form.
8087
8088 2011-07-09 Lawrence Mitchell <wence@gmx.li>
8089
8090 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8091 (gnutls-negotiate): Use it.
8092
8093 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8094
8095 * net/gnutls.el (gnutls-negotiate):
8096 Upcase `gnutls-algorithm-priority'.
8097
8098 2011-07-15 Glenn Morris <rgm@gnu.org>
8099
8100 * jka-compr.el (jka-compr-verbose): Move from here...
8101 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8102 Add missing :version tag.
8103 * info.el: No need to require jka-compr when compiling.
8104
8105 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8106
8107 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8108 (gnutls-negotiate): Use it.
8109
8110 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8111
8112 * info.el (Info-beginning-of-buffer): New command.
8113 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8114 announcing `b' as the key (bug#8325).
8115 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
8116
8117 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8118
8119 * international/mule-cmds.el
8120 (describe-specified-language-support): Make the error message
8121 clearer (bug#8905).
8122
8123 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8124
8125 * isearch.el (isearch-barrier): Add a doc string, since it's
8126 mentioned in a function doc string (bug#8678).
8127
8128 2011-07-15 Martin Rudalics <rudalics@gmx.at>
8129
8130 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8131 buffer argument (Bug#9083) and self-identifying label argument.
8132
8133 2011-07-15 Glenn Morris <rgm@gnu.org>
8134
8135 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8136
8137 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8138
8139 * man.el (Man-fontify-manpage): Fix message when formatting the
8140 man page (bug#7929).
8141
8142 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8143
8144 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8145 argument LRM; if non-nil, append an invisible LRM character to the
8146 buffer name.
8147 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8148 last argument non-nil, when formatting buffer names.
8149 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8150 paragraph direction.
8151
8152 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8153
8154 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8155 the man page name (bug#7929).
8156
8157 * image.el (put-image): Mention the `put-image' overlay property
8158 (bug#7834).
8159
8160 * scroll-bar.el (set-scroll-bar-mode): Mention that
8161 `scroll-bar-mode' lists the values (bug#7772).
8162
8163 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8164 command (bug#7729).
8165
8166 * rect.el (apply-on-rectangle): Return the point after the last
8167 operation.
8168 (string-rectangle): Go to the point after the last operation
8169 (bug#7522).
8170
8171 * printing.el (pr-toggle-region): Clarify the documentation
8172 slightly (bug#7493).
8173
8174 * time.el (display-time-update):
8175 Allow `display-time-mail-function' to return nil (bug#7158).
8176 Fix suggested by Detlev Zundel.
8177
8178 * vc/diff.el (diff): Clarify the order the file names are read
8179 (bug#7111).
8180
8181 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8182 the doc string (bug#7015).
8183
8184 * font-lock.el (font-lock-maximum-decoration): Mention what
8185 numeric levels mean (bug#6935).
8186
8187 * startup.el (initial-buffer-choice): Don't mention the `none'
8188 selection, which is against policy.
8189
8190 2011-07-14 Martin Rudalics <rudalics@gmx.at>
8191
8192 * window.el (display-buffer-normalize-special):
8193 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
8194
8195 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8196
8197 * subr.el (version<, version<=, version=): Mention "-CVS" and
8198 "-12345" alpha version numbers.
8199
8200 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8201
8202 * bindings.el: Add advertised binding for set-mark-command
8203 (Bug#5772).
8204
8205 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8206
8207 * bindings.el (mode-line-other-buffer):
8208 * bookmark.el (bookmark-bmenu-2-window):
8209 * bs.el (bs-cycle-next, bs-cycle-previous):
8210 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8211 switch-to-buffer.
8212
8213 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8214 Delete.
8215
8216 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
8217
8218 * follow.el (follow-debug-message, follow-redisplay):
8219 * jka-cmpr-hook.el (with-auto-compression-mode):
8220 Fix typos in docstrings.
8221
8222 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8223
8224 * subr.el (with-silent-modifications): Clarify somewhat what the
8225 macro inhibits (bug#6525).
8226
8227 * simple.el (eval-expression): Note what it does if called
8228 interactively (bug#6495).
8229
8230 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8231
8232 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8233 Use pop-to-buffer buffer-or-name if it is nil.
8234
8235 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8236 Remove switch-to-buffer.
8237
8238 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8239
8240 * files.el (make-directory): Clarify that an error will be raised
8241 if there's an error (bug#6397).
8242
8243 * startup.el (initial-buffer-choice): Add `none' as a choice
8244 (bug#6234).
8245
8246 * subr.el (add-hook): Clarify section about buffer-local hooks
8247 (bug#6218).
8248
8249 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8250
8251 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8252
8253 * tabify.el (untabify): Preserve the current column so that point
8254 doesn't move (bug#6032).
8255
8256 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8257
8258 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8259 Rewrite to avoid awkward possessive "s" (bug#5986).
8260
8261 2011-07-13 Glenn Morris <rgm@gnu.org>
8262
8263 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8264 (dired-insert-directory): Give a message the first time
8265 if ls is found not to support --dired.
8266
8267 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8268
8269 * simple.el (toggle-truncate-lines): Clarify what is toggled
8270 (bug#5580). Text by Drew Adams.
8271
8272 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8273
8274 * simple.el (blink-matching-open): Make the error message from the
8275 last change less verbose.
8276
8277 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8278
8279 * font-lock.el (font-lock-comment-face): Use the high contrast
8280 "yellow" color for font-lock-comment-face on low color terminals
8281 using a dark background color (bug#4221).
8282
8283 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8284
8285 * dired.el (dired-insert-set-properties): Make the doc string
8286 reflect what it does now (bug#5325).
8287
8288 * simple.el (blink-matching-open): Say that we were unable to find
8289 the match within the limit, if we're limited (bug#5122).
8290
8291 * international/mule-cmds.el (prefer-coding-system): Add an
8292 example (bug#4869).
8293
8294 * progmodes/etags.el (tags-search): Document `file-list-form'
8295 (bug#4731).
8296
8297 2011-07-13 Lawrence Mitchell <wence@gmx.li>
8298
8299 * net/browse-url.el (browse-url-default-browser)
8300 (browse-url-browser-function): Make the default browser choice a
8301 bit more logical (bug#4300). Also clean up the doc string.
8302
8303 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8304
8305 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8306 binary endings (bug#4440).
8307
8308 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8309
8310 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8311 which can be pretty annoying (bug#8971).
8312
8313 * jka-compr.el (jka-compr-verbose): New variable, and use
8314 throughout (bug#8971).
8315
8316 * info.el (Info-find-file): Fall back on the installation
8317 directory if we can't find the info node anywhere else.
8318
8319 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8320
8321 * vc/vc.el (vc-revert-file):
8322 Don't set file time-stamp in the past. (Bug#5181)
8323
8324 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8325
8326 * files.el (after-find-file): Give a better error message when
8327 trying to find a symlink that points to a file that doesn't exist
8328 (bug#4398).
8329
8330 * progmodes/cc-vars.el: Remove (probably) misleading comment
8331 (bug#4396).
8332
8333 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8334
8335 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8336
8337 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8338
8339 * mouse-sel.el: Hack restoring functionality, while keeping
8340 compatibility with 2010-07-03 changes to mouse selection.
8341 (mouse-sel-primary-overlay): New var.
8342 (mouse-sel-selection-alist): Use it.
8343 (mouse-sel-mode): Doc fix; remove points that are default features
8344 of mouse.el.
8345
8346 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8347
8348 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8349 Fix previous fix (bug#2490).
8350
8351 2011-07-12 Roland Winkler <winkler@gnu.org>
8352
8353 * textmodes/bibtex.el (bibtex-initialize):
8354 Use pop-to-buffer-same-window.
8355 (bibtex-search-entries): Fix interactive call.
8356
8357 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8358
8359 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8360 Fontise bytecomp Error lines more correctly (bug#2490).
8361 Fix suggested by Johan Bockgård.
8362
8363 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8364
8365 * dired-x.el (dired-guess-default): Use `delete-dups'.
8366
8367 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8368
8369 * dired.el (dired-mark-prompt):
8370 * dired-aux.el (dired-read-shell-command): Doc fix.
8371
8372 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8373
8374 * mail/sendmail.el (sendmail-query-once):
8375 Use `customize-save-variable' unconditionally, now that it works under
8376 emacs -Q.
8377
8378 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8379
8380 * cus-edit.el (custom-file): Take an optional no-error variable.
8381 (customize-save-variable): Set the variable, and give a warning if
8382 running under "emacs -q".
8383
8384 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
8385
8386 * loadhist.el (unload-feature-special-hooks):
8387 Add `auto-coding-functions', `fill-nobreak-predicate' and
8388 `find-directory-functions' (bug#5327).
8389
8390 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8391
8392 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8393
8394 * cus-edit.el (custom-guess-name-alist): -alist variables should
8395 use the `alist' type (bug#3120). Suggested by Drew Adams.
8396
8397 * printing.el: Add documentation to all the `pr-toggle-' commands.
8398
8399 2011-07-11 Leo Liu <sdl.web@gmail.com>
8400
8401 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8402 backends where it makes sense (bug#2623).
8403
8404 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8405
8406 * dired-x.el (dired-guess-default): Remove duplicate shell command
8407 entries (bug#2028).
8408 (dired-guess-default): Fix grammar in doc string (bug#2028).
8409 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
8410
8411 * subr.el (remove-duplicates): New conveniency function.
8412
8413 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8414
8415 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8416 (bug#1526).
8417
8418 2011-07-10 Martin Rudalics <rudalics@gmx.at>
8419
8420 * window.el (display-buffer-normalize-default): Don't invert
8421 meaning of even-window-heights. Reported by Eli Zaretskii
8422 <eliz@gnu.org>.
8423
8424 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8425
8426 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8427
8428 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
8429
8430 * window.el (display-buffer): Fix arguments to
8431 display-buffer-reuse-window in last change.
8432
8433 * faces.el (link): Use a less saturated blue on light backgrounds.
8434
8435 * startup.el (fancy-startup-text, fancy-about-text)
8436 (fancy-startup-tail): Use font-lock faces, for background safety.
8437
8438 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8439
8440 * emulation/viper-cmd.el (viper-change-state-to-vi):
8441 Limit triggering of abbrev expansion (Bug#9038).
8442
8443 2011-07-09 Martin Rudalics <rudalics@gmx.at>
8444
8445 * window.el (display-buffer-default-specifiers): Remove.
8446 (display-buffer-macro-specifiers): Remove default specifiers.
8447 (display-buffer-alist): Default to nil.
8448 (display-buffer-reuse-window): New optional argument other-window.
8449 (display-buffer-pop-up-window): Allow splitting internal
8450 windows. Check whether a live window was created.
8451 (display-buffer-other-window-means-other-frame)
8452 (display-buffer-normalize-arguments): Rename to
8453 display-buffer-normalize-argument and rewrite. Set the
8454 other-window specifier.
8455 (display-buffer-normalize-special): New function.
8456 (display-buffer-normalize-options): Rename to
8457 display-buffer-normalize-default and rewrite.
8458 (display-buffer-normalize-options-inhibit): Remove.
8459 (display-buffer-normalize-specifiers): Rewrite.
8460 (display-buffer): Process other-window specifier and call
8461 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8462 more faithfully.
8463 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
8464 (display-buffer-alist-set): Don't handle 'unset default values.
8465 (display-buffer-in-window, display-buffer-alist-set):
8466 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
8467 <tassilo@member.fsf.org>.
8468
8469 2011-07-09 Leo Liu <sdl.web@gmail.com>
8470
8471 * register.el (insert-register): Restore accidental change on
8472 2011-06-26. (Bug#9028)
8473
8474 2011-07-09 Glenn Morris <rgm@gnu.org>
8475
8476 * subr.el (remq): Handle the empty list. (Bug#9024)
8477
8478 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8479
8480 * mail/sendmail.el (send-mail-function): No longer delay custom
8481 initialization.
8482 * custom.el (custom-initialize-delay): Doc fix.
8483
8484 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8485
8486 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8487
8488 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
8489
8490 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8491 human-friendly prompt.
8492
8493 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8494
8495 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8496 provided by a particular plugin.
8497
8498 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8499
8500 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8501 save customizations (with "emacs -Q"), just set the variable
8502 instead of erroring out.
8503
8504 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8505
8506 2011-07-08 Juri Linkov <juri@jurta.org>
8507
8508 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8509 (archive-zip-update-case): Use 7z if found by `executable-find'.
8510 The order of searching the available programs is the same as in
8511 `archive-zip-extract' (bug#8968).
8512
8513 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8514
8515 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8516 (menu-bar-options-menu): Tweak descriptions.
8517
8518 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8519
8520 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8521 menu items into verb phrases (bug#1421). Also refill to fit under
8522 80 columns.
8523
8524 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8525
8526 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8527 (Info-read-node-name): Doc fix (Bug#1084).
8528
8529 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8530 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8531 (end-of-sexp, beginning-of-sexp)
8532 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8533 (forward-symbol, forward-same-syntax, word-at-point)
8534 (sentence-at-point): Doc fix (Bug#1144).
8535
8536 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8537
8538 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8539 should cover it (bug#1281).
8540
8541 * cus-edit.el (custom-show): Mark as obsolete.
8542
8543 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
8544 negotiation fails, then possibly try again with a non-encrypted
8545 connection (bug#9017).
8546
8547 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8548 be used.
8549
8550 2011-07-07 Richard Stallman <rms@gnu.org>
8551
8552 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8553 property, and handle its changed format.
8554 Look for the correct line number.
8555 Use file's line contents (but not past first =) to find
8556 correct line in message.
8557
8558 2011-07-07 Kenichi Handa <handa@m17n.org>
8559
8560 * international/characters.el (build-unicode-category-table):
8561 Delete it.
8562 (unicode-category-table): Set it by unicode-property-table-internal.
8563
8564 * international/mule-cmds.el (char-code-property-alist): Move to
8565 to src/chartab.c.
8566 (get-char-code-property): Call unicode-property-table-internal to
8567 load a file. Call get-unicode-property-internal where necessary.
8568 (put-char-code-property): Call unicode-property-table-internal to
8569 load a file. Call put-unicode-property-internal where necessary.
8570 put-unicode-property-internal where necessary.
8571 (char-code-property-description):
8572 Call unicode-property-table-internal to load a file.
8573
8574 * international/charprop.el:
8575 * international/uni-bidi.el:
8576 * international/uni-category.el:
8577 * international/uni-combining.el:
8578 * international/uni-comment.el:
8579 * international/uni-decimal.el:
8580 * international/uni-decomposition.el:
8581 * international/uni-digit.el:
8582 * international/uni-lowercase.el:
8583 * international/uni-mirrored.el:
8584 * international/uni-name.el:
8585 * international/uni-numeric.el:
8586 * international/uni-old-name.el:
8587 * international/uni-titlecase.el:
8588 * international/uni-uppercase.el: Regenerate.
8589
8590 * loadup.el: Load international/charprop.el before
8591 international/characters.
8592
8593 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8594
8595 * window.el (next-buffer, previous-buffer): Signal an error if
8596 called from a minibuffer window.
8597
8598 * bindings.el: Revert 2011-07-04 change.
8599
8600 2011-07-06 Richard Stallman <rms@gnu.org>
8601
8602 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8603 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8604 Treat markers like ints.
8605 (rmail-mime-entity): Doc fix.
8606
8607 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8608
8609 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8610 defcustom again for backwards compatibility.
8611
8612 * simple.el (shell-command-on-region): Fill.
8613
8614 * dired-aux.el (dired-kill-line): Add a doc string.
8615
8616 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8617 to "\\sw\\|\\s_" (bug#358).
8618
8619 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8620 (dired-unmark-backward): Ditto.
8621 (dired-flag-backup-files): Ditto.
8622
8623 * dired-x.el (dired-mark-sexp): Ditto.
8624
8625 2011-07-06 Richard Stallman <rms@gnu.org>
8626
8627 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8628 (rmail-mime-entity): New arg TRUNCATED.
8629 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8630 New functions.
8631 (rmail-mime-save): Warn if entity is truncated.
8632 (rmail-mime-toggle-hidden): Likewise, for showing.
8633 (rmail-mime-process-multipart): Record when an entity is truncated.
8634
8635 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8636 if ENTITY is a string.
8637
8638 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8639
8640 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8641 of faces when `M-C-x'-ing their definitions (bug#8378).
8642 Also clean up the code slightly.
8643
8644 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8645 because that makes the colors go away.
8646
8647 * mail/sendmail.el (send-mail-function): Change the default to
8648 `sendmail-query-once'.
8649 (sendmail-query-once): Add an autoload cookie.
8650
8651 * net/network-stream.el (network-stream-open-starttls): Try using
8652 a plain connection even if the server offered STARTTLS, and we
8653 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8654 capability. This should make smtpmail.el work in slightly more
8655 configurations.
8656
8657 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
8658
8659 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8660 New defun.
8661 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8662
8663 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8664
8665 * progmodes/sql.el: Version 3.0
8666 (sql-product-alist): Add product :completion-object,
8667 :completion-column, and :statement attributes.
8668 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8669 (sql-mode-syntax-table): Mark all punctuation.
8670 (sql-font-lock-keywords-builder): Temporarily remove fallback on
8671 ansi keywords.
8672 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8673 (sql-mode-oracle-font-lock-keywords): Improve.
8674 (sql-oracle-show-reserved-words): New function for development.
8675 (sql-product-font-lock): Simplify for source code buffers.
8676 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8677 New functions.
8678 (sql-highlight-product): Set product specific syntax table.
8679 (sql-mode-map): Add statement movement functions.
8680 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8681 New variable.
8682 (sql-statement-regexp, sql-beginning-of-statement)
8683 (sql-end-of-statement, sql-signum): New functions.
8684 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8685 (sql-show-sqli-buffer): Bug fix.
8686 (sql-interactive-mode): Store connection data as buffer local.
8687 (sql-connect): Add NEW-NAME parameter. Redesign interaction
8688 with sql-interactive-mode.
8689 (sql-save-connection): Save buffer local settings.
8690 (sql-connection-menu-filter): Change menu entry name.
8691 (sql-product-interactive): Bug fix.
8692 (sql-preoutput-hold): New variable.
8693 (sql-interactive-remove-continuation-prompt): Bug fixes.
8694 (sql-debug-redirect): New variable.
8695 (sql-str-literal): New function.
8696 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8697 Redesign.
8698 (sql-oracle-save-settings, sql-oracle-restore-settings)
8699 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8700 (sql-completion-object, sql-completion-column)
8701 (sql-completion-sqlbuf): New variables.
8702 (sql-build-completions-1, sql-build-completions)
8703 (sql-try-completion): New functions.
8704 (sql-read-table-name): Use them.
8705 (sql-contains-names): New buffer local variable.
8706 (sql-list-all, sql-list-table): Use it.
8707 (sql-oracle-completion-types): New variable.
8708 (sql-oracle-completion-object, sql-sqlite-completion-object)
8709 (sql-postgres-completion-object): New functions.
8710
8711 2011-07-06 Glenn Morris <rgm@gnu.org>
8712
8713 * window.el (pop-to-buffer): Doc fix.
8714
8715 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
8716
8717 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8718
8719 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
8720
8721 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8722
8723 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8724
8725 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
8726
8727 * button.el (button): Inherit from link face. Suggested by Dan
8728 Nicolaescu.
8729
8730 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8731
8732 * progmodes/gdb-mi.el: Fit in 80 columns.
8733 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8734 switch-to-buffer.
8735
8736 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8737 if imenu is simply not configured (bug#8941).
8738
8739 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8740
8741 * allout.el (allout-post-undo-hook): New allout outline-change
8742 event hook to signal undo activity.
8743 (allout-post-command-business): Run allout-post-undo-hook if an
8744 undo just occurred.
8745 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8746 * allout-widgets.el (allout-widgets-after-undo-function):
8747 Ensure the integrity of the current item's decoration after it has been
8748 in the vicinity of an undo.
8749 (allout-widgets-mode): Include allout-widgets-after-undo-function
8750 on the new allout-post-undo-hook.
8751
8752 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8753
8754 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8755 Let define-derived-mode define it.
8756 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8757 cycles of abbrev-table inheritance (bug#8998).
8758
8759 2011-07-05 Roland Winkler <winkler@gnu.org>
8760
8761 * textmodes/bibtex.el: Add support for biblatex.
8762 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8763 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8764 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8765 (bibtex-entry-alist, bibtex-field-alist): New variables.
8766 (bibtex-entry-field-alist): Obsolete alias for
8767 bibtex-BibTeX-entry-alist.
8768 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8769 (bibtex-set-dialect): New command.
8770 (bibtex-entry-type, bibtex-entry-head)
8771 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8772 Bind via bibtex-set-dialect.
8773 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8774 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8775 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8776 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8777 Define via bibtex-set-dialect.
8778 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8779 Obey bibtex-no-opt-remove-re.
8780 (bibtex-vec-push, bibtex-vec-incr): New functions.
8781 (bibtex-format-entry, bibtex-field-list)
8782 (bibtex-print-help-message, bibtex-validate)
8783 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8784
8785 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8786
8787 * progmodes/compile.el (compilation-goto-locus):
8788 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8789 * bs.el (bs-cycle-next, bs-cycle-previous):
8790 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8791 * bindings.el (mode-line-other-buffer):
8792 * autoinsert.el (auto-insert):
8793 * arc-mode.el (archive-extract):
8794 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8795
8796 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8797
8798 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8799 Fix check of `emacs-lock-unlockable-modes'.
8800 Coerce true values of `emacs-lock--try-unlocking' to t.
8801
8802 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8803
8804 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8805 * emacs-lock.el: New file.
8806
8807 2011-07-05 Julien Danjou <julien@danjou.info>
8808
8809 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8810 than `boundp' to check if face is set.
8811
8812 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8813
8814 * register.el (registerv-make):
8815 * window.el (window-min-height): Fix typos in docstrings.
8816
8817 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8818
8819 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8820 Update doc string.
8821
8822 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8823
8824 * server.el (server-execute): Catch quit and call
8825 `server-return-error' to pass the error back to emacsclient and
8826 close the connection (bug#8942).
8827
8828 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8829
8830 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8831 insecure exception for current topic. Also note that auto-saves
8832 are handled differently.
8833
8834 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
8835 State variables for tracking auto-save inhibition situation.
8836
8837 (allout-write-contents-hook-handler): Rename from
8838 'allout-write-file-hook-handler', and describe how it depends on
8839 write-contents-functions sensitivity to non-nil value to prevent
8840 file write.
8841
8842 (allout-auto-save-hook-handler): Remove. auto-save does not check
8843 this in individual buffers, only in the starting buffer, so this
8844 is not the right way for us to inhibit auto-save in a buffer
8845 according to its condition.
8846
8847 (allout-mode): Use new allout-write-contents-hook-handler, and
8848 only with write-contents-functions. Remove auto-save provisions -
8849 they're implemented elsewhere.
8850
8851 (allout-before-change-handler): If undo is in progress, note that
8852 for attention of allout-post-command-business.
8853
8854 (allout-post-command-business): If the command we're following was
8855 an undo, check for change in the status of encrypted items and
8856 adjust auto-save inhibitions accordingly.
8857
8858 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8859 according to whether there are or aren't any plain-text topics
8860 pending encryption.
8861
8862 (allout-inhibit-auto-save-info-for-decryption):
8863 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8864 if there are plain-text topics pending encryption.
8865
8866 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8867 buffer-saved-size and some allout state to not inhibit auto-saves
8868 if there are no longer any plain-text topics pending encryption.
8869
8870 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8871 No longer provide for exemption of the current topic.
8872
8873 2011-07-04 Juri Linkov <juri@jurta.org>
8874
8875 Add 7z operations to delete and save changed members (bug#8968).
8876 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8877 New defcustoms.
8878 (archive-7z-write-file-member): New function.
8879 (archive-7z-summarize): Fix the number of dashes in the
8880 listing output.
8881
8882 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8883
8884 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8885 (bug#8958).
8886
8887 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8888
8889 * bindings.el: Ignore next-buffer and previous-buffer in
8890 minibuffer-local-map.
8891
8892 * font-lock.el (font-lock-builtin-face): Change light background
8893 color to dark slate blue (Bug#6693).
8894
8895 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8896
8897 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8898
8899 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8900
8901 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8902 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8903 Add switch-to-buffer.
8904
8905 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8906
8907 * isearch.el (isearch-search-fun-function): Clarify further the
8908 meaning of the function returned.
8909
8910 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8911
8912 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8913
8914 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8915 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8916 Use it.
8917 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8918 `tramp-default-remote-path' does not exist.
8919 (tramp-send-command-and-read): New optional argument NOERROR.
8920 (tramp-open-connection-setup-interactive-shell)
8921 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8922 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8923 (tramp-process-sentinel): Flush also process' connection property.
8924 (tramp-sh-handle-start-file-process): Do not set process
8925 sentinel. It is done now ...
8926 (tramp-maybe-open-connection): ... here. (Bug#8929)
8927
8928 2011-07-04 MON KEY <monkey@sandpframing.com>
8929
8930 * play/animate.el (animate-string): Doc fixes and allow changing
8931 the buffer name (bug#5417).
8932
8933 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8934
8935 * play/animate.el (animation-buffer-name): Rename from *animate*.
8936
8937 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8938
8939 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8940 This is simpler and helps future-proof the code.
8941 (timer-until): Use time-subtract and float-time.
8942 (timer--time-less-p): Use time-less-p.
8943
8944 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8945
8946 * type-break.el (timep): Use the value of `float-time' to avoid a
8947 byte-compiler warning.
8948
8949 * server.el (server-eval-and-print): Return any result, even nil.
8950
8951 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8952
8953 * type-break.el: Accept time formats that the builtins accept.
8954 (timep, type-break-time-difference): Accept any format that
8955 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8956 This is simpler and helps future-proof the code.
8957 (type-break-time-difference): Round rather than ignoring
8958 subseconds components.
8959
8960 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8961
8962 * info.el (Info-apropos-matches): Make non-interactive, since it
8963 doesn't seem to do anything useful as a command (bug#8829).
8964
8965 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8966
8967 * frame.el (frame-background-mode, frame-set-background-mode):
8968 Move from faces.el.
8969 (frame-default-terminal-background): New function.
8970
8971 * custom.el (custom-push-theme): Don't record faces in `changed'
8972 theme; this doesn't work correctly for per-frame face settings.
8973 (disable-theme): Use face-set-after-frame-default to reset faces.
8974 (custom--frame-color-default): New function.
8975
8976 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8977
8978 * dired.el (dired-flagging-regexp): Remove unused variable
8979 (bug#8769).
8980
8981 2011-03-29 Kevin Ryde <user42@zip.com.au>
8982
8983 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8984 `perl-Test2' extend to match possible "fail #N" rep count
8985 (bug#8377).
8986
8987 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8988
8989 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8990 `smtpmail-via-smtp' now returns the error instead of nil.
8991
8992 * isearch.el (isearch-search-fun-function): Clarify the doc string
8993 (bug#8101).
8994
8995 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8996
8997 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8998 unnecessary spaces (bug#8987).
8999
9000 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9001
9002 * net/network-stream.el (open-network-stream): Use the
9003 :end-of-capability command thoughout.
9004
9005 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9006
9007 * net/network-stream.el (open-network-stream): Add the
9008 :end-of-capability command parameter, used by pop3.el.
9009
9010 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9011
9012 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9013
9014 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9015 for list)" (bug#6475).
9016
9017 * files.el (file-expand-wildcards): Ignore non-readable
9018 sub-directories while trying to find matches instead of signaling
9019 an error (bug#6297).
9020
9021 * man.el (Man-reference-regexp): Allow matching possible
9022 word-wrapped references (bug#6289).
9023
9024 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9025 for consistency with the other vc buffers (bug#6197).
9026 (vc-checkin): Ditto.
9027
9028 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9029
9030 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9031
9032 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9033
9034 * custom.el (defcustom): Clarify that :set is only used in the
9035 Customize user interface (bug#6089).
9036
9037 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9038 associated with a file, refuse to run instead of erroring out
9039 (bug#6084).
9040
9041 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9042 the doc string, since it appears that using `fill-column' always
9043 controls the width (bug#7845).
9044
9045 * simple.el (shell-command-on-region): Say where the error output
9046 went if `shell-command-default-error-buffer' is set (bug#6857).
9047
9048 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9049
9050 * allout.el (allout-yank-processing): Adjust cursor position for
9051 backwards-deleted space.
9052
9053 (allout-rebullet-heading): Register changes with
9054 allout-exposure-changed-hook, so the modified topic is properly
9055 decorated.
9056
9057 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9058
9059 * minibuffer.el (completion-in-region): Document PREDICATE
9060 (bug#7136).
9061
9062 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9063 of keyword/argument pairs (bug#6904).
9064
9065 * replace.el (multi-occur):
9066 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
9067
9068 2011-07-02 Drew Adams <drew.adams@oracle.com>
9069
9070 * dired.el (dired-mark-if): Make the message about whether it's
9071 marking or unmarking clearer (bug#8523).
9072
9073 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9074
9075 * disp-table.el (display-table-print-array): New function.
9076 (describe-display-table): Use it to print the vectors more pretty
9077 (Bug#8859).
9078
9079 2011-07-02 Martin Rudalics <rudalics@gmx.at>
9080
9081 * window.el (window-state-get-1): Don't assign clone numbers.
9082 Add clone-of item to list of window parameters.
9083 (window-state-put-2): Don't process clone numbers.
9084 (display-buffer-alist): Fix doc-string.
9085
9086 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9087
9088 * subr.el (remq): Don't allocate if it's not needed.
9089 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9090 (keymap--merge-bindings): New functions.
9091 (keymap-canonicalize): Use them to refine the canonicalization.
9092 * minibuffer.el (minibuffer-local-completion-map)
9093 (minibuffer-local-must-match-map): Move initialization from C.
9094 (minibuffer-local-filename-completion-map): Move initialization from C;
9095 don't inherit from anything here.
9096 (minibuffer-local-filename-must-match-map): Make obsolete.
9097 (completing-read-default): Use make-composed-keymap to combine
9098 minibuffer-local-filename-completion-map with either
9099 minibuffer-local-must-match-map or
9100 minibuffer-local-filename-completion-map.
9101
9102 2011-07-01 Glenn Morris <rgm@gnu.org>
9103
9104 * type-break.el (type-break-time-sum): Use dolist.
9105
9106 * textmodes/flyspell.el (flyspell-word-search-backward):
9107 Replace CL function.
9108
9109 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9110
9111 * mouse.el (mouse--strip-first-event): New function.
9112 (function-key-map): Use it to map fringe clicks to normal clicks
9113 by default.
9114
9115 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9116 (vc-bzr-revision-completion-table): Add support for annotate and date.
9117
9118 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9119 inherit from parent.
9120
9121 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9122
9123 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
9124 (dired-show-file-type): Doc fixup (bug#8818).
9125
9126 * dired.el (dired-mode): Fix up the doc string as suggested by
9127 Drew Adams (bug#8817).
9128
9129 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9130 cookie, since the manual says that it should be possible to add
9131 this function to `find-file-hook' (bug#8709).
9132
9133 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9134
9135 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9136 here. Noted Ted Zlatanov as the maintainer.
9137 (cfengine-common-settings, cfengine-common-syntax): New functions
9138 to set up common things between `cfengine-mode' and
9139 `cfengine3-mode'.
9140 (cfengine3-mode): New mode.
9141 (cfengine3-defuns cfengine3-defuns-regex
9142 (cfengine3-class-selector-regex cfengine3-category-regex)
9143 (cfengine3-vartypes cfengine3-font-lock-keywords)
9144 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
9145 (cfengine3-indent-line): Add from cfengine3.el.
9146
9147 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
9148
9149 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9150
9151 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9152
9153 2011-07-01 Martin Rudalics <rudalics@gmx.at>
9154
9155 * window.el (same-window-buffer-names, same-window-regexps)
9156 (same-window-p, special-display-frame-alist)
9157 (special-display-popup-frame, special-display-function)
9158 (special-display-buffer-names, special-display-regexps)
9159 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9160 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9161 (split-window-preferred-function, split-height-threshold)
9162 (split-width-threshold, even-window-heights)
9163 (display-buffer-mark-dedicated, window-splittable-p)
9164 (split-window-sensibly, window-safely-shrinkable-p):
9165 Un-obsolete.
9166 (display-buffer): Don't spread args with function specifier
9167 because special-display-popup-frame won't like it.
9168
9169 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9170
9171 Time-stamp simplifications and fixes.
9172 These improve accuracy slightly, and future-proof the code
9173 against some potential changes to current-time format.
9174
9175 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9176 by using time-since and float-time.
9177
9178 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9179 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9180 + NNN microseconds".
9181
9182 * type-break.el (type-break-time-sum): Rewrite using time-add.
9183
9184 * play/hanoi.el (hanoi-current-time-float): Remove.
9185 All uses replaced by float-time.
9186
9187 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9188 This yields a more-accurate answer.
9189 (rng-time-to-float): Remove; no longer needed.
9190
9191 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9192
9193 * calendar/timeclock.el (timeclock-seconds-to-time):
9194 Defalias to seconds-to-time, since they're the same thing.
9195
9196 * emacs-lisp/elp.el (elp-elapsed-time):
9197 * emacs-lisp/benchmark.el (benchmark-elapse):
9198 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9199
9200 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9201
9202 * window.el (bury-buffer): Don't iconify the only frame.
9203 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9204 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9205
9206 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
9207
9208 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9209 Add mouse-yank-primary.
9210
9211 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9212
9213 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9214
9215 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9216
9217 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9218 (find-library-name): Use it to find relative load names when provided
9219 absolute file name (bug#8803).
9220
9221 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9222
9223 * textmodes/flyspell.el (flyspell-word): Consider words that
9224 differ only in case as potential doublons (bug#5687).
9225
9226 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9227 Remove two rather uninteresting debugging-like messages to make
9228 debbugs.el more silent.
9229
9230 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9231 a password-like phrase.
9232
9233 2011-06-30 Masatake YAMATO <yamato@redhat.com>
9234
9235 * progmodes/cc-guess.el: New file.
9236
9237 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
9238
9239 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9240 derived from `c-basic-common-init'.
9241
9242 * progmodes/cc-mode.el (top-level): Require cc-guess.
9243 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9244
9245 2011-06-30 Lawrence Mitchell <wence@gmx.li>
9246
9247 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9248
9249 2011-06-30 Alan Mackenzie <acm@muc.de>
9250
9251 * progmodes/cc-engine.el (c-guess-continued-construct):
9252 Correct the handling of template-args-cont, particularly for when font
9253 lock is disabled. Name this case as "CASE G".
9254
9255 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9256
9257 * allout.el (allout-yank-processing): Fix injection of extra space
9258 between bullet and non-whitespace character in first topic when
9259 pasting, ensuring that the actual spacing in the pasted topic
9260 following the bullet char is preserved. This extra space was
9261 causing pasted encrypted topics to get a decrypted status even
9262 when the content was actually still encrypted. Now the decryption
9263 status from before the paste is preserved.
9264
9265 (allout-flag-region): Set all allout overlays so they evaporate
9266 when reduced to zero length (evanescent), to prevent overlay
9267 leakage.
9268
9269 2011-06-30 Glenn Morris <rgm@gnu.org>
9270
9271 * w32-fns.el (w32-charset-info-alist): Declare.
9272
9273 * find-dired.el (find-grep-options): Simplify.
9274
9275 * term/ns-win.el (ns-set-resource): Declare.
9276
9277 * ses.el (row, col): Declare dynamic variables honestly.
9278
9279 * textmodes/reftex-parse.el (index-tags): Declare.
9280
9281 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
9282
9283 * cus-edit.el (customize-push-and-save): New function.
9284
9285 * files.el (hack-local-variables-confirm): Use it.
9286
9287 * custom.el (load-theme): New arg NO-CONFIRM.
9288 Use customize-push-and-save (Bug#8720).
9289 (custom-enabled-themes): Doc fix.
9290
9291 * cus-theme.el (customize-create-theme)
9292 (custom-theme-merge-theme): Callers to load-theme changed.
9293
9294 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9295
9296 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9297 short URLs have at least one dot in them (bug #7614).
9298
9299 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9300 nil, because using a pty is apparently too slow (bug #895).
9301
9302 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9303
9304 * mail/sendmail.el (sendmail-query-once): New function.
9305 (sendmail-query-once-function): New variable.
9306
9307 2011-06-29 Glenn Morris <rgm@gnu.org>
9308
9309 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9310
9311 * ses.el (top-level): Require cl when compiling.
9312 (ses-set-localvars): Fix error statement.
9313 Call it at compile time to silence a storm of warnings.
9314
9315 2011-06-29 Martin Rudalics <rudalics@gmx.at>
9316
9317 * window.el (normalize-live-buffer): Rename to
9318 window-normalize-buffer.
9319 (normalize-live-frame): Rename to window-normalize-frame.
9320 (normalize-any-window): Rename to window-normalize-any-window.
9321 (normalize-live-window): Rename to window-normalize-live-window.
9322 (make-window-atom): Rename to window-make-atom.
9323 (window-resize-reset): Rename to window--resize-reset.
9324 (window-resize-reset-1): Rename to window--resize-reset-1.
9325 (resize-mini-window): Rename to window--resize-mini-window.
9326 (resize-subwindows-skip-p): Rename to
9327 window--resize-subwindows-skip-p.
9328 (resize-subwindows-normal): Rename to
9329 window--resize-subwindows-normal.
9330 (resize-subwindows): Rename to window--resize-subwindows.
9331 (resize-other-windows): Rename to window--resize-siblings.
9332 (resize-this-window): Rename to window--resize-this-window.
9333 (resize-root-window): Rename to window--resize-root-window.
9334 (resize-root-window-vertically): Rename to
9335 window--resize-root-window-vertically.
9336 (normalize-buffer-to-display): Rename to
9337 window-normalize-buffer-to-display.
9338 (normalize-buffer-to-switch-to): Rename to
9339 window-normalize-buffer-to-switch-to.
9340 Correspondingly update all callers of the functions listed
9341 above.
9342 (display-buffer-alist, display-buffer-normalize-arguments)
9343 (display-buffer-normalize-options, display-buffer)
9344 (display-buffer-alist-set): Use "function" instead of
9345 "fun-with-args".
9346
9347 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
9348
9349 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9350 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9351 debbugs.gnu.org. Mention acknowledgment email.
9352
9353 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9354
9355 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9356 buffer multibyteness, since it shouldn't matter.
9357
9358 2011-06-28 Martin Rudalics <rudalics@gmx.at>
9359
9360 * window.el (display-buffer-in-side-window): Handle dedicated
9361 windows as in display-buffer-reuse-window.
9362 (display-buffer-normalize-alist): Use value of override
9363 specifier.
9364 (display-buffer-normalize-specifiers): Use value of
9365 other-window-means-other-frame specifier.
9366 (display-buffer-alist): Rewrite some texts in widgets.
9367 (display-buffer): Spread arguments when calling function
9368 specified by fun-with-args.
9369
9370 2011-06-28 Deniz Dogan <deniz@dogan.se>
9371
9372 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9373 Unnest `let'.
9374
9375 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9376 selectors (Bug#5732).
9377 (css-proprietary-nmstart-re): Use `regexp-opt'.
9378
9379 2011-06-27 Jari Aalto <jari.aalto@cante.net>
9380
9381 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9382 (eshell-ls-date-format): New defcustom.
9383 (eshell-ls-file): Use it.
9384
9385 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9386
9387 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9388
9389 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9390
9391 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9392 (ange-ftp-make-tmp-name): New arg.
9393 (ange-ftp-file-local-copy): Use it.
9394
9395 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
9396
9397 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9398 no-conversion (Bug#8870).
9399
9400 2011-06-27 Martin Rudalics <rudalics@gmx.at>
9401
9402 * window.el (window-right, window-left, window-child)
9403 (window-child-count, window-last-child)
9404 (window-iso-combination-p, walk-window-tree-1)
9405 (window-atom-check-1, window-tree-1, delete-window)
9406 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9407 new naming conventions - window-vchild, window-hchild,
9408 window-next and window-prev are now called window-top-child,
9409 window-left-child, window-next-sibling and window-prev-sibling
9410 respectively.
9411 (resize-window-reset): Rename to window-resize-reset.
9412 (resize-window-reset-1): Rename to window-resize-reset-1.
9413 (resize-window): Rename to window-resize.
9414 (window-min-height, window-min-width)
9415 (resize-mini-window, resize-this-window, resize-root-window)
9416 (resize-root-window-vertically, adjust-window-trailing-edge)
9417 (enlarge-window, shrink-window, maximize-window)
9418 (minimize-window, delete-window, quit-restore-window)
9419 (split-window, balance-windows, balance-windows-area-adjust)
9420 (balance-windows-area, window-state-put-2)
9421 (display-buffer-even-window-sizes, display-buffer-set-height)
9422 (display-buffer-set-width, set-window-text-height)
9423 (fit-window-to-buffer): Rename all "resize-window" prefixed
9424 calls to use the "window-resize" prefix convention.
9425 (display-buffer-alist): Fix symbol for label specifier.
9426 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9427 corresponding specifier.
9428 Reported by Juanma Barranquero <lekktu@gmail.com>.
9429
9430 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9431
9432 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9433 convention.
9434 (ses-call-printer): Does not pass an empty string to formatter when the
9435 cell is empty to keep from barking printer Calc math-format-value.
9436
9437 2011-06-27 Richard Stallman <rms@gnu.org>
9438
9439 * battery.el (battery-mode-line-limit): New variable.
9440 (battery-update): Handle it.
9441
9442 * mail/rmailmm.el (rmail-mime-process-multipart):
9443 Handle truncated messages.
9444
9445 2011-06-27 Glenn Morris <rgm@gnu.org>
9446
9447 * progmodes/flymake.el (flymake-err-line-patterns):
9448 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9449
9450 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9451
9452 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
9453 (ses--clean-!, ses--clean-_): New functions.
9454 (ses-range): Add configurability of readout order, and conversion
9455 to Calc vector.
9456
9457 * ses.el (ses-repair-cell-reference-all): New function.
9458 (ses-cell-symbol): Set macro as safe, so that it can be used in
9459 formulas.
9460
9461 * ses.el: Update cycle detection algorithm.
9462 (ses-localvars): Add ses--Dijkstra-attempt-nb and
9463 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
9464 (ses-set-localvars): New function.
9465 (ses-make-cell): Add property-list as a cell element.
9466 (ses-cell-property-get-fun, ses-cell-property-get)
9467 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
9468 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9469 New functions.
9470 (ses-cell-property-set, ses-cell-property-pop)
9471 (ses-cell-property-get-handle): New macro.
9472 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9473 New aliases, used for code readability.
9474 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9475 cycle detection.
9476 (ses-self-reference-early-detection): New defcustom.
9477 (ses-formula-references): Robustify against self-referring cells.
9478 (ses-mode): Use ses-set-localvars.
9479 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9480 before lauching the update processing.
9481 (ses-initialize-Dijkstra-attempt): New function.
9482 (ses-recalculate-cell): Update for cycle detection based on
9483 Dijkstra algorithm.
9484
9485 * ses.el: Fix commenting and indenting convention.
9486
9487 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9488
9489 * bs.el (bs-cycle-next): Complete last change.
9490
9491 2011-06-27 Drew Adams <drew.adams@oracle.com>
9492
9493 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9494
9495 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9496
9497 * net/network-stream.el (network-stream-open-starttls):
9498 Don't re-get capabilities unless we've reestablished connection.
9499 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9500
9501 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9502 to binary to possibly avoid line encoding issues on Windows (among
9503 other things).
9504
9505 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9506
9507 * net/network-stream.el (open-network-stream): Return an :error
9508 saying what the problem was, if possible.
9509
9510 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9511 server.
9512
9513 * net/network-stream.el (network-stream-open-starttls): If we
9514 wanted to use STARTTLS, and the server offered it, but we weren't
9515 able to because we had no STARTTLS support, then close the connection.
9516 (open-network-stream): Return an :error element, if present.
9517
9518 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9519
9520 * hl-line.el (hl-line-sticky-flag): Doc fix.
9521 (global-hl-line-sticky-flag): New option (Bug#8323).
9522 (global-hl-line-highlight): Obey it.
9523
9524 * vc/vc.el (vc-revert-show-diff): Default to t.
9525
9526 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9527
9528 * allout-widgets.el (allout-widgets-post-command-business):
9529 Stop decorating intermediate isearch matches. They're not being
9530 undecorated when an isearch is continued past, and isearch
9531 automatically collapses them. This leads to "widget leaks", where
9532 decorated items accumulate in collapsed areas. Lines with lots of
9533 hidden widgets can slow down cursor travel, substantially.
9534 Too much complicated machinery would be needed to ensure undecoration,
9535 so we're doing without this nicety.
9536
9537 (allout-widgets-tally-string): Don't try to do a hash-table-count
9538 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9539 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9540 *Messages* when allout-widgets-maintain-tally is t.
9541
9542 2011-06-26 Martin Rudalics <rudalics@gmx.at>
9543
9544 * window.el (display-buffer-normalize-argument): Rename to
9545 display-buffer-normalize-arguments. Handle special meaning of
9546 LABEL argument. Respect special-display-function when popping up
9547 a new frame. Fix code searching for a window showing the buffer
9548 on another frame.
9549 (display-buffer-normalize-specifiers):
9550 Call display-buffer-normalize-arguments.
9551 (display-buffer-in-window): Don't undedicate the window if its
9552 buffer remains the same.
9553 Reported by Drew Adams <drew.adams@oracle.com>.
9554 (display-buffer-alist): Add choice for same-window macro
9555 specfier.
9556 (display-buffer): Mention special meaning of LABEL argument in
9557 doc-string. Fix quoting. Don't pop up a new frame even as
9558 fallback.
9559
9560 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
9561
9562 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9563 avoid deleting the current window in some cases (bug#8911).
9564
9565 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9566
9567 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9568 (Bug#8934)
9569
9570 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9571
9572 * net/network-stream.el (network-stream-open-starttls):
9573 Use built-in TLS support if `gnutls-available-p' is true.
9574 (network-stream-open-tls): Ditto.
9575
9576 2011-06-26 Leo Liu <sdl.web@gmail.com>
9577
9578 * register.el (registerv): New struct.
9579 (registerv-make): New function.
9580 (jump-to-register, describe-register-1, insert-register):
9581 Support the jump-func, print-func and insert-func slot of a registerv
9582 struct. (Bug#8415)
9583
9584 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9585
9586 * vc/vc.el (vc-revert-show-diff): New defcustom.
9587 (vc-diff-internal): New arg specifying diff buffer.
9588 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9589 reuse an existing *vc-diff* buffer (Bug#8927).
9590
9591 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9592
9593 2011-06-26 Glenn Morris <rgm@gnu.org>
9594
9595 * progmodes/f90.el (f90-critical-indent): New option.
9596 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9597 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9598 (f90-mode): Doc fix.
9599 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9600 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9601 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9602 (f90-match-end): Handle block, critical.
9603
9604 2011-06-25 Glenn Morris <rgm@gnu.org>
9605
9606 * calendar/diary-lib.el (diary-included-files): Doc fix.
9607 (diary-include-files): New function, extracted from
9608 diary-include-other-diary-files and diary-mark-included-diary-files.
9609 (diary-include-other-diary-files, diary-mark-included-diary-files):
9610 Just call diary-include-files.
9611 (diary-mark-entries): Reset diary-included-files on first call.
9612
9613 * calendar/diary-lib.el (diary-mark-entries)
9614 (diary-mark-included-diary-files):
9615 Visit included diary-files in temp buffers.
9616
9617 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9618 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9619 (f90-start-block-re, f90-imenu-generic-expression)
9620 (f90-looking-at-program-block-start, f90-no-block-limit):
9621 Add support for submodules.
9622
9623 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9624 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
9625
9626 2011-06-25 Eli Zaretskii <eliz@gnu.org>
9627
9628 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9629 buffer-file-type before setting its value, to avoid disastrous
9630 global effects on decoding files for DOS/Windows systems. (Bug#8780)
9631
9632 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9633
9634 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9635
9636 * ses.el (ses-unload-function):
9637 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9638
9639 * proced.el (proced-unload-function):
9640 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9641
9642 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9643
9644 * server.el (server-create-window-system-frame): Add parameters arg.
9645 (server-process-filter): Doc fix. Handle frame-parameters.
9646
9647 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9648
9649 Fix bug#8730, bug#8781.
9650
9651 * loadhist.el (unload--set-major-mode): New function.
9652 (unload-feature): Use it.
9653
9654 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9655 (python-unload-function): New function.
9656
9657 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9658
9659 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9660
9661 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9662
9663 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9664 the candidates list.
9665
9666 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
9667
9668 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9669
9670 2011-06-23 Richard Stallman <rms@gnu.org>
9671
9672 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9673 (rmail-variables): Set next-error-move-function.
9674 (rmail-what-message): Take argument POS.
9675 (rmail-next-error-move): New function.
9676
9677 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9678
9679 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9680 messages for adjacent non-terminals.
9681
9682 2011-06-23 Richard Stallman <rms@gnu.org>
9683
9684 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9685 (rmail-show-message-1): Preserve buffer modified flag.
9686 (rmail-start-mail): Don't specify use of rmail-mail-return;
9687 that's done by mail-bury now.
9688 (rmail-mail-return): Handle arg NEWBUF.
9689
9690 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
9691
9692 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9693 SIZE is a number.
9694
9695 2011-06-23 Martin Rudalics <rudalics@gmx.at>
9696
9697 * window.el (get-lru-window, get-mru-window)
9698 (get-largest-window): Never return a minibuffer window.
9699 (display-buffer-pop-up-window): Fix a bug that could lead to
9700 reusing the minibuffer window.
9701 (display-buffer): Pass original specifier argument to
9702 display-buffer-function instead of the normalized one.
9703 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9704
9705 2011-06-22 Leo Liu <sdl.web@gmail.com>
9706
9707 * minibuffer.el (completing-read-function)
9708 (completing-read-default): Move from minibuf.c
9709
9710 2011-06-22 Richard Stallman <rms@gnu.org>
9711
9712 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9713 to Rmail even if not started by a special Rmail command.
9714
9715 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9716 Copy the buffer currently showing just one message.
9717
9718 2011-06-22 Roland Winkler <winkler@gnu.org>
9719
9720 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9721 (bibtex-clean-entry): First delete the old key so that a
9722 customized algorithm for generating the new key does not get
9723 confused by the old key.
9724 (bibtex-url): Obey regexp of first step.
9725 (bibtex-search-entries): Do not use add-to-list with local
9726 list-var.
9727
9728 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9729
9730 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9731 stored a user name, then query for the password first, instead of
9732 waiting for SMTP to give an error message and the trying again.
9733
9734 2011-06-22 Lawrence Mitchell <wence@gmx.li>
9735
9736 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9737 BUFFER in call-process.
9738
9739 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9740
9741 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9742 QUIT twice.
9743 (smtpmail-try-auth-methods): Require user name and password from
9744 auth-source.
9745
9746 2011-06-22 Martin Rudalics <rudalics@gmx.at>
9747
9748 * window.el (display-buffer-default-specifiers)
9749 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9750 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9751 (split-window): Normalize SIDE argument (Bug#8916).
9752
9753 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9754 (special-display-frame-alist, special-display-popup-frame):
9755 Remove duplicate declarations. These are now in window.el.
9756
9757 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9758
9759 * mail/smtpmail.el (smtpmail-via-smtp):
9760 Set :use-starttls-if-possible so that we always use STARTTLS if the
9761 server supports it. SMTP servers that support STARTTLS commonly
9762 require it.
9763
9764 * net/network-stream.el (network-stream-open-starttls): Support
9765 upgrading to STARTTLS always, even if we don't have built-in support.
9766 (open-network-stream): Add the :always-query-capabilities keyword.
9767
9768 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9769 upgrades with `open-network-stream', and rely solely on
9770 auth-source for all credentials. Big changes throughout the file,
9771 but in particular:
9772 (smtpmail-auth-credentials): Remove.
9773 (smtpmail-starttls-credentials): Remove.
9774 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9775 MAIL FROM, too.
9776
9777 * net/network-stream.el (network-stream-open-starttls):
9778 Provide support for client certificates both for external and built-in
9779 STARTTLS.
9780 (auth-source): Require.
9781 (open-network-stream): Document the :client-certificate keyword.
9782 (network-stream-certificate): Change cert-cert to cert and
9783 cert-key to key.
9784
9785 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
9786
9787 * net/tramp-cache.el (top): Don't load the persistency file when
9788 "emacs -Q" has been called.
9789
9790 2011-06-21 Tim Harper <timcharper@gmail.com>
9791
9792 * term/ns-win.el (ns-initialize-window-system):
9793 Set application-specific `ApplePressAndHoldEnabled' system
9794 resource to NO as it is not yet supported by the NS port.
9795
9796 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
9797
9798 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9799 (list-dynamic-libraries): ...not here.
9800
9801 2011-06-21 Leo Liu <sdl.web@gmail.com>
9802
9803 * subr.el (sha1): Implement sha1 using secure-hash.
9804
9805 2011-06-21 Martin Rudalics <rudalics@gmx.at>
9806
9807 * window.el (display-buffer-alist): In default value do not
9808 enforce searching a window on any but the selected frame.
9809 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9810 (display-buffer-select-window): Remove function.
9811 (display-buffer-in-window): When a window on another frame gets
9812 reused, do not select it any more but just raise its frame if
9813 necessary (Bug#8851) and (Bug#8856).
9814 (display-buffer-normalize-options): Handle pop-up-frames related
9815 options more faithfully.
9816 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9817 window if it is on another frame.
9818 (display-buffer-alist, display-buffer-default-specifiers):
9819 Don't make new frame unsplittable by default.
9820 (display-buffer-normalize-argument): Fix doc-string typo and use
9821 'same-frame-other-window instead of 'other-window when associating
9822 with display-buffer-macro-specifiers.
9823
9824 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9825
9826 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9827 New functions.
9828 (5x5-mode-map, 5x5-mode-menu): Bind them.
9829 (5x5-draw-grid): Tweak the solver's rendering.
9830
9831 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9832
9833 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9834 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9835
9836 2011-06-21 Drew Adams <drew.adams@oracle.com>
9837
9838 * menu-bar.el: Use function variable instead of switch-to-buffer.
9839 (menu-bar-select-buffer-function): New variable.
9840 (menu-bar-update-buffers): Use it (bug#8876).
9841
9842 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9843
9844 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9845 variable's status.
9846
9847 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9848
9849 * x-dnd.el (x-dnd-version-from-flags)
9850 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9851 and long as number (Bug#8899).
9852 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9853
9854 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9855
9856 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9857 (completion-try-completion, completion-all-completions): Compute the
9858 metadata argument if it's missing; make it optional (bug#8795).
9859
9860 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9861 (widget-complete): Use new :completion-function property.
9862 (widget-completions-at-point): New function.
9863 (default): Use :completion-function instead of :complete.
9864 (widget-default-completions): Rename from widget-default-complete;
9865 Rewrite.
9866 (widget-string-complete, widget-file-complete, widget-color-complete):
9867 Remove functions.
9868 (file, symbol, function, variable, coding-system, color):
9869 * international/mule-cmds.el (default-input-method, charset)
9870 (language-info-custom-alist):
9871 * cus-edit.el (face): Use new property :completions.
9872
9873 * progmodes/pascal.el (pascal-completions-at-point): New function.
9874 (pascal-mode): Use it.
9875 (pascal-mode-map): Use completion-at-point.
9876 (pascal-toggle-completions): Make obsolete.
9877 (pascal-complete-word, pascal-show-completions):
9878 * progmodes/octave-mod.el (octave-complete-symbol):
9879 Redefine as obsolete alias.
9880 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9881 Signal absence of completion info for old Octave,
9882 (inferior-octave-complete): Redefine as obsolete alias.
9883 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9884 (meta-completions-at-point): Rename from meta-complete-symbol and
9885 adapt it for use on completion-at-point-functions.
9886 (meta-common-mode): Use it.
9887 (meta-looking-at-backward, meta-match-buffer): Remove.
9888 (meta-complete-symbol): Redefine as obsolete alias.
9889 (meta-common-mode-map): Use completion-at-point.
9890 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9891 (makefile-mode-map): Use completion-at-point.
9892 (makefile-completions-at-point): Rename from makefile-complete and
9893 adapt it for use on completion-at-point-functions.
9894 (makefile-mode): Use it.
9895 (makefile-complete): Redefine as obsolete alias.
9896
9897 2011-06-20 Deniz Dogan <deniz@dogan.se>
9898
9899 * net/rcirc.el: Delete trailing whitespaces once and for all.
9900
9901 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9902
9903 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9904
9905 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9906
9907 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9908
9909 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9910
9911 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9912
9913 * window.el (display-buffer-other-window-means-other-frame):
9914 Call display-buffer-normalize-alist.
9915 (display-buffer-normalize-specifiers-1): Rename to
9916 display-buffer-normalize-argument. New argument other-frame.
9917 Rewrite.
9918 (display-buffer-normalize-specifiers-2): Rename to
9919 display-buffer-normalize-options.
9920 (display-buffer-normalize-alist-1): New function.
9921 (display-buffer-normalize-specifiers-3): Rename to
9922 display-buffer-normalize-alist.
9923 Call display-buffer-normalize-alist-1.
9924 (display-buffer-normalize-options-inhibit): New variable.
9925 (display-buffer-normalize-specifiers): Rewrite calling
9926 display-buffer-normalize-alist,
9927 display-buffer-normalize-argument, and
9928 display-buffer-normalize-options. Don't call the latter if
9929 display-buffer-normalize-options-inhibit is non-nil.
9930 (frame-auto-delete): New option.
9931 (window-deletable-p): Use frame-auto-delete.
9932 (window-list-no-nils, window-state-ignored-parameters)
9933 (window-state-get-1, window-state-get, window-state-put-list)
9934 (window-state-put-1, window-state-put-2, window-state-put):
9935 New functions.
9936 (display-buffer-normalize-options): Move special-display-p group
9937 after pop-up-frame group (Bug#8851) and (Bug#8856).
9938
9939 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9940
9941 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9942 groups (Bug#8776).
9943 (rx-submatch-n): New function.
9944 (rx): Document it.
9945
9946 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9947 (Bug#8768).
9948
9949 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9950
9951 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9952
9953 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9954 anytime existing face settings are present (Bug#8889).
9955
9956 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9957 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9958 Remove unused argument.
9959
9960 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9961
9962 * window.el (display-buffer-default-specifiers):
9963 Remove pop-up-frame. Add pop-up-window-min-height,
9964 pop-up-window-min-width, and another reuse-window specifier
9965 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9966 (display-buffer-normalize-specifiers-2):
9967 Handle split-height-threshold and split-width-threshold also when
9968 pop-up-windows is unset. Add a reuse-window specifier for the
9969 case popping up a new window fails.
9970 (special-display-popup-frame): Remove double quoting.
9971 (display-buffer-normalize-specifiers-1): Fix thinko.
9972
9973 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9974
9975 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9976 according to comint-completion-addsuffix.
9977
9978 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9979 (pcomplete-suffix-list): Mark as obsolete.
9980 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9981 pcomplete-seen in the closure.
9982 (pcomplete-comint-setup): Setup completion-at-point as well.
9983 (pcomplete--entries): New function.
9984 (pcomplete--env-regexp): New var.
9985 (pcomplete-entries): Rewrite to work with partial-completion and
9986 without relying on pcomplete-suffix-list.
9987 (pcomplete-pare-list): Remove, unused.
9988
9989 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9990
9991 * window.el (display-buffer-alist): Set pop-up-window-min-height
9992 and pop-up-window-min-width in default value. Reported by
9993 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9994 other-window-means-other-frame.
9995 (display-buffer-macro-specifiers): Comment out entry for
9996 other-window specifier.
9997 (display-buffer-other-window-means-other-frame): New function.
9998 (display-buffer-normalize-specifiers-1): New arguments
9999 buffer-name and label. Treat other-window case specially.
10000 (display-buffer-normalize-specifiers-2): Treat other-window case
10001 specially.
10002 (display-buffer-normalize-specifiers-3): New function.
10003 (display-buffer-normalize-specifiers):
10004 Call display-buffer-normalize-specifiers-3.
10005
10006 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10007
10008 * window.el (same-window-p): Fix two typos introduced when
10009 adding with-no-warnings.
10010 (display-buffer-normalize-specifiers-1): Don't check
10011 pop-up-frames for 'unset initialization.
10012 (display-buffer-normalize-specifiers-2): Major rewrite using
10013 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10014 (pop-up-frames, display-buffer-reuse-frames)
10015 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10016 Suggested by David Engster <deng@randomsample.de>.
10017 (even-window-heights): Initialize to 'unset.
10018 (display-buffer-alist-set): Handle new 'unset initializations.
10019 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10020 other window case.
10021
10022 2011-06-16 Martin Rudalics <rudalics@gmx.at>
10023
10024 * window.el (display-buffer-normalize-specifiers-1):
10025 Respect current value of pop-up-frames for most reasonable values of
10026 second argument of display-buffer (Bug#8865).
10027 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10028 (switch-to-buffer-other-window-same-frame)
10029 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10030 Adams (Bug#8875).
10031 (display-buffer): Don't check noninteractive when calling
10032 display-buffer-pop-up-frame.
10033 (display-buffer-pop-up-frame): Never pop up a frame in
10034 noninteractive mode (Bug#8857).
10035 (enlarge-window, shrink-window): Don't report an error when the
10036 window can't be resized as requested (Bug#8862).
10037
10038 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10039
10040 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10041
10042 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10043
10044 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10045
10046 2011-06-15 Alan Mackenzie <acm@muc.de>
10047
10048 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10049 for declarators, disable knr checking to speed up for normal files.
10050 2: Refactor, replacing a sequence of nested if forms by a cond form.
10051
10052 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10053
10054 * net/network-stream.el (open-network-stream): Add the keyword
10055 :always-query-capabilities for the case where you want to force a
10056 `plain' network connection, but the protocol still requires the
10057 capabilitiy command (i.e., SMTP and EHLO).
10058
10059 * subr.el (process-live-p): Rename from `process-alive-p' for
10060 consistency with other `-live-p' functions.
10061
10062 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10063
10064 * window.el (same-window-buffer-names, same-window-regexps)
10065 (special-display-frame-alist, special-display-popup-frame)
10066 (special-display-function, special-display-buffer-names)
10067 (special-display-regexps, pop-up-frame-alist)
10068 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10069 (pop-up-windows, split-window-preferred-function)
10070 (split-height-threshold, split-width-threshold, even-window-heights)
10071 (display-buffer-mark-dedicated): Don't encourage the use of
10072 display-buffer-alist from Elisp code.
10073
10074 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10075
10076 * progmodes/python.el (python-mode): Derive from prog-mode.
10077 * progmodes/ps-mode.el (ps-mode):
10078 * progmodes/mixal-mode.el (mixal-mode):
10079 * progmodes/cfengine.el (cfengine-mode):
10080 * progmodes/ld-script.el (ld-script-mode): Likewise.
10081
10082 2011-06-15 Martin Rudalics <rudalics@gmx.at>
10083
10084 * window.el (display-buffer-alist): Trim default value to avoid
10085 popping up a new frame (Bug#8857) or reusing an arbitrary window
10086 on another frame.
10087 (display-buffer): Do not fall back on popping up a new frame in
10088 batch mode (Bug#8857).
10089
10090 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
10091
10092 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10093 (custom-theme-summary): New function.
10094 (customize-themes): Use it.
10095
10096 2011-06-13 Glenn Morris <rgm@gnu.org>
10097
10098 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10099
10100 2011-06-13 Martin Rudalics <rudalics@gmx.at>
10101
10102 * help.el (help-window): Remove variable.
10103 (help-window-point-marker, temp-buffer-max-height)
10104 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10105 (help-print-return-message): Don't set help-window.
10106 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10107 (help-window-setup-finish): Remove.
10108 (help-window-display-message, help-window-setup)
10109 (with-help-window): Major rewrite based on new
10110 display-buffer-window variable.
10111
10112 * help-mode.el (help-mode-finish): Remove help-window related
10113 code.
10114
10115 * view.el (view-exits-all-viewing-windows): Remove reference to
10116 view-return-to-alist in doc-string.
10117 (view-return-to-alist): Make obsolete.
10118 (view-buffer): Call pop-to-buffer-same-window and remove
10119 undo-window code.
10120 (view-buffer-other-window): Call pop-to-buffer-other-window and
10121 simplify code. Ignore second argument.
10122 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10123 simplify code. Ignore second argument.
10124 (view-return-to-alist-update): Make obsolete.
10125 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10126 Rewrite using quit-restore window parameters.
10127 (view-mode-exit): Rename second argument to EXIT-ONLY.
10128 Rewrite using quit-restore-window.
10129 (View-exit, View-exit-and-edit, View-leave, View-quit)
10130 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10131 appropriate arguments.
10132 (view-end-message): Use quit-restore window parameter.
10133
10134 * window.el (display-buffer-function): Rewrite doc-string.
10135 (display-buffer-window, display-buffer-alist): New variables.
10136 (display-buffer-split-specifiers)
10137 (display-buffer-side-specifiers)
10138 (display-buffer-macro-specifiers): New constants.
10139 (display-buffer-even-window-sizes, display-buffer-set-height)
10140 (display-buffer-set-width, display-buffer-select-window)
10141 (display-buffer-in-window, display-buffer-reuse-window)
10142 (display-buffer-split-window-1, display-buffer-split-window)
10143 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10144 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10145 (display-buffer-in-side-window, normalize-buffer-to-display)
10146 (display-buffer-normalize-specifiers-1)
10147 (display-buffer-normalize-specifiers-2)
10148 (display-buffer-normalize-specifiers, display-buffer-frame):
10149 New functions.
10150 (display-buffer): Major rewrite.
10151 (display-buffer-other-window, display-buffer-other-frame)
10152 (pop-to-buffer, switch-to-buffer-other-window)
10153 (switch-to-buffer-other-frame): Rewrite.
10154 (display-buffer-same-window, display-buffer-same-frame)
10155 (display-buffer-same-frame-other-window)
10156 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10157 (pop-to-buffer-other-window)
10158 (pop-to-buffer-same-frame-other-window)
10159 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10160 (switch-to-buffer-other-window-same-frame): New functions.
10161 (same-window-p, special-display-p): Rewrite disabling warnings.
10162 Make obsolete.
10163 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10164 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10165 Make obsolete
10166 (same-window-buffer-names, same-window-regexps)
10167 (special-display-frame-alist, special-display-popup-frame)
10168 (special-display-function, special-display-buffer-names)
10169 (special-display-regexps, pop-up-frame-alist)
10170 (pop-up-frame-function, split-window-preferred-function)
10171 (split-height-threshold, split-width-threshold)
10172 (even-window-heights): Make obsolete.
10173
10174 2011-06-12 Glenn Morris <rgm@gnu.org>
10175
10176 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
10177 Misc simplifications.
10178
10179 2011-06-12 Martin Rudalics <rudalics@gmx.at>
10180
10181 * window.el (window-safely-shrinkable-p): Restore function which
10182 was inadvertently removed in change from 2011-06-11. Declare as
10183 obsolete.
10184
10185 * calendar/calendar.el (calendar-generate-window):
10186 Use window-iso-combined-p instead of combination of one-window-p and
10187 window-safely-shrinkable-p.
10188
10189 2011-06-12 Glenn Morris <rgm@gnu.org>
10190
10191 * progmodes/fortran.el (fortran-mode-syntax-table):
10192 * progmodes/f90.el (f90-mode-syntax-table):
10193 Set % to punctuation. (Bug#8820)
10194 (f90-find-tag-default): Remove, no longer needed.
10195
10196 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10197
10198 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10199
10200 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
10201
10202 * image.el (image-animated-p): Return animation delay in seconds.
10203 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10204 (image-animate-timeout): Remove DELAY argument. Don't assume
10205 every subimage has the same delay; get it from image-animated-p.
10206 (image-animate): Caller changed.
10207
10208 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
10209
10210 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10211 to ignored backtrace functions.
10212
10213 2011-06-11 Glenn Morris <rgm@gnu.org>
10214
10215 * calendar/appt.el (appt-disp-window-function): Doc fix.
10216 (appt-check): Handle overlapping appointments. (Bug#8337)
10217
10218 2011-06-11 Martin Rudalics <rudalics@gmx.at>
10219
10220 * window.el (window-tree-1, window-tree): New functions, moving
10221 the latter to window.el.
10222 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10223 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10224 (bw-refresh-edges): Remove.
10225 (balance-windows-1, balance-windows-2): New functions.
10226 (balance-windows): Rewrite in terms of window tree functions,
10227 balance-windows-1 and balance-windows-2.
10228 (bw-adjust-window): Remove.
10229 (balance-windows-area-adjust): New function with functionality of
10230 bw-adjust-window but using resize-window.
10231 (set-window-text-height): Rewrite doc-string.
10232 Use normalize-live-window and resize-window.
10233 (enlarge-window-horizontally, shrink-window-horizontally):
10234 Rename argument to DELTA.
10235 (window-buffer-height): New function.
10236 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10237 Rewrite using new window resize routines.
10238 (kill-buffer-and-window, mouse-autoselect-window-select):
10239 Use ignore-errors instead of condition-case.
10240 (quit-window): Call delete-frame instead of delete-windows-on
10241 for the only buffer on frame.
10242
10243 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10244
10245 * loadup.el (top-level): Load window before files for the sake
10246 of replace-buffer-in-windows.
10247
10248 * files.el (read-buffer-to-switch)
10249 (switch-to-buffer-other-window)
10250 (switch-to-buffer-other-frame, display-buffer-other-frame):
10251 Move to window.el.
10252
10253 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10254 (previous-buffer): Move to window.el.
10255
10256 * bindings.el (unbury-buffer): Move to window.el.
10257
10258 * window.el (delete-other-windows-vertically): Move after
10259 definition of delete-other-windows.
10260 (other-window, delete-windows-on, replace-buffer-in-windows):
10261 Move here from window.c.
10262 (record-window-buffer, unrecord-window-buffer)
10263 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10264 (switch-to-next-buffer): New functions.
10265 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10266 from simple.el. Call switch-to-next-buffer.
10267 (previous-buffer): Move here from simple.el.
10268 Call switch-to-prev-buffer.
10269 (bury-buffer): Move here from buffer.c. Switch to previous
10270 buffer when window cannot be deleted.
10271 (unbury-buffer): Move here from bindings.el.
10272 (ctl-x-map): Move binding for other-window from window.c to
10273 here.
10274 (read-buffer-to-switch, switch-to-buffer-other-window)
10275 (switch-to-buffer-other-frame): Move here from files.el.
10276 (normalize-buffer-to-switch-to): New functions.
10277 (switch-to-buffer): Move here from buffer.c.
10278 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
10279
10280 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10281
10282 * window.el (window-min-height, window-min-width): Move here
10283 from window.c. Add defcustoms and rewrite doc-strings.
10284 (resize-mini-window, resize-window): New functions.
10285 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10286 Move here from window.c.
10287 (maximize-window, minimize-window): New functions.
10288 (delete-window, delete-other-windows, split-window): Move here
10289 from window.c.
10290 (window-split-min-size): New function.
10291 (split-window-keep-point): Mention split-window-above-each-other
10292 instead of split-window-vertically.
10293 (split-window-above-each-other, split-window-vertically):
10294 Rename split-window-vertically to split-window-above-each-other
10295 and provide defalias for old definition.
10296 (split-window-side-by-side, split-window-horizontally):
10297 Rename split-window-horizontally to split-window-side-by-side
10298 and provide defalias for the old definition.
10299 (ctl-x-map): Move bindings for delete-window,
10300 delete-other-windows and enlarge-window here from window.c.
10301 Replace bindings for split-window-vertically and
10302 split-window-horizontally by bindings for
10303 split-window-above-each-other and split-window-side-by-side.
10304
10305 * cus-start.el (all): Remove entries for window-min-height and
10306 window-min-width. Add entries for window-splits and
10307 window-nest.
10308
10309 2011-06-09 Glenn Morris <rgm@gnu.org>
10310
10311 * calendar/appt.el (appt-mode-line): New function.
10312 (appt-check, appt-disp-window): Use it.
10313
10314 * files.el (hack-one-local-variable-eval-safep):
10315 Allow minor-modes with explicit +/-1 arguments.
10316
10317 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10318
10319 * term/xterm.el (xterm): Add defgroup.
10320 (xterm-extra-capabilities): Add defcustom to supply known xterm
10321 capabilities, skip querying them, or query them (default).
10322 (terminal-init-xterm): Use it.
10323 (terminal-init-xterm-modify-other-keys): New function to set up
10324 modifyOtherKeys support to simplify `terminal-init-xterm'.
10325
10326 2011-06-09 Martin Rudalics <rudalics@gmx.at>
10327
10328 * window.el (resize-window-reset, resize-window-reset-1)
10329 (resize-subwindows-skip-p, resize-subwindows-normal)
10330 (resize-subwindows, resize-other-windows, resize-this-window)
10331 (resize-root-window, resize-root-window-vertically)
10332 (window-deletable-p, window-or-subwindow-p)
10333 (frame-root-window-p): New functions.
10334
10335 2011-06-09 Glenn Morris <rgm@gnu.org>
10336
10337 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10338 (ange-ftp-get-files): Use it.
10339
10340 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10341
10342 * mail/sendmail.el (mail-recover-1, mail-recover):
10343 * files.el (recover-file, recover-session):
10344 Handle dired-listing-switches not being just a single short option.
10345
10346 2011-06-09 Glenn Morris <rgm@gnu.org>
10347
10348 * calendar/appt.el (appt-display-message, appt-disp-window):
10349 Handle lists of appointments.
10350
10351 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10352
10353 * window.el (one-window-p): Move down in code.
10354 Rewrite doc-string.
10355 (window-current-scroll-bars): Rewrite doc-string.
10356 Normalize live window argument.
10357 (walk-windows, get-window-with-predicate, count-windows):
10358 Rewrite doc-string. Use window-list-1.
10359 (window-in-direction-2, window-in-direction, get-mru-window):
10360 New functions.
10361
10362 2011-06-08 Reuben Thomas <rrt@sc3d.org>
10363
10364 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10365 Doc fix (Bug#8713).
10366
10367 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
10368
10369 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10370
10371 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
10372
10373 * loadhist.el (unload-feature-special-hooks):
10374 Add `comint-output-filter-functions'.
10375
10376 2011-06-08 Ivan Kanis <gnu@kanis.fr>
10377
10378 * calendar/appt.el (appt-check): Move some initializations into the let.
10379
10380 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10381
10382 * window.el (window-height): Defalias to window-total-height.
10383 (window-width): Defalias to window-body-width.
10384
10385 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
10386
10387 * image-mode.el (image-toggle-animation): New command.
10388 (image-mode-map): Bind it to RET.
10389 (image-mode): Update message.
10390 (image-toggle-display-image): Avoid a spurious cache flush.
10391 (image-transform-rotation): Doc fix.
10392 (image-transform-properties): Return quickly in the normal case.
10393 (image-animate-loop): Rename from image-animate-max-time.
10394
10395 * image.el (image-animate-max-time): Move to image-mode.el.
10396 (create-animated-image): Remove unnecessary function.
10397 (image-animate): Rename from image-animate-start. New arg.
10398 (image-animate-stop): Remove; just use image-animate-timer.
10399 (image-animate-timer): Use car-safe.
10400 (image-animate-timeout): Rename argument.
10401
10402 2011-06-07 Martin Rudalics <rudalics@gmx.at>
10403
10404 * window.el (get-lru-window, get-largest-window): Move here from
10405 window.c. Rename first argument to ALL-FRAMES.
10406 Rephrase doc-strings.
10407 (get-buffer-window-list): Rewrite using window-list-1.
10408 Rephrase doc-string.
10409 (window-safe-min-height, window-safe-min-width): New constants.
10410 (window-size-ignore, window-min-size, window-min-size-1)
10411 (window-sizable, window-sizable-p, window-size-fixed-1)
10412 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10413 (window-max-delta-1, window-max-delta, window-resizable)
10414 (window-resizable-p, window-total-height, window-total-width)
10415 (window-body-width): New functions.
10416 (window-full-height-p, window-full-width-p): Rewrite using
10417 window-total-size.
10418 (window-body-height): Rewrite using window-body-size.
10419
10420 2011-06-06 Martin Rudalics <rudalics@gmx.at>
10421
10422 * window.el (window-right, window-left, window-child)
10423 (window-child-count, window-last-child, window-any-p)
10424 (normalize-live-buffer, normalize-live-frame)
10425 (normalize-any-window, normalize-live-window)
10426 (window-iso-combination-p, window-iso-combined-p)
10427 (window-iso-combinations)
10428 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10429 (windows-with-parameter, window-with-parameter)
10430 (window-atom-root, make-window-atom, window-atom-check-1)
10431 (window-atom-check, window-side-check, window-check):
10432 New functions.
10433 (ignore-window-parameters, window-sides, window-sides-vertical)
10434 (window-sides-slots): New variables.
10435 (window-size-fixed): Move down in code. Minor doc-string fix.
10436
10437 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10438
10439 * comint.el (comint-dynamic-complete-as-filename)
10440 (comint-dynamic-complete-filename): Correctly call
10441 completion-in-region.
10442
10443 2011-06-05 Deniz Dogan <deniz@dogan.se>
10444
10445 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10446 in last change.
10447
10448 2011-06-05 Deniz Dogan <deniz@dogan.se>
10449
10450 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10451 (rcirc): Use it to prompt for encryption.
10452
10453 2011-06-05 Roland Winkler <winkler@gnu.org>
10454
10455 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10456 (bibtex-search-entries): New command bound to C-c C-a.
10457 (bibtex-display-entries): New function.
10458
10459 2011-06-05 Roland Winkler <winkler@gnu.org>
10460
10461 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10462 (bibtex-insert-kill): After yanking insert newline if necessary.
10463 (bibtex-initialize): Call bibtex-string-files-init only once.
10464 (bibtex-mode): Do not call easy-menu-add.
10465 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10466 (bibtex-yank): Set arg properly if nil.
10467
10468 2011-06-05 Roland Winkler <winkler@gnu.org>
10469
10470 * textmodes/bibtex.el (bibtex-search-entry-globally):
10471 New variable.
10472 (bibtex-search-entry): Use it.
10473
10474 2011-06-05 Roland Winkler <winkler@gnu.org>
10475
10476 * textmodes/bibtex.el (bibtex-entry-format): New option
10477 sort-fields.
10478 (bibtex-format-entry, bibtex-reformat): Honor this option.
10479 (bibtex-parse-entry): Return fields in proper order.
10480
10481 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
10482
10483 * doc-view.el (doc-view-remove-if): Move computation of result out
10484 of `dolist' to silence misleading lexical-binding warning.
10485
10486 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
10487
10488 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10489 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10490
10491 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10492
10493 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10494 "SunOS 5.10".
10495
10496 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10497
10498 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10499 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10500 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10501 (tramp-parse-putty):
10502 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10503 (tramp-completion-function-alist-ssh)
10504 (tramp-completion-function-alist-telnet)
10505 (tramp-completion-function-alist-su)
10506 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10507 cookie.
10508
10509 * net/tramp-ftp.el:
10510 * net/tramp-sh.el:
10511 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10512 load "tramp.el" `tramp-set-completion-function'.
10513
10514 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10515
10516 * shell.el: Require and use pcomplete.
10517 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10518 (shell-completion-vars): Set pcomplete-default-completion-function.
10519
10520 2011-06-04 Deniz Dogan <deniz@dogan.se>
10521
10522 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10523 `memq' (Bug#8799).
10524
10525 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10526
10527 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10528
10529 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
10530
10531 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10532 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10533 * vc/log-view.el (log-view-beginning-of-defun):
10534 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10535 (smerge-refine-forward, smerge-refine-chopup-region):
10536 Silence warning for unused `dotimes' counter variables.
10537
10538 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10539
10540 * net/tramp.el (tramp-with-progress-reporter): Rename from
10541 with-progress-reporter. Use `declare'.
10542 * net/tramp-smb.el:
10543 * net/tramp-sh.el:
10544 * net/tramp-gvfs.el: Update all uses.
10545
10546 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10547
10548 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10549 buffer isn't killed before making it current.
10550
10551 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10552
10553 Silence various byte-compiler warnings.
10554 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10555 `access-type' and new obsolescence format.
10556 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10557 new format.
10558 (byte-compile-check-variable): New `access-type' argument.
10559 Only warn if the access-type is obsolete.
10560 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10561 (byte-compile-variable-set): Adjust callers.
10562 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10563 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10564 setting it as obsolete.
10565 * simple.el (minibuffer-completing-symbol):
10566 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10567 access as obsolete.
10568 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10569 obsolete yet.
10570 * international/quail.el (quail-mouse-choose-completion): Remove unused
10571 code referring to obsolete var.
10572 (quail-choose-completion-string): Remove.
10573 * server.el (server-clients-with, server-kill-buffer-query-function)
10574 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10575 * proced.el (proced-send-signal):
10576 * emacs-lisp/lisp.el (lisp-complete-symbol):
10577 Replace completion-annotate-function with completion-extra-properties.
10578
10579 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10580
10581 * simple.el (goto-line): Use read-number.
10582 (overriding-map-is-bound): Remove.
10583 (saved-overriding-map): Change default.
10584 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10585 Take the map as argument.
10586 (universal-argument, negative-argument, digit-argument): Use it.
10587 (restore-overriding-map): Adjust.
10588 (do-auto-fill): Use fill-forward-paragraph.
10589 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10590
10591 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10592 (minibuffer-inactive-mode): New major mode.
10593 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10594 the *Messages* buffer" hack.
10595 (mouse-popup-menubar): Don't burp if the event is a normal key.
10596
10597 Miscellaneous tweaks.
10598 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10599 lexical scoping as in subr.el's dolist and dotimes.
10600 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10601 Silence compiler warning.
10602 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10603 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10604 * international/ccl.el (ccl-compile): Trivial simplification.
10605 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10606 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10607 `printflag' argument.
10608 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10609 Purecopy the whole obsolescence data.
10610
10611 2011-06-01 Leo Liu <sdl.web@gmail.com>
10612
10613 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10614 improve doc-string as suggested by Marco Pessotto
10615 <melmothx@gmail.com>.
10616 (rcirc-print): Fix last change.
10617
10618 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10619
10620 * minibuffer.el (complete-with-action): Return nil for the metadata and
10621 boundaries of non-functional tables.
10622 (completion-table-dynamic): Return nil for the metadata.
10623 (completion-table-with-terminator): Add default case, using
10624 complete-with-action.
10625 (completion--metadata): New function.
10626 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10627 to try and avoid pathological performance problems.
10628 (completion--embedded-envvar-table): Return `category' metadata.
10629
10630 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10631
10632 * subr.el (process-alive-p): New tiny convenience function.
10633
10634 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10635
10636 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10637 content but also its previous major mode.
10638
10639 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
10640
10641 * emacs-lisp/debug.el (debug): Restore the previous content of the
10642 *Backtrace* buffer when we exit with C-M-c.
10643
10644 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10645
10646 * minibuffer.el: Add metadata method to completion tables.
10647 (completion-category-overrides): New defcustom.
10648 (completion-metadata, completion--field-metadata)
10649 (completion-metadata-get, completion--styles)
10650 (completion--cycle-threshold): New functions.
10651 (completion-try-completion, completion-all-completions):
10652 Add `metadata' argument to choose completion-styles.
10653 (completion--do-completion): Use metadata to choose cycling.
10654 (completion-all-sorted-completions): Use metadata for sorting.
10655 Remove :completion-cycle-penalty which is not needed any more.
10656 (completion--try-word-completion): Add `metadata' argument.
10657 (minibuffer-completion-help): Check metadata for annotation function
10658 and sorting.
10659 (completion-file-name-table): Return `category' metadata.
10660 (minibuffer-completing-file-name): Make obsolete.
10661 * simple.el (minibuffer-completing-symbol): Make obsolete.
10662 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10663 completion-try-completion.
10664
10665 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10666
10667 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10668
10669 2011-05-30 Leo Liu <sdl.web@gmail.com>
10670
10671 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10672 (rcirc-print): Decode all incoming messages (bug#8744).
10673 (rcirc-decode-coding-system): Allow value nil for automatic coding
10674 system detection.
10675
10676 2011-06-01 Glenn Morris <rgm@gnu.org>
10677
10678 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10679
10680 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10681
10682 * image.el (image-animate-max-time): Allow nil and t values.
10683 Default to nil.
10684 (create-animated-image): Doc fix.
10685 (image-animate-start): Remove second arg; just use
10686 image-animate-max-time.
10687 (image-animate-timeout): Doc fix. Args changed.
10688
10689 * image-mode.el (image-toggle-display-image): Ensure that the
10690 image spec passed to the animate timer is the same object as in
10691 the buffer's display property (Bug#6981).
10692 (image-transform-properties): Doc fix.
10693
10694 * image.el (image-animate-max-time): Default to nil.
10695
10696 2011-05-29 Martin Rudalics <rudalics@gmx.at>
10697
10698 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10699 entire buffer list (Bug#8184).
10700
10701 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10702
10703 * image.el (imagemagick-types-inhibit)
10704 (imagemagick-register-types): Doc fix.
10705
10706 2011-05-29 Deniz Dogan <deniz@dogan.se>
10707
10708 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10709 default.
10710
10711 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10712
10713 * select.el: Don't perform clipboard-manager saving in hooks;
10714 leave the hooks empty.
10715
10716 2011-05-28 Leo Liu <sdl.web@gmail.com>
10717
10718 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10719 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10720 (occur-edit-mode): New major mode (Bug#8463).
10721 (occur-after-change-function): New function.
10722 (occur-engine): Give Occur tags a read-only property.
10723
10724 2011-05-28 Kevin Ryde <user42@zip.com.au>
10725
10726 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10727
10728 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10729
10730 * bindings.el (help-echo): Make the initial non-indicator dash
10731 empty on graphical terminals (Bug#7295).
10732
10733 * files.el (auto-mode-alist): Move config rule after the
10734 in-stripping one (Bug#8547).
10735
10736 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10737
10738 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10739 setting (Bug#8740).
10740
10741 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10742
10743 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10744 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10745 (Bug#8539).
10746
10747 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10748
10749 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10750
10751 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10752
10753 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10754 (hs-hide-block-at-point, hs-find-block-beginning)
10755 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10756 (Bug#8279).
10757
10758 2011-05-28 Glenn Morris <rgm@gnu.org>
10759
10760 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10761
10762 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10763
10764 * help-fns.el (describe-function-1): If the function is a derived
10765 major mode, print the parent mode.
10766
10767 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10768 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10769
10770 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10771
10772 * minibuffer.el (completion--capf-wrapper): Check applicability before
10773 returning non-nil for non-exclusive completion data.
10774 * progmodes/etags.el (tags-completion-at-point-function):
10775 * info-look.el (info-lookup-completions-at-point): Mark as
10776 non-exclusive.
10777 (info-complete): Adjust accordingly.
10778
10779 * info-look.el: Convert to lexical-binding and completion-at-point.
10780 (info-lookup-completions-at-point): New function.
10781 (info-complete): Use it and completion-in-region.
10782
10783 2011-05-28 Drew Adams <drew.adams@oracle.com>
10784
10785 * isearch.el: Let M-e start with point at the first mismatched char.
10786 (isearch-fail-pos): New function.
10787 (isearch-edit-string): Use it.
10788
10789 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10790
10791 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10792
10793 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
10794
10795 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10796 traversal functions for avl-trees.
10797 (avl-tree--stack): New struct.
10798 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10799 (avl-tree-enter): Add optional `updatefun' arg.
10800 (avl-tree--do-enter): Add optional `updatefun' arg.
10801 Change return value.
10802 (avl-tree-delete): Add optional `test' and `nilflag' args.
10803 (avl-tree--do-delete): Add `test' and `nilflag' args.
10804 Change return value.
10805 (avl-tree-member): Add optional `nilflag'
10806 (avl-tree-member-p): New function.
10807 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10808 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10809 (avl-tree-stack-empty-p): New functions.
10810
10811 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10812 avl-tree--del-balance1 and make it work both ways.
10813 (avl-tree--del-balance2): Remove.
10814 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10815 make it work both ways.
10816 (avl-tree--enter-balance2): Remove.
10817 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10818 New macros.
10819 (avl-tree--mapc, avl-tree-map): Add direction argument.
10820
10821 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
10822
10823 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10824
10825 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
10826
10827 * select.el: Support clipboard managers with built-in function
10828 x-clipboard-manager-save, via delete-frame-functions and
10829 kill-emacs-hook.
10830 (xselect-convert-to-targets): Add MULTIPLE target to list.
10831 (xselect-convert-to-save-targets): New function.
10832
10833 2011-05-27 Kenichi Handa <handa@m17n.org>
10834
10835 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10836 let-binding rfc2047-encode-encoded-words to nil.
10837
10838 2011-05-27 Glenn Morris <rgm@gnu.org>
10839
10840 * mail/emacsbug.el: Don't require url-util.
10841
10842 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10843
10844 * files.el (set-auto-mode):
10845 Also respect mode: entries at the end of the file. (Bug#8586)
10846
10847 2011-05-26 Glenn Morris <rgm@gnu.org>
10848
10849 * files.el (hack-local-variables-prop-line, hack-local-variables):
10850 Downcase mode names, as seems to be traditional.
10851 (hack-local-variables, hack-local-variables-apply): Doc fixes.
10852
10853 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10854 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10855
10856 2011-05-25 Julien Danjou <julien@danjou.info>
10857
10858 * textmodes/rst.el (rst-define-level-faces): Do not define face
10859 symbol if it is already defined.
10860
10861 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10862
10863 * play/5x5.el (5x5-new-game, 5x5-randomize):
10864 Reset 5x5-solver-output to nil when a new grid is cast.
10865 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10866 these debugging traces, as defmacro breaks the compiled code.
10867
10868 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10869
10870 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10871
10872 2011-05-24 Leo Liu <sdl.web@gmail.com>
10873
10874 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10875 (vc-bzr-sha1): Adapt.
10876
10877 * sha1.el: Remove. Function `sha1' is now builtin.
10878
10879 * bindings.el: Provide sha1 feature.
10880
10881 2011-05-24 Kenichi Handa <handa@m17n.org>
10882
10883 * mail/sendmail.el: Require `rfc2047'.
10884 (mail-insert-from-field): Do not perform RFC2047 encoding.
10885 (mail-encode-header): New function.
10886 (sendmail-send-it): Set buffer-file-coding-system of the work
10887 buffer to the return value of select-message-coding-system.
10888 Call mail-encode-header.
10889
10890 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10891
10892 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10893
10894 * mail/supercite.el (sc-default-cite-frame):
10895 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10896
10897 2011-05-24 Glenn Morris <rgm@gnu.org>
10898
10899 * progmodes/python.el (brm-menu): Declare.
10900
10901 * emulation/viper.el (viper-set-hooks): Declare.
10902
10903 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10904 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10905 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10906 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10907 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10908 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10909
10910 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10911
10912 Add an :exit-function for completion-at-point.
10913
10914 * minibuffer.el (completion--done): New fun.
10915 (completion--do-completion): Use it. New arg `expect-exact'.
10916 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10917 since completion--do-completion does it for us now.
10918 (minibuffer-force-complete): Use completion--done and
10919 completion--replace. Handle sole-completion case with more care.
10920 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10921 (completion-extra-properties): New var.
10922 (completion-annotate-function): Make obsolete.
10923 (minibuffer-completion-help): Adjust accordingly.
10924 Use completion-list-insert-choice-function.
10925 (completion-at-point, completion-help-at-point):
10926 Bind completion-extra-properties.
10927 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10928 * simple.el (completion-list-insert-choice-function): New var.
10929 (completion-setup-function): Preserve it.
10930 (choose-completion): Pay attention to it, shuffle the code a bit.
10931 (choose-completion-string): New arg `insert-function'.
10932
10933 * textmodes/bibtex.el: Convert to lexical binding.
10934 (bibtex-mode-map): Use completion-at-point.
10935 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10936 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10937 (bibtex-complete): Define as obsolete alias.
10938 (bibtex-complete-internal): Remove.
10939 (bibtex-format-entry): Remove unused sub-group in regexp.
10940 * shell.el (shell--command-completion-data)
10941 (shell-environment-variable-completion):
10942 * pcomplete.el (pcomplete-completions-at-point):
10943 * comint.el (comint--complete-file-name-data): Use :exit-function
10944 instead of completion-table-with-terminator so it also works for
10945 choose-completion.
10946
10947 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10948
10949 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10950
10951 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10952 (bug#8710).
10953
10954 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10955
10956 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10957
10958 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10959 customization variable and implement: If non-nil, auto-fill will
10960 be inhibited while on topic's header line.
10961
10962 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10963
10964 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10965 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10966 always have a solution in grid size = 5 cases.
10967 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10968 (5x5-solver-output, 5x5-log-buffer): New vars.
10969 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10970 Make these variables buffer local to achieve 5x5 multi-session-ness.
10971 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10972 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10973 (5x5-solve-suggest): New funs.
10974 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10975 randomize a grid so that we ensure that there is always a solution.
10976 (5x5-make-random-grid): Allow other movement than flipping.
10977
10978 2011-05-23 Kevin Ryde <user42@zip.com.au>
10979
10980 * emacs-lisp/advice.el (ad-read-advised-function):
10981 Use `function-called-at-point' as the default, if it has
10982 advice and passes PREDICATE.
10983
10984 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10985
10986 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10987 byte-compile-lambda if it's actually a lambda.
10988
10989 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10990 Fix function quoting. Use backquote better.
10991
10992 2011-05-22 Yuanle Song <sylecn@gmail.com>
10993
10994 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10995 matching (Bug#8516).
10996
10997 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10998
10999 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11000 different face (Bug#8178).
11001
11002 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
11003
11004 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11005 defface (Bug#8144).
11006
11007 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11008
11009 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11010 funcall as well (bug#8712). Warn when performing those conversions.
11011 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11012
11013 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11014
11015 2011-05-22 Glenn Morris <rgm@gnu.org>
11016
11017 * files.el (hack-local-variables-prop-line): Small simplifications.
11018 (hack-local-variables, hack-local-variables-prop-line):
11019 If MODE-ONLY, return the mode, rather than just `t'.
11020
11021 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11022
11023 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11024
11025 2011-05-21 Glenn Morris <rgm@gnu.org>
11026
11027 * files.el (hack-local-variables-prop-line, hack-local-variables):
11028 If only interested in the mode, don't bother doing the other stuff.
11029
11030 * image-mode.el (image-after-revert-hook):
11031 Redraw all frames on which the image is visible. (Bug#8567)
11032
11033 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11034
11035 * wid-edit.el (widget-checklist-match-inline):
11036 Fix 2011-04-19 change. (Bug#8649)
11037
11038 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11039
11040 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11041 Also allow singlespace after single-letter capitals followed by a dot.
11042
11043 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11044 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11045
11046 2011-05-20 Nix <nix@esperi.org.uk>
11047
11048 * files.el (basic-save-buffer-2):
11049 Fix handling of break-hardlink-on-save with non-existent files.
11050
11051 2011-05-19 Deniz Dogan <deniz@dogan.se>
11052
11053 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
11054 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
11055
11056 2011-05-19 Glenn Morris <rgm@gnu.org>
11057
11058 * progmodes/f90.el (f90-type-def-re):
11059 Handle "type, bind(c)". (Bug#8691)
11060
11061 * emacs-lisp/autoload.el (batch-update-autoloads):
11062 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11063
11064 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
11065
11066 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11067 property for the correct connection in case of multihops.
11068
11069 2011-05-18 Glenn Morris <rgm@gnu.org>
11070
11071 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
11072 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11073
11074 Rationalize calendar handling of day and month abbrev-arrays.
11075 * calendar/calendar.el (calendar-customized-p): New function.
11076 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11077 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11078 Add :set function.
11079 (calendar-abbrev-length, calendar-day-abbrev-array)
11080 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11081 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11082 Elements may no longer be nil.
11083 (calendar-day-name, calendar-month-name):
11084 Update for changed nature of abbrev arrays.
11085 * calendar/diary-lib.el (diary-name-pattern):
11086 Update for changed nature of abbrev arrays.
11087 (diary-mark-entries-1): Update calendar-make-alist calls.
11088 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11089 * calendar/cal-html.el (cal-html-day-abbrev-array):
11090 Simply inherit from calendar-day-abbrev-array.
11091
11092 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11093
11094 * progmodes/grep.el (grep-mode): Disable default
11095 compilation-directory-matcher setting (bug#8684).
11096
11097 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
11098
11099 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11100 instead of "head" and "tail". There were problems with SunOS 5.9,
11101 and it performs better.
11102
11103 2011-05-17 Glenn Morris <rgm@gnu.org>
11104
11105 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11106
11107 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11108 Replace obsolete function.
11109
11110 * shell.el (pcomplete-parse-arguments-function): Declare.
11111
11112 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11113 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11114 (appt-check): Doc fixes.
11115 (appt-disp-window-function, appt-delete-window-function):
11116 Remove needless special case in custom :type.
11117 (appt-display-count): Default to 0, not nil.
11118 (appt-check): Reset appt-display-count to 0, not nil.
11119
11120 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
11121
11122 * progmodes/python.el (python-font-lock-keywords):
11123 Add the Python 3.X keyword "nonlocal" (bug#8639).
11124
11125 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11126
11127 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11128
11129 2011-05-16 Kevin Ryde <user42@zip.com.au>
11130
11131 * info-look.el (makefile-automake-mode): New setups, looking in
11132 automake manual, then makefile-mode.
11133 (makefile-mode): Remove automake manual, have it just in
11134 makefile-automake-mode since there's various things different or
11135 not relevant to plain make.
11136 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11137 believe a hypothetical automake-mode would go to makefile-mode,
11138 not the other way around.
11139
11140 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
11141
11142 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11143 hunk-end tags (Bug#8672).
11144
11145 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11146 vc-annotate-show-diff-revision-at-line (Bug#8671).
11147
11148 2011-05-14 Glenn Morris <rgm@gnu.org>
11149
11150 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11151 in the middle of an existing one with multiple authors. (Bug#8645)
11152 (change-log-font-lock-keywords): Also handle multiple author lines
11153 with leading tabs. (Bug#8644)
11154
11155 * calendar/appt.el (appt-check): Rename some local variables.
11156 Some simplification/reordering.
11157
11158 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11159 (feedmail-sendmail-f-doesnt-sell-me-out)
11160 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11161 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11162 (feedmail-queue-runner-message-sender): Set :version.
11163 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11164 (bbdb-dwim-net-address, vm-mail): Declare.
11165 (feedmail-binmail-gnulinuxish-template):
11166 Rename from feedmail-binmail-linuxish-template.
11167 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11168 Use insert-buffer-substring.
11169
11170 2011-05-14 Bill Carpenter <bill@carpenter.org>
11171
11172 * mail/feedmail.el (feedmail-patch-level): Increase.
11173 (feedmail-debug): New custom group.
11174 (feedmail-confirm-outgoing-timeout)
11175 (feedmail-sendmail-f-doesnt-sell-me-out)
11176 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11177 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11178 (feedmail-sender-line, feedmail-from-line)
11179 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
11180 (feedmail-spray-this-address)
11181 (feedmail-spray-address-fiddle-plex-list)
11182 (feedmail-queue-use-send-time-for-date)
11183 (feedmail-queue-use-send-time-for-message-id)
11184 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11185 (feedmail-buffer-eating-function):
11186 Doc fixes.
11187 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11188 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11189 (feedmail-message-action-scroll-down): New functions.
11190 (feedmail-queue-directory, feedmail-queue-draft-directory):
11191 Use expand-file-name.
11192 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11193 Remove C-v help entry.
11194 (feedmail-queue-buffer-file-name): New variable.
11195 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11196 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11197 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11198 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11199 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11200 (feedmail-message-action-toggle-spray)
11201 (feedmail-run-the-queue-no-prompts)
11202 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11203 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11204 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11205 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11206 (feedmail-envelope-deducer, feedmail-fiddle-from)
11207 (feedmail-fiddle-sender, feedmail-default-date-generator)
11208 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11209 (feedmail-fiddle-spray-address)
11210 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11211 (feedmail-fiddle-list-of-fiddle-plexes)
11212 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11213 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11214 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11215 Change default. Doc fix.
11216 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11217 (feedmail-binmail-linuxish-template): New constant.
11218 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11219 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11220 (feedmail-send-it): Add debug call.
11221 Use feedmail-queue-buffer-file-name, and
11222 feedmail-send-it-immediately-wrapper.
11223 (feedmail-message-action-send): Add debug call.
11224 Use feedmail-send-it-immediately-wrapper.
11225 (feedmail-queue-express-to-queue): Add debug call.
11226 Run feedmail-queue-express-hook.
11227 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11228 (feedmail-message-action-help-blat):
11229 Rename from feedmail-queue-send-edit-prompt-help-first.
11230 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11231 Check line-endings. Handle errors better.
11232 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11233 Doc fix. Add debug call.
11234 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11235 Use feedmail-queue-send-edit-prompt-inner.
11236 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11237 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11238 from feedmail-queue-send-edit-prompt.
11239 (feedmail-queue-send-edit-prompt-help)
11240 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11241 (feedmail-tidy-up-slug): Add debug call.
11242 Respect feedmail-queue-slug-suspect-regexp.
11243 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11244 (feedmail-dump-message-to-queue): Add debug call.
11245 Expand queue-directory.
11246 (feedmail-dump-message-to-queue): Change message slightly.
11247 Use feedmail-say-chatter.
11248 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11249 (feedmail-send-it-immediately-wrapper): New function.
11250 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11251 Insert empty string rather than newline. Handle full-frame case.
11252 Use catch/throw. Use feedmail-say-chatter.
11253 (feedmail-fiddle-from): Try mail-host-address.
11254 (feedmail-default-message-id-generator): Doc fix.
11255 Bind system-time-locale. Handle missing end.
11256 (feedmail-fiddle-x-mailer): Add debug call.
11257 Handle feedmail-x-mailer-line being nil.
11258 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11259 Add debug call. Use buffer-substring-no-properties.
11260 (feedmail-say-debug, feedmail-say-chatter): New functions.
11261 (feedmail-find-eoh): Give an explicit error.
11262
11263 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
11264
11265 * net/newst-treeview.el (newsticker-treeview-face): Change default
11266 family from helvetica to sans.
11267 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
11268 etc/images/newsticker.
11269
11270 * net/newst-reader.el (newsticker-feed-face): Change default
11271 family from helvetica to sans.
11272
11273 * net/newst-plainview.el (newsticker-new-item-face)
11274 (newsticker-old-item-face, newsticker-immortal-item-face)
11275 (newsticker-obsolete-item-face, newsticker-date-face)
11276 (newsticker-statistics-face): Change default family from
11277 helvetica to sans.
11278 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
11279 etc/images/newsticker.
11280
11281 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11282 (newsticker--process-auto-mark-filter-match): Tell user about
11283 auto-marking.
11284
11285 2011-05-13 Didier Verna <didier@xemacs.org>
11286
11287 Common Lisp indentation improvements on defmethod and lambda-lists.
11288 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11289 TODO entries.
11290 (lisp-lambda-list-keyword-parameter-indentation)
11291 (lisp-lambda-list-keyword-parameter-alignment)
11292 (lisp-lambda-list-keyword-alignment): New customizable user options.
11293 (lisp-indent-defun-method): Improve docstring.
11294 (extended-loop-p): Fix comment.
11295 (lisp-indent-lambda-list-keywords-regexp): New variable.
11296 (lisp-indent-lambda-list): New function.
11297 (lisp-indent-259): Use it.
11298 (lisp-indent-defmethod): Support for more than one
11299 method qualifier and properly indent methods lambda-lists.
11300 (defgeneric): Provide a missing common-lisp-indent-function property.
11301
11302 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11303
11304 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11305 bounds for the empty string (bug#8667).
11306
11307 2011-05-13 Glenn Morris <rgm@gnu.org>
11308
11309 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11310
11311 * mail/sendmail.el (sendmail-program): Try executable-find first.
11312 (sendmail-send-it): `sendmail-program' cannot be unbound.
11313
11314 * calendar/appt.el (appt-make-list): Simplify.
11315 (appt-time-msg-list): Doc fix.
11316 (appt-check): Change mode-line message at the time of the appointment.
11317
11318 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11319
11320 * progmodes/ld-script.el (ld-script-keywords)
11321 (ld-script-builtins): Update keywords list.
11322
11323 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11324
11325 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11326
11327 * shell.el (shell-completion-vars): New function.
11328 (shell-mode):
11329 * simple.el (read-shell-command): Use it.
11330 (blink-matching-open): No need for " [...]" in minibuffer-message.
11331
11332 2011-05-12 Glenn Morris <rgm@gnu.org>
11333
11334 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11335 (appt-check): Simplify.
11336
11337 2011-05-12 Eli Zaretskii <eliz@gnu.org>
11338
11339 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
11340 literal "/dev/null".
11341
11342 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11343
11344 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11345 Fix typo.
11346
11347 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
11348
11349 * progmodes/which-func.el (which-function):
11350 Use add-log-current-defun instead of add-log-current-defun-function,
11351 which might not be defined (Bug#8260).
11352
11353 2011-05-12 Glenn Morris <rgm@gnu.org>
11354
11355 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11356 Let byte-compile-initial-macro-environment always take precedence.
11357
11358 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11359
11360 * net/rcirc.el: Add support for SSL/TLS connections.
11361 (rcirc-server-alist): New field `encryption'.
11362 (rcirc): Check `encryption' settings.
11363 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11364 Merge make-local-variable into `set'.
11365 (rcirc--connection-open-p): New function.
11366 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11367 the process is not a network process (e.g. running gnutls-cli).
11368 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11369 Make rcirc-(en|de)code-coding-system local here.
11370 (rcirc-mode): Merge make-local-variable into `set'.
11371 (rcirc-parent-buffer): Make permanent buffer-local.
11372 (rcirc-multiline-minor-mode): Don't do it here.
11373 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11374 there's no server buffer.
11375
11376 2011-05-11 Glenn Morris <rgm@gnu.org>
11377
11378 * newcomment.el (comment-kill): Prefix "unused" local.
11379
11380 * term/w32console.el (get-screen-color): Declare.
11381
11382 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11383 Handle symbol elements of byte-compile-initial-macro-environment.
11384
11385 2011-05-10 Leo Liu <sdl.web@gmail.com>
11386
11387 * bookmark.el (bookmark-bmenu-mode-map):
11388 Bind bookmark-bmenu-search to `/'.
11389
11390 * mail/footnote.el: Convert to utf-8 encoding.
11391 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11392 (Footnote-unicode): New function.
11393 (footnote-style-alist): Add unicode style to the list.
11394 (footnote-style): Doc fix.
11395
11396 2011-05-10 Jim Meyering <meyering@redhat.com>
11397
11398 Fix doubled-word typos.
11399 * international/quail.el (quail-insert-kbd-layout): and and -> and
11400 * kermit.el: and and -> and
11401 * net/ldap.el (ldap-search-internal): to to -> to
11402 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11403 * progmodes/js.el (js-mode): and and -> and
11404 * textmodes/artist.el (artist-move-to-xy): at at -> at
11405 (artist-draw-region-trim-line-endings): if if -> if
11406 And Safetyc -> Safety.
11407 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11408
11409 2011-05-10 Glenn Morris <rgm@gnu.org>
11410 Stefan Monnier <monnier@iro.umontreal.ca>
11411
11412 * files.el (hack-one-local-variable-eval-safep):
11413 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11414
11415 2011-05-10 Glenn Morris <rgm@gnu.org>
11416
11417 * calendar/diary-lib.el (diary-list-entries-hook)
11418 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11419 (diary-nongregorian-marking-hook, diary-list-entries)
11420 (diary-include-other-diary-files, diary-mark-entries)
11421 (diary-mark-included-diary-files): Doc fixes.
11422
11423 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11424
11425 * misc.el: Require tabulated-list.el during compilation.
11426
11427 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11428
11429 * progmodes/compile.el (compilation-start):
11430 Run compilation-filter-hook for the async case too.
11431 (compilation-filter-hook): Doc fix.
11432
11433 2011-05-09 Deniz Dogan <deniz@dogan.se>
11434
11435 * wdired.el: Remove outdated installation comment. Fix usage
11436 comment.
11437
11438 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11439
11440 * misc.el: Implement new command `list-dynamic-libraries'.
11441 (list-dynamic-libraries--loaded-only-p): New variable.
11442 (list-dynamic-libraries--refresh): New function.
11443 (list-dynamic-libraries): New command.
11444
11445 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11446
11447 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11448 Fix the ant regexp to handle end-line and end-column info from jikes.
11449 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11450 higher priority to avoid clobbering by gnu.
11451
11452 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11453
11454 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11455 if the face has existing theme settings (Bug#8454).
11456
11457 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11458
11459 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11460 Only match variables declared via `my' or `our' (Bug#8261).
11461
11462 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11463 special file names `.' and `..' (Bug#8259).
11464
11465 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11466
11467 * progmodes/grep.el (grep-mode-font-lock-keywords):
11468 Remove buffer-changing entries.
11469 (grep-filter): New function.
11470 (grep-mode): Add it to compilation-filter-hook.
11471
11472 * progmodes/compile.el (compilation-filter-hook)
11473 (compilation-filter-start): New defvars.
11474 (compilation-filter): Call compilation-filter-hook prior to
11475 updating the process mark.
11476
11477 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11478
11479 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11480
11481 2011-05-07 Eli Zaretskii <eliz@gnu.org>
11482
11483 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11484 mailclient-send-it even if window-system is nil. (Bug#8595)
11485
11486 * term/w32console.el (terminal-init-w32console):
11487 Call get-screen-color and use its output to set the frame
11488 background-mode. (Bug#8597)
11489
11490 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11491
11492 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11493 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11494 New functions.
11495 (defgeneric, eieio--defmethod): Use them.
11496 (eieio-defgeneric): Remove.
11497 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11498
11499 2011-05-07 Glenn Morris <rgm@gnu.org>
11500
11501 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11502 Use let rather than let*.
11503 (timeclock-find-discrep): Remove unused local.
11504
11505 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11506
11507 * calendar/appt.el (appt-time-msg-list): Doc fix.
11508
11509 2011-05-06 Noah Friedman <friedman@splode.com>
11510
11511 * apropos.el (apropos-print-doc): Only use
11512 emacs-lisp-docstring-fill-column when it is bound to an integer,
11513 per that variable's documentation.
11514
11515 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11516
11517 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
11518 and warnings are not silently discarded (e.g. use -d instead of -P).
11519
11520 2011-05-06 Glenn Morris <rgm@gnu.org>
11521
11522 * calendar/appt.el (appt-message-warning-time): Doc fix.
11523 (appt-warning-time-regexp): New option.
11524 (appt-make-list): Respect appt-message-warning-time.
11525
11526 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11527 New options.
11528 (diary-add-to-list): Strip comments from the displayed string.
11529 (diary-mode): Set comment-start and comment-end.
11530
11531 * vc/diff-mode.el (smerge-refine-subst): Declare.
11532 (diff-refine-hunk): Don't require smerge-mode when compiling.
11533
11534 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
11535
11536 * simple.el (list-processes): Return nil as the docstring says.
11537
11538 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11539
11540 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11541 to "".
11542 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11543 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11544 determining of binary transfer. (Bug#7383)
11545
11546 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11547
11548 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11549 Fix port computation bug. (Bug#8618)
11550
11551 2011-05-05 Glenn Morris <rgm@gnu.org>
11552
11553 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11554
11555 * simple.el (shell-dynamic-complete-functions)
11556 (comint-dynamic-complete-functions): Declare.
11557
11558 * net/network-stream.el (gnutls-negotiate):
11559 * simple.el (tabulated-list-print): Fix declarations.
11560
11561 * progmodes/gud.el (syntax-symbol, syntax-point):
11562 Remove unnecessary and incorrect declarations.
11563
11564 * emacs-lisp/check-declare.el (check-declare-scan):
11565 Handle byte-compile-initial-macro-environment in bytecomp.el
11566
11567 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11568
11569 Fix earlier half-done eieio-defmethod change (bug#8338).
11570 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11571 Streamline and change calling convention.
11572 (defmethod): Adjust accordingly and simplify.
11573 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11574 new eieio--defmethod.
11575 (slot-boundp): Minor CSE simplification.
11576
11577 2011-05-05 Milan Zamazal <pdm@zamazal.org>
11578
11579 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11580 (glasses-make-readable): Use glasses-separate-capital-groups.
11581
11582 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
11583
11584 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11585 (warning-series): Doc fix.
11586 (display-warning): Don't try to create the buffer if we just found it.
11587
11588 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
11589
11590 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11591 (autoload-find-generated-file): New function.
11592 (generate-file-autoloads): Bind generated-autoload-file to
11593 buffer-file-name.
11594 (update-file-autoloads, update-directory-autoloads):
11595 Use autoload-find-generated-file. If called interactively, prompt for
11596 output file (Bug#7989).
11597 (batch-update-autoloads): Doc fix.
11598
11599 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
11600
11601 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11602
11603 2011-05-04 Glenn Morris <rgm@gnu.org>
11604
11605 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11606 function, so it follows changes in calendar-date-style.
11607 (diary-fancy-date-matcher): New function.
11608 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11609 (diary-fancy-font-lock-fontify-region-function):
11610 Use diary-fancy-date-pattern as a function.
11611
11612 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11613 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11614
11615 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11616
11617 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11618 instead of positional arguments. Allow :keylist and :crlfiles
11619 arguments.
11620 (open-gnutls-stream): Call it.
11621
11622 * net/network-stream.el (network-stream-open-starttls): Adjust to
11623 call `gnutls-negotiate' with :process and :hostname arguments.
11624
11625 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11626
11627 * minibuffer.el (completion--message): New function.
11628 (completion--do-completion, minibuffer-complete)
11629 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11630 (completion--do-completion): Don't ignore completion-auto-help when in
11631 icomplete-mode.
11632
11633 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11634 internal encoding (e.g. tibetan zero is not whitespace).
11635 (global-whitespace-mode): Prefer save-current-buffer.
11636 (whitespace-trailing-regexp): Remove useless save-match-data.
11637 (whitespace-empty-at-bob-regexp): Minor simplification.
11638
11639 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
11640
11641 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11642
11643 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11644
11645 * textmodes/ispell.el (ispell-add-per-file-word-list):
11646 Use `concat' to create string for insertion.
11647
11648 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11649
11650 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11651 Avoid open-line which runs post-self-insert-hook.
11652 (bibtex-fill-entry): Remove unused `end' var.
11653
11654 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11655
11656 * textmodes/ispell.el (ispell-add-per-file-word-list):
11657 Protect against `nil' value of `comment-start' (Bug#8579).
11658
11659 2011-05-03 Leo Liu <sdl.web@gmail.com>
11660
11661 * isearch.el (isearch-yank-pop): New command.
11662 (isearch-mode-map): Bind it to `M-y'.
11663 (isearch-forward): Mention it.
11664
11665 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11666
11667 * simple.el (minibuffer-complete-shell-command): Remove.
11668 (minibuffer-local-shell-command-map): Use completion-at-point.
11669 (read-shell-command): Setup completion vars here instead.
11670 (read-expression-map): Bind TAB to symbol completion.
11671
11672 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11673 error directly rather via storing it into `results'.
11674
11675 2011-05-02 Leo Liu <sdl.web@gmail.com>
11676
11677 * vc/diff.el: Fix description.
11678
11679 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11680
11681 * server.el (server-eval-at): New function.
11682
11683 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11684
11685 * net/network-stream.el (open-network-stream): Take a :nowait
11686 parameter and pass it on to `make-network-process'.
11687 (network-stream-open-plain): Ditto.
11688
11689 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11690
11691 * faces.el (face-spec-set-match-display): Don't match toolkit
11692 options on terminal frames.
11693
11694 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11695
11696 * progmodes/pascal.el: Use lexical binding.
11697 (pascal-mode-map): Remove author preferences.
11698
11699 * pcomplete.el (pcomplete-std-complete): Don't abuse
11700 completion-at-point.
11701
11702 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11703
11704 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11705 removing code that has been dead since 1991 or so.
11706
11707 * startup.el (command-line): When warning about "_emacs", use a
11708 delayed warning to allow the user to filter it out.
11709
11710 2011-04-28 Deniz Dogan <deniz@dogan.se>
11711
11712 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11713 user has not joined.
11714
11715 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11716
11717 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11718 aren't any completions at point.
11719
11720 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11721
11722 * subr.el (display-delayed-warnings): New function.
11723 (delayed-warnings-hook): New variable.
11724
11725 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11726
11727 * minibuffer.el (completion-at-point, completion-help-at-point):
11728 Don't presume that a given completion-at-point-function will always
11729 use the same calling convention.
11730
11731 * pcomplete.el (pcomplete-completions-at-point):
11732 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11733 pcomplete-seen is non-nil.
11734 (pcomplete-comint-setup): Also recognize the new comint/shell
11735 completion functions.
11736 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11737 pcomplete-seen is non-nil.
11738
11739 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
11740
11741 * calendar/icalendar.el (diary-lib): Add require statement.
11742 (icalendar--create-uid): Read out a uid from a text-property on
11743 the first character in the entry. This allows for code to add its
11744 own uid to the entry.
11745 (icalendar--convert-float-to-ical): Add export of
11746 `diary-float'-entries save for those with the optional DAY
11747 argument.
11748
11749 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11750
11751 * subr.el (shell-quote-argument): Use alternate escaping strategy
11752 when we spot a variable reference in a string.
11753
11754 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11755
11756 * cus-start.el (all): Define customization for debug-on-event.
11757
11758 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11759
11760 * subr.el (shell-quote-argument): Escape correctly under Windows.
11761
11762 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11763
11764 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11765
11766 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
11767
11768 * net/tramp.el (tramp-process-actions): Add POS argument.
11769 Delete region between POS and (pos).
11770
11771 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11772 Use `nil' position in `tramp-process-actions' call.
11773 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11774
11775 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11776 position in `tramp-process-actions' call.
11777
11778 * net/trampver.el: Update release number.
11779
11780 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11781
11782 * custom.el (defcustom): Obey lexical-binding.
11783
11784 Fix octave-inf completion problems reported by Alexander Klimov.
11785 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11786 Inherit from octave-mode-syntax-table.
11787 (inferior-octave-mode): Set info-lookup-mode.
11788 (inferior-octave-completion-at-point): New function.
11789 (inferior-octave-complete): Use it and completion-in-region.
11790 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11791 comint-filename-completion.
11792 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11793 symbol elements which shouldn't be word elements.
11794 (octave-font-lock-keywords, octave-beginning-of-defun)
11795 (octave-function-header-regexp): Adjust regexps accordingly.
11796 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11797
11798 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
11799
11800 * net/gnutls.el (gnutls-errorp): Declare before first use.
11801
11802 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11803
11804 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11805 verify-error, and verify-hostname-error parameters. Check whether
11806 default trustfile exists before going to use it. Add missing
11807 argument to gnutls-message-maybe call. Return value.
11808 Reported by Claudio Bley <claudio.bley@gmail.com>.
11809 (open-gnutls-stream): Add usage example.
11810
11811 * net/network-stream.el (network-stream-open-starttls): Give host
11812 parameter to `gnutls-negotiate'.
11813 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11814 * subr.el (shell-quote-argument): Escape correctly under Windows.
11815
11816 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
11817
11818 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11819 Use correct match group (bug#8438).
11820
11821 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11822
11823 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11824 (package-menu--generate): New arg specifying packages to show.
11825 (package-menu-refresh, package-menu-execute, list-packages):
11826 Callers changed.
11827 (package-show-package-list): New function, replacing deleted
11828 package--list-packages (renamed because it is non-internal).
11829
11830 * finder.el (finder-list-matches): Use package-show-package-list
11831 instead of deleted package--list-packages.
11832
11833 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11834 Based on a previous implementation by Juanma Barranquero (Bug#8366).
11835 (vc-annotate-mode-map): Bind it to RET.
11836
11837 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11838
11839 * progmodes/etags.el (next-file): Don't use set-buffer to change
11840 buffers (Bug#8478).
11841
11842 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11843
11844 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11845
11846 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11847 (apropos-accumulator): Doc fix.
11848 (apropos-function, apropos-macro, apropos-command)
11849 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11850 (apropos-plist): Add face property.
11851 (apropos-symbols-internal): Fix indentation.
11852 (apropos-print): Simplify help, and recognize apropos-multi-type.
11853 (apropos-print-doc): Use button-type-get to extract the button's
11854 face property. Fill docstring (Bug#8352).
11855
11856 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11857
11858 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11859
11860 * play/mpuz.el (mpuz-silent): Doc fix.
11861 (mpuz-mode-map): Use mapc.
11862 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11863 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11864 Fix typos in docstrings.
11865
11866 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11867 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11868
11869 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11870
11871 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11872
11873 * minibuffer.el (completion--do-completion): Avoid the "Next char
11874 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11875
11876 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11877 mouse-2 into unread-command-events, it is interpreted correctly.
11878
11879 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11880 (image-toggle-display): Doc fix.
11881
11882 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11883
11884 * textmodes/page.el (what-page): Use line-number-at-pos to
11885 calculate line number (Bug#6825).
11886
11887 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11888
11889 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11890 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11891 Pass argument NO-DEFAULT to `find-tag-interactive'.
11892
11893 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11894
11895 Lexical-binding cleanup.
11896
11897 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11898 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11899 * progmodes/ada-prj.el (ada-prj-initialize-values)
11900 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11901 (ada-prj-show-value):
11902 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11903 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11904 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11905 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11906 * progmodes/bug-reference.el (bug-reference-push-button):
11907 * progmodes/fortran.el (fortran-line-length):
11908 * progmodes/glasses.el (glasses-change):
11909 * progmodes/octave-mod.el (octave-fill-paragraph):
11910 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11911 (python-pdbtrack-grub-for-buffer, python-sentinel):
11912 * progmodes/sql.el (sql-save-connection):
11913 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11914 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11915 Mark unused parameters.
11916
11917 * progmodes/compile.el (compilation--flush-directory-cache)
11918 (compilation--flush-parse, compile-internal): Mark unused parameters.
11919 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11920 (compilation-next-error-function): Remove unused variable `timestamp'.
11921
11922 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11923 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11924
11925 * progmodes/dcl-mode.el (dcl-end-of-command):
11926 Remove unused variable `start'.
11927 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11928 (dcl-option-value-basic, dcl-option-value-offset)
11929 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11930 Mark unused parameters.
11931 (dcl-save-local-variable): Remove unused variable `val'.
11932 (mode): Declare.
11933
11934 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11935 Mark unused parameters.
11936 (delphi-ignore-changes): Move before first use.
11937 (delphi-charset-token-at): Remove unused variable `start'.
11938 (delphi-else-start): Remove unused variable `if-count'.
11939 (delphi-comment-block-start, delphi-comment-block-end):
11940 Remove unused variable `kind'.
11941 (delphi-indent-line): Remove unused variable `new-point'.
11942
11943 * progmodes/ebrowse.el (ebrowse-files-list)
11944 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11945 Mark unused parameters. Don't quote `lambda'.
11946 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11947 Don't quote `lambda'.
11948 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11949 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11950 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11951 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11952 Use `ignore-errors'.
11953 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11954 (ebrowse-view/find-file-and-search-pattern)
11955 (ebrowse-view/find-member-declaration/definition):
11956 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11957 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11958 Rename parameter PREFIX-ARG to PREFIX.
11959 (ebrowse-tags-read-name): Remove unused variables `start' and
11960 `member-info'.
11961 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11962 to `tags-file'.
11963
11964 * progmodes/etags.el (local-find-tag-hook): Declare.
11965 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11966 Mark unused parameters.
11967
11968 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11969 (executable-interpret): Mark unused parameter.
11970
11971 * progmodes/flymake.el (flymake-process-sentinel)
11972 (flymake-after-change-function)
11973 (flymake-create-temp-with-folder-structure)
11974 (flymake-get-include-dirs-dot): Mark unused parameters.
11975 (flymake-safe-delete-directory): Remove unused variable `err'.
11976
11977 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11978 (speedbar-timer-fn, speedbar-line-text)
11979 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11980 (speedbar-center-buffer-smartly): Declare functions.
11981 (gdb-find-watch-expression): Remove unused variable `array'.
11982 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11983 (gdb-starting): Mark unused parameters.
11984 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11985 (gdb-table-string): Remove unused variable `res'.
11986 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11987 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11988 (gdb-display-buffer): Remove unused variable `cur-size'.
11989
11990 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11991 allow lexical-binding compilation.
11992 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11993 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11994 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11995 Mark unused parameters.
11996 (gud-gdb-marker-filter): Remove unused variable `match'.
11997 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11998 lambda expressions and funcall them, instead of using `fset'.
11999
12000 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12001 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12002
12003 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12004 variable `header-beg'; use `let'.
12005
12006 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12007 `restart', `last-sexp' and `at-do'.
12008
12009 * progmodes/js.el (js--debug): Mark unused parameter.
12010 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12011 (js--splice-into-items): Remove unused variable `item'.
12012 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12013
12014 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12015 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12016 (makefile-complete): Remove unused variable `try'.
12017 (makefile-fill-paragraph, makefile-match-function-end):
12018 Mark unused parameters.
12019
12020 * progmodes/octave-inf.el (inferior-octave-complete):
12021 Remove unused variable `proc'.
12022 (inferior-octave-output-digest): Mark unused parameter.
12023
12024 * progmodes/perl-mode.el (perl-calculate-indent):
12025 Remove unused variable `err'.
12026
12027 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12028 (prolog-indent-line): Mark unused parameters.
12029 (prolog-indent-line): Remove unused variable `beg'.
12030
12031 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12032 (reporter-dont-compact-list): Declare.
12033
12034 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12035 Remove unused variable `char'.
12036 (sh-debug): Mark unused parameter.
12037 (sh-get-indent-info): Remove unused variable `start'.
12038 (sh-calculate-indent): Remove unused variable `var'.
12039
12040 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12041 (simula-electric-keyword): Remove unused variable `null'.
12042 (simula-search-backward, simula-search-forward): Remove unused
12043 variables `begin' and `end'.
12044
12045 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12046 Remove unused variable `pos'.
12047 (vera-electric-tab, vera-comment-uncomment-region):
12048 Mark unused parameters.
12049 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12050
12051 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
12052
12053 * emacs-lisp/package.el (package--builtins, package-alist)
12054 (package-load-descriptor, package-built-in-p, package-activate)
12055 (define-package, package-installed-p)
12056 (package-compute-transaction, package-buffer-info)
12057 (package--push): Doc fix. Distinguish more clearly between
12058 version strings and version lists.
12059
12060 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
12061
12062 Lexical-binding cleanup.
12063
12064 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12065 (5x5-make-mutate-best):
12066 * play/fortune.el (fortune-in-buffer):
12067 * play/gomoku.el (gomoku-init-display):
12068 * play/solitaire.el (solitaire, solitaire-do-check):
12069 * play/tetris.el (tetris-default-update-speed-function):
12070 Mark unused parameters.
12071
12072 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12073 (bubbles--shift): Remove unused variable `char-org'.
12074 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12075 (bubbles--show-images): Remove unused variable `char'.
12076
12077 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12078 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12079 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12080 (decipher-analyze-buffer): Use ?\s.
12081 (decipher-make-checkpoint): Remove unused variable `mapping'.
12082
12083 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12084
12085 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12086 Remove unused variable `result'; use `let'.
12087
12088 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12089 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12090 (gametree-children-shown-p, gametree-compute-reduced-score):
12091 Use `ignore-errors'.
12092
12093 * play/handwrite.el (ps-lpr-switches): Declare.
12094 (handwrite): Remove unused variables `pmin' and `lastp'.
12095
12096 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12097
12098 * play/landmark.el (landmark-init-display)
12099 (landmark-update-naught-weights): Mark unused parameters.
12100 (landmark-y): Remove unused variable `noise'. Simplify.
12101 (landmark-human-plays): Remove unused variable `score'.
12102
12103 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12104 (mpuz-try-proposal): Remove unused variable `game'.
12105
12106 * play/zone.el (life-patterns): Declare.
12107
12108 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
12109
12110 * vc/vc.el (ediff-vc-internal): Declare function.
12111
12112 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12113
12114 * shell.el: Use lexical-binding and std completion UI.
12115 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12116 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12117 comint-preoutput-filter-functions rather than on
12118 comint-output-filter-functions.
12119 (shell-command-completion, shell--command-completion-data)
12120 (shell-filename-completion, shell-environment-variable-completion)
12121 (shell-c-a-p-replace-by-expanded-directory): New functions.
12122 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12123 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12124 (shell-dynamic-complete-environment-variable): Use them.
12125 (shell-dynamic-complete-as-environment-variable)
12126 (shell-dynamic-complete-as-command): Remove.
12127 (shell-match-partial-variable): Match past point.
12128 * comint.el: Clean up use of completion-at-point-functions.
12129 (comint-completion-at-point): New function.
12130 (comint-mode): Use it completion-at-point-functions.
12131 (comint-dynamic-complete): Make it obsolete.
12132 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12133 (comint-c-a-p-replace-by-expanded-history): New function.
12134 (comint-dynamic-complete-functions)
12135 (comint-replace-by-expanded-history): Use it.
12136 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12137 termination strings. Try harder to avoid second try-completion.
12138 (completion-in-region-mode-map): Disable bindings that don't work yet.
12139
12140 * comint.el: Use lexical-binding. Require CL.
12141 (comint-dynamic-complete-functions): Use comint-filename-completion.
12142 (comint-completion-addsuffix): Tweak custom type.
12143 (comint-filename-completion, comint--common-suffix)
12144 (comint--common-quoted-suffix, comint--table-subvert)
12145 (comint--complete-file-name-data): New functions.
12146 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12147 (comint-dynamic-list-filename-completions): Use them.
12148 (comint-dynamic-simple-complete): Make obsolete.
12149
12150 * minibuffer.el (completion-in-region-mode):
12151 Keep completion-in-region-mode--predicate global.
12152 (completion-in-region--postch):
12153 Assume completion-in-region-mode--predicate is not null.
12154
12155 * progmodes/flymake.el (flymake-start-syntax-check-process):
12156 Obey `dir'. Simplify.
12157
12158 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12159 we're in VC after all.
12160
12161 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12162
12163 * vc/vc.el (vc-diff-build-argument-list-internal)
12164 (vc-version-ediff, vc-ediff): New commands.
12165 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12166
12167 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12168
12169 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12170 add sanity check.
12171
12172 * obsolete/erc-hecomplete.el: Make obsolete.
12173 * obsolete/: Standardize obsolescence info in the header.
12174
12175 2011-04-20 Glenn Morris <rgm@gnu.org>
12176
12177 * calendar/solar.el (solar-horizontal-coordinates):
12178 Use the longitude argument rather than `calendar-longitude'.
12179 (solar-date-next-longitude): Remove unused locals.
12180
12181 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12182
12183 * whitespace.el: New version 13.2.1.
12184
12185 2011-04-20 felix <EmacsWiki> (tiny change)
12186
12187 * whitespace.el (global-whitespace-mode): Keep highlight when
12188 switching between major modes on a file.
12189
12190 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12191
12192 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12193 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12194 multi-line comments as well.
12195
12196 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
12197
12198 Lexical-binding cleanup.
12199
12200 * arc-mode.el (archive-mode-revert):
12201 * cmuscheme.el (scheme-interactively-start-process):
12202 * custom.el (custom-initialize-delay):
12203 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12204 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12205 * emacs-lock.el (emacs-lock-clear-sentinel):
12206 * ezimage.el (defezimage):
12207 * follow.el (follow-avoid-tail-recenter):
12208 * fringe.el (set-fringe-mode-1):
12209 * generic-x.el (bat-generic-mode-compile):
12210 * help-mode.el (help-info-variable, help-do-xref)
12211 (help-mode-revert-buffer):
12212 * help.el (view-emacs-todo):
12213 * iswitchb.el (iswitchb-completion-help):
12214 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12215 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12216 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12217 * locate.el (locate-update):
12218 * longlines.el (longlines-encode-region)
12219 (longlines-after-change-function):
12220 * outline.el (outline-isearch-open-invisible):
12221 * ps-def.el (declare-function, charset-dimension, char-width)
12222 (encode-char):
12223 * ps-mule.el (ps-mule-plot-string):
12224 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12225 (recentf-edit-list-select, recentf-edit-list-validate)
12226 (recentf-open-files-action):
12227 * rect.el (delete-whitespace-rectangle-line)
12228 (rectangle-number-line-callback):
12229 * register.el (window-configuration-to-register)
12230 (frame-configuration-to-register):
12231 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12232 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12233 (xselect-convert-to-targets, xselect-convert-to-delete)
12234 (xselect-convert-to-filename, xselect-convert-to-charpos)
12235 (xselect-convert-to-lineno, xselect-convert-to-colno)
12236 (xselect-convert-to-os, xselect-convert-to-host)
12237 (xselect-convert-to-user, xselect-convert-to-class)
12238 (xselect-convert-to-name, xselect-convert-to-integer)
12239 (xselect-convert-to-atom, xselect-convert-to-identity):
12240 * subr.el (declare, ignore, process-kill-without-query)
12241 (text-clone-maintain):
12242 * terminal.el (te-get-char, te-tic-sentinel):
12243 * tool-bar.el (tool-bar-make-keymap):
12244 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12245 * type-break.el (type-break-mode, type-break-noninteractive-query):
12246 * view.el (View-back-to-mark):
12247 * wid-browse.el (widget-browse-action, widget-browse-widget)
12248 (widget-browse-widgets, widget-browse-sexp):
12249 * widget.el (define-widget-keywords):
12250 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12251 Mark unused parameters.
12252
12253 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12254 (align-areas): Remove unused variable `look'.
12255 (align-region): Remove unused variables `real-end' and `pos-list'.
12256
12257 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12258
12259 * bindings.el (mode-line-modified, mode-line-remote):
12260 Mark unused parameters.
12261 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12262
12263 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12264 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12265
12266 * comint.el (comint-history-isearch-pop-state)
12267 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12268 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12269 (comint-substitute-in-file-name): Doc fix.
12270
12271 * completion.el (cmpl-statistics-block): Mark unused parameter.
12272 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12273 (save-completions-to-file, load-completions-from-file):
12274 Remove unused local variable `e'.
12275
12276 * composite.el (compose-chars): Remove unused variable `len'.
12277 (lgstring-insert-glyph): Remove unused variable `g'.
12278 (compose-glyph-string): Remove unused variables `ascent',
12279 `descent', `lbearing' and `rbearing'.
12280 (compose-glyph-string-relative): Remove unused variables
12281 `lbearing', `rbearing' and `wadjust'.
12282 (compose-gstring-for-graphic): Remove unused variables `header',
12283 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12284 (compose-gstring-for-terminal): Remove unused variables `header'
12285 and `nchars'. Use `let', not `let*'.
12286
12287 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12288 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12289 (Custom-buffer-done, custom-buffer-create-internal)
12290 (custom-browse-visibility-action, custom-browse-group-tag-action)
12291 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12292 (widget-magic-mouse-down-action, custom-toggle-parent)
12293 (custom-add-parent-links, custom-toggle-hide-variable)
12294 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12295 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12296 (custom-face-menu-create, custom-variable-menu-create, get)
12297 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12298 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12299 (customize-apropos): Remove unused variable `tests'.
12300 (custom-group-value-create): Remove unused variable `hidden-p'.
12301 (sort-fold-case): Declare.
12302
12303 * cus-theme.el (custom-reset-standard-faces-list)
12304 (custom-reset-standard-variables-list): Declare.
12305 (customize-create-theme, custom-theme-revert, custom-theme-write)
12306 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12307 Mark unused parameters.
12308
12309 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12310
12311 * delim-col.el (delimit-columns-max): Move defvar before first use.
12312
12313 * descr-text.el (describe-char-categories): Don't quote `lambda'.
12314 (describe-char): Don't quote `lambda'. Mark unused parameter.
12315
12316 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12317 (auto-insert): Declare.
12318 (desktop-restore-file-buffer): Rename desktop-* parameters;
12319 mark unused ones.
12320 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12321 (desktop-buffer): Rename desktop-* parameters.
12322
12323 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12324 (dframe-reposition-frame-xemacs, dframe-help-echo)
12325 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12326 Mark unused parameters.
12327
12328 * dired-aux.el (backup-extract-version-start, overwrite-query)
12329 (overwrite-backup-query, rename-regexp-query)
12330 (rename-non-directory-query): Declare.
12331 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12332 (dired-add-entry): Remove unused variable `orig-file-name'.
12333 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12334 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12335 `dired-copy-preserve-time' directly.
12336 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12337 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12338
12339 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12340 (dired-virtual-revert, dired-make-relative-symlink):
12341 Mark unused parameters.
12342 (manual-program): Declare.
12343 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12344 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12345 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12346
12347 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12348
12349 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12350
12351 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12352 Declare.
12353
12354 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12355
12356 * electric.el (Electric-command-loop): Rename parameter
12357 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12358
12359 * expand.el (expand-in-literal): Remove unused variable `here'.
12360
12361 * facemenu.el (facemenu-add-new-color):
12362 Remove unused variable `docstring'.
12363
12364 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12365 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12366 (face-attr-construct): Mark unused parameter. Doc fix.
12367 (read-color): Remove unused variable `hex-string'.
12368
12369 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12370 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12371 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12372 (display-buffer-other-frame): Remove unused variable `old-window'.
12373 (kill-buffer-hook): Declare.
12374 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12375 Mark unused parameters.
12376 (after-find-file): Pass 1 to `auto-save-mode', not t.
12377
12378 * files-x.el (auto-insert): Declare.
12379 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12380
12381 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
12382 variable `buf'. Mark unused parameter.
12383 (find-lisp-insert-directory): Mark unused parameter.
12384
12385 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12386 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12387 (format-common-tail): Remove, unused.
12388 (format-deannotate-region): Remove unused variable `loc'.
12389 (format-annotate-region): Remove unused variable `p'.
12390 (format-annotate-single-property-change): Remove unused variables
12391 `default' and `tail'.
12392
12393 * forms.el (read-file-filter): Declare.
12394 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12395
12396 * frame.el (frame-creation-function-alist): Mark unused parameter.
12397 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12398
12399 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12400 Remove unused parameters.
12401 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12402 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12403
12404 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12405 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12406 (hfy-prepare-tag-map): Mark unused parameters.
12407 (htmlfontify-buffer): Use `called-interactively-p'.
12408
12409 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12410 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12411 (ibuffer-do-occur): Mark unused parameters.
12412 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12413 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12414
12415 * ibuffer.el: Don't quote `lambda'.
12416 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12417 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12418 Mark unused parameters.
12419
12420 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12421 (ido-completing-read): Mark unused parameters.
12422 (ido-copy-current-word): Mark unused parameters;
12423 remove unused variable `name'.
12424 (ido-sort-merged-list): Remove unused parameter `dirs'.
12425
12426 * ielm.el (ielm-input-sender): Mark unused parameter.
12427 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12428 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12429 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12430 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12431 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12432
12433 * image-dired.el (image-dired-display-thumbs): Remove unused
12434 variables `curr-file' and `count'.
12435 (image-dired-remove-tag): Remove unused variable `start'.
12436 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12437 variable `curr-file'
12438 (image-dired-rotate-original): Remove unused variable `temp-file'.
12439 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12440 Remove unused variable `file'.
12441 (image-dired-gallery-generate): Remove unused variable `curr'.
12442 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12443
12444 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12445
12446 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12447
12448 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12449
12450 * isearch.el (minibuffer-history-symbol): Declare.
12451 (isearch-edit-string): Remove unused variable `err'.
12452 (isearch-message-prefix, isearch-message-suffix):
12453 Mark unused parameters.
12454
12455 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12456
12457 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12458
12459 * makesum.el (double-column): Remove unused variable `cnt'.
12460
12461 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12462 (ido-ignore-item-temp-list): Declare.
12463
12464 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12465 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12466 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12467 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12468 `mouse-col-delta'.
12469
12470 * mouse-sel.el (mouse-extend-internal):
12471 Remove unused variable `orig-window-frame'.
12472
12473 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12474 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12475 Move declarations before first use.
12476 (pcomplete-opt): Mark unused parameters; doc fix.
12477
12478 * proced.el (proced-revert): Mark unused parameter.
12479 (proced-send-signal): Remove unused variable `err'.
12480
12481 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12482 Rename parameter PREFIX-ARG to ARG.
12483 (ps-basic-plot-string, ps-basic-plot-whitespace):
12484 Mark unused parameters.
12485
12486 * replace.el (replace-count): Define.
12487 (occur-revert-function): Mark unused parameters.
12488 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12489 (isearch-case-fold-search, isearch-string): Declare.
12490 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12491 bind `case-fold-search'. Remove unused variables `beg' and `end',
12492 and simplify.
12493 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12494 COUNT and bind `replace-count'.
12495 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12496 to COUNT.
12497
12498 * savehist.el (print-readably, print-string-length): Declare.
12499
12500 * shadowfile.el (shadow-expand-cluster-in-file-name):
12501 Remove unused variable `cluster'.
12502 (shadow-copy-file): Remove unused variable `i'.
12503 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12504 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12505 (shadow-define-literal-group, shadow-define-regexp-group)
12506 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12507
12508 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12509 (shell): Use `called-interactively-p'.
12510 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12511
12512 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12513 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12514 (delete-backward-char): Remove unused variable `ocol'.
12515 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12516 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12517 (event-apply-hyper-modifier, event-apply-shift-modifier)
12518 (event-apply-control-modifier, event-apply-meta-modifier):
12519 Mark unused parameters.
12520 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12521 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12522
12523 * speedbar.el (speedbar-ignored-directory-expressions)
12524 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12525 (speedbar-find-file, speedbar-dir-follow)
12526 (speedbar-directory-buttons-follow, speedbar-tag-find)
12527 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12528 (speedbar-buffers-line-directory, speedbar-buffer-click):
12529 Mark unused parameters.
12530 (speedbar-tag-file): Remove unused variable `mode'.
12531 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12532
12533 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12534
12535 * talk.el (talk): Remove unused variable `display'.
12536
12537 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12538 (tar-write-region-annotate): Mark unused parameter.
12539
12540 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12541 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12542 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12543 warning by another.
12544
12545 * time-stamp.el (time-stamp-string-preprocess):
12546 Remove unused variable `require-padding'.
12547
12548 * tree-widget.el (widget-glyph-enable): Declare.
12549 (tree-widget-action): Mark unused parameter.
12550
12551 * w32-fns.el (x-get-selection): Mark unused parameter.
12552 (autoload-make-program, generated-autoload-file): Declare.
12553
12554 * wdired.el (wdired-revert): Mark unused parameters.
12555 (wdired-xcase-word): Remove unused variable `err'.
12556
12557 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12558 (whitespace-help-scroll): Remove unused variable `data-help'.
12559
12560 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12561 (widget-image-insert, widget-after-change, default)
12562 (widget-default-format-handler, widget-default-notify)
12563 (widget-default-prompt-value, widget-info-link-action)
12564 (widget-url-link-action, widget-function-link-action)
12565 (widget-variable-link-action, widget-file-link-action)
12566 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12567 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12568 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12569 (widget-insert-button-action, widget-delete-button-action, visibility)
12570 (widget-documentation-link-action, widget-documentation-string-action)
12571 (widget-const-prompt-value, widget-regexp-match, symbol)
12572 (widget-coding-system-prompt-value)
12573 (widget-key-sequence-value-to-external, sexp)
12574 (widget-sexp-value-to-internal, character, vector, cons)
12575 (widget-choice-prompt-value, widget-boolean-prompt-value)
12576 (widget-color--choose-action): Mark unused parameters.
12577 (widget-item-match-inline, widget-choice-match-inline)
12578 (widget-checklist-match, widget-checklist-match-inline)
12579 (widget-group-match): Rename parameter VALUES to VALS.
12580 (widget-field-value-set): Remove unused variable `size'.
12581 (widget-color-action): Remove unused variables `value' and `start'.
12582
12583 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12584 variable `dir'. Doc fix.
12585 (windmove-find-other-window): Don't pass it.
12586
12587 * window.el (count-windows): Mark unused parameter.
12588 (bw-adjust-window): Remove unused variable `err'.
12589
12590 * woman.el (woman-file-name): Remove unused variable `default'.
12591 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12592 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12593 (global-font-lock-mode): Declare.
12594 (woman-decode-region): Mark unused parameter.
12595 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12596
12597 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12598 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12599 (x-dnd-handle-moz-url): Remove unused variable `title'.
12600 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12601
12602 * xml.el (xml-parse-tag, xml-parse-attlist):
12603 Remove unused variable `pos'.
12604
12605 2011-04-19 Glenn Morris <rgm@gnu.org>
12606
12607 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12608 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12609 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12610 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12611 * calendar/cal-html.el (cal-html-insert-minical):
12612 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12613 (calendar-mark-date-pattern):
12614 Prefix "unused" locals.
12615
12616 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12617 optional argument `style'.
12618
12619 * calendar/appt.el (appt-make-list):
12620 * calendar/cal-china.el (calendar-chinese-date-string):
12621 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12622 (diary-hebrew-yahrzeit):
12623 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12624 * calendar/calendar.el (calendar-generate-window):
12625 * calendar/time-date.el (time-to-days):
12626 Remove unused local variables.
12627
12628 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
12629
12630 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12631 glyphless-char-display table.
12632 (tabulated-list-glyphless-char-display): New var.
12633
12634 2011-04-18 Sam Steingold <sds@gnu.org>
12635
12636 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12637 to acknowledgments.
12638
12639 2011-04-17 Glenn Morris <rgm@gnu.org>
12640
12641 * calendar/diary-lib.el (diary-sexp-entry):
12642 * calendar/holidays.el (holiday-sexp):
12643 Set debug-on-error rather than the removed stack-trace-on-error.
12644
12645 2011-04-16 Glenn Morris <rgm@gnu.org>
12646
12647 * progmodes/f90.el: Use lexical-binding.
12648 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12649
12650 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12651
12652 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12653 (mail-mode): Setup mailalias completion here instead.
12654 * mail/mailalias.el: Use lexical-binding.
12655 (pattern, mailalias-done): Declare dynamic.
12656 (mail-completion-at-point-function): New function, from mail-complete.
12657 (mail-complete): Use it.
12658 (mail-completion-expand): New function.
12659 (mail-get-names): Use it.
12660 (mail-directory, mail-directory-process, mail-directory-stream):
12661 Don't use `pattern' for lexically bound arg.
12662
12663 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12664
12665 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12666 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12667 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12668
12669 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12670 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12671 (byte-interactive-p): Define them again, for use when inlining
12672 old code.
12673
12674 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
12675
12676 * loadup.el: Use `string-to-number', not `string-to-int'.
12677
12678 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12679
12680 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12681 gud-gdb-complete-command.
12682 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12683 (gud-gdb-completion-at-point): New function.
12684 (gud-gdb-completions): Remove.
12685
12686 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
12687
12688 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12689 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12690 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12691 whether `executable-find' is bound.
12692
12693 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12694
12695 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12696
12697 * minibuffer.el (completion-in-region-mode-predicate)
12698 (completion-in-region-mode--predicate): New vars.
12699 (completion-in-region, completion-in-region--postch)
12700 (completion-in-region-mode): Use them.
12701 (completion--capf-wrapper): Also return the hook function.
12702 (completion-at-point, completion-help-at-point):
12703 Adjust and provide a predicate.
12704
12705 Preserve arg names for advice of subr and lexical functions (bug#8457).
12706 * help-fns.el (help-function-arglist): Consolidate the subr and
12707 new-byte-code cases. Add argument `preserve-names' to extract names
12708 from the docstring when needed.
12709 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12710 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12711 (ad-arglist): Use help-function-arglist's new arg.
12712 (ad-definition-type): Use cond.
12713
12714 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
12715
12716 * autorevert.el (auto-revert-handler):
12717 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12718 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12719 Don't quote lambda.
12720
12721 * image-mode.el (image-transform-set-scale):
12722 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12723
12724 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12725
12726 * net/network-stream.el (network-stream-open-starttls): Only do
12727 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12728 Upgrades via gnutls-cli are too slow to be done opportunistically.
12729
12730 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
12731
12732 * dframe.el (dframe-current-frame): Remove spurious quote.
12733
12734 2011-04-12 Glenn Morris <rgm@gnu.org>
12735
12736 * calendar/cal-tex.el (cal-tex-end-document):
12737 Try to automatically use latin1 input if needed.
12738
12739 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12740 Don't try to cons a mark onto an empty element.
12741
12742 2011-04-11 Leo Liu <sdl.web@gmail.com>
12743
12744 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12745 buffers.
12746 (ido-kill-buffer-at-head): Support killing virtual buffers.
12747
12748 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
12749
12750 * minibuffer.el (completion-show-inline-help): New var.
12751 (completion--do-completion, minibuffer-complete)
12752 (minibuffer-force-complete, minibuffer-complete-word):
12753 Inhibit minibuffer messages if completion-show-inline-help is nil.
12754
12755 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12756 to avoid interference from inline help (Bug#5849).
12757
12758 2011-04-10 Leo Liu <sdl.web@gmail.com>
12759
12760 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12761 Fix typo.
12762
12763 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
12764
12765 * image-mode.el (image-toggle-display-image): Signal an error if
12766 not in Image mode.
12767 (image-transform-mode, image-transform-resize)
12768 (image-transform-set-rotation): Doc fix.
12769 (image-transform-set-resize): Delete.
12770 (image-transform-set-scale, image-transform-fit-to-height)
12771 (image-transform-fit-to-width): Handle image-toggle-display-image
12772 and image-transform-resize directly.
12773
12774 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
12775
12776 * doc-view.el (doc-view-fit-width-to-window)
12777 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12778 New functions for fitting the shown image to the Emacs window size.
12779 (doc-view-mode-map): Add bindings for the new functions.
12780
12781 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
12782
12783 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12784 Fix typo in docstring.
12785
12786 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12787
12788 * files.el (file-size-human-readable): Produce one digit after
12789 decimal, like "ls -lh" does.
12790
12791 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12792 the file size representation.
12793
12794 * simple.el (list-processes): If async subprocesses are not
12795 available, error out with a clear error message.
12796
12797 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
12798
12799 * help.el (help-form-show): New function, to be called from C.
12800 Put help-form output in a buffer named differently than *Help*.
12801
12802 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12803
12804 * files.el (file-size-human-readable): New function.
12805
12806 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12807 computing the representation inline. Don't require `cl'.
12808
12809 2011-04-08 Glenn Morris <rgm@gnu.org>
12810
12811 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12812
12813 * net/browse-url.el (browse-url-firefox):
12814 Test system-type, not system-configuration.
12815
12816 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12817 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12818 Use log-edit-empty-buffer-p. (Bug#7598)
12819
12820 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12821 (rlogin-mode-map): Initialize in the defvar.
12822 (rlogin): Use ignore-errors.
12823
12824 * replace.el (occur-mode-map): Some fixes for menu items.
12825
12826 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12827
12828 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12829
12830 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12831
12832 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12833 issuing unused warnings.
12834
12835 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12836 macro directly.
12837
12838 * simple.el: Lisp reimplement of list-processes. Based on an
12839 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12840 (process-menu-mode): New major mode.
12841 (list-processes--refresh, list-processes):
12842 (process-menu-visit-buffer): New functions.
12843
12844 * files.el (save-buffers-kill-emacs): Don't assume any return
12845 value of list-processes, which is undocumented anyway.
12846
12847 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12848
12849 * emacs-lisp/tabulated-list.el: New file.
12850
12851 * emacs-lisp/package.el: Use Tabulated List mode.
12852 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12853 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12854 table format using Tabulated List mode variables.
12855 (package--push): New macro, replacing package-list-maybe-add.
12856 (package-menu--generate): Use package--push. Renamed from
12857 package--generate-package-list.
12858 (package-menu-refresh, list-packages): Use it.
12859 (package-menu--print-info): Rename from package-print-package.
12860 Return insertion data instead of inserting it directly.
12861 (package-menu-describe-package, package-menu-execute):
12862 Use tabulated-list-get-id.
12863 (package-menu-mark-delete, package-menu-mark-install)
12864 (package-menu-mark-unmark, package-menu-backup-unmark)
12865 (package-menu-mark-obsolete-for-deletion):
12866 Use tabulated-list-put-tag.
12867 (package--list-packages, package-menu-revert)
12868 (package-menu-get-package, package-menu-get-version)
12869 (package-menu-sort-by-column): Functions deleted.
12870 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12871 (package-menu--status-predicate, package-menu--version-predicate)
12872 (package-menu--name-predicate)
12873 (package-menu--description-predicate): Handle arguments in the
12874 Tabulated List format.
12875 (package-list-packages-no-fetch): Call list-packages.
12876
12877 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12878
12879 * files.el (after-find-file-from-revert-buffer): Remove variable.
12880 (after-find-file): Don't bind it.
12881 (revert-buffer-in-progress-p): New variable.
12882 (revert-buffer): Bind it.
12883 Pass nil for `after-find-file-from-revert-buffer'.
12884
12885 * saveplace.el (save-place-find-file-hook): Use new variable
12886 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12887
12888 2011-04-06 Glenn Morris <rgm@gnu.org>
12889
12890 * Makefile.in (AUTOGEN_VCS): New variable.
12891 (autoloads): Use $AUTOGEN_VCS.
12892
12893 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12894 * calendar/calendar.el (calendar-mode-map):
12895 Check for toolkit scroll bars. (Bug#8305)
12896
12897 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12898
12899 * minibuffer.el (completion-in-region--postch)
12900 (completion-in-region-mode): Remove unnecessary messages.
12901
12902 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12903
12904 * font-lock.el (font-lock-refresh-defaults):
12905 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12906 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12907
12908 * info.el (Info-directory-list, Info-read-node-name-2)
12909 (Info-split-parameter-string): Doc fixes.
12910 (Info-virtual-nodes): Reflow docstring.
12911 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12912 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12913 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12914 Fix typos in docstrings.
12915 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12916 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12917 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12918 (Info-restore-desktop-buffer): Mark unused parameters.
12919 (Info-directory-find-file, Info-directory-find-node)
12920 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12921 (Info-virtual-index-find-node, Info-apropos-find-file)
12922 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12923 Mark unused parameters; fix typos in docstrings.
12924 (Info-virtual-index): Remove unused local variable `nodename'.
12925
12926 2011-04-05 Deniz Dogan <deniz@dogan.se>
12927
12928 * net/rcirc.el: Update my e-mail address.
12929 (rcirc-mode-map): Remove M-o binding.
12930
12931 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12932
12933 * startup.el (command-line): Save the cursor's theme-face
12934 directly, instead of using face-override-spec.
12935
12936 * custom.el (load-theme): Minor optimization in assigning faces.
12937
12938 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12939
12940 * help-fns.el (describe-variable): Complete all variables having
12941 documentation, including keywords.
12942 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12943
12944 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12945
12946 Convert to lexical-binding.
12947
12948 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12949 (bs--get-marked-string, bs--get-modified-string)
12950 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12951 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12952 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12953
12954 * ehelp.el (electric-help-execute-extended)
12955 (electric-help-ctrl-x-prefix):
12956 * hexl.el (hexl-revert-buffer-function):
12957 * linum.el (linum-after-change, linum-after-scroll):
12958 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12959
12960 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12961
12962 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12963
12964 * epa-dired.el:
12965 * epa-mail.el:
12966 * epa-hook.el:
12967 * epa-file.el:
12968 * epa.el:
12969 * epg.el: Use lexical binding.
12970
12971 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12972
12973 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12974
12975 * textmodes/flyspell.el (flyspell-word): Recognize default
12976 dictionary case for flyspell-mark-duplications-exceptions.
12977 Use regexp matching for languages.
12978 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12979 default dictionary (Bug#7926).
12980
12981 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12982
12983 * emacs-lisp/package.el (package--with-work-buffer):
12984 Recognize https URLs.
12985
12986 * net/network-stream.el: Move from gnus/proto-stream.el.
12987 Change prefix to network-stream throughout.
12988 (open-protocol-stream): Merge into open-network-stream, leaving
12989 open-protocol-stream as an alias. Handle nil BUFFER args.
12990
12991 * subr.el (open-network-stream): Move to net/network-stream.el.
12992
12993 2011-04-02 Glenn Morris <rgm@gnu.org>
12994
12995 * find-dired.el (find-exec-terminator): New option.
12996 (find-ls-option): Test for -ls support.
12997 (find-ls-subdir-switches): Test for -b in find-ls-option.
12998 (find-dired, find-grep-dired): Doc fixes.
12999 (find-dired): Use find-exec-terminator.
13000
13001 * find-dired.el (find-ls-option, find-ls-subdir-switches)
13002 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13003 (find-name-arg): Remove purecopy.
13004
13005 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13006 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13007 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13008 accordingly. Don't add the null-device if not needed.
13009
13010 * files.el (save-some-buffers): Doc fix.
13011
13012 2011-04-02 Eli Zaretskii <eliz@gnu.org>
13013
13014 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13015
13016 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
13017
13018 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13019 Use `dolist' rather than `mapcar'.
13020
13021 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13022
13023 Add lexical binding.
13024
13025 * subr.el (apply-partially): Use new closures rather than CL.
13026 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13027 (dolist, dotimes): Use slightly different expansion for lexical code.
13028 (functionp): Move to C.
13029 (letrec): New macro.
13030 (with-wrapper-hook): Use it and apply-partially instead of CL.
13031 (eval-after-load): Preserve lexical-binding.
13032 (save-window-excursion, with-output-to-temp-buffer): Turn them
13033 into macros.
13034
13035 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13036
13037 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13038 than the arglist.
13039 (help-add-fundoc-usage): Don't add `Not documented'.
13040 (help-function-arglist): Handle closures, subroutines, and new
13041 byte-code-functions.
13042 (help-make-usage): Remove leading underscores.
13043 (describe-function-1): Handle closures.
13044 (describe-variable): Use special-variable-p for completion.
13045
13046 * files.el (lexical-binding): Declare safe.
13047
13048 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13049 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13050 (pcase): Add `let' pattern.
13051 Change memoization so it actually works.
13052 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13053 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13054 <let>: New case.
13055
13056 * emacs-lisp/macroexp.el: Use lexical binding.
13057 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13058 Don't convert ' to #' without checking that it's indeed quoting
13059 a lambda.
13060
13061 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
13062 Use eval-sexp-add-defvars.
13063 (eval-sexp-add-defvars): New fun.
13064
13065 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13066
13067 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13068 Don't autoload.
13069 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13070 than the internal `byte-compile-lambda'.
13071 (defmethod): Don't hide code under quotes.
13072 (eieio-defmethod): New `code' argument.
13073
13074 * emacs-lisp/eieio-comp.el: Remove.
13075
13076 * emacs-lisp/edebug.el (edebug-eval-defun)
13077 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13078 (edebug-toggle): Avoid `eval'.
13079
13080 * emacs-lisp/disass.el (disassemble-internal): Handle new
13081 `closure' objects.
13082 (disassemble-1): Handle new byte codes.
13083
13084 * emacs-lisp/cl.el (pushnew): Silence warning.
13085
13086 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13087 (cl-byte-compile-throw): Remove.
13088 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13089
13090 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13091 closures.
13092
13093 * emacs-lisp/cconv.el: New file.
13094
13095 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13096 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13097 (byte-compile-initial-macro-environment):
13098 Handle declare-function here.
13099 (byte-compile--lexical-environment): New var.
13100 (byte-stack-ref, byte-stack-set, byte-discardN)
13101 (byte-discardN-preserve-tos): New lap codes.
13102 (byte-interactive-p): Don't use any more.
13103 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13104 New macros.
13105 (byte-compile-lapcode): Use them and handle new lap codes.
13106 (byte-compile-obsolete): Remove.
13107 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13108 (byte-compile-arglist-warn): Check late def of inlinable funs.
13109 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13110 since they should have been expanded by now.
13111 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13112 (byte-compile-from-buffer): Remove unused second arg.
13113 (byte-compile-preprocess): New function.
13114 (byte-compile-toplevel-file-form): New function to distinguish
13115 file-form calls from outside from file-form calls from hunk-handlers.
13116 (byte-compile-file-form): Simplify.
13117 (byte-compile-file-form-defsubst): Remove.
13118 (byte-compile-file-form-defmumble): Simplify now that
13119 byte-compile-lambda always returns a byte-code-function.
13120 (byte-compile): Preprocess.
13121 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13122 Remove, not used any more.
13123 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13124 (byte-compile-make-args-desc): New funs.
13125 (byte-compile-lambda): Handle lexical functions. Always return
13126 a byte-code-function.
13127 (byte-compile-reserved-constants): New var, to make up room for
13128 closed-over variables.
13129 (byte-compile-constants-vector): Obey it.
13130 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13131 (byte-compile-macroexpand-declare-function): New function.
13132 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13133 byte-code-functions.
13134 (byte-compile-form): Check obsolescence here.
13135 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13136 (byte-compile-variable-ref): Remove.
13137 (byte-compile-dynamic-variable-op): New fun.
13138 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13139 (byte-compile-variable-set): New funs.
13140 (byte-compile-discard): Add 2 args.
13141 (byte-compile-stack-ref, byte-compile-stack-set)
13142 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13143 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13144 macroexpand-all instead.
13145 (byte-compile-quote-form): Remove.
13146 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13147 (byte-compile-bind, byte-compile-unbind): New funs.
13148 (byte-compile-let): Handle let* and lexical binding.
13149 (byte-compile-let*): Remove.
13150 (byte-compile-catch, byte-compile-unwind-protect)
13151 (byte-compile-track-mouse, byte-compile-condition-case):
13152 Handle a new :fun-body form, used for lexical scoping.
13153 (byte-compile-save-window-excursion)
13154 (byte-compile-with-output-to-temp-buffer): Remove.
13155 (byte-compile-defun): Simplify.
13156 (byte-compile-stack-adjustment): New fun.
13157 (byte-compile-out): Use it.
13158 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13159
13160 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13161 handler any more.
13162
13163 * emacs-lisp/byte-opt.el: Use lexical binding.
13164 (byte-inline-lapcode): Remove (to bytecomp).
13165 (byte-compile-inline-expand): Pay attention to inlining to/from
13166 lexically bound code.
13167 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13168 any more.
13169 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13170 any more and don't call compiler-macros.
13171 (byte-compile-splice-in-already-compiled-code): Remove.
13172 (byte-code): Don't inline any more.
13173 (disassemble-offset): Receive `bytes' as argument rather than via
13174 dynamic scoping.
13175 (byte-compile-tag-number): Declare before first use.
13176 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13177 `return' even if make-spliceable.
13178 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13179 obsolete interactive-p.
13180 (byte-optimize-lapcode): Optimize new lap-codes.
13181 Don't trip up on new form of `byte-constant' lap code.
13182
13183 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13184
13185 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13186
13187 * custom.el (custom-initialize-default, custom-declare-variable):
13188 Use `defvar'.
13189
13190 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13191 New variables.
13192 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13193 (COMPILE_FIRST): Add macroexp and cconv.
13194 * makefile.w32-in: Mirror changes in Makefile.in.
13195
13196 * vc/cvs-status.el:
13197 * vc/diff-mode.el:
13198 * vc/log-edit.el:
13199 * vc/log-view.el:
13200 * vc/smerge-mode.el:
13201 * textmodes/bibtex-style.el:
13202 * textmodes/css.el:
13203 * startup.el:
13204 * uniquify.el:
13205 * minibuffer.el:
13206 * newcomment.el:
13207 * reveal.el:
13208 * server.el:
13209 * mpc.el:
13210 * emacs-lisp/smie.el:
13211 * doc-view.el:
13212 * dired.el:
13213 * abbrev.el: Use lexical binding.
13214
13215 2011-04-01 Eli Zaretskii <eliz@gnu.org>
13216
13217 * info.el (info-display-manual): New function.
13218
13219 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13220
13221 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13222
13223 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13224
13225 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
13226 an entry for that server in rcirc-authinfo. (Bug#8385)
13227
13228 2011-03-31 Glenn Morris <rgm@gnu.org>
13229
13230 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13231
13232 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13233
13234 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13235
13236 * progmodes/python.el (python-default-interpreter)
13237 (python-python-command-args, python-jython-command-args)
13238 (python-which-shell, python-which-args, python-which-bufname)
13239 (python-file-queue, python-comint-output-filter-function)
13240 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13241 variables and functions.
13242
13243 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13244
13245 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13246 (completion-in-region-mode): New minor mode.
13247 (completion-in-region): Use it.
13248 (completion-in-region--data, completion-in-region-mode-map): New vars.
13249 (completion-in-region--postch): New function.
13250 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13251 New vars.
13252 (completion--capf-wrapper): New function.
13253 (completion-at-point): Use it to track well-behavedness of
13254 hook functions.
13255 (completion-help-at-point): New command.
13256
13257 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13258
13259 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13260 syntax class to search for whitespace on a single line
13261 (Message-ID: <4D938140.4030905@redhat.com>).
13262
13263 2011-03-30 Leo Liu <sdl.web@gmail.com>
13264
13265 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13266 New commands.
13267 (edit-abbrevs-map): Bind them here.
13268 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13269
13270 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13271
13272 * allout.el (allout-hide-by-annotation, allout-flag-region):
13273 Reduce possibility of overlay leakage by making them volatile.
13274
13275 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13276 hash is not shared between buffers. Mode initialization is
13277 responsible for giving it a useful starting value.
13278 (allout-item-span): Reduce possibility of overlay leakage by
13279 making them volatile.
13280 (allout-widgets-count-buttons-in-region): Add diagnostic function
13281 for tracking down button overlay leaks.
13282
13283 2011-03-29 Leo Liu <sdl.web@gmail.com>
13284
13285 * ido.el (ido-read-internal): Use the default history var
13286 minibuffer-history if no HISTORY is specified.
13287
13288 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13289
13290 * net/imap.el (imap-shell-open, imap-process-connection-type):
13291 Use imap-process-connection-type for 'shell' streams as well as
13292 Kerberos, SSL, other subprocesses.
13293
13294 2011-03-28 Leo Liu <sdl.web@gmail.com>
13295
13296 * abbrev.el (abbrev-table-empty-p): New function.
13297 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13298 nonempty ones. (Bug#5937)
13299
13300 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13301
13302 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13303
13304 2011-03-27 Leo Liu <sdl.web@gmail.com>
13305
13306 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13307 for foreground and background colors.
13308 (ansi-color-make-color-map): Adapt.
13309
13310 2011-03-25 Leo Liu <sdl.web@gmail.com>
13311
13312 * midnight.el (midnight-time-float): Remove. Note it calculates
13313 the microsecond component incorrectly and seconds-to-time does the
13314 same job.
13315 Remove redundant (require 'timer).
13316
13317 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13318 (ido-completions): Remove unused arguments. (Bug#8329)
13319
13320 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13321
13322 * minibuffer.el (completion--flush-all-sorted-completions):
13323 Remove itself from hook.
13324 (completion-at-point): Let the functions perform the completion
13325 immediately and return nil or t.
13326 * comint.el (comint-dynamic-complete-functions): Now identical to
13327 completion-at-point-functions.
13328 (comint-dynamic-list-input-ring): Remove unused var `index'.
13329 (comint--match-partial-filename, comint--unquote&expand-filename):
13330 New funs, split from comint-match-partial-filename.
13331 (comint-dynamic-complete): Use completion-at-point.
13332 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13333
13334 2011-03-24 Drew Adams <drew.adams@oracle.com>
13335
13336 * thingatpt.el: Support `defun'.
13337
13338 2011-03-23 Leo Liu <sdl.web@gmail.com>
13339
13340 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13341
13342 * help-mode.el (help-mode-finish): Tweak regexp.
13343
13344 2011-03-23 Glenn Morris <rgm@gnu.org>
13345
13346 * eshell/esh-opt.el (eshell-eval-using-options):
13347 Do not bind unused local variable `eshell-option-stub'.
13348
13349 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13350
13351 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13352
13353 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13354 keymap variable in `with-no-warnings' to avoid a warning when the
13355 keymap has been already `defconst'ed.
13356
13357 2011-03-22 Leo Liu <sdl.web@gmail.com>
13358
13359 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13360 encode all chars in abbrevs; otherwise use emacs-mule or
13361 utf-8-emacs. (Bug#8308)
13362
13363 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13364
13365 * simple.el (backward-delete-char-untabify):
13366 Avoid warning about using `delete-backward-char'.
13367
13368 * image.el (image-type-file-name-regexps): Make it variable.
13369 `imagemagick-register-types' modifies it, and the user may want
13370 to add new extensions for known image types.
13371 (imagemagick-register-types): Throw error if not using ImageMagick.
13372
13373 2011-03-22 Leo Liu <sdl.web@gmail.com>
13374
13375 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13376 located before rcirc-prompt-end-marker.
13377 (rcirc-complete): Error if point is not after rcirc prompt.
13378 Handle the case when table is nil.
13379 (rcirc-user-authenticated): Define to fix compiler warning.
13380
13381 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
13382
13383 * custom.el (custom--inhibit-theme-enable): Make it affect only
13384 custom-theme-set-variables and custom-theme-set-faces.
13385 (provide-theme): Ignore custom--inhibit-theme-enable.
13386 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13387 (custom-enabling-themes): Delete variable.
13388 (enable-theme): Accept only loaded themes as arguments.
13389 Ignore the special custom-enabled-themes variable.
13390 (custom-enabled-themes): Forbid themes from setting this.
13391 Eliminate use of custom-enabling-themes.
13392 (custom-push-theme): Quote "changed" custom var entry.
13393
13394 2011-03-21 Leo Liu <sdl.web@gmail.com>
13395
13396 * ido.el (ido-read-internal): Add ido-selected to history instead
13397 of user input.
13398
13399 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13400
13401 * subr.el (deferred-action-list, deferred-action-function):
13402 Mark obsolete.
13403
13404 2011-03-21 Leo Liu <sdl.web@gmail.com>
13405
13406 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13407 change on 2011-02-13 (bug#8309).
13408
13409 * minibuffer.el (read-file-name-function): Change default value.
13410 (read-file-name--defaults): Rename from read-file-name-defaults.
13411 (read-file-name-default): Rename from read-file-name.
13412 (read-file-name): Call read-file-name-function.
13413
13414 2011-03-21 Glenn Morris <rgm@gnu.org>
13415
13416 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13417 Doc fixes.
13418
13419 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
13420
13421 * cus-theme.el: Add missing provide statement.
13422 (customize-create-theme): Extract theme value correctly.
13423 (custom-theme-visit-theme): Autoload.
13424 (customize-create-theme): Prompt before inserting default faces.
13425
13426 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13427
13428 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13429 units and musical notes.
13430
13431 2011-03-20 Leo Liu <sdl.web@gmail.com>
13432
13433 * ido.el (ido-read-internal): Use completing-read-default.
13434 (ido-completing-read): Fix compatibility with completing-read.
13435
13436 2011-03-20 Christian Ohler <ohler@gnu.org>
13437
13438 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13439 (ert-delete-all-tests): Use `called-interactively-p' rather than
13440 `interactive-p'.
13441 (ert--make-xrefs-region): Respect END.
13442
13443 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13444
13445 * dired-aux.el (dired-create-directory): Signal an error if the
13446 directory already exists (Bug#8246).
13447
13448 * facemenu.el (list-colors-display): Call list-faces-display
13449 inside with-help-window.
13450 (list-colors-print): Use display property to align the final
13451 column, instead of checking window-width.
13452
13453 2011-03-19 Eli Zaretskii <eliz@gnu.org>
13454
13455 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
13456 windows-nt systems.
13457 (emerge-protect-metachars): Quote correctly for ms-dos and
13458 windows-nt systems.
13459
13460 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
13461
13462 * info.el (info-initialize): Replace all uses of `:' with
13463 path-separator for compatibility with non-Unix systems.
13464 Cache quoting of path-separator. (Bug#8258)
13465
13466 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
13467
13468 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13469 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13470 (mouse-avoidance-mode): Fix typos in docstrings.
13471
13472 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13473
13474 * startup.el (package-subdirectory-regexp): Move from package.el.
13475 Omit \\` and \\', and let callers add them.
13476
13477 * emacs-lisp/package.el (package-strip-version)
13478 (package-load-all-descriptors): Add \\` and \\' to
13479 package-subdirectory-regexp before using it.
13480 (package-untar-buffer): New arg DIR; ensure that file untars only
13481 into this expected directory. Remove superfluous delete-region.
13482 (package-unpack): Caller changed.
13483 (package-tar-file-info): Use package-subdirectory-regexp.
13484
13485 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13486
13487 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13488 diff-mode-shared-map (bug#8284).
13489 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
13490
13491 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13492
13493 * calendar/time-date.el (format-seconds): Use assoc instead of
13494 assoc-string, since assoc-string doesn't exist in XEmacs.
13495
13496 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
13497
13498 * custom.el (custom-known-themes): Reflow docstring.
13499 (custom-theme-load-path): Fix typo in docstring.
13500 (load-theme): Fix typo in error message.
13501 (custom-available-themes, custom-variable-theme-value):
13502 Use `let', not `let*'.
13503
13504 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13505
13506 * calc/README: Mention inclusion of musical notes.
13507
13508 * calc/calc-units.el (calc-lu-quant): Rename from
13509 `calc-logunits-quantity'.
13510 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13511 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13512 (calc-db): Rename from `calc-dblevel'.
13513 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13514 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13515 (calc-np): Rename from `calc-nplevel'.
13516 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13517 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13518 (calc-lu-plus): Rename from `calc-logunits-add'.
13519 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13520 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13521 (calc-lu-minus): Rename from `calc-logunits-sub'.
13522 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13523 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13524 (calc-lu-times): Rename from `calc-logunits-mul'.
13525 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13526 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13527 (calc-lu-divide): Rename from `calc-logunits-div'.
13528 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13529 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13530
13531 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13532 functions being autoloaded.
13533
13534 * calc/calc.el (calc-lu-power-reference): Rename from
13535 `calc-logunits-power-reference'.
13536 (calc-lu-field-reference): Rename from
13537 `calc-logunits-field-reference'.
13538
13539 * calc/calc-help.el (calc-l-prefix-help):
13540 Mention musical note functions.
13541
13542 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13543
13544 * minibuffer.el (completion-all-sorted-completions):
13545 Use :completion-cycle-penalty text property if present.
13546
13547 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13548
13549 * allout.el (allout-yank-processing): Adjust for new rebulleting
13550 regime so bullet being yanked is used without prompting the user
13551 for a choice.
13552
13553 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13554
13555 * startup.el (command-line): Warn the user that _emacs is deprecated.
13556
13557 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13558
13559 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13560 (delphi-verbose, delphi-comment-face, delphi-string-face)
13561 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13562 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13563 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13564 (delphi-new-comment-line, delphi-font-lock-defaults)
13565 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13566 Fix typos in docstrings.
13567
13568 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13569
13570 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
13571 Invert the roles of character and string values for INSTEAD, so a
13572 string is used for the more common case of a defaulting prompt.
13573
13574 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13575
13576 * progmodes/ruby-mode.el (ruby-backward-sexp):
13577 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13578 * play/gamegrid.el (gamegrid-make-face):
13579 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13580 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13581 * notifications.el (notifications-notify):
13582 * net/xesam.el (xesam-search-engines):
13583 * net/quickurl.el (quickurl-list-insert):
13584 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13585
13586 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
13587
13588 * startup.el (command-line): Update package subdirectory regexp.
13589
13590 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13591
13592 * allout.el (allout-abbreviate-flattened-numbering)
13593 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13594
13595 * subr.el (read-char-choice): Only show the cursor after the prompt,
13596 not after the answer.
13597
13598 2011-03-15 Kevin Ryde <user42@zip.com.au>
13599
13600 * help-fns.el (variable-at-point): Skip leading quotes, if any
13601 (bug#8253).
13602
13603 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13604
13605 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13606 warning message.
13607
13608 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
13609
13610 * shell.el (shell): When called interactively, offer to change the
13611 shell file name on remote hosts.
13612
13613 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13614
13615 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13616 integration for LDAP parameters. The host, base, user or binddn,
13617 and secret tokens can be specified in a netrc file, for instance.
13618 This is optional because an `auth-source' parameter must be
13619 specified in the search attributes.
13620
13621 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
13622
13623 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13624
13625 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13626
13627 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13628 into declaration. Remove redundant and harmful binding.
13629
13630 2011-03-12 Eli Zaretskii <eliz@gnu.org>
13631
13632 * files.el (file-ownership-preserved-p): Pass `integer' as an
13633 explicit 2nd argument to `file-attributes'. If the file's owner
13634 is the Administrators group on Windows, and the current user is
13635 Administrator, consider that a match.
13636
13637 * server.el (server-ensure-safe-dir): Consider server directory
13638 safe on MS-Windows if its owner is the Administrators group while
13639 the current Emacs user is Administrator. Use `=' to compare
13640 numerical UIDs, since they could be integers or floats.
13641
13642 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
13643
13644 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13645
13646 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
13647
13648 Sync with Tramp 2.2.1.
13649
13650 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13651
13652 * net/trampver.el: Update release number.
13653
13654 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13655
13656 * progmodes/compile.el (compilation--previous-directory): Fix up
13657 various nil/dead-marker mismatches (bug#8014).
13658 (compilation-directory-properties, compilation-error-properties):
13659 Don't call it at a position past the one we're about to change.
13660
13661 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13662 Disable obsolescence warnings in the file that declares it.
13663
13664 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13665
13666 * allout-widgets.el (allout-widgets-tally):
13667 Initialize allout-widgets-tally as a hash table rather than nil to
13668 prevent mode-line redisplay warnings. Also, clarify the module
13669 description and fix a comment typo.
13670
13671 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
13672
13673 * help-fns.el (describe-variable): Don't complete keywords.
13674 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13675
13676 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
13677
13678 * emacs-lisp/package.el (package-version-join): Impose a standard
13679 string representation for pre/alpha/beta version lists.
13680 (package-unpack-single): Standardize the directory name by passing
13681 it through package-version-join.
13682 (package-strip-rcs-id): Accept any version string that does not
13683 signal an error in version-to-list.
13684
13685 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
13686
13687 * simple.el (delete-trailing-whitespace): Return nil for the
13688 benefit of `write-file-functions'.
13689
13690 2011-03-10 Glenn Morris <rgm@gnu.org>
13691
13692 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13693
13694 * vc/vc-git.el (vc-git-program): New option.
13695 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13696 (vc-git--call): Use it.
13697
13698 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13699
13700 * cus-edit.el (Custom-newline): If no button at point, look
13701 for a subgroup button at start-of-line. (Bug#2298)
13702
13703 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13704
13705 2011-03-10 Julien Danjou <julien@danjou.info>
13706
13707 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13708 `cursor-type' is nil.
13709
13710 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13711
13712 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13713
13714 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13715
13716 * allout.el: Change so yank of distinctive-bullet items
13717 preserves the existing header prefix, rebulleting it if necessary,
13718 rather than replacing it. This is necessary for proper operation
13719 of cooperative addons like allout-widgets.
13720 (allout-make-topic-prefix, allout-rebullet-heading):
13721 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13722 value as alternate bullet to be used, instead of prompting the user
13723 for a bullet character.
13724
13725 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
13726
13727 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13728 Do not use `tramp-file-name-port', because this returns also
13729 `tramp-default-port'.
13730
13731 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13732
13733 * net/rcirc.el (rcirc-handler-001): Remove useless
13734 with-rcirc-process-buffer.
13735 (rcirc-check-auth-status): Swap arguments to string-match.
13736
13737 2011-03-09 Glenn Morris <rgm@gnu.org>
13738
13739 * shell.el (shell-mode):
13740 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13741
13742 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13743 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13744
13745 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13746
13747 * emacs-lisp/package.el (package-refresh-contents)
13748 (package-menu-execute): Use condition-case-no-debug.
13749
13750 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
13751
13752 * simple.el (shell-command-to-string): Use `process-file'.
13753
13754 * emacs-lisp/package.el (package-tar-file-info): Handle also
13755 remote files.
13756
13757 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13758 Use `equal' for upload base check.
13759
13760 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13761
13762 * textmodes/texinfo.el (texinfo-environments):
13763 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13764
13765 2011-03-08 Glenn Morris <rgm@gnu.org>
13766
13767 * cus-start.el (cursor-in-non-selected-windows):
13768 Fix :set quoting oddness. (Bug#8192)
13769
13770 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13771 in some setf expressions. (Bug#2159)
13772
13773 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13774
13775 * custom.el (custom-available-themes): Return themes in
13776 alphabetical order.
13777
13778 See ChangeLog.15 for earlier changes.
13779
13780 ;; Local Variables:
13781 ;; coding: utf-8
13782 ;; End:
13783
13784 Copyright (C) 2011-2012 Free Software Foundation, Inc.
13785
13786 This file is part of GNU Emacs.
13787
13788 GNU Emacs is free software: you can redistribute it and/or modify
13789 it under the terms of the GNU General Public License as published by
13790 the Free Software Foundation, either version 3 of the License, or
13791 (at your option) any later version.
13792
13793 GNU Emacs is distributed in the hope that it will be useful,
13794 but WITHOUT ANY WARRANTY; without even the implied warranty of
13795 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13796 GNU General Public License for more details.
13797
13798 You should have received a copy of the GNU General Public License
13799 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.