]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* buff-menu.el (Buffer-menu-buffer+size-width): Doc fix.
[gnu-emacs] / lisp / ChangeLog
1 2012-05-12 Chong Yidong <cyd@gnu.org>
2
3 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
4
5 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8 (prolog-upper-case-string, prolog-lower-case-string)
9 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10 (prolog-use-smie, prolog-smie-grammar): New vars.
11 (prolog-smie-forward-token, prolog-smie-backward-token)
12 (prolog-smie-rules): New funs.
13 (prolog-comment-indent): Remove.
14 (prolog-mode-variables): Use default comment indentation instead.
15 Setup SMIE.
16 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
17 (prolog-mode): Don't call them any more.
18 (prolog-electric-colon, prolog-electric-dash)
19 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
20
21 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
22
23 * minibuffer.el (completion--twq-all): Again, allow case differences.
24
25 * term.el: Move keymap initialization code to be more idiomatic.
26 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
27 (term-terminal-menu): Move initialization into declaration.
28 (term-escape-char): Let the user set it in her .emacs.
29
30 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
31 Provide SMIE-based indentation (not enabled by default yet).
32 (sh-mode-map): Don't bind electric keys.
33 Use electric-pair-mode instead of skeleton-pair.
34 (sh-assignment-regexp): Fit within 80 columns.
35 (sh-indent-supported): Specify actual shell name instead of boolean.
36 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
37 (sh-maybe-here-document): Use it. Make obsolete.
38 (sh-electric-here-document-mode) New minor mode.
39 (sh-mode): Use it. Don't set sh-indent-supported-here here.
40 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
41 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
42 (sh-smie-rc-grammar, sh-use-smie): New vars.
43 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
44 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
45 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
46 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
47 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
48 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
49 (sh-set-shell): Use smie-setup if requested.
50
51 * term.el (term-set-escape-char): Properly set term-escape-char.
52 See http://stackoverflow.com/questions/10524656.
53
54 2012-05-10 Chong Yidong <cyd@gnu.org>
55
56 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
57 Use url-generic-parse-url, and handle host names and Windows
58 filenames properly.
59 (ffap-url-unwrap-remote): Use url-generic-parse-url.
60 (ffap-url-unwrap-remote): Accept list values, specifying a list of
61 URL schemes to work on.
62 (ffap--toggle-read-only): New function.
63 (ffap-read-only, ffap-read-only-other-window)
64 (ffap-read-only-other-frame): Use it.
65 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
66 necessary for ffap-url-unwrap-remote.
67
68 2012-05-10 Dave Abrahams <dave@boostpro.com>
69
70 * cus-start.el (create-lockfiles): Add it.
71
72 2012-05-09 Chong Yidong <cyd@gnu.org>
73
74 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
75 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
76
77 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
78
79 * shell.el (shell-completion-vars): Fix last change (bug#11348).
80
81 2012-05-09 Chong Yidong <cyd@gnu.org>
82
83 * ansi-color.el (ansi-color-process-output): Check for validity of
84 comint-last-output-start before using it. This avoids a bad
85 interaction with gdb-mi's input/output buffer.
86
87 2012-05-09 Glenn Morris <rgm@gnu.org>
88
89 * files.el (dir-locals-read-from-file):
90 Mention dir-locals in any error message.
91
92 2012-05-09 Chong Yidong <cyd@gnu.org>
93
94 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
95 package (Bug#11410).
96
97 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
98 variables into description.
99
100 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
101
102 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
103 shell-delimiter-argument-list (bug#11348).
104 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
105
106 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
107
108 * textmodes/rst.el: Silence byte-compiler warnings.
109 (rst-re-alist, rst-reset-section-caches): Move around.
110 (rst-re): Use `characterp', not `char-valid-p'.
111 (font-lock-beg, font-lock-end): Declare.
112
113 * progmodes/idlw-shell.el (specs): Remove reference to deleted
114 variable `idlwave-shell-activate-alt-keybindings' and simplify.
115
116 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
117
118 2012-05-08 Glenn Morris <rgm@gnu.org>
119
120 * files.el (auto-mode-alist): Treat ".make" like ".mk".
121
122 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
123
124 * vc/log-edit.el: Add GNU coding standards highlighting.
125 (log-edit-font-lock-gnu-style)
126 (log-edit-font-lock-gnu-keywords): New vars.
127 (log-edit-font-lock-keywords): New fun.
128 (log-edit-mode): Don't fold case in font-lock.
129 (log-edit-font-lock-keywords): Do not assume case-folding.
130
131 * imenu.el: Misc cleanup. Make docstrings out of comments.
132 Use lexical-binding.
133 (imenu--index-alist, imenu--last-menubar-index-alist)
134 (imenu-menubar-modified-tick): Use defvar-local.
135 (imenu--split-menu): Remove unused var.
136 (imenu--cleanup-seen): Declare as global.
137 (imenu--cleanup): Use dolist.
138
139 * subr.el (defvar-local): Add debug spec and doc-string position.
140
141 2012-05-08 Glenn Morris <rgm@gnu.org>
142
143 * lisp/language/burmese.el, language/cham.el, language/czech.el:
144 * language/english.el, language/georgian.el, language/greek.el:
145 * language/japanese.el, language/khmer.el, language/korean.el:
146 * language/lao.el, language/misc-lang.el, language/romanian.el:
147 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
148 * language/thai.el, language/utf-8-lang.el:
149 Remove no-byte-compile setting.
150
151 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
152
153 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
154
155 * progmodes/make-mode.el (makefile-browse):
156 Remove unnecessary interactive. (Bug#11324)
157
158 2012-05-07 Glenn Morris <rgm@gnu.org>
159
160 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
161
162 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
163
164 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
165
166 * loadup.el: Preload newcomment.el.
167 * newcomment.el: Move autoload-only code to toplevel.
168
169 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
170 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
171 Handle new :right-align column property.
172 (tabulated-list-print-col): Idem, plus use `display' text-property to
173 try and preserve alignment for variable pitch fonts.
174
175 2012-05-07 Chong Yidong <cyd@gnu.org>
176
177 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
178 (tabulated-list-use-header-line): New var.
179 (tabulated-list-init-header): Use it.
180 (tabulated-list-print-fake-header): New function.
181 (tabulated-list-print): Use it.
182 (tabulated-list-sort-button-map): Add non-header-line commands.
183 (tabulated-list-init-header): Add column name property to basic
184 labels as well.
185 (tabulated-list-col-sort): Handle non-header-line button case.
186 (tabulated-list--sort-by-column-name): Fix a corner case.
187
188 * buff-menu.el (list-buffers--refresh):
189 Handle Buffer-menu-use-header-line.
190
191 2012-05-06 Chong Yidong <cyd@gnu.org>
192
193 * buff-menu.el: Convert to Tabulated List mode.
194 (Buffer-menu-buffer+size-width): Make obsolete.
195 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
196 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
197 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
198 documentation into docstring of buffer-menu.
199 (Buffer-menu-toggle-files-only): Add an informative message.
200 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
201 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
202 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
203 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
204 (Buffer-menu-execute, Buffer-menu-select)
205 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
206 (Buffer-menu-bury): Use Tabulated List machinery.
207 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
208 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
209 Delete.
210 (list-buffers--refresh): New function.
211 (list-buffers-noselect): Use it.
212 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
213 (Buffer-menu--pretty-file-name): New helper functions.
214
215 * loadup.el: Preload tabulated-list.
216
217 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
218 tabulated-list-sort-column.
219 (tabulated-list-init-header): Add the initial aligning space even
220 if tabulated-list-padding is zero.
221
222 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
223
224 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
225 whose cdr is not a cons cell correctly (bug#11038).
226
227 2012-05-06 Chong Yidong <cyd@gnu.org>
228
229 * emacs-lisp/tabulated-list.el (tabulated-list-format):
230 Accept additional plist in column descriptors.
231 (tabulated-list-init-header): Obey it.
232 (tabulated-list-get-entry): New function.
233 (tabulated-list-put-tag): Use it. Use string-width instead of
234 length.
235 (tabulated-list--column-number): New function.
236 (tabulated-list-print): Use it.
237 (tabulated-list-print-col): New function.
238 Set `tabulated-list-column-name' property on each column's text.
239 (tabulated-list-print-entry): Use it.
240 (tabulated-list-delete-entry, tabulated-list-set-col):
241 New functions.
242 (tabulated-list-sort-column): New command (Bug#11337).
243
244 * buff-menu.el (list-buffers): Move C-x C-b binding from
245 buff-menu.el to bindings.el.
246
247 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
248 :advertised-binding feature.
249
250 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
251
252 * progmodes/compile.el (compilation-internal-error-properties):
253 Calculate start position correctly when end-col is set but
254 end-line is not (Bug#11382).
255
256 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
257
258 * man.el (Man-unindent): Use text-property-default-nonsticky to
259 prevent untabify from inheriting face properties (Bug#11408).
260
261 2012-05-05 Glenn Morris <rgm@gnu.org>
262
263 * calendar/cal-html.el: Optionally include holidays in the output.
264 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
265 (cal-html-holidays): New option.
266 (cal-html-css-default): Add holiday entry.
267 (holiday-in-range): Autoload it.
268 (cal-html-htmlify-entry): Add optional class argument.
269 (cal-html-htmlify-list): Add optional holidays argument.
270 (cal-html-insert-agenda-days): Include holidays in the output.
271 (cal-html-one-month): Maybe include holidays.
272
273 * calendar/holidays.el (holiday-in-range):
274 Move here from cal-tex-list-holidays.
275 * calendar/cal-tex.el (cal-tex-list-holidays):
276 Make it an obsolete alias for holiday-in-range. Update all callers.
277
278 2012-05-05 Chong Yidong <cyd@gnu.org>
279
280 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
281 Nextstep.
282
283 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
284
285 * files.el (file-auto-mode-skip): New var.
286 (set-auto-mode-1): Use it.
287
288 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
289
290 * repeat.el: Use lexical-binding.
291 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
292 (repeat-undo-count): Remove.
293 (repeat):
294 * progmodes/octave-mod.el (octave-abbrev-start):
295 * progmodes/f90.el (f90-abbrev-start):
296 * face-remap.el (text-scale-adjust):
297 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
298
299 * emacs-lisp/pcase.el (pcase--let*): New function.
300 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
301 a bit more.
302 (pcase--split-pred): Be more clever about ruling out overlap between
303 a predicate and some constant pattern.
304 (pcase--q1): Use `null' instead of (eq foo nil).
305
306 * subr.el (setq-local, defvar-local): New macros.
307 (kbd): Redefine as an alias.
308 (with-selected-window): Leave unrelated frames alone.
309 (set-temporary-overlay-map): New function.
310
311 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
312
313 * subr.el (user-error): New function.
314 * window.el (switch-to-buffer):
315 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
316 (smerge-match-conflict):
317 * simple.el (previous-matching-history-element)
318 (next-matching-history-element, goto-history-element, undo-more)
319 (undo-start):
320 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
321 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
322 (next-file, tags-loop-scan, list-tags, complete-tag):
323 * progmodes/compile.el (compilation-loop):
324 * mouse.el (mouse-minibuffer-check):
325 * man.el (Man-bgproc-sentinel, Man-goto-page):
326 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
327 (Info-history-forward, Info-follow-reference, Info-menu)
328 (Info-extract-menu-item, Info-extract-menu-counting)
329 (Info-forward-node, Info-backward-node, Info-next-menu-item)
330 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
331 (Info-next-reference, Info-prev-reference, Info-index)
332 (Info-index-next, Info-follow-nearest-node)
333 (Info-copy-current-node-name):
334 * imenu.el (imenu--make-index-alist)
335 (imenu-default-create-index-function, imenu-add-to-menubar):
336 * files.el (basic-save-buffer, recover-file):
337 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
338 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
339 (checkdoc-message-text, checkdoc-defun):
340 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
341 * cus-edit.el (customize-changed-options, customize-rogue)
342 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
343 (custom-variable-mark-to-reset-standard)
344 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
345 (custom-file):
346 * completion.el (check-completion-length):
347 * comint.el (comint-search-arg)
348 (comint-previous-matching-input-string-position)
349 (comint-previous-matching-input)
350 (comint-replace-by-expanded-history-before-point, comint-send-input)
351 (comint-copy-old-input, comint-backward-matching-input)
352 (comint-goto-process-mark, comint-set-process-mark):
353 * calendar/calendar.el (calendar-cursor-to-date): Use it.
354 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
355
356 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
357
358 * dabbrev.el (dabbrev--ignore-case-p): New function.
359 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
360 Use it.
361
362 * files.el (automount-dir-prefix): Mark as obsolete.
363
364 2012-05-04 Glenn Morris <rgm@gnu.org>
365
366 * patcomp.el, play/bruce.el: Move to obsolete/.
367
368 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
369
370 Fix minor Y10k bugs.
371 * arc-mode.el (archive-unixdate):
372 * autoinsert.el (auto-insert-alist):
373 * calc/calc-forms.el (math-this-year):
374 * emacs-lisp/copyright.el (copyright-current-year)
375 (copyright-update-year, copyright):
376 * tar-mode.el (tar-clip-time-string):
377 * time.el (display-time-update):
378 Don't assume years have 4 digits.
379
380 2012-05-04 Chong Yidong <cyd@gnu.org>
381
382 * dos-w32.el (file-name-buffer-file-type-alist)
383 (direct-print-region-use-command-dot-com):
384 * ffap.el (ffap-menu-regexp):
385 * find-file.el (ff-special-constructs):
386 * follow.el (follow-debug):
387 * forms.el (forms--debug):
388 * iswitchb.el (iswitchb-all-frames):
389 * ido.el (ido-all-frames):
390 * emacs-lisp/timer.el (timer-max-repeats):
391 * mail/feedmail.el (feedmail-mail-send-hook)
392 (feedmail-mail-send-hook-queued):
393 * mail/footnote.el (footnote-signature-separator):
394 * mail/mailabbrev.el (mail-alias-separator-string)
395 (mail-abbrev-mode-regexp):
396 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
397 * progmodes/idlwave.el (idlwave-libinfo-file)
398 (idlwave-default-completion-case-is-down)
399 (idlwave-library-routines): Convert defvars to defcustoms.
400
401 * mail/rmail.el (rmail-decode-mime-charset):
402 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
403 (idlwave-shell-fix-inserted-breaks)
404 (idlwave-shell-activate-alt-keybindings)
405 (idlwave-shell-use-breakpoint-glyph):
406 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
407
408 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
409
410 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
411
412 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
413
414 * progmodes/verilog-mode.el (font-lock-keywords):
415 Fix mis-highligting auto. Reported by Craig Barner.
416 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
417 defines from global name space. Reported by Dan Dever.
418 (verilog-auto-reset, verilog-auto-reset-widths)
419 (verilog-auto-tieoff): Support using unbased numbers for
420 AUTORESET and AUTOTIEOFF.
421 (verilog-submit-bug-report): Update variable list.
422 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
423 parenthesis from not matching. Reported by Michael Rytting.
424 (verilog-auto-template-lint): Fix hash error when linting modules
425 with no used templates.
426 (verilog-warn, verilog-warn-error)
427 (verilog-warn-fatal): When non-interactive report multiple
428 warnings before exiting. Suggested by Brad Dobbie.
429 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
430 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
431 to report unused template errors. Reported by Brad Dobbie.
432 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
433 nets, bug438. Reported by Vns Blore.
434 (verilog-auto-inout-module, verilog-auto-reg)
435 (verilog-read-decls, verilog-read-sub-decls-sig)
436 (verilog-signals-edit-wire-reg, verilog-signals-with):
437 Fix passing of Verilog data types in ANSI input/output ports
438 such as "output logic" into the AUTOs. Special case "wire" and
439 "reg" for backwards compatibility presuming Verilog 2001.
440 (verilog-auto-ascii-enum): Add "auto enum" as alias.
441 (verilog-preprocess): Fix replication of preprocess output.
442 Reported by Brad Dobbie.
443 (verilog-auto-inst-interfaced-ports):
444 Create verilog-auto-inst-interfaced-ports, bug429.
445 Reported by Julian Gorfajn.
446 (verilog-after-save-font-hook)
447 (verilog-before-save-font-hook): New variable.
448 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
449 (verilog-save-font-mods): Wrap disabling fontification, reported
450 by David Rogoff.
451 (verilog-do-indent, verilog-pretty-declarations-auto)
452 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
453 Reported by Pierre-David Pfister.
454 (verilog-set-auto-endcomments): Fix endtask auto comments outside
455 of class declarations, bug292. Reported by Kevin Heilman.
456 (verilog-read-decls): Fix 'parameter type' not appearing in
457 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
458 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
459 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
460 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
461 Reported by David Kravitz.
462
463 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
464
465 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
466 assignment with tests in ifs and for loops.
467 (verilog-extended-complete-re, verilog-complete-reg): Change so
468 that DPI inport functions don't look like fuction declarations.
469 (verilog-pretty-expr): Don't line up assignment
470 operations to the test and increment in if and for loops
471 (verilog-extended-complete-re, verilog-complete-reg): Change so
472 that DPI inport functions don't look like fuction declarations
473
474 2012-05-03 Kenichi Handa <handa@m17n.org>
475
476 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
477 decoding, and show a warning message without signalling an error
478 (Bug#11282).
479
480 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
481
482 * emacs-lisp/bytecomp.el
483 (byte-compile-file-form-custom-declare-variable): Compile all elements,
484 since cconv.el might have introduced :fun-body, internal-make-closure,
485 and friends for bytecomp to handle (bug#11391).
486 * custom.el (defcustom): Avoid ((λ ..) ..).
487
488 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
489
490 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
491
492 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
493
494 * notifications.el (dbus-debug):
495 * term/linux.el (gpm-mouse-enable):
496 * term/screen.el (xterm-register-default-colors): Declare.
497
498 2012-05-02 Chong Yidong <cyd@gnu.org>
499
500 * cus-start.el (gc-cons-percentage, exec-suffixes)
501 (dos-display-scancodes, dos-hyper-key, dos-super-key)
502 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
503 (make-cursor-line-fully-visible, void-text-area-pointer)
504 (font-list-limit): Add customization data.
505
506 * allout.el (allout-exposure-change-functions)
507 (allout-structure-added-functions)
508 (allout-structure-deleted-functions)
509 (allout-structure-shifted-functions): Rename abnormal hooks from
510 *-hook, and convert to defcustoms.
511 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
512 Convert to defcustoms.
513 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
514
515 * allout-widgets.el: Hook callers changed.
516
517 2012-05-02 Eli Zaretskii <eliz@gnu.org>
518
519 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
520 the yanked message in preference to the default value of
521 buffer-file-coding-system.
522
523 2012-05-02 Martin Rudalics <rudalics@gmx.at>
524
525 * window.el (display-buffer--action-function-custom-type):
526 Fix entry.
527
528 2012-05-02 Alan Mackenzie <acm@muc.de>
529
530 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
531
532 2012-05-01 Glenn Morris <rgm@gnu.org>
533
534 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
535
536 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
537
538 * cus-edit.el (custom-variable-documentation): Simplify with format.
539
540 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
541 Stefan Monnier <monnier@iro.umontreal.ca>
542
543 * simple.el (suggest-key-bindings, execute-extended-command):
544 Move from keyboard.c.
545
546 2012-05-01 Chong Yidong <cyd@gnu.org>
547
548 * follow.el: Eliminate advice.
549 (set-process-filter, process-filter, sit-for): Advice deleted.
550 (follow-mode-off-hook): Obsolete hook removed.
551 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
552 Vars deleted.
553 (follow-auto): Use a :set function.
554 (follow-mode): Rewritten. Don't advise process filters.
555 (follow-switch-to-current-buffer-all, follow-scroll-up)
556 (follow-scroll-down): Assume follow-mode is bound.
557 (follow-comint-scroll-to-bottom)
558 (follow-align-compilation-windows): New functions.
559 (follow--window-sorter): New function.
560 (follow-all-followers): Use it to explicitly sort windows by their
561 positions; don't make assumptions about next-window order.
562 (follow-windows-start-end, follow-delete-other-windows-and-split)
563 (follow-calc-win-start): Doc fix.
564 (follow-windows-aligned-p, follow-select-if-visible): Don't call
565 vertical-motion unnecessarily.
566 (follow-adjust-window): New function.
567 (follow-post-command-hook): Use it.
568 (follow-call-set-process-filter, follow-call-process-filter)
569 (follow-intercept-process-output, follow-tidy-process-filter-alist)
570 (follow-stop-intercept-process-output, follow-generic-filter):
571 Functions deleted.
572 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
573 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
574 New functions, replacing advice on scroll-bar-* commands.
575 (follow-mwheel-scroll): New function (Bug#4112).
576
577 * comint.el (comint-adjust-point): New function.
578 (comint-postoutput-scroll-to-bottom): Use it.
579 Call follow-comint-scroll-to-bottom for Follow mode buffers.
580
581 2012-05-01 Glenn Morris <rgm@gnu.org>
582
583 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
584 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
585 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
586 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
587 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
588 Remove no-byte-compile setting.
589
590 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
591
592 * minibuffer.el (completion-table-with-quoting): Fix compatibility
593 all-completions code to not return a number in the last cdr.
594
595 2012-04-30 Leo Liu <sdl.web@gmail.com>
596
597 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
598 read-only error.
599
600 2012-04-29 Chong Yidong <cyd@gnu.org>
601
602 * follow.el (follow-calc-win-end): Rewrite to handle partial
603 screen lines correctly (Bug#8390).
604 (follow-avoid-tail-recenter): Minor cleanup.
605
606 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
607
608 Avoid the obsolete `assoc' package.
609 * speedbar.el (speedbar-refresh): Avoid adelete.
610 (speedbar-file-lists): Simplify and avoid aput.
611 * man.el (Man--sections, Man--refpages): New vars, replacing
612 Man-sections-alist and Man-refpages-alist.
613 (Man-build-section-alist, Man-build-references-alist):
614 Use them; avoid aput.
615 (Man--last-section, Man--last-refpage): New vars.
616 (Man-follow-manual-reference): Use them.
617 Use the `default' arg of completing-read.
618 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
619
620 2012-04-27 Chong Yidong <cyd@gnu.org>
621
622 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
623
624 * startup.el (x-apply-session-resources): New function.
625
626 * term/ns-win.el (ns-initialize-window-system):
627 * term/w32-win.el (w32-initialize-window-system):
628 * term/x-win.el (x-initialize-window-system): Use it to properly
629 set menu-bar-mode and other vars from X resources, even if the
630 initial frame is not a window-system frame (Bug#2299).
631
632 * subr.el (read-key): Avoid running filter function when setting
633 up temporary tool bar entries (Bug#9922).
634
635 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
636
637 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
638 (Bug#11344)
639
640 2012-04-27 Chong Yidong <cyd@gnu.org>
641
642 * select.el (xselect--encode-string): New function, split from
643 xselect-convert-to-string.
644 (xselect-convert-to-string): Use it.
645 (xselect-convert-to-filename, xselect-convert-to-os)
646 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
647 returned strings are properly encoded (Bug#11315).
648
649 2012-04-27 Chong Yidong <cyd@gnu.org>
650
651 * simple.el (delete-active-region): Move to killing custom group.
652
653 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
654
655 * progmodes/which-func.el (which-func-current): Quote %
656 characters for mode-line processing.
657
658 2012-04-27 Chong Yidong <cyd@gnu.org>
659
660 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
661 reaching eob (Bug#11286).
662
663 2012-04-27 Eli Zaretskii <eliz@gnu.org>
664
665 * progmodes/gdb-mi.el (gdb-control-level): New variable.
666 (gdb): Make it buffer-local and init to zero.
667 (gdb-control-commands-regexp): New variable.
668 (gdb-send): Don't wrap in "-interpreter-exec console" if
669 gdb-control-level is positive. Increment gdb-control-level
670 whenever the command matches gdb-control-commands-regexp, and
671 decrement it each time the command is "end". (Bug#11279)
672
673 2012-04-27 Martin Rudalics <rudalics@gmx.at>
674
675 * window.el (adjust-window-trailing-edge, enlarge-window)
676 (shrink-window, window-resize):
677 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
678 windows (Bug#11276).
679
680 2012-04-27 Chong Yidong <cyd@gnu.org>
681
682 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
683 fix "missing prefix" warning. All callers changed.
684
685 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
686
687 * emacs-lisp/assoc.el: Move to obsolete/.
688
689 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
690
691 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
692
693 * term/ns-win.el (ns-define-service):
694 * progmodes/pascal.el (pascal-goto-defun):
695 * progmodes/js.el (js--read-tab):
696 * progmodes/etags.el (tags-lazy-completion-table):
697 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
698 * emacs-lisp/ewoc.el (ewoc--wrap):
699 * emacs-lisp/assoc.el (aput, adelete, amake):
700 * doc-view.el (doc-view-convert-current-doc):
701 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
702
703 2012-04-26 Chong Yidong <cyd@gnu.org>
704
705 * image.el (image-type-from-buffer): Only return supported image
706 type (Bug#9045).
707
708 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
709 value, for symmetry with diff-end-of-hunk.
710 (diff-split-hunk, diff-find-source-location)
711 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
712 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
713 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
714 compute the relevant hunk or file properly (Bug#6005).
715 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
716
717 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
718
719 * vc/vc-mtn.el:
720 * vc/vc-hg.el:
721 * vc/vc-git.el:
722 * vc/vc-dir.el:
723 * vc/vc-cvs.el:
724 * vc/vc-bzr.el:
725 * vc/vc-arch.el:
726 * vc/vc.el: Replace lexical-let by lexical-binding.
727 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
728 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
729 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
730
731 2012-04-26 Chong Yidong <cyd@gnu.org>
732
733 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
734 (diff-mode-shared-map): Bind it to / and [remap undo].
735
736 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
737 (ediff-window-setup-function): Use it as the default, to set up
738 windows based on whether the current frame is graphical (Bug#2138).
739 (ediff-choose-window-setup-function-automatically): Make obsolete.
740
741 * vc/ediff-init.el: Always define ediff-pixel-width/height.
742
743 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
744
745 * ffap.el: Remove old code for obsolete package.
746 (ffap-complete-as-file-p): Remove.
747
748 Use completion-table-with-quoting for comint and pcomplete.
749 * comint.el (comint--unquote&requote-argument)
750 (comint--unquote-argument, comint--requote-argument): New functions.
751 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
752 (comint-quote-filename): Use regexp-opt-charset.
753 (comint--common-suffix, comint--common-quoted-suffix)
754 (comint--table-subvert): Remove.
755 (comint-unquote-function, comint-requote-function): New vars.
756 (comint--complete-file-name-data): Use them with
757 completion-table-with-quoting.
758 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
759 * pcomplete.el (pcomplete-arg-quote-list)
760 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
761 (pcomplete-unquote-argument-function): Default to non-nil.
762 (pcomplete-unquote-argument): Simplify.
763 (pcomplete--common-quoted-suffix): Remove.
764 (pcomplete-requote-argument-function): New var.
765 (pcomplete--common-suffix): New function.
766 (pcomplete-completions-at-point): Use completion-table-with-quoting
767 and completion-table-subvert.
768
769 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
770 (minibuffer--double-dollars): Preserve properties.
771 (completion--sifn-requote): New function.
772 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
773
774 * minibuffer.el: Add support for completion of quoted/escaped data.
775 (completion-table-with-quoting, completion-table-subvert): New funs.
776 (completion--twq-try, completion--twq-all): New functions.
777 (completion--nth-completion): New function.
778 (completion-try-completion, completion-all-completions): Use it.
779
780 2012-04-25 Leo Liu <sdl.web@gmail.com>
781
782 * progmodes/python.el (python-pdbtrack-get-source-buffer):
783 Use compilation-message if available to find real filename.
784
785 2012-04-25 Chong Yidong <cyd@gnu.org>
786
787 * vc/diff-mode.el (diff-setup-whitespace): New function.
788 (diff-mode): Use it.
789
790 * vc/diff.el (diff-sentinel):
791 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
792 Whitespace mode variables based on diff style (Bug#8612).
793
794 2012-04-25 Leo Liu <sdl.web@gmail.com>
795
796 * progmodes/python.el (python-send-region): Add suffix .py to the
797 temp file.
798
799 * files.el (auto-mode-alist): Use javascript-mode instead.
800
801 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
802
803 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
804
805 * soap-client.el (soap-resolve-references-for-sequence-type)
806 (soap-resolve-references-for-array-type): Hack to prevent self
807 references, see Bug#9.
808 (soap-parse-envelope): Report the contents of the 'detail' node
809 when receiving a fault reply.
810 (soap-parse-envelope): Report the contents of the entire 'detail' node.
811
812 * soap-inspect.el (soap-sample-value-for-simple-type)
813 (soap-inspect-simple-type): New function.
814
815 * soap-client.el (soap-simple-type): New struct.
816 (soap-default-xsd-types, soap-default-soapenc-types)
817 (soap-decode-basic-type, soap-encode-basic-type):
818 support unsignedInt and double basic types.
819 (soap-resolve-references-for-simple-type)
820 (soap-parse-simple-type, soap-encode-simple-type): New function.
821 (soap-parse-schema): Parse xsd:simpleType declarations.
822
823 * soap-client.el (soap-default-xsd-types)
824 (soap-default-soapenc-types): Add integer, byte and anyURI types.
825 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
826 the local name of "soapenc:Array".
827 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
828 decoding integer, byte and anyURI xsd types.
829
830 2012-04-25 Chong Yidong <cyd@gnu.org>
831
832 * cus-edit.el (custom-buffer-create-internal): Update header text.
833
834 2012-04-25 Eli Zaretskii <eliz@gnu.org>
835
836 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
837 settings on 'system-type', not on 'window-system'. On MS-Windows,
838 set interactive-mode on in GDB.
839
840 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
841
842 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
843 (ruby-syntax-propertize-regexp): Remove.
844 (ruby-syntax-propertize-function): Split regexp into chunks.
845 Match following code directly.
846
847 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
848
849 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
850 (ruby-syntax-propertize-regexp): New function.
851 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
852 by a special keyword.
853
854 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
855 (ruby-syntax-general-delimiters-goto-beg)
856 (ruby-syntax-propertize-general-delimiters): New functions.
857 (ruby-syntax-propertize-function): Use them to handle GDL.
858 (ruby-font-lock-keywords): Move old handling of GDL...
859 (ruby-font-lock-syntactic-keywords): .. to here.
860 (ruby-calculate-indent): Adjust indentation for GDL.
861
862 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
863
864 * notifications.el (top): Remove unneeded declarations.
865 (notifications-specification-version): Change to "1.2".
866 (notifications-interface, notifications-notify-method)
867 (notifications-close-notification-method): Fix docstring.
868 (notifications-get-capabilities-method): New defconst.
869 (notifications-notify): Add :action-items, :resident and
870 :transient hints. Change "image_data" to "image-data" and
871 "image_path" to "image-path".
872 (notifications-get-capabilities): New defun.
873
874 2012-04-24 Leo Liu <sdl.web@gmail.com>
875
876 * progmodes/python.el: Move hideshow setup to the end.
877
878 2012-04-24 Martin Rudalics <rudalics@gmx.at>
879
880 * window.el (handle-select-window): Clear echo area since this is
881 no more done by read_char (Bug#11304).
882
883 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
884
885 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
886 and `/ M' to filter-derived-mode.
887 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
888 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
889 (ibuffer-mark-by-mode): Use default rather than initial-input.
890 (ibuffer-filter-by-derived-mode): Autoload and require-match.
891
892 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
893
894 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
895 (ibuffer-filter-by-derived-mode): New filter.
896 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
897
898 2012-04-23 Andreas Politz <politza@fh-trier.de>
899
900 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
901
902 2012-04-23 Chong Yidong <cyd@gnu.org>
903
904 * cus-edit.el (customize-apropos, customize-apropos-options):
905 Disable matching of non-option variables (Bug#11176).
906 (customize-option, customize-option-other-window)
907 (customize-changed-options): Doc fix.
908 (customize-apropos-options, customize-apropos-faces)
909 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
910
911 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
912 Fix word list splitting (Bug#11132).
913 (apropos-symbol, apropos-keybinding, apropos-label)
914 (apropos-property, apropos-function-button)
915 (apropos-variable-button, apropos-misc-button): New faces.
916 (apropos-symbol-face, apropos-keybinding-face)
917 (apropos-label-face, apropos-property-face, apropos-match-face):
918 Variables removed (Bug#8396).
919 (apropos-library-button, apropos-format-plist, apropos-print)
920 (apropos-print-doc, apropos-describe-plist): Callers changed.
921
922 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
923
924 * net/xesam.el (xesam-mode-map): Use let-bound map in
925 initialization. (Bug#11292)
926
927 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
928
929 Preserve ispell session localwords when switching back to
930 original buffer.
931
932 * ispell.el (ispell-buffer-session-localwords): New buffer-local
933 variable to hold buffer session localwords.
934 (ispell-kill-ispell): add option 'clear to delete session
935 localwords.
936 (ispell-command-loop, ispell-change-dictionary)
937 (ispell-buffer-local-words): Preserve session localwords when
938 needed.
939
940 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
941 Preserve session localwords when needed.
942
943 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
944
945 * ispell.el (ispell-insert-word) Remove unneeded function using
946 obsolete `translation-table-for-input'.
947 (ispell-word, ispell-process-line, ispell-complete-word):
948 Use plain `insert' instead of removed `ispell-insert-word'.
949
950 2012-04-22 Chong Yidong <cyd@gnu.org>
951
952 * cus-edit.el (custom-variable-menu)
953 (custom-variable-reset-saved, custom-face-menu)
954 (custom-face-reset-saved): If there is no saved value, make the
955 "reset-saved" operation bring back the default (Bug#9509).
956 (custom-face-state): Properly detect themed faces.
957
958 * faces.el (face-spec-set): Stop supporting deprecated form of
959 third arg.
960
961 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
962
963 Move functions from C to Lisp. Make non-blocking method calls
964 the default. Implement further D-Bus standard interfaces.
965
966 * net/dbus.el (dbus-message-internal): Declare function.
967 Remove unneeded function declarations.
968 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
969 (dbus-message-type-method-return, dbus-message-type-error)
970 (dbus-message-type-signal): Declare variables. Remove local
971 definitions.
972 (dbus-interface-dbus, dbus-interface-peer)
973 (dbus-interface-introspectable, dbus-interface-properties)
974 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
975 Adapt docstring.
976 (dbus-interface-objectmanager): New defconst.
977 (dbus-call-method, dbus-call-method-asynchronously)
978 (dbus-send-signal, dbus-method-return-internal)
979 (dbus-method-error-internal, dbus-register-service)
980 (dbus-register-signal, dbus-register-method): New defuns, moved
981 from dbusbind.c
982 (dbus-call-method-handler, dbus-setenv)
983 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
984 New defuns.
985 (dbus-call-method-non-blocking): Make it an obsolete function.
986 (dbus-unregister-object, dbus-unregister-service)
987 (dbus-handle-event, dbus-register-property)
988 (dbus-property-handler): Obey the new structure of
989 `bus-registered-objects'.
990 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
991 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
992 Use `dbus-call-method'.
993
994 2012-04-22 Chong Yidong <cyd@gnu.org>
995
996 * cus-edit.el (custom-commands, custom-reset-menu)
997 (Custom-reset-standard): Tweak labels.
998 (custom-reset-button-menu): Change default to t.
999 (custom-buffer-create-internal): For the custom-reset-button-menu
1000 case, put the revert button first.
1001 (custom-group-subtitle): New face.
1002 (custom-group-value-create): Align docstring to a specific column.
1003
1004 * wid-edit.el (widget-documentation-link-add): Don't handle
1005 indentation in this function.
1006 (widget-documentation-string-indent-to): New function.
1007 (widget-documentation-string-value-create): Use it.
1008
1009 * autorevert.el (auto-revert):
1010 * epg-config.el (epg):
1011 * ibuffer.el (ibuffer):
1012 * mpc.el (mpc):
1013 * ses.el (ses):
1014 * eshell/eshell.el (eshell):
1015 * net/ange-ftp.el (ange-ftp):
1016 * progmodes/ebnf2ps.el (postscript):
1017 * progmodes/flymake.el (flymake):
1018 * progmodes/prolog.el (prolog):
1019 * progmodes/verilog-mode.el (verilog-mode):
1020 * progmodes/which-func.el (which-func):
1021 * term/xterm.el (xterm):
1022 * textmodes/picture.el (picture):
1023 * textmodes/tildify.el (tildify):
1024 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1025 customization buffers.
1026
1027 2012-04-22 Alan Mackenzie <acm@muc.de>
1028
1029 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1030 Adding a ) can hide the resulting (..) from searches. Fix it.
1031 Bound the backward search to the position of the existing (.
1032
1033 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
1034
1035 * progmodes/verilog-mode.el (verilog-mode): Check whether
1036 which-func-modes is t before adding verilog-mode.
1037 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1038
1039 2012-04-21 Leo Liu <sdl.web@gmail.com>
1040
1041 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
1042
1043 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1044
1045 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1046 filling of the last column of a table (Bug#5635).
1047 (woman-find-next-control-line): New arg, specifying an additional
1048 regexp component for the control line.
1049 (woman2-roff-buffer): Use it.
1050 (woman-break-table): New function.
1051 (woman2-TS): Use it.
1052
1053 2012-04-21 Chong Yidong <cyd@gnu.org>
1054
1055 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1056 (woman-horizontal-escapes, woman-negative-vertical-space)
1057 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1058 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1059
1060 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1061
1062 * minibuffer.el (completion-file-name-table): Complete user names.
1063
1064 2012-04-20 Leo Liu <sdl.web@gmail.com>
1065
1066 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1067 and pcase-let*.
1068
1069 2012-04-20 Chong Yidong <cyd@gnu.org>
1070
1071 * server.el (server-execute): Respect initial-buffer-choice if it
1072 is a string and there are no files to open (Bug#2825).
1073 (server-create-window-system-frame, server-create-tty-frame):
1074 Don't switch buffers here.
1075 (server-process-filter): Only try to open a window system frame if
1076 compiled with graphical support (Bug#8314).
1077
1078 2012-04-20 Dan Nicolaescu <dann@gnu.org>
1079
1080 * battery.el (battery-echo-area-format): Display remaining time
1081 for sysfs backend too (Bug#11269).
1082 (battery-linux-sysfs): Fix conditional for the charge.
1083
1084 2012-04-20 Chong Yidong <cyd@gnu.org>
1085
1086 * progmodes/gdb-mi.el (gdb): Revert previous change.
1087 (gdb-inferior-io--init-proc): New function.
1088 (gdb-init-1): Use it.
1089 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1090 responsible for allocating a new pty and hooking it to gdb when
1091 the old pty gets an EIO due to process exit.
1092 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1093 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1094 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1095
1096 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1097
1098 * window.el (window-min-size, window-sizable, window-min-delta)
1099 (window-max-delta, window--resizable, window-resizable)
1100 (window-total-size, window-full-height-p, window-full-width-p)
1101 (window-in-direction, window--resize-mini-window, window-resize)
1102 (window--resize-child-windows-normal)
1103 (window--resize-child-windows, window--resize-siblings)
1104 (window--resize-this-window, adjust-window-trailing-edge)
1105 (enlarge-window, shrink-window): Doc fixes.
1106
1107 2012-04-20 Chong Yidong <cyd@gnu.org>
1108
1109 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1110 New function to call delete-process on the gdb-inferior buffer's pty.
1111 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1112 pty process (Bug#11273).
1113 (gdb-update): New arg to suppress talking to the gdb process.
1114 (gdb-done-or-error): Use it.
1115 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1116 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1117 sentinel not being called.
1118
1119 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1120
1121 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1122
1123 2012-04-20 Glenn Morris <rgm@gnu.org>
1124
1125 * net/network-stream.el (open-network-stream): Doc fix.
1126
1127 2012-04-20 Chong Yidong <cyd@gnu.org>
1128
1129 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1130
1131 2012-04-20 Alan Mackenzie <acm@muc.de>
1132
1133 Ensure searching for keywords is case sensitive.
1134
1135 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1136 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1137 (c-defun-name, c-mark-function, c-cpp-define-name)
1138 (c-comment-indent, c-scan-conditionals, c-indent-defun)
1139 (c-context-line-break): Bind case-fold-search to nil.
1140
1141 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1142 Bind case-fold-search to nil.
1143
1144 2012-04-20 Chong Yidong <cyd@gnu.org>
1145
1146 * mail/sendmail.el (mail-bury): Call return action with the right
1147 Rmail buffer (Bug#11242).
1148
1149 * server.el (server-process-filter): Handle corner case where both
1150 tty and nowait options are present (Bug#11102).
1151
1152 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1153
1154 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
1155 (top level): Put into the executable the ident-style '$Id:' tag on
1156 windows-nt as well.
1157
1158 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1159
1160 * electric.el (electric-indent-post-self-insert-function): Check that
1161 electric-indent-mode is enabled in current buffer.
1162
1163 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1164
1165 * imenu.el (imenu-progress-message): Restore; it is "used" in
1166 erc/erc-imenu.el and net/snmp-mode.el.
1167
1168 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1169
1170 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1171 (mouse-avoidance-nudge-mouse): Remove unused binding.
1172
1173 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1174
1175 * descr-text.el (describe-char):
1176 * progmodes/python.el (python-describe-symbol):
1177 Don't call `toggle-read-only', set `buffer-read-only'.
1178
1179 * imenu.el (imenu-default-goto-function): Mark unused args.
1180 (imenu-progress-message): Remove obsolete macro; all callers changed.
1181
1182 * subr.el (keymap-canonicalize): Remove unused binding.
1183 (read-passwd): Mark unused arg.
1184
1185 * tutorial.el (tutorial--display-changes): Remove unused binding.
1186 (tutorial--save-tutorial-to): Remove unused variable.
1187
1188 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1189 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1190 (package-generate-autoloads, package-menu--generate)
1191 (package-menu--find-upgrades): Remove unused bindings.
1192
1193 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1194 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1195 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1196 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1197 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1198 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1199 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1200 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1201 (cua-delete-char-rectangle): Mark unused args.
1202 (cua-align-rectangle): Remove unused binding.
1203
1204 * mail/rmail.el (compilation--message->loc)
1205 (epa--find-coding-system-for-mime-charset): Declare.
1206
1207 * net/dbus.el (dbus-register-service): Declare.
1208 (dbus-name-owner-changed-handler): Remove unused binding.
1209
1210 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1211 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1212 (nxml-scan-backward-within): Mark unused arg.
1213 (nxml-dynamic-markup-word): Remove unused binding.
1214
1215 * mouse.el (mouse-menu-major-mode-map):
1216 * emacs-lisp/authors.el (authors-scan-change-log)
1217 (authors-add-to-author-list):
1218 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1219 * emacs-lisp/smie.el (smie-auto-fill):
1220 * mail/sendmail.el (mail-bury):
1221 * mail/unrmail.el (unrmail):
1222 * net/tls.el (open-tls-stream):
1223 * textmodes/picture.el (picture-mouse-set-point):
1224 Remove unused bindings.
1225
1226 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
1227
1228 * net/tramp.el (tramp-action-password): Let-bind
1229 `enable-recursive-minibuffers' to t.
1230
1231 2012-04-18 Sam Steingold <sds@gnu.org>
1232
1233 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1234 instead of 'string to accommodate values like [f11].
1235 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1236 * progmodes/gdb-mi.el: Likewise.
1237
1238 2012-04-18 Leo Liu <sdl.web@gmail.com>
1239
1240 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1241 current buffer.
1242 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1243 LOCAL is nil.
1244
1245 2012-04-18 Chong Yidong <cyd@gnu.org>
1246
1247 * simple.el (line-move): Use forward-line if in batch mode
1248 (Bug#11053).
1249
1250 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1251
1252 * files.el (after-find-file): Do not try to add a final newline if
1253 the buffer is read-only (Bug#11156).
1254
1255 2012-04-17 Richard Stallman <rms@gnu.org>
1256
1257 * mail/rmail.el (rmail-start-mail):
1258 Pass (rmail-mail-return...) for the return-action.
1259 Pass (rmail-yank-current-message...) for the yank-action.
1260 (rmail-yank-current-message): New function.
1261 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1262 (rmail-reply): Likewise.
1263 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1264
1265 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
1266 buffer, not the last. Reject temp buffers. Use the rmail-mode
1267 buffer, not newbuf.
1268
1269 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
1270
1271 * server.el (server-ensure-safe-dir): Simplify.
1272
1273 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1274
1275 * emacs-lisp/smie.el: Provide smarter auto-filling.
1276 (smie-auto-fill): New function.
1277 (smie-setup): Use it.
1278
1279 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1280
1281 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
1282
1283 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1284 (comment-indent): Use it.
1285
1286 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
1287
1288 * ses.el: The overall change is to add cell renaming, that is
1289 setting fancy names for cell symbols other than name matching
1290 "\\`[A-Z]+[0-9]+\\'" regexp .
1291 (ses-localvars): Add ses--renamed-cell-symb-list.
1292 (ses-create-cell-variable): New defun.
1293 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
1294 (ses-relocate-formula): Relocate formulas only for cells the
1295 symbols of which are not renamed, i.e. symbols whose names do not
1296 match regexp "\\`[A-Z]+[0-9]+\\'".
1297 (ses-relocate-all): Relocate values only for cells the symbols of
1298 which are not renamed.
1299 (ses-load): Create cells variables as the (ses-cell ...) are read,
1300 in order to check row col consistency with cell symbol name only
1301 for cells that are not renamed.
1302 (ses-replace-name-in-formula): New defun.
1303 (ses-rename-cell): New defun.
1304
1305 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1306
1307 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1308 New option (bug#11118).
1309 (perl-calculate-indent): Respect it.
1310
1311 2012-04-17 Glenn Morris <rgm@gnu.org>
1312
1313 * dired-aux.el (dired-mark-read-string): Doc fix.
1314
1315 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1316
1317 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1318 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1319
1320 2012-04-17 Glenn Morris <rgm@gnu.org>
1321
1322 * mouse.el (mouse-drag-track):
1323 * speedbar.el (speedbar-frame-mode):
1324 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1325
1326 2012-04-16 Leo Liu <sdl.web@gmail.com>
1327
1328 * progmodes/python.el: Trivial cleanup.
1329
1330 2012-04-16 Glenn Morris <rgm@gnu.org>
1331
1332 * vc/vc.el (vc-string-prefix-p):
1333 * vc/pcvs-util.el (cvs-string-prefix-p):
1334 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1335 * mpc.el (mpc-string-prefix-p):
1336 Make all of these into obsolete aliases for string-prefix-p.
1337 Update callers.
1338 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1339
1340 * textmodes/two-column.el: Move custom options to the start.
1341 (frame-width): Remove compat definition.
1342 (2C-associate-buffer, 2C-dissociate):
1343 Use with-current-buffer rather than save-excursion.
1344 (2C-dissociate): Force a mode-line update.
1345 (2C-autoscroll): Use ignore-errors.
1346
1347 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1348 Autoload trivia.
1349
1350 * emacs-lisp/cl-extra.el (*random-state*):
1351 Remove unnecessary declaration.
1352
1353 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1354
1355 * play/cookie1.el (cookie-snarf):
1356 Give an explicit error if input file cannot be read.
1357
1358 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1359
1360 * progmodes/perl-mode.el (c-macro-expand):
1361 Remove unnecessary autoload (it is in loaddefs.el).
1362
1363 * textmodes/picture.el (picture-desired-column)
1364 (picture-update-desired-column): Convert comments to doc-strings.
1365 (picture-substitute): Remove function.
1366 (picture-mode-map): Initialize in the defvar.
1367
1368 * woman.el: Remove eval-after-load for tar-mode.
1369 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1370 (woman-tar-extract-file): Autoload it.
1371
1372 * frame.el (automatic-hscrolling): Make this alias obsolete.
1373
1374 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1375
1376 * ispell.el (ispell-set-spellchecker-params): Post-process
1377 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
1378 (ispell-dictionary-base-alist): Revert to original XEmacs
1379 friendly version for default. [:alpha:] will be added in
1380 `ispell-set-spellchecker-params' if needed
1381
1382 2012-04-16 Chong Yidong <cyd@gnu.org>
1383
1384 * image.el (imagemagick--extension-regexp): New variable.
1385 (imagemagick-register-types): Use it.
1386 (imagemagick-types-inhibit): Add :set function. Allow new value
1387 of t to inhibit all types.
1388
1389 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1390 so we can preload it.
1391
1392 * loadup.el (fboundp): Preload regexp-opt, needed by
1393 imagemagick-register-types.
1394
1395 2012-04-15 Chong Yidong <cyd@gnu.org>
1396
1397 * frame.el (scrolling): Remove nearly unused customization group.
1398
1399 * scroll-all.el (scroll-all-mode): Move to windows group.
1400
1401 2012-04-15 Chong Yidong <cyd@gnu.org>
1402
1403 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1404
1405 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1406
1407 Avoid the use of ((lambda ...) ...) in lexical-binding code.
1408 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
1409
1410 2012-04-15 Glenn Morris <rgm@gnu.org>
1411
1412 * simple.el (process-file-side-effects): Doc fix.
1413
1414 2012-04-15 Glenn Morris <rgm@gnu.org>
1415
1416 * international/mule-cmds.el (set-language-environment): Doc fix.
1417
1418 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1419
1420 * server.el (server-auth-key, server-generate-key): Doc fixes.
1421 (server-get-auth-key): Doc fix. Use `string-match-p'.
1422 (server-start): Reflow docstring.
1423
1424 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1425
1426 * server.el (server-generate-key): `called-interactively-p'
1427 requires a parameter.
1428
1429 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
1430
1431 * server.el (server-auth-key): New variable.
1432 (server-generate-key, server-get-auth-key): New function.
1433 (server-start): Use the new variable and functions to allow
1434 setting a permanent server key (bug#9423).
1435
1436 2012-04-14 Leo Liu <sdl.web@gmail.com>
1437
1438 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1439
1440 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1441
1442 Spelling fixes.
1443 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1444 Emacs uses American spelling.
1445
1446 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1447
1448 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1449 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1450 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1451 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1452
1453 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1454
1455 * progmodes/which-func.el (which-func-modes): Change default.
1456
1457 2012-04-14 Kim F. Storm <storm@cua.dk>
1458
1459 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1460 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1461
1462 2012-04-14 Chong Yidong <cyd@gnu.org>
1463
1464 * custom.el (custom-theme-set-variables): Doc fix.
1465
1466 2012-04-14 Glenn Morris <rgm@gnu.org>
1467
1468 * international/mule.el (set-auto-coding-for-load): Doc fix.
1469
1470 2012-04-14 Alan Mackenzie <acm@muc.de>
1471
1472 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1473 imenu work again for Objective C Mode. Correct the *-index values,
1474 these having been disturbed by a previous change in 2011-08.
1475
1476 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1477 Correct two search limits.
1478
1479 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1480
1481 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1482
1483 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
1484
1485 * international/characters.el: Fix sorting.
1486
1487 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1488
1489 * international/characters.el: Add more missing Latin case pairs.
1490
1491 2012-04-14 Glenn Morris <rgm@gnu.org>
1492
1493 * files.el (dir-locals-set-class-variables): Doc fix.
1494
1495 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1496
1497 * international/characters.el: Add set-case-syntax-pair call for
1498 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1499 counterpart. (Bug#11209)
1500
1501 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1502
1503 2012-04-14 Glenn Morris <rgm@gnu.org>
1504
1505 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1506
1507 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1508
1509 * textmodes/ispell.el (ispell-dictionary-base-alist):
1510 Add data for Hebrew.
1511
1512 2012-04-14 Chong Yidong <cyd@gnu.org>
1513
1514 * net/rcirc.el (rcirc-cmd-quit):
1515 Revert 2012-03-18 change (Bug#11192).
1516
1517 2012-04-14 Glenn Morris <rgm@gnu.org>
1518
1519 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1520
1521 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1522
1523 * minibuffer.el (completion-in-region-mode-map):
1524 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
1525
1526 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1527
1528 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1529
1530 2012-04-13 Masatake YAMATO <yamato@redhat.com>
1531
1532 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1533 to allow `C-M-f' and `C-M-b' to move to the nearest path
1534 separator (bug#9511).
1535
1536 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1537
1538 * avoid.el: Require cl when compiling. And also move the
1539 `provide' to the end.
1540
1541 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1542
1543 * avoid.el (mouse-avoidance-banish-position): New variable.
1544 (mouse-avoidance-banish-destination): Use it (bug#10165).
1545
1546 2012-04-13 Leo Liu <sdl.web@gmail.com>
1547
1548 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1549
1550 2012-04-13 Ken Brown <kbrown@cornell.edu>
1551
1552 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1553 this is no longer needed now that cygstart understands file:// URLs.
1554 (browse-url-filename-alist): For the same reason, don't modify
1555 file:// URLs on Cygwin.
1556
1557 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1558
1559 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1560 the region on shift if the binding is already shifted (bug#11221).
1561
1562 2012-04-12 Glenn Morris <rgm@gnu.org>
1563
1564 * mail/mailpost.el: Move to obsolete/.
1565
1566 2012-04-12 Drew Adams <drew.adams@oracle.com>
1567
1568 * imenu.el (imenu--generic-function): Ignore invisible definitions
1569 (bug#10123).
1570
1571 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1572
1573 * hexl.el (hexl-bits): New variable.
1574 (hexl-options): Mention the variable in the doc string.
1575 (hexl-rulerise, hexl-line-displen): New functions.
1576 (hexl-mode): Mention the new variable.
1577 (hexl-mode, hexl-current-address, hexl-current-address):
1578 Use the displen.
1579 (hexl-ascii-start-column): New function.
1580 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1581 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1582
1583 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1584
1585 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1586 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1587 the encoding, as expected by hunspell.
1588
1589 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1590
1591 * battery.el (battery--linux-sysfs-regexp): New const.
1592 (battery-status-function): Use it. Remove yeeloong special case.
1593 (battery-yeeloong-sysfs): Remove.
1594 (battery-echo-area-format): Remove yeeloong special case.
1595
1596 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1597
1598 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1599 Reported by Noah Friedman.
1600
1601 * subr.el (read-passwd): Use read-string.
1602
1603 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1604
1605 * vcursor.el (vcursor-move): Increase the priority of the overlay
1606 (bug#9663).
1607
1608 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1609
1610 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1611 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1612
1613 2012-04-11 William Stevenson <yhvh2000@gmail.com>
1614
1615 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1616 define-minor-mode (bug#10760).
1617
1618 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1619
1620 * progmodes/grep.el (rgrep): Tweak the find command line so
1621 that directories matching `grep-find-ignored-files' won't be
1622 pruned (bug#10351).
1623
1624 2012-04-11 Chong Yidong <cyd@gnu.org>
1625
1626 * startup.el (command-line): Remove support for long-obsolete
1627 variable font-lock-face-attributes.
1628
1629 2012-04-11 Glenn Morris <rgm@gnu.org>
1630
1631 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1632
1633 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1634
1635 * window.el (window--state-get-1): Obey window-point-insertion-type.
1636
1637 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1638
1639 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1640 to previous function when point is on the first character of a
1641 function. Take care of that in `narrow-to-defun' (bug#6157).
1642
1643 2012-04-11 Glenn Morris <rgm@gnu.org>
1644
1645 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1646 not just file-errors.
1647
1648 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1649 (vc-bzr-sha1): Use internal sha1.
1650
1651 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1652
1653 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1654
1655 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1656
1657 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1658 that start in the middle of the line (bug#10496).
1659
1660 2012-04-10 Dan Nicolaescu <dann@gnu.org>
1661
1662 * battery.el (battery-linux-proc-acpi): Only one battery is
1663 discharged at a time, but that seems to confuse battery.el when
1664 computing `rate-type' for the battery not being discharged
1665 (bug#10332).
1666
1667 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1668
1669 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1670
1671 * international/quail.el: Use dolist and simplify.
1672 (quail-define-package, quail-update-keyboard-layout)
1673 (quail-define-rules): Use dolist.
1674 (quail-insert-kbd-layout, quail-get-translation): CSE.
1675
1676 * tmm.el: Use dolist, remove left over hook.
1677 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1678 Use dolist.
1679 (calendar-load-hook): Don't mess with it.
1680
1681 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1682 Use derived-mode-p. Run the diff asynchronously.
1683
1684 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1685
1686 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1687
1688 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
1689
1690 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1691 (list-dynamic-libraries--loaded): New function.
1692 (list-dynamic-libraries--refresh): Use it.
1693
1694 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
1695
1696 * progmodes/python.el (python-fill-paragraph):
1697 Make python-fill-region in a multiline string work when font-lock is
1698 disabled (bug#7018).
1699
1700 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
1701
1702 * language/european.el (cp775): Add oem/legacy (en)coding on
1703 DOS/MS Windows for the Baltic languages. There are still plenty
1704 of texts written in this encoding/codepage (bug#6519).
1705
1706 2012-04-10 Glenn Morris <rgm@gnu.org>
1707
1708 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1709 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1710
1711 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1712
1713 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1714 next-line "n" and previous-line "p" in order to make recentf more
1715 consistent with ibuffer, dired or org-mode (bug#9387).
1716
1717 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1718
1719 * image.el (put-image): Return the overlay created instead of the
1720 optional input string (bug#7834). Note that this may break code
1721 that is (for some reason or other) depending on `put-image'
1722 returning the string.
1723
1724 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1725
1726 * simple.el (zap-to-char): Allow zapping using input methods
1727 (bug#1580).
1728
1729 * textmodes/fill.el (fill-region): Leave point and mark where they
1730 were before filling (bug#5399).
1731
1732 2012-04-09 Glenn Morris <rgm@gnu.org>
1733
1734 * version.el (emacs-bzr-get-version):
1735 Handle lightweight checkouts of local branches.
1736
1737 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1738
1739 * international/characters.el: Recover lost case pairs. (Bug#11209)
1740
1741 2012-04-09 Chong Yidong <cyd@gnu.org>
1742
1743 * custom.el (custom-variable-p): Return nil for non-symbol
1744 arguments instead of signaling an error.
1745 (user-variable-p): Obsolete alias for custom-variable-p.
1746
1747 * apropos.el (apropos-variable):
1748 * files-x.el (read-file-local-variable):
1749 * simple.el (set-variable):
1750 * woman.el (woman-mini-help):
1751 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1752
1753 2012-04-09 Glenn Morris <rgm@gnu.org>
1754
1755 * startup.el (normal-top-level): Don't look for leim-list.el
1756 in places where it will not be found. (Bug#910)
1757
1758 * international/mule-cmds.el (set-default-coding-systems):
1759 * files.el (normal-mode):
1760 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1761 This function was removed with ucs-tables.el in 2008.
1762
1763 2012-04-08 Eli Zaretskii <eliz@gnu.org>
1764
1765 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1766 ispell-encoding8-command to "-i", without a trailing space.
1767 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1768 separate command-line arguments, to specify the encoding, since
1769 that's how hunspell expects it.
1770
1771 2012-04-08 Glenn Morris <rgm@gnu.org>
1772
1773 * loadup.el: Load bindings before cus-start.
1774 This reduces somewhat the number of "rogue" settings in emacs -Q.
1775
1776 2012-04-07 Glenn Morris <rgm@gnu.org>
1777
1778 * version.el (emacs-bzr-get-version): New function.
1779 (emacs-bzr-version): New variable.
1780 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1781 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1782
1783 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1784
1785 * international/uni-bidi.el, international/uni-category.el:
1786 * international/uni-combining.el, international/uni-decimal.el:
1787 * international/uni-decomposition.el, international/uni-digit.el:
1788 * international/uni-lowercase.el, international/uni-mirrored.el:
1789 * international/uni-name.el, international/uni-numeric.el:
1790 * international/uni-titlecase.el, international/uni-uppercase.el:
1791 Update for Unicode 6.1.
1792
1793 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1794
1795 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1796
1797 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1798
1799 * window.el (shrink-window): Mention the `window-min-height'
1800 variable in the doc string.
1801
1802 2012-04-05 Bastien Guerry <bzg@altern.org>
1803
1804 * color.el (color-lighten-name): Fix typo.
1805
1806 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1807
1808 * server.el (server--on-display-p): New function.
1809 (server--on-display-p): Use it.
1810
1811 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1812
1813 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1814 (bug#11145).
1815
1816 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1817
1818 * comint.el (comint--common-quoted-suffix): Check string boundary
1819 before comparing (bug#11158).
1820 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1821
1822 2012-04-04 Chong Yidong <cyd@gnu.org>
1823
1824 * minibuffer.el (completion-extra-properties): Doc fix.
1825
1826 * subr.el (delayed-warnings-hook): Doc fix.
1827
1828 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1829
1830 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1831 selection (Bug#11159).
1832 (epa-insert-keys): Inform that the default public key will be
1833 exported if no key is selected.
1834
1835 2012-04-04 Richard Stallman <rms@gnu.org>
1836
1837 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1838
1839 2012-04-03 Chong Yidong <cyd@gnu.org>
1840
1841 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1842 mail-insert-file, not its obsolete alias mail-attach-file.
1843
1844 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1845
1846 * notifications.el (notifications-notify): Fix docstring.
1847
1848 2012-04-02 Glenn Morris <rgm@gnu.org>
1849
1850 * emacs-lisp/authors.el (authors-aliases): Another addition.
1851
1852 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1853
1854 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1855 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1856 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1857
1858 2012-04-01 Chong Yidong <cyd@gnu.org>
1859
1860 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1861 Handle root directory properly.
1862 (copy-directory): Caller changed.
1863
1864 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1865 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1866
1867 2012-03-31 Glenn Morris <rgm@gnu.org>
1868
1869 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1870
1871 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1872
1873 * calendar/calendar.el (calendar-window-list)
1874 (calendar-hide-window): Restore. (Bug#11140)
1875 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1876
1877 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1878
1879 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1880
1881 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1882 Check if file is a symlink (Bug#10489).
1883
1884 * files.el (copy-directory): Likewise.
1885
1886 2012-03-30 Chong Yidong <cyd@gnu.org>
1887
1888 * image.el (imagemagick-types-inhibit)
1889 (imagemagick-register-types): Doc fix.
1890
1891 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1892
1893 * ispell.el (ispell-get-extended-character-mode):
1894 Disable extended-char-mode for hunspell. hunspell does not support it
1895 and treats ~word as ordinary words in pipe mode.
1896
1897 2012-03-30 Glenn Morris <rgm@gnu.org>
1898
1899 * tutorial.el (help-with-tutorial): Ensure local variables don't
1900 happen to make the buffer read-only. (Bug#11127)
1901
1902 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1903
1904 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1905 (perl-calculate-indent): Return `noindent' in strings.
1906
1907 2012-03-28 Sam Steingold <sds@gnu.org>
1908
1909 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1910 instead of the broken adhockery which does not prevent calendar
1911 buffers from being displayed at random after exit.
1912 (calendar-window-list, calendar-hide-window): Remove the broken
1913 adhockery.
1914
1915 2012-03-28 Glenn Morris <rgm@gnu.org>
1916
1917 * replace.el (query-replace-map): Doc fix.
1918
1919 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1920
1921 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1922 contents. (Bug#11109)
1923
1924 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1925
1926 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1927 (bug#11077).
1928 (avl-tree--check, avl-tree--check-node): New funs.
1929
1930 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1931
1932 * window.el (switch-to-visible-buffer): New option.
1933 (switch-to-prev-buffer, switch-to-next-buffer):
1934 Observe switch-to-visible-buffer. Make sure that checking for a window
1935 showing a buffer already is done on the same frame.
1936
1937 2012-03-27 Glenn Morris <rgm@gnu.org>
1938
1939 * startup.el (mail-host-address): Doc fix.
1940
1941 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1942
1943 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1944 than 197 variables.
1945
1946 2012-03-26 Ami Fischman <ami@fischman.org>
1947
1948 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1949
1950 2012-03-26 Glenn Morris <rgm@gnu.org>
1951
1952 * files.el (save-buffers-kill-emacs): Doc fix.
1953
1954 * startup.el (normal-top-level, command-line, command-line-1):
1955 Give them doc strings.
1956
1957 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1958
1959 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1960 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1961
1962 2012-03-25 Chong Yidong <cyd@gnu.org>
1963
1964 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1965 theme if it was previously enabled before (Bug#11031).
1966
1967 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1968 spec with custom-face-get-current-spec if its :shown-value is not
1969 determined yet (Bug#9337).
1970 (customize-create-theme, custom-theme-revert): Doc fixes.
1971
1972 * button.el (button-at): Minor addition to docstring.
1973
1974 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
1975
1976 * vc/vc.el (vc-merge): Fix a prompt.
1977
1978 2012-03-24 Chong Yidong <cyd@gnu.org>
1979
1980 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1981 point (Bug#9623).
1982
1983 * button.el (button-at): Minor addition to docstring.
1984
1985 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1986
1987 * newcomment.el (comment-choose-indent): No space after BOL.
1988
1989 2012-03-22 Sam Steingold <sds@gnu.org>
1990
1991 * window.el (switch-to-prev-buffer): Revert last patch because the
1992 bug turned out to be an advertised feature (Elisp manual 28.14).
1993
1994 2012-03-22 Glenn Morris <rgm@gnu.org>
1995
1996 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1997 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1998
1999 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2000
2001 * net/network-stream.el (network-stream-open-starttls): Make error
2002 message under Windows be less misleading.
2003
2004 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2005
2006 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2007 understands (bug#9942).
2008
2009 2012-03-22 Chong Yidong <cyd@gnu.org>
2010
2011 * simple.el (end-of-visible-line): Handle return value of
2012 next-single-property-change properly (Bug#9371).
2013
2014 2012-03-22 Kenichi Handa <handa@m17n.org>
2015
2016 * international/quail.el (quail-insert-kbd-layout): Fix previous
2017 change. To avoid unwanted bidi reordering, use
2018 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2019
2020 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2021
2022 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2023 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2024 (ruby-beginning-of-indent): Be more careful with the difference
2025 between word-boundary and symbol boundary.
2026 (ruby-mode-syntax-table): Make : a symbol constituent.
2027
2028 2012-03-21 Andreas Politz <politza@fh-trier.de>
2029
2030 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2031
2032 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2033
2034 * progmodes/etags.el (tags-completion-at-point-function):
2035 Improve last fix.
2036
2037 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2038
2039 2012-03-21 Sam Steingold <sds@gnu.org>
2040
2041 * progmodes/etags.el (tags-completion-at-point-function):
2042 Avoid the error when point is inside the pattern.
2043
2044 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2045
2046 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2047 line (Bug#10855).
2048
2049 2012-03-21 Drew Adams <drew.adams@oracle.com>
2050
2051 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2052
2053 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2054
2055 * ido.el (ido-set-current-directory, ido-read-internal)
2056 (ido-choose-completion-string, ido-completion-help): Handle nil
2057 value of ido-completion-buffer (Bug#11008).
2058
2059 2012-03-21 Sam Steingold <sds@gnu.org>
2060
2061 * window.el (switch-to-prev-buffer): Do not switch to a visible
2062 window previous buffer, just like with the frame previous buffers.
2063
2064 2012-03-21 Chong Yidong <cyd@gnu.org>
2065
2066 * faces.el (make-face, make-empty-face, copy-face):
2067 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2068 Doc fixes.
2069
2070 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2071
2072 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2073 (widget-complete): Remove broken use of it.
2074
2075 2012-03-20 Chong Yidong <cyd@gnu.org>
2076
2077 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2078 Use string-width and truncate-string-width to handle arbitrary
2079 characters.
2080
2081 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2082
2083 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2084 to draw rectangles, not squares. (Regression introduced by revno
2085 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2086
2087 2012-03-18 Chong Yidong <cyd@gnu.org>
2088
2089 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2090 it is not yet defined (for temacs).
2091
2092 2012-03-18 Leo Liu <sdl.web@gmail.com>
2093
2094 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
2095
2096 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2097
2098 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2099 (ispell-choices-win-default-height, ispell-silently-savep)
2100 (ispell-dictionary-alist, ispell-encoding8-command)
2101 (ispell-check-version, ispell-aspell-find-dictionary)
2102 (ispell-valid-dictionary-list, ispell-words-keyword)
2103 (ispell-get-word, ispell-internal-change-dictionary)
2104 (ispell-region, ispell-skip-region-list)
2105 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2106 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2107 (ispell-message-text-end, ispell-message)
2108 (ispell-buffer-local-parsing): Doc fix.
2109
2110 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
2111
2112 * htmlfontify.el: Add support for code block fontification for ODT
2113 export (Bug #9914).
2114 (hfy-optimisations): Define new option
2115 `body-text-only'
2116 (hfy-fontify-buffer): Honor above setting.
2117 (hfy-begin-span, hfy-end-span): New routines factored out form
2118 `hfy-fontify-buffer'.
2119 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2120 that permit insertion of custom tags.
2121 (hfy-fontify-buffer): Use above handlers.
2122 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2123 (hfy-face-to-css): Re-defined to be a variable.
2124 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
2125 over multiple runs. This is made possible by having the caller let
2126 bind a special variable `hfy-user-sheet-assoc'.
2127 (htmlfontify-string): New defun.
2128 (hfy-compile-face-map): Make sure that the last char in the
2129 buffer is correctly fontified.
2130 (hfy-face-resolve-face): Whitespace only change.
2131
2132 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2133
2134 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2135 message more clear.
2136
2137 2012-03-16 Leo Liu <sdl.web@gmail.com>
2138
2139 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2140
2141 2012-03-16 Alan Mackenzie <acm@muc.de>
2142
2143 Further optimise the handling of large macros.
2144
2145 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2146 limit to a call of `c-literal-limits'.
2147 (c-determine-+ve-limit): New function.
2148 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2149 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2150 In CASE 5B, restrict a search limit to 500.
2151 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2152
2153 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2154 Restrict macro bounds to +-500 from after-change's BEG END.
2155
2156 2012-03-16 Leo Liu <sdl.web@gmail.com>
2157
2158 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2159
2160 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2161
2162 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
2163 `special-mode' setting of `buffer-read-only'. (Bug#11010)
2164
2165 2012-03-16 Glenn Morris <rgm@gnu.org>
2166
2167 * view.el (view-buffer, view-buffer-other-window)
2168 (view-buffer-other-frame): Doc fixes re special mode-class.
2169
2170 * subr.el (eval-after-load): If named feature is provided not from
2171 a file, run after-load forms. (Bug#10946)
2172
2173 * calendar/calendar.el (calendar-insert-at-column):
2174 Handle non-unit-width characters a bit better. (Bug#10978)
2175
2176 2012-03-15 Chong Yidong <cyd@gnu.org>
2177
2178 * emacs-lisp/ring.el (ring-extend): New function.
2179 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2180
2181 * comint.el (comint-read-input-ring)
2182 (comint-add-to-input-history): Grow comint-input-ring lazily.
2183
2184 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2185
2186 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2187 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2188
2189 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2190 (imenu-add-to-menubar): Don't add a redundant index.
2191 (imenu-update-menubar): Handle a dynamically composed keymap.
2192
2193 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2194
2195 * mail/sendmail.el (mail-encode-header):
2196 Bind rfc2047-encode-encoded-words to nil.
2197
2198 2012-03-13 Glenn Morris <rgm@gnu.org>
2199
2200 * calendar/calendar.el (calendar-string-spread):
2201 Handle non-unit-width characters a bit better. (Bug#10978)
2202
2203 2012-03-13 Leo Liu <sdl.web@gmail.com>
2204
2205 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2206 directory and file as argument (Bug#10822).
2207
2208 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2209
2210 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2211 For dynamically generated code, follow $PC.
2212 (gdb-disassembly-handler-custom): Handle no function name case.
2213
2214 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2215
2216 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2217 * emulation/ws-mode.el (ws-query-replace):
2218 * sort.el (sort-regexp-fields):
2219 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2220
2221 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2222
2223 * dabbrev.el: Fix cycle completion order (bug#10963).
2224 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2225 (dabbrev-completion): Don't use an obarray; provide
2226 a cycle-sort-function.
2227
2228 2012-03-12 Leo Liu <sdl.web@gmail.com>
2229
2230 * simple.el (kill-new): Use equal-including-properties for comparison.
2231 (kill-do-not-save-duplicates): Doc fix.
2232
2233 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2234
2235 * dabbrev.el: Fix cycle completion (bug#10963).
2236 Use lexical binding and wrap to 80 columns.
2237 (dabbrev-completion): Delay computing the list of completions.
2238
2239 2012-03-12 Kenichi Handa <handa@m17n.org>
2240
2241 * international/quail.el (quail-insert-kbd-layout): Surround each
2242 row by LRO and PDF instead of inserting many LRMs. Pad the left
2243 and right of each non-spacing marks. Insert invisible space
2244 between lower and upper characters to prevent composition.
2245
2246 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2247
2248 * minibuffer.el (minibuffer-complete): Don't get confused when the
2249 function is run twice via different commands (bug#10958).
2250 (complete-with-action): Fix docstring.
2251
2252 2012-03-12 Chong Yidong <cyd@gnu.org>
2253
2254 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2255 (nxml-completion-at-point-function): New function.
2256 (nxml-mode): Use it.
2257 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2258
2259 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2260 Load generated autoloads file before byte compiling (Bug#10970).
2261 (package--make-autoloads-and-compile): New helper fun.
2262
2263 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2264
2265 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2266
2267 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
2268
2269 * autorevert.el (auto-revert-handler): Ensure, that
2270 file-readable-p is applied only for local files or in
2271 auto-revert-tail-mode.
2272
2273 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2274
2275 * server.el (server-eval-at): Handle non-tcp connections.
2276 Decode result string.
2277
2278 * server.el (server-msg-size): New constant.
2279 (server-reply-print): New function.
2280 (server-eval-and-print): Use it.
2281 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2282 Handle -print-nonl.
2283
2284 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2285
2286 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2287 (Bug#10987).
2288
2289 2012-03-11 Chong Yidong <cyd@gnu.org>
2290
2291 * simple.el (goto-line): Doc fix (Bug#9938).
2292
2293 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2294
2295 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2296 when finished (Bug#10963).
2297
2298 2012-03-11 Martin Rudalics <rudalics@gmx.at>
2299
2300 * window.el (split-window-below): Fix bug in case where
2301 split-window-keep-point is nil (Bug#10971).
2302
2303 2012-03-11 Juri Linkov <juri@jurta.org>
2304
2305 * replace.el (replace-highlight): Set isearch-word to nil
2306 unconditionally. (Bug#10887)
2307
2308 2012-03-10 Eli Zaretskii <eliz@gnu.org>
2309
2310 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2311 mairix-replace-illegal-chars; all callers changed. Don't remove
2312 ^, ~, and = characters: they are meaningful in mairix search specs.
2313 (mairix-widget-create-query): Add usage information about mairix
2314 search forms: negating words, searching for substrings, etc.
2315
2316 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2317
2318 * international/fontset.el (font-encoding-alist): Add an entry for
2319 ksx1001 (Bug#5667).
2320
2321 2012-03-10 Richard Stallman <rms@gnu.org>
2322
2323 * mail/sendmail.el (mail-encode-header):
2324 Set rfc2047-encode-encoded-words.
2325
2326 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2327
2328 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2329 view buffer means not swapped.
2330 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2331 (rmail-write-region-annotate): Error if real text has disappeared.
2332
2333 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2334
2335 2012-03-10 Chong Yidong <cyd@gnu.org>
2336
2337 * emulation/cua-rect.el (cua--init-rectangles):
2338 * emulation/cua-base.el (cua--init-keymaps):
2339 Add delete-forward-char to remappings (Bug#9666).
2340
2341 2012-03-10 Martin Rudalics <rudalics@gmx.at>
2342
2343 * speedbar.el (speedbar-unhighlight-one-tag-line):
2344 Avoid unhighlighting due to frame switching (Bug#10275).
2345
2346 2012-03-10 Chong Yidong <cyd@gnu.org>
2347
2348 * minibuffer.el (completion-in-region, completion-help-at-point):
2349 Give the completion field overlay a high priority (Bug#6830).
2350
2351 * dired.el (dired-goto-file): Recognize absolute file name
2352 listings (Bug#7126).
2353 (dired-goto-file-1): New helper function.
2354 (dired-toggle-read-only): Inhibit warnings.
2355
2356 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
2357
2358 * net/dbus.el (dbus-property-handler): Return empty array if
2359 there are no properties.
2360
2361 2012-03-09 Leo Liu <sdl.web@gmail.com>
2362
2363 * savehist.el (savehist-printable): Stricter check for string
2364 value (Bug#10937).
2365
2366 2012-03-09 Eli Zaretskii <eliz@gnu.org>
2367
2368 * mail/smtpmail.el (smtpmail-send-it):
2369 Bind coding-system-for-write to *-unix, so that FCC files are kept in
2370 valid mbox format.
2371
2372 2012-03-09 Glenn Morris <rgm@gnu.org>
2373
2374 * files.el (dir-locals-find-file):
2375 Don't check result is regular, readable.
2376 (dir-locals-read-from-file): Demote errors.
2377
2378 2012-03-08 Eli Zaretskii <eliz@gnu.org>
2379
2380 * international/quail.el (quail-insert-kbd-layout):
2381 Insert invisible LRM characters before each character in a keyboard
2382 layout cell, to prevent their reordering by bidi display engine.
2383 For details, see the discussion in
2384 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2385
2386 2012-03-08 Alan Mackenzie <acm@muc.de>
2387
2388 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2389 the starting position; make it extend the marked region when
2390 invoked repeatedly - all under appropriate circumstances.
2391 Fixes bugs #5525, #10906.
2392
2393 2012-03-08 Glenn Morris <rgm@gnu.org>
2394
2395 * files.el (locate-dominating-file, dir-locals-find-file):
2396 Undo 2012-03-06 change.
2397
2398 2012-03-07 Eli Zaretskii <eliz@gnu.org>
2399
2400 * international/quail.el (quail-help):
2401 Force bidi-paragraph-direction be left-to-right. See discussion in
2402 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2403 for the reason.
2404
2405 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
2406
2407 Avoid superfluous registering of signals. (Bug#10807)
2408
2409 * notifications.el (notifications-on-action-object)
2410 (notifications-on-close-object): New defvars.
2411 (notifications-on-action-signal, notifications-on-closed-signal):
2412 Unregister the signal if not needed any longer.
2413 (notifications-notify): Register `notifications-action-signal' or
2414 `notifications-closed-signal', if :on-action or :on-close has been
2415 passed as argument.
2416
2417 2012-03-07 Chong Yidong <cyd@gnu.org>
2418
2419 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2420 non-X platforms.
2421
2422 2012-03-06 Glenn Morris <rgm@gnu.org>
2423
2424 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2425 (x-disown-selection-internal, x-get-selection-internal):
2426 Doc fix (add arglist signatures). (Bug#10783)
2427
2428 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2429
2430 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2431 Handle breakpoints with no "type".
2432
2433 2012-03-06 Glenn Morris <rgm@gnu.org>
2434
2435 * files.el (locate-dominating-file): Add optional predicate argument.
2436 (dir-locals-find-file): Make use of above change.
2437
2438 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2439
2440 * info.el (Info-insert-dir): Also try "dir.gz".
2441
2442 2012-03-06 Glenn Morris <rgm@gnu.org>
2443
2444 * files.el (dir-locals-find-file):
2445 Ignore non-readable or non-regular files. (Bug#10928)
2446
2447 * files.el (locate-dominating-file): Doc fix.
2448
2449 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2450
2451 * calendar/calendar.el (calendar-set-mode-line):
2452 `getenv' returns a string. (Bug#10951)
2453
2454 2012-03-05 Leo Liu <sdl.web@gmail.com>
2455
2456 * simple.el (backward-delete-char-untabify): Constrain point to
2457 field (Bug#10939).
2458
2459 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2460
2461 2012-03-05 Chong Yidong <cyd@gnu.org>
2462
2463 * simple.el (count-words): If called from Lisp, return the word
2464 count, for symmetry with `count-lines'. Arglist changed.
2465 (count-words--message): Args changed. Consolidate counting code
2466 from count-words and count-words-region.
2467 (count-words-region): Caller changed.
2468 (count-lines-region): Make it an obsolete alias.
2469
2470 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2471
2472 * saveplace.el (save-place-to-alist)
2473 (save-place-ignore-files-regexp): Allow value nil to disable this
2474 feature.
2475
2476 2012-03-04 Chong Yidong <cyd@gnu.org>
2477
2478 * faces.el (face-spec-reset-face): For the default face, reset the
2479 attributes to default values (Bug#10748).
2480
2481 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2482
2483 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2484 previous patch: Check `message-send-mail-function', and not the
2485 default function (bug#10897).
2486
2487 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
2488
2489 * notifications.el (notifications-on-action-signal)
2490 (notifications-on-closed-signal): Check for unique service name of
2491 incoming event. Fix error in removing entry.
2492 (top): Register for signals with wildcard service name.
2493 (notifications-notify): Use daemon unique service name for map entries.
2494
2495 2012-03-04 Chong Yidong <cyd@gnu.org>
2496
2497 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
2498
2499 2012-03-04 Glenn Morris <rgm@gnu.org>
2500
2501 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2502 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2503 (expand-abbrev, define-abbrev-table): Doc fixes.
2504
2505 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2506
2507 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2508 `message-default-send-mail-function' and not `send-mail-function'
2509 when doing the prompting for `sendmail-query-once' before sending
2510 in Message buffers (bug#10897).
2511
2512 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2513 This is inconsistent with all the other stream functions, which leave
2514 the setting up to the higher levels (if so wanted) (bug#10931).
2515
2516 2012-03-02 Alan Mackenzie <acm@muc.de>
2517
2518 Depessimize the handling of very large macros.
2519
2520 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2521 (c-macro-cache-syntactic): New variables to implement a one
2522 element macro cache.
2523 (c-invalidate-macro-cache): New function.
2524 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2525 Adapt to use the new cache.
2526 (c-state-safe-place): Use better the cache of safe positions.
2527 (c-state-semi-nonlit-pos-cache)
2528 (c-state-semi-nonlit-pos-cache-limit):
2529 New variables for...
2530 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2531 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
2532 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2533 Use c-state-semi-safe-place.
2534
2535 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2536 Add c-invalidate-macro-cache to the C, C++, Obj entries.
2537
2538 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
2539
2540 * jka-compr.el (jka-compr-call-process):
2541 Apply `file-accessible-directory-p' only when the default directory is
2542 not remote.
2543
2544 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
2545
2546 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2547 access of FILE2, if FILE1 does not exist.
2548
2549 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2550 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2551
2552 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2553 Add "PAGER=" to `process-environment'.
2554
2555 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2556
2557 * progmodes/sql.el: Bug fix
2558 (sql-get-login-ext): Save login values in globals.
2559 (sql-get-login): Use new version of `sql-get-login-ext'.
2560 (sql-interactive-mode): Set global `sql-connection' to nil.
2561 (sql-connect): Set global values for connection.
2562 (sql-product-interactive): Save global values as buffer local.
2563
2564 2012-02-29 Leo Liu <sdl.web@gmail.com>
2565
2566 * abbrev.el (define-abbrevs): Reset sys to nil.
2567
2568 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2569
2570 * files.el (file-equal-p): Rename from `files-equal-p'.
2571 Return nil when one or both files don't exist.
2572 (file-subdir-of-p): Now only top directory must exists,
2573 return nil if it doesn't.
2574 (copy-directory): No need to test with `file-subdir-of-p' after
2575 creating dir.
2576 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2577 to `file-equal-p'.
2578
2579 2012-02-28 Glenn Morris <rgm@gnu.org>
2580
2581 * shell.el (shell-mode):
2582 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2583 * play/landmark.el (landmark-font-lock-face-O):
2584 * play/handwrite.el (handwrite):
2585 * play/gomoku.el (gomoku-O):
2586 * net/browse-url.el (browse-url-browser-display):
2587 * international/mule.el (define-charset):
2588 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2589 * filesets.el (filesets-find-file-delay):
2590 * eshell/em-xtra.el (eshell-xtra):
2591 * eshell/em-unix.el (eshell-grep):
2592 * emulation/viper.el (viper-mode):
2593 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2594 * emacs-lisp/easymenu.el (easy-menu-define):
2595 * calendar/timeclock.el (timeclock-use-display-time):
2596 * bs.el (bs-mode):
2597 * bookmark.el (bookmark-save-flag):
2598 Doc fix (standardize possessive apostrophe usage).
2599
2600 2012-02-27 Chong Yidong <cyd@gnu.org>
2601
2602 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2603 Fix key-binding lookup for ESC key (Bug#9146).
2604
2605 * font-lock.el (font-lock-specified-p): Rename from
2606 font-lock-spec-present. Callers changed.
2607
2608 2012-02-27 Daniel Hackney <dan@haxney.org>
2609
2610 * emacs-lisp/package.el (package-compute-transaction):
2611 Handle holding a package version to t in package-load-list.
2612
2613 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
2614
2615 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2616 (tramp-get-inode, tramp-get-device): Use cached values.
2617
2618 2012-02-26 Alan Mackenzie <acm@muc.de>
2619
2620 Check there is a font-lock specification before doing initial
2621 fontification.
2622
2623 * font-core.el (font-lock-mode): Move the conditional from
2624 :after-hook to font-lock-initial-fontify.
2625 (font-lock-default-function): Move the check for a specification
2626 to font-lock-spec-present.
2627
2628 * font-lock.el (font-lock-initial-fontify): Call ...
2629 (font-lock-spec-present): New function.
2630
2631 2012-02-26 Jim Blandy <jimb@red-bean.com>
2632
2633 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2634 (gdb-send): Apply it to the operand of the '-interpreter-exec
2635 console' command, so that we can pass arguments with (say) quotes
2636 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2637
2638 2012-02-26 Chong Yidong <cyd@gnu.org>
2639
2640 * help-fns.el (describe-function-1): Clarify description of
2641 remapping (Bug#10844).
2642
2643 * files.el (files-equal-p): Doc fix.
2644 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2645 and quit the loop once a mismatch is found.
2646
2647 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
2648
2649 * bs.el (bs--show-with-configuration): Don't throw an error
2650 if the window cannot be split; otherwise, subsequent calls to
2651 bs-show fail, restoring a stale window config. (Bug#10882)
2652
2653 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2654
2655 * term/ns-win.el (global-map): Bind ns-drag-file to
2656 ns-find-file (Bug#5855, Bug#10050).
2657
2658 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2659
2660 * calendar/parse-time.el (parse-time-string): Allow extractor to
2661 return nil.
2662
2663 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
2664
2665 * net/tramp.el (tramp-file-name-for-operation):
2666 Add `files-equal-p' and `file-subdir-of-p'.
2667
2668 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2669 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2670 Add COPY-CONTENTS argument.
2671
2672 2012-02-25 Chong Yidong <cyd@gnu.org>
2673
2674 Add custom groups for VC backends, for consistency with vc-bzr.
2675
2676 * vc/vc-arch.el (vc-arch):
2677 * vc/vc-cvs.el (vc-cvs):
2678 * vc/vc-git.el (vc-git):
2679 * vc/vc-hg.el (vc-hg):
2680 * vc/vc-mtn.el (vc-mtn):
2681 * vc/vc-rcs.el (vc-rcs):
2682 * vc/vc-sccs.el (vc-sccs):
2683 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2684 All relevant defcustoms reassigned.
2685
2686 2012-02-25 Chong Yidong <cyd@gnu.org>
2687
2688 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2689
2690 * term/x-win.el (x-initialize-window-system): Reduce default for
2691 x-selection-timeout to 5 seconds (Bug#8869).
2692
2693 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2694
2695 * files.el (files-equal-p, file-subdir-of-p): New functions.
2696 (copy-directory): Error when trying to copy a directory on itself.
2697 Add missing copy-contents arg to tramp handler.
2698 * dired-aux.el (dired-copy-file-recursive): Same.
2699 (dired-create-files): Modify destination when source is equal to
2700 dest when copying files.
2701 Return also when dest is a subdir of source. (Bug#10489)
2702
2703 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
2704
2705 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2706 (Bug#10874)
2707
2708 2012-02-23 Alan Mackenzie <acm@muc.de>
2709
2710 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2711 parameter "after-hook:" to allow the expansion to run code after
2712 the execution of the mode hooks.
2713
2714 * font-lock.el (font-lock-initial-fontify): New function extracted
2715 from font-lock-mode-internal.
2716
2717 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2718 :after-hook.
2719
2720 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2721
2722 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2723 (completion--cache-all-sorted-completions): New function.
2724 (completion-all-sorted-completions): Use it.
2725 (completion--do-completion, minibuffer-force-complete):
2726 Use it to re-instate the flush hook.
2727
2728 * icomplete.el (icomplete-completions): Replace last fix with a better
2729 one (bug#10850).
2730
2731 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2732
2733 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2734 when it might call us back infinitely (bug#10797).
2735
2736 2012-02-23 Glenn Morris <rgm@gnu.org>
2737
2738 * minibuffer.el (completion-category-overrides): Doc fix.
2739
2740 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2741
2742 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2743 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2744
2745 2012-02-23 Glenn Morris <rgm@gnu.org>
2746
2747 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2748 (authors-obsolete-files-regexps, authors-ignored-files)
2749 (authors-ambiguous-files, authors-renamed-files-alist):
2750 Add more entries.
2751
2752 2012-02-23 Juri Linkov <juri@jurta.org>
2753
2754 * isearch.el (isearch-occur): Sync interactive spec with occur's
2755 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2756
2757 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2758
2759 2012-02-22 Juri Linkov <juri@jurta.org>
2760
2761 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2762 (ucs-insert): Doc fix. Check for hex digits in the string.
2763 Don't display `nil' in the error message. (Bug#10857)
2764
2765 2012-02-22 Alan Mackenzie <acm@muc.de>
2766
2767 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2768
2769 2012-02-22 Glenn Morris <rgm@gnu.org>
2770
2771 * ffap.el (ffap-c-path):
2772 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2773
2774 2012-02-22 Chong Yidong <cyd@gnu.org>
2775
2776 * custom.el (load-theme): Doc fix.
2777
2778 2012-02-22 Glenn Morris <rgm@gnu.org>
2779
2780 * dired-x.el (dired-guess-shell-alist-default):
2781 Remove escape sequences from nroff output. (Bug#172)
2782
2783 2012-02-21 Glenn Morris <rgm@gnu.org>
2784
2785 * vc/emerge.el (emerge-defvar-local):
2786 Set `permanent-local' property rather than unused `preserved'.
2787
2788 * textmodes/picture.el (picture-delete-char): New alias.
2789 (picture-mode-map): Use it. (Bug#10860)
2790 (picture-mode): Doc fix.
2791
2792 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2793
2794 * newcomment.el (uncomment-region-default): Remove unused binding.
2795
2796 2012-02-21 Glenn Morris <rgm@gnu.org>
2797
2798 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2799 (picture-self-insert, picture-tab-chars): Doc fix.
2800 (picture-mode-map): Fix C-a, C-e.
2801
2802 2012-02-20 Glenn Morris <rgm@gnu.org>
2803
2804 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2805
2806 2012-02-20 Leo Liu <sdl.web@gmail.com>
2807
2808 * icomplete.el (icomplete-completions): Check FROM arg before
2809 passing to substring (Bug#10850).
2810
2811 2012-02-19 Chong Yidong <cyd@gnu.org>
2812
2813 * comint.el: Require ansi-color.
2814 (comint-output-filter-functions): Add ansi-color-process-output.
2815
2816 * ansi-color.el: Don't set comint-output-filter-functions; it is
2817 now in the initial value defined in comint.el.
2818 (ansi-color-apply-face-function): New variable.
2819 (ansi-color-apply-on-region): Use it.
2820 (ansi-color-apply-overlay-face): New function.
2821
2822 * shell.el (shell): No need to require ansi-color.
2823 (shell-mode): Use ansi-color-apply-face-function to highlight
2824 color escapes using font-lock-face property (Bug#10835).
2825
2826 2012-02-19 Chong Yidong <cyd@gnu.org>
2827
2828 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2829 mode-line formats (Bug#10839).
2830
2831 2012-02-18 Glenn Morris <rgm@gnu.org>
2832
2833 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2834
2835 * mail/undigest.el (unforward-rmail-message): Doc fix.
2836
2837 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2838
2839 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2840
2841 * international/characters.el (script-list): Sync with the latest
2842 Unicode Character Database.
2843
2844 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2845
2846 * international/titdic-cnv.el: Remove duplicate coding tag.
2847 * language/cham.el: Likewise.
2848 * language/tai-viet.el: Likewise.
2849
2850 2012-02-18 Glenn Morris <rgm@gnu.org>
2851
2852 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2853 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2854 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2855 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2856 * calendar/holidays.el (holiday-bahai-holidays)
2857 (calendar-holidays, list-holidays):
2858 Use utf-8 Bahá'í in doc-strings, menus, etc.
2859
2860 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2861
2862 * saveplace.el (save-place-ignore-files-regexp): New variable
2863 allowing for excluding files from saving their location of point.
2864 The default value matches the temporary commit message editing
2865 files from Git, SVN, Bazaar, and Mercurial.
2866 (save-place-to-alist): Use it.
2867
2868 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2869 Stefan Monnier <monnier@iro.umontreal.ca>
2870
2871 * newcomment.el (uncomment-region-default): Don't leave extra space
2872 when an arg is provided (bug#8150).
2873
2874 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2875
2876 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2877
2878 2012-02-17 Glenn Morris <rgm@gnu.org>
2879
2880 * net/socks.el: Require network-stream. (Bug#10599)
2881
2882 2012-02-17 Kenichi Handa <handa@m17n.org>
2883
2884 * international/charprop.el:
2885 * international/uni-name.el:
2886 * international/uni-old-name.el:
2887 * international/uni-comment.el: Regenerate.
2888
2889 2012-02-16 Glenn Morris <rgm@gnu.org>
2890
2891 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2892 Interactively in calendar buffer, give an error if not on a date.
2893
2894 2012-02-15 Glenn Morris <rgm@gnu.org>
2895
2896 * shell.el (shell-delimiter-argument-list):
2897 Revert 2011-02-17 change. (Bug#8027)
2898
2899 2012-02-15 Chong Yidong <cyd@gnu.org>
2900
2901 * minibuffer.el (completion-at-point-functions): Doc fix.
2902
2903 * custom.el (defcustom): Doc fix; note use of defvar.
2904
2905 2012-02-15 Glenn Morris <rgm@gnu.org>
2906
2907 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2908 Doc fixes.
2909
2910 2012-02-14 Glenn Morris <rgm@gnu.org>
2911
2912 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2913
2914 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2915
2916 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2917 way the ports list is computed.
2918 (smtpmail-query-smtp-server): Prompt the user for a port number if
2919 we can't connect to any of the standard ports (bug#10810).
2920
2921 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2922
2923 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2924
2925 2012-02-13 Glenn Morris <rgm@gnu.org>
2926
2927 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2928
2929 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2930
2931 * net/gnutls.el (gnutls-trustfiles): New variable.
2932 (gnutls-negotiate): Use it.
2933
2934 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2935
2936 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2937 does its stuff if Gnus is running.
2938
2939 2012-02-13 Alan Mackenzie <acm@muc.de>
2940
2941 Fix a loop in c-set-fl-decl-start.
2942
2943 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2944 c-backward-syntactic-ws actually moves backwards.
2945
2946 2012-02-13 Leo Liu <sdl.web@gmail.com>
2947
2948 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2949 beginning so that all \C-o chars are removed.
2950
2951 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2952
2953 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2954
2955 2012-02-12 Alan Mackenzie <acm@muc.de>
2956
2957 Fix infinite loop with long macros.
2958 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2959
2960 2012-02-12 Chong Yidong <cyd@gnu.org>
2961
2962 * window.el (display-buffer): Doc fix (Bug#10785).
2963
2964 2012-02-12 Glenn Morris <rgm@gnu.org>
2965
2966 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2967 (x-disown-selection-internal, x-get-selection-internal):
2968 Sync docs with the xselect.c versions.
2969
2970 * allout-widgets.el: Add missing license notice.
2971
2972 2012-02-11 Glenn Morris <rgm@gnu.org>
2973
2974 * select.el (x-get-selection-internal, x-own-selection-internal)
2975 (x-disown-selection-internal):
2976 * x-dnd.el (x-get-selection-internal): Update declarations.
2977
2978 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2979
2980 * window.el (window-sides-slots):
2981 * tool-bar.el (tool-bar-position):
2982 * term/xterm.el (xterm-extra-capabilities):
2983 * ses.el (ses-self-reference-early-detection):
2984 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2985 (verilog-auto-wire-type)
2986 (verilog-auto-delete-trailing-whitespace)
2987 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2988 (verilog-auto-tieoff-declaration):
2989 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2990 (sql-oracle-statement-starters, sql-oracle-scan-on):
2991 * progmodes/prolog.el (prolog-align-comments-flag)
2992 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2993 (prolog-left-indent-regexp, prolog-paren-indent-p)
2994 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2995 (prolog-types, prolog-mode-specificators)
2996 (prolog-determinism-specificators, prolog-directives)
2997 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2998 (prolog-electric-dot-flag)
2999 (prolog-electric-dot-full-predicate-template)
3000 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3001 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3002 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3003 (prolog-program-switches, prolog-prompt-regexp)
3004 (prolog-debug-on-string, prolog-debug-off-string)
3005 (prolog-trace-on-string, prolog-trace-off-string)
3006 (prolog-zip-on-string, prolog-zip-off-string)
3007 (prolog-use-standard-consult-compile-method-flag)
3008 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3009 (prolog-imenu-max-lines, prolog-info-predicate-index)
3010 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3011 (prolog-char-quote-workaround):
3012 * progmodes/cc-vars.el (c-defun-tactic):
3013 * net/tramp.el (tramp-encoding-command-interactive)
3014 (tramp-local-end-of-line):
3015 * net/soap-client.el (soap-client):
3016 * net/netrc.el (netrc-file):
3017 * net/gnutls.el (gnutls):
3018 * minibuffer.el (completion-category-overrides)
3019 (completion-cycle-threshold)
3020 (completion-pcm-complete-word-inserts-delimiters):
3021 * man.el (Man-name-local-regexp):
3022 * mail/feedmail.el (feedmail-display-full-frame):
3023 * international/characters.el (glyphless-char-display-control):
3024 * eshell/em-ls.el (eshell-ls-date-format):
3025 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3026 (lisp-lambda-list-keyword-parameter-indentation)
3027 (lisp-lambda-list-keyword-parameter-alignment):
3028 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3029 * dired-x.el (dired-omit-verbose):
3030 * cus-theme.el (custom-theme-allow-multiple-selections):
3031 * calc/calc.el (calc-highlight-selections-with-faces)
3032 (calc-lu-field-reference, calc-lu-power-reference)
3033 (calc-note-threshold):
3034 * battery.el (battery-mode-line-limit):
3035 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3036 (archive-7z-update):
3037 * allout.el (allout-prefixed-keybindings)
3038 (allout-unprefixed-keybindings)
3039 (allout-inhibit-auto-fill-on-headline)
3040 (allout-flattened-numbering-abbreviation):
3041 * allout-widgets.el (allout-widgets-auto-activation)
3042 (allout-widgets-icons-dark-subdir)
3043 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3044 (allout-widgets-theme-dark-background)
3045 (allout-widgets-theme-light-background)
3046 (allout-widgets-item-image-properties-emacs)
3047 (allout-widgets-item-image-properties-xemacs)
3048 (allout-widgets-run-unit-tests-on-load)
3049 (allout-widgets-time-decoration-activity)
3050 (allout-widgets-hook-error-post-time)
3051 (allout-widgets-track-decoration):
3052 Add missing :version tags to new defcustoms and defgroups.
3053
3054 * progmodes/sql.el (sql-ansi-statement-starters)
3055 (sql-oracle-statement-starters): Add custom type.
3056
3057 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3058 (prolog-system-version): Give it a type.
3059
3060 2012-02-11 Eli Zaretskii <eliz@gnu.org>
3061
3062 * term/pc-win.el (x-select-text, x-selection-owner-p)
3063 (x-own-selection-internal, x-disown-selection-internal)
3064 (x-get-selection-internal): Sync doc strings and argument lists
3065 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3066
3067 2012-02-11 Leo Liu <sdl.web@gmail.com>
3068
3069 * progmodes/python.el (python-end-of-statement): Fix infinite
3070 loop. (Bug#10788)
3071
3072 2012-02-10 Glenn Morris <rgm@gnu.org>
3073
3074 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3075 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3076
3077 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3078
3079 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3080 about SMTP before checking the From header.
3081
3082 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
3083 into own function for reuse by emacsbug.el.
3084
3085 2012-02-10 Leo Liu <sdl.web@gmail.com>
3086
3087 * subr.el (condition-case-unless-debug): Rename from
3088 condition-case-no-debug. All callers changed.
3089 (with-demoted-errors): Fix caller.
3090
3091 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3092 * nxml/rng-valid.el (rng-do-some-validation):
3093 * emacs-lisp/package.el (package-refresh-contents)
3094 (package-menu-execute):
3095 * desktop.el (desktop-create-buffer):
3096 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
3097
3098 2012-02-10 Glenn Morris <rgm@gnu.org>
3099
3100 * textmodes/bibtex.el:
3101 Add missing :version tags for new/changed defcustoms.
3102
3103 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3104
3105 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
3106
3107 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3108 (smtpmail-via-smtp): Use it, or fall back on the From address.
3109 (smtpmail-send-it): Ditto.
3110
3111 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3112
3113 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3114 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3115 (byte-compile-tmp-var): New const.
3116 (byte-compile-defvar): Use it to minimize .elc size.
3117 Just use `defvar' rather than simulate it (bug#10761).
3118
3119 2012-02-09 Glenn Morris <rgm@gnu.org>
3120
3121 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3122
3123 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3124 Add :version tags.
3125
3126 * progmodes/compile.el (compilation-error-screen-columns)
3127 (compilation-first-column, compilation-filter-start): Doc fixes.
3128
3129 * vc/log-view.el (log-view-toggle-entry-display):
3130 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3131
3132 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3133 (report-emacs-bug-can-use-xdg-email):
3134 (report-emacs-bug-insert-to-mailer): Doc fixes.
3135 (report-emacs-bug): Message fix.
3136
3137 * net/browse-url.el (browse-url-can-use-xdg-open)
3138 (browse-url-xdg-open): Doc fixes.
3139
3140 * electric.el (electric-indent-mode, electric-pair-mode)
3141 (electric-layout-rules, electric-layout-mode): Doc fixes.
3142 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3143
3144 2012-02-08 Martin Rudalics <rudalics@gmx.at>
3145
3146 * server.el (server-unselect-display): Don't inadvertently kill
3147 the current buffer. (Bug#10729)
3148
3149 2012-02-08 Glenn Morris <rgm@gnu.org>
3150
3151 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3152 (sql-list-table): Doc fixes.
3153
3154 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3155 Comment out (does nothing).
3156
3157 * completion.el (dynamic-completion-mode):
3158 * dirtrack.el (dirtrack-debug-mode):
3159 * electric.el (electric-layout-mode):
3160 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3161 * face-remap.el (text-scale-mode, buffer-face-mode):
3162 * iimage.el (iimage-mode):
3163 * image-mode.el (image-transform-mode):
3164 * minibuffer.el (completion-in-region-mode):
3165 * scroll-lock.el (scroll-lock-mode):
3166 * simple.el (next-error-follow-minor-mode):
3167 * tar-mode.el (tar-subfile-mode):
3168 * tooltip.el (tooltip-mode):
3169 * vcursor.el (vcursor-use-vcursor-map):
3170 * wid-browse.el (widget-minor-mode):
3171 * emulation/tpu-edt.el (tpu-edt-mode):
3172 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3173 * international/iso-ascii.el (iso-ascii-mode):
3174 * language/thai-util.el (thai-word-mode):
3175 * mail/supercite.el (sc-minor-mode):
3176 * net/goto-addr.el (goto-address-mode):
3177 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3178 * progmodes/cwarn.el (cwarn-mode):
3179 * progmodes/flymake.el (flymake-mode):
3180 * progmodes/glasses.el (glasses-mode):
3181 * progmodes/hideshow.el (hs-minor-mode):
3182 * progmodes/pascal.el (pascal-outline-mode):
3183 * textmodes/enriched.el (enriched-mode):
3184 * vc/smerge-mode.el (smerge-mode):
3185 Doc fixes (minor mode argument).
3186
3187 2012-02-07 Eli Zaretskii <eliz@gnu.org>
3188
3189 * ls-lisp.el (ls-lisp-sanitize): New function.
3190 (ls-lisp-insert-directory): Use it to fix or remove any elements
3191 in file-alist with missing attributes. (Bug#4673)
3192
3193 2012-02-07 Alan Mackenzie <acm@muc.de>
3194
3195 Fix spurious recognition of c-in-knr-argdecl.
3196
3197 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3198 putative K&R region.
3199
3200 2012-02-07 Alan Mackenzie <acm@muc.de>
3201
3202 * progmodes/cc-engine.el (c-forward-objc-directive):
3203 Prevent looping in "#pragma mark @implementation".
3204
3205 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
3206
3207 * notifications.el (notifications-on-closed-signal): Make `reason'
3208 optional. (Bug#10744)
3209
3210 2012-02-07 Glenn Morris <rgm@gnu.org>
3211
3212 * emacs-lisp/easy-mmode.el (define-minor-mode):
3213 Doc fixes for the macro and the mode it defines.
3214
3215 * image.el (imagemagick-types-inhibit): Doc fix.
3216
3217 * cus-start.el (imagemagick-render-type): Add it.
3218
3219 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3220
3221 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3222 Set the default at load time, too, so that `font-lock-fontify-buffer'
3223 can be called without setting up the entire mode first. This fixes
3224 a bug in `mm-inline-text' with C MIME parts.
3225
3226 2012-02-06 Chong Yidong <cyd@gnu.org>
3227
3228 * simple.el (list-processes--refresh): Delete exited processes
3229 (Bug#8094).
3230
3231 * comint.el (comint-next-prompt): next-single-char-property-change
3232 and prev-single-char-property-change never return nil (Bug#8657).
3233
3234 * custom.el (defcustom): Doc fix (Bug#9711).
3235
3236 2012-02-05 Chong Yidong <cyd@gnu.org>
3237
3238 * cus-edit.el (custom-variable-reset-backup): Quote the value
3239 before storing it in the customized-value property (Bug#6712).
3240 (custom-display): Add a customization type tag.
3241 (custom-buffer-create-internal): Improve tooltip message.
3242
3243 * wid-edit.el (widget-field-value-get): New optional arg to
3244 suppress trailing whitespace truncation.
3245 (character): Use it (Bug#2689).
3246
3247 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3248
3249 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3250 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3251
3252 2012-02-05 Chong Yidong <cyd@gnu.org>
3253
3254 * cus-edit.el (custom-variable-value-create): For mismatched
3255 types, show the current value (Bug#7600).
3256
3257 * custom.el (defcustom): Doc fix.
3258
3259 2012-02-05 Glenn Morris <rgm@gnu.org>
3260
3261 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3262
3263 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
3264
3265 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3266 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3267 (pp-last-sexp): Use `looking-at-p'.
3268
3269 2012-02-04 Glenn Morris <rgm@gnu.org>
3270
3271 * files.el (revert-buffer):
3272 Doc fix (mention revert-buffer-in-progress-p).
3273
3274 * emacs-lisp/ert-x.el (ert-simulate-command):
3275 Check deferred-action-list (which is obsolete) is bound.
3276
3277 * subr.el (with-wrapper-hook): Doc fixes.
3278
3279 * simple.el (filter-buffer-substring-functions)
3280 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3281
3282 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3283
3284 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3285 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3286
3287 2012-02-04 Leo Liu <sdl.web@gmail.com>
3288
3289 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3290
3291 2012-02-04 Glenn Morris <rgm@gnu.org>
3292
3293 * image.el (image-extension-data): Add obsolete alias.
3294
3295 * isearch.el (isearch-update): Doc fix.
3296
3297 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3298
3299 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3300
3301 2012-02-03 Glenn Morris <rgm@gnu.org>
3302
3303 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3304 (image-animate-timeout): Doc fix.
3305
3306 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3307
3308 2012-02-02 Glenn Morris <rgm@gnu.org>
3309
3310 * server.el (server-auth-dir): Doc fix.
3311 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3312
3313 * subr.el (run-mode-hooks): Doc fix.
3314
3315 2012-02-02 Juri Linkov <juri@jurta.org>
3316
3317 * image-mode.el (image-toggle-display-image): Remove tautological
3318 `major-mode' from the `derived-mode-p' test.
3319
3320 2012-02-02 Kenichi Handa <handa@m17n.org>
3321
3322 * composite.el (compose-region): Cancel previous change.
3323
3324 2012-02-02 Kenichi Handa <handa@m17n.org>
3325
3326 * composite.el (compose-region, compose-string): Signal error for
3327 a null string component (Bug#6988).
3328
3329 2012-02-01 Chong Yidong <cyd@gnu.org>
3330
3331 * view.el (view-buffer-other-window, view-buffer-other-frame):
3332 Handle special modes like view-buffer (Bug#10650).
3333 (view-buffer): Simplify.
3334
3335 * frame.el (set-frame-font): Tweak meaning of third argument.
3336
3337 * dynamic-setting.el (font-setting-change-default-font):
3338 Use set-frame-font (Bug#9982).
3339
3340 2012-02-01 Glenn Morris <rgm@gnu.org>
3341
3342 * progmodes/compile.el (compilation-internal-error-properties):
3343 Respect compilation-first-column in the "*compilation*" buffer.
3344
3345 * emacs-lisp/easy-mmode.el (define-minor-mode):
3346 Relax :variable's test for a named function.
3347
3348 2012-01-31 Alan Mackenzie <acm@muc.de>
3349
3350 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3351 off by one error.
3352
3353 2012-01-31 Chong Yidong <cyd@gnu.org>
3354
3355 * frame.el (set-frame-font): New arg ALL-FRAMES.
3356
3357 * menu-bar.el (menu-set-font): Use set-frame-font.
3358
3359 * faces.el (face-spec-reset-face): Don't apply unspecified
3360 attribute values to the default face.
3361
3362 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
3363
3364 * progmodes/cwarn.el (cwarn): Remove dead link.
3365 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3366 Remove * from defcustom docstrings.
3367 (turn-on-cwarn-mode): Make obsolete.
3368 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3369 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3370
3371 2012-01-31 Glenn Morris <rgm@gnu.org>
3372
3373 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3374 Fix :variable handling of mode a symbol not equal to modefun.
3375 Allow named functions to be used as the cdr of :variable.
3376
3377 2012-01-30 Glenn Morris <rgm@gnu.org>
3378
3379 * emacs-lisp/authors.el (authors-fixed-entries):
3380 Remove reference to deleted file rnewspost.el.
3381
3382 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
3383
3384 * window.el (window-with-parameter): Remove unused variable `windows'.
3385 (window--side-check): Remove unused variable `code'.
3386 (window--resize-siblings): Remove unused variable `first'.
3387 (adjust-window-trailing-edge): Remove unused variable `failed'.
3388 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3389 Use `let', not `let*'.
3390 (balance-windows-2): Remove unused variable `found'.
3391 (window--state-put-2): Remove unused variable `splits'.
3392 (window-state-put): Remove unused variable `selected'.
3393 (same-window-p): Use `string-match-p'.
3394 (display-buffer-assq-regexp): Remove unused variable `value'.
3395 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3396 Mark argument ALIST as ignored.
3397 (pop-to-buffer): Remove unused variable `old-window'.
3398
3399 2012-01-29 Eli Zaretskii <eliz@gnu.org>
3400
3401 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3402 and .lzma compressed files.
3403
3404 2012-01-29 Chong Yidong <cyd@gnu.org>
3405
3406 * frame.el (window-system-default-frame-alist): Doc fix.
3407
3408 * dynamic-setting.el (font-setting-change-default-font): Don't
3409 change the default face if SET-FONT argument is non-nil (Bug#9982).
3410
3411 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3412
3413 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3414
3415 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
3416
3417 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3418 breakpoints in files outside current directory (Bug#6098).
3419
3420 2012-01-29 Chong Yidong <cyd@gnu.org>
3421
3422 * progmodes/python.el: Require ansi-color at top-level.
3423
3424 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3425 Define and use in Emacs Lisp mode (Bug#9360).
3426 (lisp-mode-abbrev-table): Add doc.
3427 (lisp-mode-variables): Don't set local-abbrev-table.
3428 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3429
3430 2012-01-28 Roland Winkler <winkler@gnu.org>
3431
3432 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3433
3434 2012-01-28 Roland Winkler <winkler@gnu.org>
3435
3436 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3437 (bibtex-set-dialect): Use it. Either set global values of
3438 dialect-dependent variables or bind these variables buffer-locally
3439 (Bug#10254).
3440 (bibtex-mode): Call bibtex-set-dialect via
3441 hack-local-variables-hook.
3442 (bibtex-dialect): Update docstring.
3443 Add safe-local-variable predicate.
3444 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3445 bibtex-set-dialect.
3446 (bibtex-mode-map): Define menu for each dialect.
3447 (bibtex-entry): Fix docstring.
3448
3449 2012-01-28 Chong Yidong <cyd@gnu.org>
3450
3451 * eshell/esh-arg.el (eshell-quote-argument): New function.
3452
3453 * eshell/esh-ext.el (eshell-invoke-batch-file):
3454 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3455 first arg to eshell-parse-command (Bug#10523).
3456
3457 2012-01-28 Drew Adams <drew.adams@oracle.com>
3458
3459 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3460 `default-directory' is non-nil.
3461
3462 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3463
3464 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3465 line that displays system-configuration-options. (Bug#9924)
3466
3467 2012-01-28 Drew Adams <drew.adams@oracle.com>
3468
3469 * descr-text.el (describe-char): Show information about POS, in
3470 addition to information about the character at POS. Improve and
3471 update the doc string. Change "code point" to "code point in
3472 charset", to avoid confusion with the character's Unicode code
3473 point shown above that. (Bug#10129)
3474
3475 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3476
3477 * descr-text.el (describe-char): Show the raw character, not only
3478 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3479 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3480 for the reasons.
3481
3482 2012-01-28 Phil Hagelberg <phil@hagelb.org>
3483
3484 * emacs-lisp/package.el (package-install):
3485 Run package-refresh-contents if there is no archive yet (Bug#9798).
3486
3487 2012-01-28 Chong Yidong <cyd@gnu.org>
3488
3489 * emacs-lisp/package.el (package-maybe-load-descriptor):
3490 New function, split from package-maybe-load-descriptor.
3491 (package-maybe-load-descriptor): Use it.
3492 (package-download-transaction): Fully load required packages
3493 inside the loop, so that `require' calls work (Bug#10593).
3494 (package-install): No need to call package-initialize now.
3495
3496 2012-01-28 Chong Yidong <cyd@gnu.org>
3497
3498 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3499
3500 * tooltip.el (tooltip-mode): Doc fix.
3501 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3502
3503 * frame.el (set-cursor-color): Doc fix (Bug#352).
3504
3505 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3506 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3507
3508 * cus-edit.el (custom-buffer-create-internal): Fix search button
3509 action (Bug#10542).
3510 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
3511
3512 2012-01-27 Eduard Wiebe <usenet@pusto.de>
3513
3514 * dired.el (dired-mark-files-regexp):
3515 Include any subdirectory components. (Bug#10445)
3516
3517 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3518
3519 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3520 Handle [host]:port syntax. (Bug#10533)
3521
3522 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
3523
3524 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3525
3526 2012-01-26 Glenn Morris <rgm@gnu.org>
3527
3528 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3529 * term.el (term-raw-escape-map): Use Control-X-prefix.
3530 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3531
3532 2012-01-25 Martin Rudalics <rudalics@gmx.at>
3533
3534 * window.el (window-state-get, window--state-get-1): Don't deal
3535 with fixed-sizeness of windows. Simplify code.
3536
3537 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3538
3539 * window.el (window--state-get-1, window--state-put-2):
3540 Don't save and restore the mark.
3541
3542 2012-01-25 Chong Yidong <cyd@gnu.org>
3543
3544 * custom.el (custom-variable-p): Doc fix.
3545
3546 2012-01-25 Glenn Morris <rgm@gnu.org>
3547
3548 * dired.el (dired-goto-file): Handle some of the more common
3549 characters that `ls -b' escapes. (Bug#10596)
3550
3551 * progmodes/compile.el (compilation-next-error-function):
3552 Respect compilation-first-column in the "*compilation*" buffer.
3553 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3554
3555 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3556
3557 2012-01-24 Glenn Morris <rgm@gnu.org>
3558
3559 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3560
3561 2012-01-24 Julien Danjou <julien@danjou.info>
3562
3563 * color.el (color-rgb-to-hsl): Fix value computing.
3564 (color-hue-to-rgb): New function.
3565 (color-hsl-to-rgb): New function.
3566 (color-clamp, color-saturate-hsl, color-saturate-name)
3567 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3568 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3569
3570 2012-01-24 Glenn Morris <rgm@gnu.org>
3571
3572 * vc/vc-rcs.el (vc-rcs-create-tag):
3573 * vc/vc-sccs.el (vc-sccs-create-tag):
3574 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3575
3576 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3577
3578 * eshell/esh-util.el (eshell-read-hosts-file):
3579 Skip comment lines. (Bug#10549)
3580
3581 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3582
3583 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
3584
3585 * subr.el (display-delayed-warnings): Doc fix.
3586 (collapse-delayed-warnings): New function to collapse identical
3587 adjacent warnings.
3588 (delayed-warnings-hook): Add it.
3589
3590 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
3591
3592 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3593
3594 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3595 properties, when "login-as" is set.
3596
3597 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3598 (tramp-default-user-alist): Don't add "pscp".
3599 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3600 property "login-as", if set. (Bug#10530)
3601
3602 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
3603
3604 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3605 "plink1" and "psftp". (Bug#10530)
3606
3607 2012-01-21 Kenichi Handa <handa@m17n.org>
3608
3609 * international/mule-cmds.el (prefer-coding-system): Show a
3610 warning message if the default value of file-name-coding-system
3611 was not changed.
3612
3613 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3614
3615 * windmove.el (windmove-reference-loc):
3616 Fix windmove-reference-loc miscalculation.
3617
3618 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3619
3620 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3621 default unit.
3622
3623 2012-01-21 Glenn Morris <rgm@gnu.org>
3624
3625 * international/mule.el (auto-coding-alist): Add .tbz.
3626
3627 * files.el (local-enable-local-variables): Doc fix.
3628 (inhibit-local-variables-regexps): Rename from
3629 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3630 Doc fix. Add some extensions from auto-coding-alist.
3631 (inhibit-local-variables-suffixes):
3632 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3633 (inhibit-local-variables-p):
3634 New function, extracted from set-auto-mode-1.
3635 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3636 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3637 (hack-local-variables): Doc fix. Make the mode-only case
3638 respect enable-local-variables and friends.
3639 Respect inhibit-local-variables-regexps for file-locals, but
3640 not for directory-locals.
3641 (set-visited-file-name):
3642 Take account of inhibit-local-variables-regexps.
3643 Whether it applies may change as the file name is changed.
3644 * jka-cmpr-hook.el (jka-compr-install):
3645 * jka-compr.el (jka-compr-uninstall):
3646 Update for inhibit-first-line-modes-suffixes name change.
3647
3648 2012-01-20 Martin Rudalics <rudalics@gmx.at>
3649
3650 * help-macro.el (make-help-screen): Temporarily restore original
3651 binding for minor-mode-map-alist (Bug#10454).
3652
3653 2012-01-19 Julien Danjou <julien@danjou.info>
3654
3655 * color.el (color-name-to-rgb): Use the white color to find the max
3656 color component value and return correctly computed values.
3657 (color-name-to-rgb): Add missing float conversion for max value.
3658
3659 2012-01-19 Martin Rudalics <rudalics@gmx.at>
3660
3661 * window.el (window--state-get-1, window-state-get): Do not use
3662 special state value for window-persistent-parameters.
3663 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
3664 (window--state-put-2): Reset all window parameters to nil before
3665 assigning values of persistent parameters.
3666
3667 2012-01-18 Alan Mackenzie <acm@muc.de>
3668
3669 Eliminate sluggishness and hangs in fontification of "semicolon
3670 deserts".
3671
3672 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3673 Change value 10000 -> 3000.
3674 (c-state-safe-place): Reformulate so it doesn't stack up an
3675 infinite number of wrong entries in c-state-nonlit-pos-cache.
3676 (c-determine-limit-get-base, c-determine-limit): New functions to
3677 determine backward search limits disregarding literals.
3678 (c-find-decl-spots): Amend commenting.
3679 (c-cheap-inside-bracelist-p): New function which detects "={".
3680
3681 * progmodes/cc-fonts.el
3682 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3683 backward search.
3684 (c-font-lock-declarations): Fix an occurrence of point being
3685 undefined. Check additionally for point being in a bracelist or
3686 near a macro invocation without a semicolon so as to avoid a
3687 fruitless time consuming search for a declarator. Give a more
3688 precise search limit for declarators using the new
3689 c-determine-limit.
3690
3691 2012-01-18 Glenn Morris <rgm@gnu.org>
3692
3693 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3694 (set-auto-mode): Doc fixes.
3695
3696 2012-01-17 Glenn Morris <rgm@gnu.org>
3697
3698 * isearch.el (search-nonincremental-instead): Fix doc typo.
3699
3700 * dired.el (dired-insert-directory): Handle newlines in directory name.
3701 (dired-build-subdir-alist): Unescape newlines in directory name.
3702
3703 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
3704
3705 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3706 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3707 (tramp-action-terminal): Use it. (Bug#10530)
3708
3709 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3710
3711 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3712
3713 2012-01-16 Martin Rudalics <rudalics@gmx.at>
3714
3715 * window.el (window-state-ignored-parameters): Remove variable.
3716 (window--state-get-1): Rename argument MARKERS to IGNORE.
3717 Handle persistent window parameters. Make copy of clone-of
3718 parameter only if requested. (Bug#10348)
3719 (window--state-put-2): Install a window parameter only if it has
3720 a non-nil value or an existing parameter shall be overwritten.
3721
3722 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
3723
3724 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3725
3726 2012-01-14 Eli Zaretskii <eliz@gnu.org>
3727
3728 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3729 don't pass the (nil) value of `upnode' to string-match.
3730
3731 2012-01-14 Chong Yidong <cyd@gnu.org>
3732
3733 * startup.el (command-line): Fix X resource class for cursorColor.
3734 Fix values recognized by the cursorBlink resource.
3735
3736 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3737
3738 * epg.el (epg--make-temp-file): Avoid permission race condition
3739 when running on old Emacs versions (bug#10403).
3740
3741 2012-01-14 Glenn Morris <rgm@gnu.org>
3742
3743 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3744
3745 2012-01-13 Alan Mackenzie <acm@muc.de>
3746
3747 Fix filling for when filladapt mode is enabled.
3748
3749 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3750 c-mask-paragraph, pass in `fill-paragraph' rather than
3751 `fill-region-as-paragraph'. (This is a reversion of a previous
3752 change.)
3753 * progmodes/cc-mode.el (c-basic-common-init):
3754 Make fill-paragraph-handle-comment buffer local and set it to nil.
3755
3756 2012-01-13 Glenn Morris <rgm@gnu.org>
3757
3758 * dired.el (dired-switches-escape-p): New function.
3759 (dired-insert-directory): Use dired-switches-escape-p.
3760 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3761
3762 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3763
3764 2012-01-12 Glenn Morris <rgm@gnu.org>
3765
3766 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3767 changes in adaptive-fill-regexp. (Bug#10276)
3768
3769 2012-01-11 Alan Mackenzie <acm@muc.de>
3770
3771 Fix Emacs bug #10463 - put `widen's around the critical spots.
3772
3773 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3774 widen around each invocation of c-state-pp-to-literal. Remove an
3775 unused let variable.
3776
3777 2012-01-11 Glenn Morris <rgm@gnu.org>
3778
3779 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3780 Doc fix.
3781
3782 2012-01-10 Chong Yidong <cyd@gnu.org>
3783
3784 * net/network-stream.el (network-stream-open-starttls):
3785 Avoid emitting a confusing error message when the server gives a bad
3786 response to the capability command.
3787
3788 2012-01-10 Glenn Morris <rgm@gnu.org>
3789
3790 * mail/unrmail.el (unrmail): Tweak previous change.
3791
3792 2012-01-09 Chong Yidong <cyd@gnu.org>
3793
3794 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3795
3796 2012-01-08 Alan Mackenzie <acm@muc.de>
3797
3798 Optimise font locking in long enum definitions.
3799
3800 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3801 arm to a cond form to handle enums.
3802 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3803 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3804
3805 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3806
3807 * files.el (move-file-to-trash): Preserve default file modes on error.
3808 (Bug#10401)
3809
3810 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3811
3812 * faces.el (set-face-attribute): Clarify the meaning of the nil
3813 frame (bug#10294).
3814
3815 * subr.el (with-selected-frame): Mention that the selected frame
3816 is restored (bug#9980).
3817
3818 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3819 (bug#9759).
3820
3821 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3822 (password-read): Don't autoload unused function.
3823
3824 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3825
3826 * progmodes/which-func.el (which-func-mode): Turn into a
3827 non-interactive function and mark as obsolete (bug#10428).
3828
3829 2012-01-06 Chong Yidong <cyd@gnu.org>
3830
3831 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3832 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3833 functions, along with 1 and -1.
3834
3835 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3836
3837 * time.el (display-time-load-average)
3838 (display-time-default-load-average): Doc fixes. See the thread
3839 starting at
3840 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3841 for the details.
3842
3843 2012-01-06 Glenn Morris <rgm@gnu.org>
3844
3845 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3846 has no messages. (Bug#10377)
3847
3848 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3849 than Info-edit. (Bug#10385)
3850
3851 * time.el (display-time-load-average, display-time-next-load-average):
3852 Doc fixes.
3853
3854 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3855 local setting of buffer-read-only to the input buffer. (Bug#10419)
3856
3857 * calendar/calendar.el (calendar-mode):
3858 Locally set scroll-margin to 0. (Bug#10379)
3859
3860 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3861
3862 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3863
3864 2012-01-05 Glenn Morris <rgm@gnu.org>
3865
3866 * eshell/em-unix.el (diff-no-select): Autoload it.
3867 (eshell/diff): Use diff-no-select. (Bug#10420)
3868
3869 2012-01-05 Chong Yidong <cyd@gnu.org>
3870
3871 * shell.el (shell-dynamic-complete-functions): Revert last change.
3872 (shell-command-completion-function): New function.
3873 (shell-completion-vars): Use it to implement
3874 shell-completion-execonly (Bug#10417).
3875
3876 * custom.el (enable-theme): Don't set custom-safe-themes.
3877
3878 * cus-theme.el (custom-theme-merge-theme):
3879 Ignore custom-enabled-themes and custom-safe-themes.
3880
3881 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3882
3883 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3884 first prompt in `sql-interacive-mode'.
3885 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3886 keywords.
3887 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3888 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3889 context of original buffer. Invoke `sql-login-hook'.
3890
3891 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3892
3893 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3894 letters in cite-prefix.
3895
3896 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3897
3898 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3899
3900 2012-01-03 Chong Yidong <cyd@gnu.org>
3901
3902 * shell.el (shell-dynamic-complete-functions):
3903 Put pcomplete-completions-at-point, so as to try
3904 comint-filename-completion first (Bug#10417).
3905
3906 2012-01-02 Richard Stallman <rms@gnu.org>
3907
3908 * battery.el (battery-status-function):
3909 Detect when to use battery-yeeloong-sysfs.
3910 (battery-echo-area-format): Add string for Yeeloong.
3911 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3912 (battery-yeeloong-sysfs): New function.
3913
3914 2012-01-02 Chong Yidong <cyd@gnu.org>
3915
3916 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3917 (dirtrack): Merge code for handling relative filenames in prompt
3918 from shell-dir-cookie-watcher.
3919 (dirtrack-debug-message): New arg to avoid excess format calls.
3920
3921 * shell.el (shell-dir-cookie-re): Variable deleted.
3922 (shell-dir-cookie-watcher): Function deleted.
3923 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3924 with dirtrack-mode.
3925
3926 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3927
3928 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3929 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3930 libgnutls-26.dll.
3931
3932 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3933
3934 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3935
3936 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3937
3938 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3939 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3940
3941 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3942
3943 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3944 also for alternative shells.
3945 (tramp-open-connection-setup-interactive-shell): Check, whether
3946 the shell is a busybox.
3947 (tramp-send-command): Don't suppress multiple prompts for
3948 busyboxes, it hurts.
3949
3950 2011-12-28 Chong Yidong <cyd@gnu.org>
3951
3952 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3953 (gdb-get-source-file): Move mode line update to
3954 gdb-get-source-file (Bug#10087).
3955
3956 2011-12-25 Chong Yidong <cyd@gnu.org>
3957
3958 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3959 gud-gdb-marker-filter without taking it as an argument.
3960 (gud-gdb-run-command-fetch-lines): Caller changed.
3961 (gud-gdb-completion-function): New variable.
3962 (gud-gdb-completion-at-point): Use it.
3963 (gud-gdb-completions-1): Split from gud-gdb-completions.
3964
3965 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3966 function as separate arguments.
3967 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3968 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3969 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3970 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3971 (gdb-stopped, def-gdb-auto-update-trigger)
3972 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3973 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3974 Callers changed.
3975 (gud-gdbmi-completions): New function.
3976 (gdb): Use it for generating the completion table.
3977
3978 2011-12-24 Alan Mackenzie <acm@muc.de>
3979
3980 Introduce a mechanism to widen the region used in context font
3981 locking. Use this to protect declarations from losing their contexts.
3982
3983 * progmodes/cc-langs.el (c-before-font-lock-functions):
3984 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3985 (c-before-context-fontification-functions): New defvar, a list of
3986 functions to be run just before context (etc.) font locking.
3987
3988 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3989 New, functionality extracted from
3990 c-neutralize-syntax-in-and-mark-CPP.
3991 (c-in-after-change-fontification): New variable.
3992 (c-after-change): Set c-in-after-change-fontification.
3993 (c-set-fl-decl-start): Rejig its interface, so it can be called
3994 from both after-change and context fontifying.
3995 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3996 New functions.
3997 (c-standard-font-lock-fontify-region-function): New variable.
3998 (c-font-lock-fontify-region): New function.
3999
4000 2011-12-24 Juri Linkov <juri@jurta.org>
4001
4002 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4003 (Bug#10348)
4004
4005 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
4006
4007 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4008 existence of source file. (Bug#10325)
4009
4010 2011-12-23 Alan Mackenzie <acm@muc.de>
4011
4012 Fix unstable fontification inside templates.
4013
4014 * progmodes/cc-langs.el (c-before-font-lock-functions):
4015 Newly created from the singular version. The (c c++ objc) entry now
4016 additionally has c-set-fl-decl-start. The other languages (apart
4017 from AWK) have that as a single entry.
4018
4019 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4020 The functionality for "local" declarations has been extracted to
4021 c-set-fl-decl-start.
4022
4023 * progmodes/cc-mode.el (c-common-init, c-after-change):
4024 Changes due to pluralisation of c-before-font-lock-functions.
4025 (c-set-fl-decl-start): New function, extracted from
4026 c-font-lock-enclosing-decls and enhanced.
4027
4028 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
4029
4030 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4031
4032 2011-12-22 Juri Linkov <juri@jurta.org>
4033
4034 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4035
4036 2011-12-22 Chong Yidong <cyd@gnu.org>
4037
4038 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4039
4040 2011-12-21 Drew Adams <drew.adams@oracle.com>
4041
4042 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4043
4044 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4045
4046 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4047
4048 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4049
4050 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4051 highlighting and support. Fix up comments for capitalization.
4052 (cfengine-mode-debug): New var.
4053 (cfengine3-mode): Change the modeline indicator to "CFE3".
4054 (cfengine3-font-lock-keywords): Improve defun highlighting.
4055 (cfengine2-actions): Rename from `cfengine-actions'.
4056 (cfengine2-font-lock-keywords): Rename from
4057 `cfengine-font-lock-keywords'.
4058 (cfengine2-imenu-expression): Rename from
4059 `cfengine-imenu-expression'.
4060 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4061 (cfengine2-beginning-of-defun): Rename from
4062 `cfengine-beginning-of-defun'.
4063 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4064 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4065 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4066 modeline indicator to "CFE2".
4067 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4068 (cfengine-mode-abbrevs): Mark obsolete.
4069
4070 2011-12-21 Chong Yidong <cyd@gnu.org>
4071
4072 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4073 filename argument.
4074
4075 2011-12-20 Martin Rudalics <rudalics@gmx.at>
4076
4077 * window.el (window-normalize-buffer-to-display): Remove.
4078 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4079
4080 2011-12-19 Chong Yidong <cyd@gnu.org>
4081
4082 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4083 Don't signal an error in a predicate function; return non-nil.
4084 (vc-dir-mark-file): Move the error here.
4085 (vc-dir-mark-unmark): If acting on the region, keep going if one
4086 of the entries cannot be marked/unmarked.
4087 (vc-dir-mark-all-files): If current entry is a directory, mark
4088 only child files, as documented.
4089
4090 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4091
4092 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4093 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4094 addition.
4095
4096 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4097
4098 * term/ns-win.el (ns-get-selection-internal)
4099 (ns-store-selection-internal): Declare.
4100 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4101 Declare as obsolete.
4102 (ns-get-pasteboard, ns-paste-secondary):
4103 Use ns-get-selection-internal.
4104 (ns-set-pasteboard, ns-copy-including-secondary):
4105 Use ns-store-selection-internal.
4106
4107 2011-12-17 Chong Yidong <cyd@gnu.org>
4108
4109 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
4110 (vc-deduce-fileset): Doc fix.
4111
4112 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4113
4114 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4115
4116 2011-12-13 Sam Steingold <sds@gnu.org>
4117
4118 * man.el (Man-getpage-in-background): When running under a
4119 window-system, ignore $MANWIDTH and $COLUMNS.
4120
4121 2011-12-15 Kenichi Handa <handa@m17n.org>
4122
4123 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4124 (setup-ethiopic-environment-internal): Comment out key-binding for
4125 ethio-toggle-punctuation.
4126
4127 2011-12-13 Alan Mackenzie <acm@muc.de>
4128
4129 Add the switch statement to AWK Mode.
4130
4131 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
4132 "default" to the keywords regexp.
4133
4134 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
4135 expression as the rest.
4136 (c-nonlabel-token-key): Allow string literals for AWK.
4137 Refactor for the other modes.
4138
4139 Large brace-block initialisation makes CC Mode slow: Fix.
4140 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
4141 routines. Limit backward searching in c-font-lock-enclosing.decl.
4142
4143 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4144 pp-state and literal type in addition to the limits.
4145 (c-state-safe-place): New defun, extracted from c-state-literal-at.
4146 (c-state-literal-at): Use the above new defun.
4147 (c-slow-in-literal, c-fast-in-literal): Remove.
4148 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
4149
4150 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4151 being in a literal. Add a limit for backward searching.
4152
4153 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4154 c-slow-in-literal.
4155
4156 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4157
4158 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4159
4160 2011-12-13 Martin Rudalics <rudalics@gmx.at>
4161
4162 * window.el (delete-other-windows): Use correct frame in call to
4163 window-with-parameter.
4164
4165 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4166
4167 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4168 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4169 (makefile-gmake-statements, makefile-makepp-statements):
4170 Use it and add new makepp keywords.
4171 (makefile-makepp-font-lock-keywords): Add new patterns.
4172 (makefile-match-function-end): Match new [...] and [[...]].
4173
4174 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
4175
4176 * ses.el (ses-call-printer-return, ses-cell-property-get)
4177 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4178 (ses-create-cell-variable, ses-reset-header-string)
4179 (ses-cell-set-formula, ses-repair-cell-reference-all)
4180 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4181 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4182 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4183 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4184 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4185 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4186 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4187 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4188 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4189 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4190 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4191 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4192
4193 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4194
4195 * ses.el: The overall change is to add cell renaming, that is
4196 setting fancy names for cell symbols other than name matching
4197 "\\`[A-Z]+[0-9]+\\'" regexp .
4198 (ses-create-cell-variable): New defun.
4199 (ses-relocate-formula): Relocate formulas only for cells the
4200 symbols of which are not renamed, i.e. symbols whose names do not
4201 match regexp "\\`[A-Z]+[0-9]+\\'".
4202 (ses-relocate-all): Relocate values only for cells the symbols of
4203 which are not renamed.
4204 (ses-load): Create cells variables as the (ses-cell ...) are read,
4205 in order to check row col consistency with cell symbol name only
4206 for cells that are not renamed.
4207 (ses-replace-name-in-formula): New defun.
4208 (ses-rename-cell): New defun.
4209
4210 2011-12-11 Chong Yidong <cyd@gnu.org>
4211
4212 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4213 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4214
4215 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4216
4217 * window.el (other-window): Fix docstring.
4218
4219 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4220
4221 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
4222 `from' or `to' address before taking its substring.
4223 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
4224 encoded name is chopped in the middle of the encoded string, and
4225 thus displayed encoded.
4226
4227 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
4228
4229 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4230
4231 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4232
4233 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4234 to use texinfo-update-node and commands that call it if the
4235 Texinfo file uses @node lines without next/prev/up pointers.
4236 Correct outdated description about texinfo-master-menu.
4237 (texinfo-all-menus-update, texinfo-master-menu)
4238 (texinfo-update-node, texinfo-every-node-update)
4239 (texinfo-multiple-files-update): Doc fix. Warn against updating
4240 all the @node lines.
4241 (texinfo-master-menu): Only call texinfo-update-node if the prefix
4242 argument is numeric. Explain better in the doc string what the
4243 function really does.
4244 (texinfo-insert-master-menu-list): Improve the error message
4245 displayed if there's no menu in the Top node.
4246 (Bug#2975) See also this thread:
4247 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4248
4249 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4250
4251 * speedbar.el (speedbar-supported-extension-expressions):
4252 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4253
4254 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
4255
4256 * printing.el (pr-mode-alist):
4257 * simple.el (filter-buffer-substring-functions)
4258 (completion-list-insert-choice-function):
4259 * window.el (window-with-parameter, window-atom-root)
4260 (window-sides-slots, window-size-fixed, window-min-delta)
4261 (window-max-delta, window--resize-mini-window)
4262 (window--resize-child-windows-normal, window-tree)
4263 (delete-other-windows, quit-window, split-window)
4264 (display-buffer-record-window, special-display-buffer-names)
4265 (special-display-regexps, special-display-popup-frame)
4266 (same-window-p, split-window-sensibly)
4267 (display-buffer-overriding-action, display-buffer-alist)
4268 (display-buffer-base-action, display-buffer, switch-to-buffer)
4269 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4270 (fit-window-to-buffer, recenter-positions)
4271 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4272 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4273 and remove unneeded backslashes in docstrings.
4274
4275 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4276
4277 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4278
4279 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4280 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4281 end in ".mk".
4282 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4283 when reading the makefile (bug#10116).
4284
4285 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4286
4287 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4288 (bug#10116).
4289
4290 2011-12-06 Glenn Morris <rgm@gnu.org>
4291
4292 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4293
4294 2011-12-06 Chong Yidong <cyd@gnu.org>
4295
4296 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4297
4298 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
4299
4300 * textmodes/table.el (table-shorten-cell): Fix typo.
4301
4302 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4303
4304 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4305
4306 2011-12-05 Eli Zaretskii <eliz@gnu.org>
4307
4308 * descr-text.el (describe-char): Fix display of strong
4309 right-to-left characters and directional embeddings and overrides.
4310
4311 * simple.el (what-cursor-position): Fix display of codepoints of
4312 strong right-to-left characters.
4313
4314 2011-12-05 Chong Yidong <cyd@gnu.org>
4315
4316 * faces.el (read-color): Doc fix.
4317
4318 2011-12-05 Glenn Morris <rgm@gnu.org>
4319
4320 * align.el (align--set-marker): Add doc-string.
4321 Don't try to move something that is not a marker. (Bug#10216)
4322
4323 2011-12-04 Glenn Morris <rgm@gnu.org>
4324
4325 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4326 overly zealous deletion of trailing whitespace.
4327
4328 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
4329
4330 * server.el (server-delete-client): On Windows, do not try to delete
4331 the only terminal.
4332 (server-process-filter): On Windows, treat requests for a tty frame as
4333 if they were for a GUI frame if the running server is in GUI mode.
4334
4335 2011-12-03 Glenn Morris <rgm@gnu.org>
4336
4337 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4338
4339 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4340
4341 * electric.el: Streamline electric-indent's hook.
4342 (electric-indent-chars): Revert to simple list.
4343 (electric-indent-functions): New var.
4344 (electric-indent-post-self-insert-function): Use it.
4345
4346 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4347 there's no inferior buffer (bug#10196).
4348 (prolog-consult-compile): Don't use toggle-read-only.
4349
4350 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
4351
4352 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4353 interrupt. (Bug#10187)
4354
4355 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4356
4357 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4358 (bug#9160).
4359
4360 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4361 (bug#10191).
4362
4363 2011-12-02 Juri Linkov <juri@jurta.org>
4364
4365 * info.el (Info-search): Display "end of manual" when Isearch
4366 reaches the end of single-file Info manual. (Bug#9918)
4367
4368 2011-12-02 Eli Zaretskii <eliz@gnu.org>
4369
4370 * isearch.el (isearch-message-prefix): Run the input method part
4371 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4372
4373 2011-12-02 Juri Linkov <juri@jurta.org>
4374
4375 * isearch.el (isearch-occur): Use `word-search-regexp' for
4376 `isearch-word'.
4377 (isearch-search-and-update): Add condition for `isearch-word' and
4378 call `word-search-regexp'. (Bug#10145)
4379
4380 2011-12-01 Glenn Morris <rgm@gnu.org>
4381
4382 * eshell/em-hist.el (eshell-hist-initialize):
4383 Handle eshell-history-size nil and HISTSIZE set or unset.
4384 (eshell-history-file-name, eshell-history-size): Fix custom type.
4385
4386 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4387
4388 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4389
4390 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
4391
4392 * progmodes/verilog-mode.el (verilog-pretty-expr):
4393 Rework verilog-pretty-expr to handle new assignment operators in system
4394 verilog, such as += *= and the like.
4395 (verilog-assignment-operator-re): Regular expression to find the
4396 assigment operator in a verilog assignment.
4397 (verilog-assignment-operation-re): Regular expression to find an
4398 assignment statement for pretty-expr.
4399 (verilog-in-attribute-p): Query returns true if point is in an
4400 attribute context; used to skip these for expression line up from
4401 pretty-expr.
4402 (verilog-in-parameter-p): Query returns true if point is in an
4403 parameter definition context; used to skip these for expression
4404 line up from pretty-expr.
4405 (verilog-in-parenthesis-p): Query returns true if point is in a
4406 parenthetical expression, specifically ( ) but not [ ] or { };
4407 used by pretty-expr.
4408 (verilog-just-one-space): If there is no space, don't add one.
4409 (verilog-get-lineup-indent-2): Specifically skip just attribute
4410 contexts for expression lineup, rather than skipping all
4411 parenthetical expressions.
4412 (verilog-calculate-indent): Fix comment, and fix indent.
4413 (verilog-do-indent): Indent declarations in lists (suggested by
4414 Joachim Lechner).
4415 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4416 skeleton items.
4417 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4418 by Alain Mellan).
4419
4420 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
4421
4422 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4423 parameters with embedded comments. Reported by Ray Stevens.
4424 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4425 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4426 Reported by Tim Holt.
4427 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4428 instantiated by upper module causing wrong expansion until AUTOed a
4429 second time. Reported by K C Buckenmaier.
4430 (verilog-diff-auto): Fix showing .* as a difference when
4431 `verilog-auto-star-save' off. Reported by Dan Dever.
4432 (verilog-auto-reset, verilog-read-always-signals)
4433 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4434 temporary signals in reset list if
4435 verilog-auto-reset-blocking-in-non is nil, and match assignment
4436 style to each signal's assignment type, bug381.
4437 Reported by Thomas Esposito.
4438 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4439 (verilog-uvm-statement-re): Support UVM indentation and
4440 highlighting, with old OVM keywords only.
4441 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
4442 Support AUTOTIEOFF creating non-wire data types.
4443 Suggested by Jonathan Greenlaw.
4444 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4445 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4446 (verilog-inject-sense, verilog-read-inst-pins)
4447 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4448 Fix mismatching parenthesis inside commented out code when deleting
4449 AUTOINST, bug383. Reported by Jonathan Greenlaw.
4450 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4451 non-numeric vector width. Reported by Alex Reed.
4452 (verilog-auto-ascii-enum): Add "onehot" option to work around not
4453 detecting signals with parameter widths. Reported by Alex Reed.
4454 (verilog-auto-delete-trailing-whitespace):
4455 With `verilog-auto-delete-trailing-whitespace' remove trailing
4456 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4457 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4458 Fix verilog-scan-cache corruption when running user AUTO expansion
4459 hooks that call indentation routines.
4460 (verilog-simplify-range-expression): Fix typo ignoring lower case
4461 identifiers.
4462 (verilog-delete-auto): Fix delete-autos to also remove user created
4463 automatics, as long as they start with AUTO.
4464 (verilog-batch-diff-auto, verilog-diff-auto)
4465 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4466 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4467 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4468 (verilog-in-paren-quick, verilog-re-search-backward-quick)
4469 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4470 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
4471 is disabled and its cache will get corrupt, causing AUTOS not to
4472 expand. Instead use only -quick functions.
4473 (verilog-scan-region): Fix scanning over escaped quotes.
4474 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4475 (verilog-re-search-backward-quick)
4476 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4477 related functions now ignore strings, to fix misparsing of strings
4478 with magic comments embedded in them.
4479 (verilog-read-auto-template):
4480 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4481 Reported by Brad Dobbie.
4482 (verilog-read-auto-template):
4483 Fix 'verilog-auto-inst-template-numbers' with comments.
4484 Reported by Brad Dobbie.
4485 (verilog-auto-inst, verilog-auto-inst-param)
4486 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4487 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4488 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
4489 debugging templates without merge conflicts, bug357.
4490 Reported by Brad Dobbie.
4491 (verilog-read-auto-template):
4492 Fix verilog-auto-inst-template-numbers with multiple templates.
4493 Reported by Brad Dobbie.
4494 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4495 abbrevs so user won't be asked to save.
4496 (verilog-read-auto-lisp-present): Fix to start at beginning of
4497 buffer in case called outside of verilog-auto.
4498 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4499 to "X-2". Reported by Matthew Myers.
4500 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4501 all inputs from module templates. Reported by Leith Johnson.
4502 (verilog-module-inside-filename-p): Fix locating programs as with
4503 modules.
4504 (verilog-auto-inst-port): Fix vl-width expressions when using
4505 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4506 (verilog-decls-get-regs, verilog-decls-get-signals,
4507 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4508 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4509 verilog-read-decls): Combine reg and wire structures into one var
4510 structure to represent SystemVerilog concepts.
4511 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4512 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
4513 (verilog-auto-wire-type, verilog-insert-definition):
4514 Add verilog-auto-wire-type and AUTOLOGIC to support using
4515 SystemVerilog "logic" keyword instead of "wire"/"reg".
4516 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4517 to declares outputs that also have assignments (presumably in an
4518 ifdef or generate if so there's not a driver conflict).
4519 Reported by Matthew Myers.
4520 (verilog-auto-declare-nettype, verilog-insert-definition):
4521 Add verilog-auto-declare-nettype to fix declarations using
4522 `default_nettype none. Reported by Julian Gorfajn.
4523 (verilog-read-always-signals-recurse, verilog-read-decls)
4524 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4525 malformed end statement, bug325. Reported by Joshua Wise and
4526 Andrew Drake.
4527 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4528 (verilog-inst-comment-re): Fix not deleting Interfaced comment
4529 when expanding .* in interfaces, bug320.
4530 Reported by Pierre-David Pfister.
4531 (verilog-read-module-name): Fix import statements between module
4532 name and open parenthesis, bug317.
4533 Reported by Pierre-David Pfister.
4534 (verilog-simplify-range-expression): Fix simplification of
4535 multiplications inside AUTOWIRE connections, bug303.
4536 (verilog-auto-inst-port): Support parameter expansion in
4537 multidimensional arrays.
4538 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4539 after "assert property". Reported by Julian Gorfajn.
4540 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4541 with multiplication, bug303.
4542 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4543 Reported by Jan Frode Lonnum.
4544
4545 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
4546
4547 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4548 (hfy-shell-file-name, hfy-shell):
4549 * international/fontset.el (x-decompose-font-name): Fix typos.
4550
4551 2011-11-29 Ken Brown <kbrown@cornell.edu>
4552
4553 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4554 (gdb-version): Remove defvar.
4555 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4556 (gdb-gud-context-command, gdb-non-stop-handler)
4557 (gdb-current-context-command, gdb-stopped): Use it.
4558 (gdb-init-1): Enable pretty printing here.
4559 (gdb-non-stop-handler): Don't enable pretty-printing here.
4560 Check to see if the target supports non-stop mode; if not, turn off
4561 non-stop mode. Use the following.
4562 (gdb-check-target-async): New defun.
4563 (gud-watch, gdb-stopped): Fix whitespace.
4564 (gdb-get-source-file): Don't try to display the source file if
4565 `gdb-main-file' is nil.
4566
4567 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4568
4569 * align.el: Try to generate fewer markers (bug#10047).
4570 (align--set-marker): New macro.
4571 (align-region): Use it.
4572
4573 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4574
4575 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4576
4577 2011-11-29 Chong Yidong <cyd@gnu.org>
4578
4579 * indent.el (indent-for-tab-command, indent-according-to-mode):
4580 Doc fix.
4581 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4582
4583 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
4584
4585 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4586 aware of remote file names. (Bug#10124)
4587
4588 2011-11-29 Chong Yidong <cyd@gnu.org>
4589
4590 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4591
4592 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4593
4594 * files.el (find-file): Don't use force-same-window (bug#10144).
4595 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4596 use pop-to-buffer if the selected window can't be used.
4597 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4598
4599 2011-11-28 Eli Zaretskii <eliz@gnu.org>
4600
4601 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4602 special-mode-map.
4603
4604 2011-11-28 Chong Yidong <cyd@gnu.org>
4605
4606 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4607
4608 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
4609
4610 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4611 gdb-get-source-file-list on gdb-create-source-file-list.
4612
4613 2011-11-26 Eli Zaretskii <eliz@gnu.org>
4614
4615 * whitespace.el (whitespace-newline): Use a different foreground
4616 color for 16-color light-background displays.
4617
4618 2011-11-24 Chong Yidong <cyd@gnu.org>
4619
4620 * window.el (display-buffer--special-action): Doc fix.
4621
4622 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
4623
4624 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4625 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4626 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4627 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4628 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4629 (avl-tree-stack-first):
4630 * emacs-lisp/cconv.el (cconv--analyse-use):
4631 * net/gnutls.el (gnutls-negotiate): Fix typos.
4632
4633 2011-11-24 Glenn Morris <rgm@gnu.org>
4634
4635 * lpr.el (lpr-windows-system, lpr-lp-system):
4636 * mail/binhex.el (binhex-begin-line):
4637 * progmodes/grep.el (grep-history, grep-find-history):
4638 * textmodes/flyspell.el:
4639 * vc/pcvs-defs.el (cvs-global-menu):
4640 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4641 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4642 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4643
4644 * net/tls.el: Fix case of "GnuTLS".
4645
4646 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4647
4648 * version.el (emacs-build-system): Give it a doc-string.
4649
4650 2011-11-24 Juri Linkov <juri@jurta.org>
4651
4652 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4653
4654 2011-11-24 Glenn Morris <rgm@gnu.org>
4655
4656 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4657 if called on a non-mime message just toggle the headers. (Bug#8006)
4658
4659 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
4660
4661 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4662 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4663 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4664 (allout-rebullet-heading, allout-open-sibtopic)
4665 (allout-toggle-current-subtree-encryption)
4666 (allout-toggle-subtree-encryption, allout-encrypt-string)
4667 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4668 (allout-distinctive-bullets-string, allout-auto-activation):
4669 * window.el (window-normalize-buffer-to-display):
4670 * progmodes/verilog-mode.el (verilog-batch-indent):
4671 * textmodes/bibtex.el (bibtex-field-braces-opt)
4672 (bibtex-field-strings-opt):
4673 * vc/cvs-status.el (cvs-tree-merge):
4674 Fix typos.
4675
4676 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
4677
4678 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4679 `non-essential' to t, in order to avoid remote connections.
4680
4681 2011-11-23 Eli Zaretskii <eliz@gnu.org>
4682
4683 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4684 On MS-DOS and MS-Windows, compare with loaddefs.el
4685 case-insensitively.
4686
4687 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4688
4689 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4690
4691 2011-11-23 Glenn Morris <rgm@gnu.org>
4692
4693 * paths.el (rmail-file-name): Reformat the doc-string so that it
4694 is picked up.
4695
4696 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4697 (rmail-auto-file): Ignore case in the "special" field names,
4698 as mail-fetch-field does for all others.
4699
4700 * mail/rmail.el (rmail-forward):
4701 * mail/rmailkwd.el (rmail-set-label):
4702 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4703 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4704
4705 * mail/rmail.el (rmail-current-message): Doc fix.
4706
4707 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4708
4709 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4710
4711 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4712
4713 2011-11-22 Glenn Morris <rgm@gnu.org>
4714
4715 * mail/rmailmm.el (test-rmail-mime-handler)
4716 (test-rmail-mime-bulk-handler)
4717 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4718
4719 2011-11-21 Juri Linkov <juri@jurta.org>
4720
4721 * calc/calc.el (calc-read-key-sequence):
4722 Let-bind `input-method-function' to nil. (Bug#10018)
4723
4724 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4725
4726 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4727 Tell the caller that the next line needs recomputation, even
4728 though it doesn't start a sexp (bug#10094).
4729
4730 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4731
4732 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4733
4734 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4735
4736 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4737 Use force-same-window.
4738
4739 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4740
4741 * descr-text.el (describe-char-unicode-data):
4742 * json.el (json-string-escape):
4743 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4744 (Footnote-unicode, Footnote-style-p):
4745 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4746
4747 2011-11-20 Chong Yidong <cyd@gnu.org>
4748
4749 * window.el (replace-buffer-in-windows): Restore interactive spec.
4750
4751 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4752
4753 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4754
4755 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4756 (byte-compile-global-not-obsolete-vars): New var.
4757 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4758 Use it.
4759 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4760
4761 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4762
4763 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4764 * progmodes/pascal.el (electric-pascal-equal):
4765 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4766 * xml.el (xml-substitute-special): Fix typos.
4767
4768 2011-11-20 Glenn Morris <rgm@gnu.org>
4769
4770 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4771 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4772 Doc fixes.
4773 (rmail-decode-mime-charset): Mark as obsolete.
4774
4775 * mail/rmailsum.el (rmail-message-regexp-p-1):
4776 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4777 Before using mime functions, check they are set. (Bug#10077)
4778
4779 2011-11-19 Juri Linkov <juri@jurta.org>
4780
4781 * info.el (Info-finder-find-node): Use `package--builtins' instead
4782 of `package-alist'. Use node names formed by the pattern "Keyword "
4783 and the keyword name.
4784
4785 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4786
4787 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4788
4789 2011-11-19 Juri Linkov <juri@jurta.org>
4790
4791 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4792 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4793 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4794 `old-history', `old-history-forward'. Add let-binding
4795 `window-selected'. Remove calls to `kill-buffer',
4796 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4797 before calling `Info-find-node', so `Info-find-node-2' will reread
4798 the Info file. Restore window positions only when `window-selected'
4799 is non-nil.
4800
4801 2011-11-19 Juri Linkov <juri@jurta.org>
4802
4803 * isearch.el (isearch-lazy-highlight-new-loop):
4804 Remove condition `(not isearch-error)'. (Bug#9918)
4805
4806 * misearch.el (multi-isearch-search-fun): Add condition
4807 `(not bound)' to ignore lazy-highlighting search.
4808 Add the search-failed message "end of multi" when the end of
4809 multi-sequence is reached. Uncapitalize the search-failed
4810 message "Repeat for next buffer".
4811
4812 * info.el (Info-search): Add the search-failed message
4813 "end of the manual" when the end of the manual is reached
4814 in Isearch mode.
4815
4816 2011-11-19 Juri Linkov <juri@jurta.org>
4817
4818 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4819 Use non-destructive `remove' instead of `delete' because
4820 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4821 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4822
4823 2011-11-19 Juri Linkov <juri@jurta.org>
4824
4825 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4826 to nil instead of binding `search-ring' and `regexp-search-ring'.
4827 (Bug#9185)
4828
4829 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4830
4831 * simple.el (line-move): Force movement by logical lines for any
4832 hscrolled window, not only when auto-hscroll-mode is on.
4833 (line-move-visual): Update doc string to that effect. (Bug#10076)
4834
4835 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4836
4837 * language/european.el (macintosh): Define as alias for mac-roman.
4838
4839 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4840
4841 * mail/rmailmm.el (rmail-mime-display-header)
4842 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4843 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4844 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4845 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4846 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4847 of a raw aref.
4848 (rmail-mime-entity-segment): To get past the tagline, move forward
4849 2 more lines, to account for the 2 empty lines that precede and
4850 follow the line with the buttons.
4851 (rmail-mime-update-tagline): Move one more line, to get past the
4852 empty line that follows the buttons in the tagline. (Bug#9520)
4853
4854 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4855
4856 * window.el (window-max-delta-1, window-min-delta-1)
4857 (window-min-size-1, window-state-get-1, window-state-put-1)
4858 (window-state-put-2): Use "window--" prefix.
4859
4860 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4861
4862 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4863 (smie-warning-count): New var.
4864 (smie-set-prec2tab): Use it.
4865 (smie-bnf->prec2): Improve warnings. Add docstring.
4866 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4867 (smie-bnf--set-class): New function.
4868 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4869 corner case.
4870
4871 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4872 (compilation-error-properties, compilation-move-to-column):
4873 Handle compilation-first-column while in the target buffer.
4874
4875 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4876 Don't hardcode point-min==1.
4877
4878 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4879 (eshell-rewrite-for-command): Remove workaround.
4880 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4881 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4882 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4883
4884 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4885
4886 2011-11-17 Glenn Morris <rgm@gnu.org>
4887
4888 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4889 Ignore buffer-local generated-autoload-file if it is the same
4890 as the global value. (Bug#10049)
4891
4892 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4893
4894 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4895 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4896 (reftex-toc-previous-heading, reftex-toc-max-level)
4897 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4898 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4899 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4900 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4901 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4902 (reftex-toc-rename-label, reftex-toc-visit-location)
4903 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4904 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4905 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4906 leaving "*toc*" only for references to the buffer.
4907
4908 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4909
4910 * window.el (window-resize, delete-window, split-window):
4911 Replace window-splits by window-combination-resize.
4912 * cus-start.el (window-splits): Replace by window-combination-resize.
4913
4914 2011-11-17 Glenn Morris <rgm@gnu.org>
4915
4916 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4917 Make bash entry derive from sh entry, not shell entry.
4918
4919 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4920
4921 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4922 properties of linked files. (Bug#9879)
4923
4924 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4925 local file name.
4926
4927 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4928
4929 * menu-bar.el (menu-bar-file-menu):
4930 * printing.el (pr-ps-utility):
4931 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4932 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4933 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4934 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4935 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4936 (icalendar--convert-cyclic-to-ical)
4937 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4938 (icalendar--convert-ical-to-diary)
4939 (icalendar--convert-recurring-to-diary)
4940 (icalendar--convert-non-recurring-all-day-to-diary)
4941 (icalendar-import-format-sample):
4942 * progmodes/idlw-shell.el (idlwave-shell-mode):
4943 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4944 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4945 (vhdl-ps-print-init): Fix typos.
4946
4947 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4948
4949 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4950 FSF and collapse date sequence, obscure author/maintainer email address
4951 better, remove extra version line, track relocation of author's webpage.
4952
4953 * progmodes/python.el (python-pdbtrack-input-prompt)
4954 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4955 regular python pdb prompts. Adjustments shamelessly taken exactly as
4956 suggested in EmacsWiki page (tiny change):
4957 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4958
4959 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4960
4961 * expand.el (expand-pos, expand-index, expand-point):
4962 Remove redundant info from docstring.
4963 (expand-add-abbrevs): Doc fix.
4964 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4965 (expand-sample-perl-mode-expand-list): Fix typos.
4966
4967 * net/dbus.el (dbus-event-member-name):
4968 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4969 * term/pc-win.el (msdos-create-frame-with-faces):
4970 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4971
4972 2011-11-16 Martin Rudalics <rudalics@gmx.at>
4973
4974 * window.el (split-window, window-state-get-1)
4975 (window-state-put-1, window-state-put-2): Rename occurrences of
4976 window-nest to window-combination-limit.
4977 * cus-start.el (window-nest): Rename to window-combination-limit.
4978
4979 2011-11-16 Chong Yidong <cyd@gnu.org>
4980
4981 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4982 regexp (Bug#10033).
4983
4984 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4985
4986 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4987 `completing-read' will remove *Completions* and will preserve
4988 current-buffer for us.
4989 (tmm-add-prompt): Users of *Completions* will always (re)set its
4990 major mode.
4991 (tmm-old-comp-map): Remove.
4992
4993 2011-11-16 Glenn Morris <rgm@gnu.org>
4994
4995 * mail/rmailedit.el: Require rmailmm when compiling.
4996 (rmail-old-mime-state): New declaration.
4997 (rmail-edit-current-message): If editing a mime message,
4998 edit the "raw" message from the mbox buffer.
4999 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5000
5001 2011-11-15 Glenn Morris <rgm@gnu.org>
5002
5003 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5004 which wasn't being used. Add optional arg to force given state.
5005 (rmail-mime): Add optional arg to force given state.
5006
5007 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5008
5009 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5010 * frame.el (display-mm-dimensions-alist):
5011 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5012 (outline-move-subtree-down):
5013 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5014 (newsticker--treeview-do-get-node):
5015 * net/quickurl.el (quickurl-list-buffer-name):
5016 * progmodes/dcl-mode.el (dcl-mode):
5017 * progmodes/gdb-mi.el (gdb-mapcar*):
5018 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5019
5020 2011-11-15 Glenn Morris <rgm@gnu.org>
5021
5022 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5023 in a boolean sense, so just make it a boolean, and fix the doc.
5024 (rmail-show-mime-function, rmail-mime-feature)
5025 (rmail-require-mime-maybe): Doc fixes.
5026 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5027
5028 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5029
5030 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5031
5032 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5033 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5034 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5035 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5036
5037 2011-11-15 Glenn Morris <rgm@gnu.org>
5038
5039 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5040 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5041 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5042 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5043 (rmail-mime, rmail-show-mime): Doc fixes.
5044
5045 * term/ns-win.el (mode-line-frame-identification):
5046 Leave it alone. (Bug#10051)
5047
5048 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5049
5050 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5051 Handle empty buffers. (Bug#9978)
5052
5053 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
5054
5055 * international/mule.el (define-charset):
5056 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5057 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5058 * progmodes/verilog-mode.el (verilog-backward-token):
5059 * textmodes/ispell.el (lookup-words):
5060 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5061
5062 2011-11-14 Glenn Morris <rgm@gnu.org>
5063
5064 * progmodes/executable.el
5065 (executable-make-buffer-file-executable-if-script-p):
5066 Handle file-modes returning nil.
5067
5068 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5069 message - not necessary, and causes problems. (Bug#9831)
5070
5071 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5072
5073 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5074
5075 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5076 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5077 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5078
5079 2011-11-12 Martin Rudalics <rudalics@gmx.at>
5080
5081 * window.el (window-resize, delete-window): Use window-splits
5082 variable instead of function.
5083 (window-state-get-1, window-state-put-2, window-state-put):
5084 Don't deal with windows' splits status.
5085
5086 2011-11-12 Glenn Morris <rgm@gnu.org>
5087
5088 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5089 (apropos-documentation): Doc fixes.
5090
5091 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
5092
5093 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5094 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5095
5096 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5097
5098 * electric.el (electric-indent-post-self-insert-function): Make it
5099 possible for a char to only indent in some circumstances.
5100 (electric-indent-mode): Simplify.
5101
5102 2011-11-11 Martin Rudalics <rudalics@gmx.at>
5103
5104 * window.el (windows-with-parameter): Remove unused function.
5105 (windows-at-side): Rename to window-at-side-list.
5106 (window-check, window-atom-check, window-atom-check-1)
5107 (window-side-check, window-size-ignore, window-size-fixed-1)
5108 (window-in-direction-2): Prefix with "window--".
5109 (window-tree-1): Rename to window--subtree, fix doc-string.
5110
5111 2011-11-11 Glenn Morris <rgm@gnu.org>
5112
5113 * subr.el (eval-after-load): If FILE is already loaded,
5114 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5115
5116 2011-11-10 Glenn Morris <rgm@gnu.org>
5117
5118 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5119 Call svn via vc-svn-command rather than vc-do-command.
5120 (vc-svn-command): Add --non-interactive. (Bug#9993)
5121 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5122
5123 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5124 Add toggle-read-only. (Bug#7292)
5125 * files.el (toggle-read-only): Mention that it should only
5126 be used interactively. (Bug#10006)
5127
5128 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5129
5130 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5131 Adjust regexp for OCaml warnings.
5132
5133 * electric.el (electric-pair-post-self-insert-function): Let user
5134 turn it off buffer-locally (bug#9932).
5135
5136 * progmodes/python.el (python-beginning-of-statement):
5137 Rewrite (bug#2703).
5138
5139 * progmodes/compile.el: Better handle TABs (bug#9749).
5140 (compilation-internal-error-properties)
5141 (compilation-next-error-function): Obey the target buffer's
5142 compilation-error-screen-columns.
5143
5144 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
5145
5146 * progmodes/meta-mode.el: Remove obsolete comments.
5147 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5148 Fix typos in docstrings.
5149
5150 2011-11-09 Martin Rudalics <rudalics@gmx.at>
5151
5152 * window.el (window-size-fixed-p): Rewrite doc-string.
5153 (window-resizable-p): Rename to window--resizable-p. Update callers.
5154 (window--resizable): New function. Make all callers of
5155 window-resizable call window--resizable instead.
5156 (window-resizable): Rewrite in terms of window--resizable.
5157
5158 2011-11-08 Glenn Morris <rgm@gnu.org>
5159
5160 * progmodes/delphi.el (delphi-mode-syntax-table):
5161 Let define-derived-mode define a proper syntax table. (Bug#9994)
5162
5163 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5164
5165 * window.el: Stay away from defsubst.
5166 (window-list-no-nils): Remove.
5167 (window-state-get-1, window-state-get): Use backquote instead.
5168
5169 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5170
5171 * emacs-lisp/find-func.el (find-function-read):
5172 Fix incorrect use of default argument in `completing-read'.
5173
5174 2011-11-08 Martin Rudalics <rudalics@gmx.at>
5175
5176 * window.el (display-buffer-function, special-display-function):
5177 Mention display-buffer-record-window but do not mention
5178 help-setup parameter in doc-strings.
5179 (window-min-delta): Fix doc-string typo.
5180
5181 2011-11-08 Chong Yidong <cyd@gnu.org>
5182
5183 * window.el (window-total-height, window-total-width): Doc fix.
5184 (window-body-size): Move from C.
5185 (window-body-height, window-body-width): Move to C.
5186
5187 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5188
5189 * window.el: Make special-display like display-buffer-alist (bug#9532).
5190 (display-buffer--special-action): New function, morphed
5191 from display-buffer--special.
5192 (display-buffer): Use it to handle special-display-buffers at higher
5193 priority (just after display-buffer-alist).
5194 (display-buffer-fallback-action, display-buffer--other-frame-action)
5195 (pop-to-buffer-same-window): Remove display-buffer--special.
5196
5197 2011-11-07 Glenn Morris <rgm@gnu.org>
5198
5199 * calendar/cal-menu.el (cal-menu-set-date-title):
5200 Do nothing if not in a calendar. (Bug#9976)
5201
5202 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5203
5204 * files.el (find-file): Always use selected-window.
5205
5206 2011-11-07 Martin Rudalics <rudalics@gmx.at>
5207
5208 * window.el (window-combinations): Make WINDOW argument
5209 mandatory. Rewrite doc-string.
5210 (walk-window-subtree, window-atom-check, window-min-delta)
5211 (window-max-delta, window--resize-this-window)
5212 (window--resize-root-window-vertically, window-tree)
5213 (balance-windows, window-state-put): Rewrite doc-strings as to
5214 not mention the term "subwindow".
5215 (window--resize-subwindows-skip-p): Rename to
5216 window--resize-child-windows-skip-p.
5217 (window--resize-subwindows-normal): Rename to
5218 window--resize-child-windows-normal.
5219 (window--resize-subwindows): Rename to
5220 window--resize-child-windows.
5221 (window-or-subwindow-p): Rename to window--in-subtree-p.
5222
5223 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5224
5225 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5226 Ensure that mbox format messages end in two newlines (Bug#9974).
5227
5228 2011-11-06 Chong Yidong <cyd@gnu.org>
5229
5230 * window.el (window-combination-p): Function deleted; its
5231 side-effect is not used in any existing code.
5232 (window-combinations, window-combined-p): Call window-*-child
5233 directly.
5234
5235 2011-11-05 Chong Yidong <cyd@gnu.org>
5236
5237 * window.el (window-valid-p): Rename from window-any-p.
5238 (window-size-ignore, window-state-get): Callers changed.
5239 (window-normalize-window): Rename from window-normalize-any-window.
5240 New arg LIVE-ONLY, replacing window-normalize-live-window.
5241 (window-normalize-live-window): Delete.
5242 (window-combination-p, window-combined-p, window-combinations)
5243 (walk-window-subtree, window-atom-root, window-min-size)
5244 (window-sizable, window-sizable-p, window-size-fixed-p)
5245 (window-min-delta, window-max-delta, window-resizable)
5246 (window-resizable-p, window-full-height-p, window-full-width-p)
5247 (window-current-scroll-bars, window-point-1, set-window-point-1)
5248 (window-at-side-p, window-in-direction, window-resize)
5249 (adjust-window-trailing-edge, maximize-window, minimize-window)
5250 (window-deletable-p, delete-window, delete-other-windows)
5251 (record-window-buffer, unrecord-window-buffer)
5252 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5253 (quit-window, split-window, window-state-put)
5254 (set-window-text-height, fit-window-to-buffer)
5255 (shrink-window-if-larger-than-buffer): Callers changed.
5256
5257 2011-11-04 Eli Zaretskii <eliz@gnu.org>
5258
5259 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5260 rfc2047-decode-string.
5261 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5262 warnings.
5263
5264 * window.el (window-body-height, window-body-width): Mention in
5265 the doc string that the return values are in frame's canonical
5266 units. (Bug#9949)
5267
5268 2011-11-03 Alan Mackenzie <acm@muc.de>
5269
5270 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5271 change in cc-engine.el.
5272
5273 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5274
5275 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5276
5277 2011-11-02 Martin Rudalics <rudalics@gmx.at>
5278
5279 * window.el (quit-window): Call unrecord-window-buffer after
5280 showing another buffer in the window. (Bug#9937)
5281 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
5282
5283 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
5284
5285 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5286 Accept status with more than 9 shelves. (Bug#9935)
5287 Reported by Colin D Bennett <colin@gibibit.com>.
5288
5289 2011-11-01 Martin Rudalics <rudalics@gmx.at>
5290
5291 * help.el (with-help-window): Don't reference
5292 temp-buffer-show-specifiers in doc-string.
5293
5294 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5295
5296 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5297 menu-item.
5298
5299 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5300
5301 * whitespace.el: New version 13.2.2.
5302 (whitespace-newline-mode): Disable properly. Reported by Sarah
5303 <EmacsWiki>.
5304
5305 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
5306
5307 * net/newst-treeview.el: Remove "Time-stamp".
5308 (newsticker--group-manage-orphan-feeds): Do not call
5309 newsticker--treeview-tree-update.
5310 (newsticker-treeview-update, newsticker-treeview):
5311 Call newsticker--treeview-tree-update if necessary.
5312
5313 2011-10-30 Martin Rudalics <rudalics@gmx.at>
5314
5315 * window.el (window-iso-combination-p, window-iso-combined-p)
5316 (window-iso-combinations): Remove "iso-" infix.
5317 Suggested by Chong Yidong.
5318 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5319 (window-max-delta-1, window-resize, window--resize-siblings)
5320 (window--resize-this-window, adjust-window-trailing-edge)
5321 (split-window, balance-windows-1)
5322 (shrink-window-if-larger-than-buffer):
5323 * calendar/calendar.el (calendar-generate-window):
5324 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
5325
5326 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5327
5328 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5329 in place (bug#9907).
5330 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5331 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5332 (eshell-structure-basic-command, eshell-rewrite-while-command)
5333 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5334 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5335 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5336 (eshell-do-pipelines-synchronously, eshell-eval-command):
5337 Use backquotes and prefer setq to set.
5338 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5339 (eshell-macrop): Use functionp.
5340 (eshell-do-eval): Handle multiple expressions in `while' body.
5341
5342 2011-10-30 Chong Yidong <cyd@gnu.org>
5343
5344 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5345 instead of set-mark (Bug#9810).
5346
5347 2011-10-30 Chong Yidong <cyd@gnu.org>
5348
5349 * window.el (split-window-below, split-window-right): Rename from
5350 split-window-above-each-other and split-window-side-by-side
5351 respectively. All callers changed.
5352 (split-window-sensibly, split-window-sensibly): Use them.
5353 (split-window-keep-point): Doc fix.
5354
5355 * isearch.el: Add isearch-scroll property to split-window-below
5356 and split-window-right.
5357
5358 * follow.el (follow-mode):
5359 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5360 * progmodes/ada-xref.el (ada-gdb-application):
5361 * emulation/vip.el (vip-buffer-in-two-windows):
5362 * image-dired.el (image-dired-dired-with-window-configuration):
5363 * dired-x.el (dired-do-find-marked-files):
5364 * dired.el (dired-pop-to-buffer):
5365 * bs.el (bs--show-with-configuration):
5366 * vc/emerge.el (emerge-setup-windows):
5367 * textmodes/two-column.el (2C-two-columns):
5368 * textmodes/reftex-toc.el (reftex-toc):
5369 * progmodes/gdb-mi.el (gdb-setup-windows):
5370 * progmodes/fortran.el (fortran-window-create):
5371 * net/newst-treeview.el (newsticker--treeview-window-init):
5372 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5373 * emulation/tpu-edt.el (tpu-gold-map):
5374 * emulation/crisp.el (crisp-mode-map):
5375 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5376
5377 2011-10-29 Chong Yidong <cyd@gnu.org>
5378
5379 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5380
5381 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5382
5383 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5384 forged Ispell output (Bug#7904).
5385
5386 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5387
5388 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5389
5390 * doc-view.el: Avoid ugly errors about not finding nil.
5391 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5392 (doc-view-dvipdf-program, doc-view-unoconv-program)
5393 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5394 Avoid nil or absolute file name as default value.
5395 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5396
5397 2011-10-28 Alan Mackenzie <acm@muc.de>
5398
5399 * progmodes/cc-defs.el (c-version): -> 5.32.2.
5400
5401 2011-10-28 Alan Mackenzie <acm@muc.de>
5402
5403 Amend the handling of c-beginning/end-of-defun in nested declaration
5404 scopes.
5405
5406 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5407 cc-langs.el. Change it to a defcustom.
5408
5409 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5410 cc-vars.el.
5411
5412 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5413 Prevent "class foo : bar" being spuriously recognized as a label.
5414
5415 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
5416 Add parameter `inclusive' (to include enclosing braces in the region).
5417 (c-widen-to-enclosing-decl-scope): New function.
5418 (c-while-widening-to-decl-block): New macro.
5419 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5420 outward for defun boundaries, and correspondingly change symbol
5421 `respect-enclosure' to `go-outward'.
5422 (c-declaration-limits): Change algorithm to report only the "innermost"
5423 defun's boundaries.
5424
5425 2011-10-28 Deniz Dogan <deniz@dogan.se>
5426
5427 * net/rcirc.el (rcirc-mode): Use hard newlines.
5428
5429 2011-10-28 Alan Mackenzie <acm@muc.de>
5430
5431 Amend to indent and fontify macros "which include their own semicolon"
5432 correctly, using the "virtual semicolon" mechanism.
5433
5434 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
5435
5436 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5437 Recode to scan one line at a time rather than having \n and \r
5438 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
5439 (c-forward-label): Amend for virtual semicolons.
5440 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
5441
5442 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5443 of the new C macros.
5444
5445 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
5446 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5447 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
5448 (c-opt-cpp-macro-define): Make into a full language variable.
5449 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5450 AWK Mode (including \n, \r) removed, no longer needed.
5451
5452 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5453 Invoke c-make-macro-with-semi-re.
5454
5455 * progmodes/cc-vars.el (c-macro-with-semi-re):
5456 (c-macro-names-with-semicolon): New variables.
5457 (c-make-macro-with-semi-re): New function.
5458
5459 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5460
5461 * vc/log-edit.el: Fill empty field rather than adding new one.
5462 (log-edit-add-field): New function.
5463 (log-edit-insert-changelog): Use it.
5464
5465 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5466
5467 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5468
5469 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5470
5471 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5472 (gdb--check-interpreter): New function.
5473 (gdb): Use it.
5474
5475 2011-10-27 Glenn Morris <rgm@gnu.org>
5476
5477 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5478 (least-positive-float, least-negative-float)
5479 (least-positive-normalized-float, least-negative-normalized-float)
5480 (float-epsilon, float-negative-epsilon):
5481 Remove unnecessary declarations.
5482
5483 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5484 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5485 (least-positive-float, least-negative-float)
5486 (least-positive-normalized-float, least-negative-normalized-float)
5487 (float-epsilon, float-negative-epsilon): Add doc-strings,
5488 based on those in cl.texi.
5489
5490 * files.el (set-visited-file-name): If the major-mode changed,
5491 reload the local variables. (Bug#9796)
5492
5493 2011-10-27 Chong Yidong <cyd@gnu.org>
5494
5495 * subr.el (change-major-mode-after-body-hook): New hook.
5496 (run-mode-hooks): Run it.
5497
5498 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5499 Use change-major-mode-before-body-hook.
5500
5501 * simple.el (fundamental-mode):
5502 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5503 change introducing fundamental-mode-hook.
5504
5505 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
5506
5507 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5508
5509 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
5510
5511 * ido.el (ido-file-name-all-completions-1): Do not require
5512 tramp.el explicitly. (Bug#7583)
5513
5514 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5515
5516 * progmodes/octave-mod.el:
5517 * progmodes/octave-inf.el: Update maintainer.
5518
5519 2011-10-26 Chong Yidong <cyd@gnu.org>
5520
5521 * subr.el (with-wrapper-hook): Rewrite doc.
5522
5523 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
5524
5525 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
5526 filenames "/method:foo:". (Bug#9793)
5527
5528 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5529
5530 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5531 (bug#9865).
5532
5533 2011-10-24 Glenn Morris <rgm@gnu.org>
5534
5535 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5536
5537 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
5538
5539 * notifications.el: Add the requirement of a running D-Bus session
5540 bus to the Commentary.
5541
5542 2011-10-24 Juri Linkov <juri@jurta.org>
5543
5544 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5545 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5546 (Bug#9364)
5547
5548 2011-10-24 Juri Linkov <juri@jurta.org>
5549
5550 * info.el (Info-following-node-name-re): Add newline to the list
5551 of allowed characters for leading space. (Bug#9824)
5552
5553 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5554
5555 * progmodes/octave-inf.el (inferior-octave-mode-map):
5556 Fix C-c C-h binding.
5557 * progmodes/octave-mod.el (octave-help): Remove.
5558
5559 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
5560
5561 Sync with Tramp 2.2.3.
5562
5563 * net/tramp-cache.el (top): Pacify byte-compiler using
5564 `init-file-user' and `site-run-file'.
5565
5566 * net/trampver.el: Update release number.
5567
5568 2011-10-23 Chong Yidong <cyd@gnu.org>
5569
5570 * files.el (toggle-read-only): Remove obsolete comment about
5571 version control.
5572
5573 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5574 for toggle-read-only. Note that this hasn't called vc-next-action
5575 since 2008-05-02, though it wasn't documented at the time.
5576
5577 * vc/ediff-init.el (ediff-toggle-read-only-function):
5578 Use toggle-read-only.
5579
5580 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5581
5582 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5583 of c-parse-state.
5584
5585 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5586 correct faulty logical expression.
5587 (c-parse-state-state, c-record-parse-state-state):
5588 (c-replay-parse-state-state): New defvar/defuns.
5589 (c-debug-parse-state): Use new functions.
5590
5591 2011-10-22 Martin Rudalics <rudalics@gmx.at>
5592
5593 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5594 last fix. Use window-in-direction correctly.
5595
5596 2011-10-21 Chong Yidong <cyd@gnu.org>
5597
5598 * progmodes/idlwave.el (idlwave-mode):
5599 * progmodes/vera-mode.el (vera-mode): No need to set
5600 require-final-newline; that's done in prog-mode.
5601 Suggested by Stefan Monnier.
5602
5603 2011-10-21 Martin Rudalics <rudalics@gmx.at>
5604
5605 * mouse.el (mouse-drag-window-above)
5606 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5607 (mouse-drag-mode-line-1, mouse-drag-header-line)
5608 (mouse-drag-vertical-line-rightward-window): Remove.
5609 (mouse-drag-line): New function.
5610 (mouse-drag-mode-line, mouse-drag-header-line)
5611 (mouse-drag-vertical-line): Call mouse-drag-line.
5612 * window.el (window-at-side-p, windows-at-side): New functions.
5613
5614 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
5615
5616 * tar-mode.el (tar-grind-file-mode):
5617 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5618
5619 2011-10-21 Chong Yidong <cyd@gnu.org>
5620
5621 * progmodes/idlwave.el (idlwave-mode):
5622 * progmodes/vera-mode.el (vera-mode):
5623 Use mode-require-final-newline.
5624
5625 2011-10-20 Glenn Morris <rgm@gnu.org>
5626
5627 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
5628
5629 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5630
5631 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5632
5633 2011-10-20 Chong Yidong <cyd@gnu.org>
5634
5635 * emulation/cua-base.el (cua-mode):
5636 * mail/footnote.el (footnote-mode):
5637 * mail/mailabbrev.el (mail-abbrevs-mode):
5638 * net/xesam.el (xesam-minor-mode):
5639 * progmodes/bug-reference.el (bug-reference-mode):
5640 * progmodes/cap-words.el (capitalized-words-mode):
5641 * progmodes/compile.el (compilation-minor-mode)
5642 (compilation-shell-minor-mode):
5643 * progmodes/gud.el (gud-tooltip-mode):
5644 * progmodes/hideif.el (hide-ifdef-mode):
5645 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5646 * progmodes/subword.el (subword-mode):
5647 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5648 * progmodes/which-func.el (which-function-mode):
5649 * term/tvi970.el (tvi970-set-keypad-mode):
5650 * term/vt100.el (vt100-wide-mode):
5651 * textmodes/flyspell.el (flyspell-mode):
5652 * textmodes/ispell.el (ispell-minor-mode):
5653 * textmodes/nroff-mode.el (nroff-electric-mode):
5654 * textmodes/paragraphs.el (use-hard-newlines):
5655 * textmodes/refill.el (refill-mode):
5656 * textmodes/reftex.el (reftex-mode):
5657 * textmodes/rst.el (rst-minor-mode):
5658 * textmodes/sgml-mode.el (html-autoview-mode)
5659 (sgml-electric-tag-pair-mode):
5660 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5661 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5662 * emulation/crisp.el (crisp-mode):
5663 * emacs-lisp/eldoc.el (eldoc-mode):
5664 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5665 minor mode behavior.
5666
5667 2011-10-19 Juri Linkov <juri@jurta.org>
5668
5669 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5670 the list of hard-coded chars with escape-glyph face.
5671
5672 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5673
5674 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5675
5676 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
5677
5678 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5679 running process.
5680
5681 2011-10-19 Glenn Morris <rgm@gnu.org>
5682
5683 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5684 Ignore ignored files. (Bug#9726)
5685
5686 2011-10-19 Chong Yidong <cyd@gnu.org>
5687
5688 Doc fix for minor modes, stating that an omitted argument enables
5689 the mode unconditionally when called from Lisp.
5690
5691 * abbrev.el (abbrev-mode):
5692 * allout.el (allout-mode):
5693 * autoinsert.el (auto-insert-mode):
5694 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5695 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5696 (global-auto-revert-mode):
5697 * battery.el (display-battery-mode):
5698 * composite.el (global-auto-composition-mode)
5699 (auto-composition-mode):
5700 * delsel.el (delete-selection-mode):
5701 * desktop.el (desktop-save-mode):
5702 * dired-x.el (dired-omit-mode):
5703 * dirtrack.el (dirtrack-mode):
5704 * doc-view.el (doc-view-minor-mode):
5705 * double.el (double-mode):
5706 * electric.el (electric-indent-mode, electric-pair-mode):
5707 * emacs-lock.el (emacs-lock-mode):
5708 * epa-hook.el (auto-encryption-mode):
5709 * follow.el (follow-mode):
5710 * font-core.el (font-lock-mode):
5711 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5712 * help.el (temp-buffer-resize-mode):
5713 * hilit-chg.el (highlight-changes-mode)
5714 (highlight-changes-visible-mode):
5715 * hi-lock.el (hi-lock-mode):
5716 * hl-line.el (hl-line-mode, global-hl-line-mode):
5717 * icomplete.el (icomplete-mode):
5718 * ido.el (ido-everywhere):
5719 * image-file.el (auto-image-file-mode):
5720 * image-mode.el (image-minor-mode):
5721 * iswitchb.el (iswitchb-mode):
5722 * jka-cmpr-hook.el (auto-compression-mode):
5723 * linum.el (linum-mode):
5724 * longlines.el (longlines-mode):
5725 * master.el (master-mode):
5726 * mb-depth.el (minibuffer-depth-indicate-mode):
5727 * menu-bar.el (menu-bar-mode):
5728 * minibuf-eldef.el (minibuffer-electric-default-mode):
5729 * mouse-sel.el (mouse-sel-mode):
5730 * msb.el (msb-mode):
5731 * mwheel.el (mouse-wheel-mode):
5732 * outline.el (outline-minor-mode):
5733 * paren.el (show-paren-mode):
5734 * recentf.el (recentf-mode):
5735 * reveal.el (reveal-mode, global-reveal-mode):
5736 * rfn-eshadow.el (file-name-shadow-mode):
5737 * ruler-mode.el (ruler-mode):
5738 * savehist.el (savehist-mode):
5739 * scroll-all.el (scroll-all-mode):
5740 * scroll-bar.el (scroll-bar-mode):
5741 * server.el (server-mode):
5742 * shell.el (shell-dirtrack-mode):
5743 * simple.el (auto-fill-mode, transient-mark-mode)
5744 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5745 (line-number-mode, column-number-mode, size-indication-mode)
5746 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5747 * strokes.el (strokes-mode):
5748 * time.el (display-time-mode):
5749 * t-mouse.el (gpm-mouse-mode):
5750 * tool-bar.el (tool-bar-mode):
5751 * tooltip.el (tooltip-mode):
5752 * type-break.el (type-break-mode-line-message-mode)
5753 (type-break-query-mode):
5754 * view.el (view-mode):
5755 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5756 (global-whitespace-mode, global-whitespace-newline-mode):
5757 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5758
5759 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5760 Fix autogenerated docstring.
5761
5762 2011-10-19 Juri Linkov <juri@jurta.org>
5763
5764 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5765 by checking environment variables "DESKTOP_SESSION" and
5766 "XDG_CURRENT_DESKTOP". (Bug#9779)
5767
5768 2011-10-19 Juri Linkov <juri@jurta.org>
5769
5770 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5771 (browse-url-chromium-program, browse-url-chromium-arguments):
5772 New defcustoms.
5773 (browse-url-default-browser): Check for `browse-url-chromium' and
5774 call `browse-url-chromium-program'.
5775 (browse-url-chromium): New command. (Bug#9779)
5776
5777 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5778
5779 * facemenu.el (list-colors-duplicates): On Windows, detect more
5780 duplicates by assuming that only colors matching "^System" are
5781 special "system colors". (Bug#9722)
5782
5783 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5784
5785 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5786 to distinguish the author from the committer.
5787
5788 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5789
5790 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5791
5792 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5793
5794 * international/mule.el (sgml-html-meta-auto-coding-function):
5795 Add support for detecting encoding in HTML5 specified only as
5796 <meta charset="UTF-8">. Implementation just makes http-equiv and
5797 content-type parts from HTML4 encoding string optional. (Bug#9716)
5798
5799 2011-10-18 Glenn Morris <rgm@gnu.org>
5800
5801 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5802
5803 2011-10-18 Chong Yidong <cyd@gnu.org>
5804
5805 * faces.el (cursor): Doc fix.
5806
5807 2011-10-17 Chong Yidong <cyd@gnu.org>
5808
5809 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5810
5811 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5812
5813 * dirtrack.el (dirtrack): Support shell buffers with path
5814 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5815
5816 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5817
5818 * json.el: Bump version to 1.3 and note change in History.
5819 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5820
5821 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5822
5823 * comint.el (comint-insert-input, comint-send-input)
5824 (comint-get-old-input-default, comint-backward-matching-input)
5825 (comint-next-prompt): Use nil instead of `input' for field property of
5826 past user input (bug#114).
5827
5828 * minibuffer.el (completion--replace): Inherit surrounding properties
5829 (bug#114).
5830 (minibuffer-complete-and-exit): Use it.
5831
5832 * comint.el (comint--table-subvert): Quote the all-completions output
5833 (bug#9160).
5834
5835 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5836
5837 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5838
5839 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5840 window on right of selected. (Bug#9350) Reword other window
5841 entries and separate them from frame entries.
5842
5843 2011-10-15 Glenn Morris <rgm@gnu.org>
5844
5845 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5846 Doc fixes.
5847
5848 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5849
5850 * net/network-stream.el (network-stream-open-starttls):
5851 Improve detection of failure due to lack of TLS support.
5852
5853 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5854 putting the input text in front and in bold.
5855
5856 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5857
5858 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5859
5860 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5861 empty buffer.
5862
5863 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5864 unread-command-events rather than pushing yet-another event.
5865
5866 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5867
5868 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5869 the explanation of the possible choices. Make the options passed
5870 to completing-read shorter.
5871
5872 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5873
5874 * textmodes/flyspell.el (flyspell-large-region): Make sure
5875 extended character mode is used if defined (Bug#1339).
5876
5877 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5878
5879 * simple.el (what-cursor-position): Fix the display of the
5880 character info for LRE, LRO, RLE, and RLO characters by appending
5881 an invisible PDF.
5882
5883 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5884
5885 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5886 even in case of error; add debug spec; simplify data flow.
5887 (with-timeout-handler): Remove.
5888
5889 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5890
5891 Fix Bug#6019, Bug#9315.
5892
5893 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5894 complete `buffer-file-name', the local file name part could look
5895 remotely (for example on VMS).
5896
5897 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5898 `tramp-run-real-handler'.
5899 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5900 already quoted by '"'.
5901
5902 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5903 Let `file-name-handler-alist' be nil, the local file name part
5904 could look remotely (for example on VMS).
5905
5906 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5907
5908 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5909 from here...
5910 (flyspell-post-command-hook): ...to here.
5911
5912 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5913
5914 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5915 if not needed.
5916 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5917 using completion. Protect against "slow" callers.
5918 Remove the "message hack".
5919
5920 2011-10-11 Juri Linkov <juri@jurta.org>
5921
5922 * isearch.el (isearch-lazy-highlight-word): New variable.
5923 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5924 Use it. (Bug#9727)
5925
5926 2011-10-11 Glenn Morris <rgm@gnu.org>
5927
5928 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5929 like f90-previous-statement does.
5930
5931 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5932
5933 * eshell/eshell.el (eshell-command): History should be saved
5934 only in interactive use, to avoid error.
5935
5936 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5937
5938 * minibuffer.el (completion-file-name-table): Fix last change,
5939 i.e. ignore normal errors but not the other ones.
5940
5941 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5942
5943 * window.el (special-display-buffer-names)
5944 (special-display-regexps): Remove some remnants of earlier
5945 changes from doc-strings.
5946 (quit-windows-on): New function.
5947
5948 * vc/vc.el (vc-revert, vc-rollback):
5949 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5950 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5951 (Bug#6183) (Bug#7074) (Bug#7447)
5952
5953 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5954
5955 * window.el (frame-auto-hide-function): Add version tag.
5956 (Bug#9699)
5957
5958 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
5959
5960 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5961 condition.
5962
5963 2011-10-09 Leo Liu <sdl.web@gmail.com>
5964
5965 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5966 (Bug#9701)
5967
5968 2011-10-08 Glenn Morris <rgm@gnu.org>
5969
5970 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5971 before the first code statement zero indent. (Bug#9690)
5972
5973 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
5974
5975 * simple.el (count-words-region): Always count in the region.
5976 Report the number of lines and characters too.
5977 (count-words): New command, which counts in the buffer if the
5978 region is inactive, as count-words-region used to.
5979 (count-words--message): New function. Handle plurals.
5980 (count-lines-region): Make it an alias for count-words-region.
5981
5982 * bindings.el (esc-map): Replace count-lines-region with
5983 count-words-region.
5984
5985 2011-10-08 Martin Rudalics <rudalics@gmx.at>
5986
5987 * window.el (window--delete): Delete dedicated frame
5988 unconditionally when argument KILL is non-nil. (Bug#9699)
5989 (switch-to-buffer): Fix doc-string typo.
5990
5991 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5992
5993 * eshell/eshell.el (eshell-command): Avoid using hooks.
5994
5995 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5996
5997 * bindings.el ([M-left],[M-right]): Bind to left-word and
5998 right-word respectively.
5999
6000 2011-10-07 Glenn Morris <rgm@gnu.org>
6001
6002 * cus-start.el (debug-on-quit): Fix custom type.
6003
6004 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6005
6006 * subr.el (define-key-after): Clarify that the function is not
6007 useful for non-menu keymaps.
6008
6009 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6010
6011 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6012
6013 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
6014 in current minibuffer (Fix bug with recursive minibuffers).
6015
6016 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
6017
6018 * progmodes/gdb-mi.el (gdb): Doc fix.
6019
6020 2011-10-05 Martin Rudalics <rudalics@gmx.at>
6021
6022 * window.el (frame-auto-hide-function): New option replacing
6023 frame-auto-delete. Suggested by Stefan Monnier.
6024 (window--delete): Call frame-auto-hide-function instead of
6025 investigating frame-auto-delete.
6026 (window-point-1, set-window-point-1): New functions.
6027 (window-in-direction, record-window-buffer, window-state-get-1)
6028 (display-buffer-record-window): Use window-point-1 instead of
6029 window-point.
6030 (set-window-buffer-start-and-point): Use set-window-point-1.
6031
6032 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6033
6034 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6035
6036 2011-10-05 Glenn Morris <rgm@gnu.org>
6037
6038 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6039 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6040
6041 2011-10-05 Leo Liu <sdl.web@gmail.com>
6042
6043 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6044 works with buffer object.
6045
6046 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6047
6048 * mpc.el (mpc-tool-bar-map): Add labels.
6049
6050 2011-10-04 Glenn Morris <rgm@gnu.org>
6051
6052 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6053
6054 2011-10-04 Martin Rudalics <rudalics@gmx.at>
6055
6056 * window.el (window--delete): New function.
6057 (frame-auto-delete): Resuscitate option.
6058 (bury-buffer, replace-buffer-in-windows)
6059 (quit-window): Rewrite using window--delete.
6060 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6061 Pass display-buffer-mark-dedicated to window--display-buffer-2
6062 (Bug#9639).
6063
6064 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6065
6066 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6067 returns a list (bug#9554). Add remote file name completion.
6068 * comint.el (comint--table-subvert): Curry and get quote&unquote
6069 functions as arguments.
6070 (comint--complete-file-name-data): Adjust call accordingly.
6071 * pcomplete.el (pcomplete--table-subvert): Remove.
6072 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6073
6074 * minibuffer.el (completion-table-case-fold): Use currying.
6075 (completion--styles-type, completion--cycling-threshold-type):
6076 New constants.
6077 (completion-styles, completion-category-overrides)
6078 (completion-cycle-threshold): Use them.
6079 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6080 completion-table-case-fold.
6081
6082 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
6083
6084 * minibuffer.el (completion-category-overrides): Fix type of styles
6085 and add more user friendly tags (bug#9660).
6086
6087 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6088
6089 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6090 (mule-input-method-string): New widget.
6091 (default-input-method, language-info-custom-alist): Use it.
6092
6093 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6094
6095 * pcomplete.el: Require comint.
6096 (pcomplete--common-suffix): Remove.
6097 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6098 (pcomplete--table-subvert): Sync with comint--table-subvert.
6099 (pcomplete--entries): Use comint-completion-file-name-table.
6100 * comint.el (comint-unquote-filename): Simplify.
6101 (comint-completion-file-name-table): New function (bug#9616).
6102 (comint--complete-file-name-data): Use it.
6103
6104 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6105 (pcmpl-gnu-tar-buffer): Remove.
6106 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
6107 around. Make sure pcomplete-suffix-list is only changed temporarily.
6108 Don't look inside the tar's file if it's too large.
6109
6110 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
6111
6112 * cus-edit.el (custom-mode-map):
6113 * epa.el (epa-key-list-mode-map):
6114 * man.el (Man-mode-map):
6115 * startup.el (splash-screen-keymap):
6116 * simple.el (special-mode-map): Use scroll-up-command and
6117 scroll-down-command.
6118
6119 * progmodes/idlw-help.el (idlwave-help-mode-map):
6120 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6121 * net/newst-plainview.el (newsticker-mode-map):
6122 * emulation/ws-mode.el (wordstar-mode-map):
6123 * emulation/vi.el (vi-com-map):
6124 * calc/calc-graph.el (calc-graph-show-dumb):
6125 * term/sun.el (terminal-init-sun):
6126 * term/ns-win.el (global-map):
6127 * progmodes/grep.el (grep-mode-map):
6128 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6129 * mail/rmail.el (rmail-mode-map):
6130 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6131
6132 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6133 custom-safe-themes as special.
6134
6135 2011-10-01 Julien Danjou <julien@danjou.info>
6136
6137 * notifications.el (notifications-notify): Fix docstring.
6138
6139 2011-10-01 Per Starbäck <per@starback.se>
6140
6141 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6142
6143 2011-09-30 Martin Rudalics <rudalics@gmx.at>
6144
6145 * startup.el (command-line-1): Fix last fix by inserting
6146 initial-scratch-message into *scratch* before displaying it.
6147 (Bug#9605) and (Bug#9636)
6148
6149 2011-09-29 Eli Zaretskii <eliz@gnu.org>
6150
6151 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6152 window is hscrolled, move by logical lines. (Bug#9607)
6153 (line-move-visual): Update the doc string to the above effect.
6154
6155 2011-09-29 Martin Rudalics <rudalics@gmx.at>
6156
6157 * window.el (display-buffer-record-window): When WINDOW is the
6158 selected window use `point' instead of `window-point'. (Bug#9626)
6159
6160 * startup.el (command-line-1): Use insert-before-markers when
6161 inserting initial-scratch-message. (Bug#9605)
6162
6163 * help.el (help-window): Remove variable.
6164
6165 2011-09-29 Glenn Morris <rgm@gnu.org>
6166
6167 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6168
6169 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
6170
6171 * descr-text.el (describe-char-categories): Accept category
6172 descriptions more than one line long.
6173
6174 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6175
6176 * simple.el (delete-trailing-whitespace): Fix last change.
6177
6178 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6179 Don't confuse "y => 3" as the beginning of a `y' operation.
6180
6181 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6182 object has more than 4 slots (bug#9613).
6183
6184 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
6185
6186 * subr.el (with-output-to-temp-buffer):
6187 * net/quickurl.el (quickurl, quickurl-browse-url):
6188 Fix typos in docstrings.
6189
6190 2011-09-27 Eli Zaretskii <eliz@gnu.org>
6191
6192 * minibuffer.el (completion-styles)
6193 (completion-category-overrides): Cross reference each other in doc
6194 strings.
6195
6196 2011-09-27 Glenn Morris <rgm@gnu.org>
6197
6198 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6199 to split-string. (Bug#9606)
6200
6201 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6202
6203 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6204 (bug#9615).
6205
6206 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
6207
6208 * emacs-lisp/package.el (list-packages): Fix echo area message.
6209
6210 2011-09-27 Leo Liu <sdl.web@gmail.com>
6211
6212 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6213
6214 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
6215
6216 * net/dbus.el (dbus-unregister-object): Don't release services for
6217 registered signals. (Bug#9581)
6218
6219 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6220
6221 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6222 function that picks between cfengine 2 and 3 support
6223 automatically. Update docs accordingly.
6224
6225 2011-09-22 Kenichi Handa <handa@m17n.org>
6226
6227 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6228 ZERO.
6229 (indian-itrans-v5-table-for-tamil): New variable.
6230 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6231
6232 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6233
6234 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6235 that's true if the current command involved collapsing of text.
6236 It's reset to false at the beginning of the next command.
6237 (allout-post-command-business): Move the cursor to the beginning
6238 of entry if the cursor is hidden and collapsing activity just
6239 happened.
6240
6241 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
6242
6243 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6244 tracking (Bug#9541).
6245
6246 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
6247
6248 * net/newst-reader.el (newsticker-html-renderer)
6249 (newsticker-show-news): Automatically load html rendering package
6250 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6251 because w3m-fill-column is let-bound" and the error "Symbol's value
6252 as variable is void: w3m-fill-column".
6253
6254 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
6255
6256 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6257 Release services only if they are defined. (Bug#9581)
6258
6259 2011-09-23 Richard Stallman <rms@gnu.org>
6260
6261 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6262 distinguish start of paragraph from start of its text.
6263
6264 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6265
6266 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6267 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6268 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6269
6270 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6271
6272 * international/mule-diag.el (mule-diag): Insert a newline after
6273 each fontset description.
6274
6275 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6276
6277 * simple.el (delete-trailing-whitespace):
6278 Document last change; simplify.
6279
6280 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6281
6282 * simple.el (delete-trailing-whitespace): Also delete
6283 extra newlines at the end of the buffer.
6284
6285 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6286 (picture-newline): Use forward-line so as to ignore fields.
6287
6288 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6289
6290 * subr.el (with-wrapper-hook): Fix edebug spec.
6291
6292 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6293
6294 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6295 (bug#4538).
6296
6297 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
6298
6299 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6300 Fix nasty bug using wrong cached values.
6301
6302 2011-09-23 Alan Mackenzie <acm@muc.de>
6303
6304 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6305
6306 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
6307
6308 * window.el (pop-to-buffer): Ensure right window is selected if we
6309 chose another frame.
6310
6311 2011-09-22 Eli Zaretskii <eliz@gnu.org>
6312
6313 * simple.el (what-cursor-position): Use get-char-property-change
6314 and next-single-char-property-change, to be able to show display
6315 properties that come from overlays as well as text properties.
6316
6317 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
6318
6319 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6320
6321 * cmuscheme.el (run-scheme, switch-to-scheme):
6322 * cus-edit.el (customize-group, custom-buffer-create)
6323 (customize-browse):
6324 * info.el (info):
6325 * shell.el (shell):
6326 * mail/sendmail.el (mail):
6327 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6328
6329 2011-09-22 Richard Stallman <rms@gnu.org>
6330
6331 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6332 move back only to line beg, don't move back over blank lines.
6333
6334 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
6335
6336 * files.el (copy-directory): Set directory attributes only in case
6337 they could be retrieved from the source directory. (Bug#9565)
6338
6339 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6340
6341 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6342 (hs-find-block-beginning, hs-hide-level-recursive):
6343 Ignore strings as well as comments. (Bug#9502)
6344
6345 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6346
6347 * progmodes/sql.el (sql-comint-postgres):
6348 Convert port number to a string. (Bug#9566)
6349
6350 2011-09-22 Martin Rudalics <rudalics@gmx.at>
6351
6352 * window.el (quit-window): Undedicate window when switching to
6353 previous buffer. Reported by Thierry Volpiatto
6354 <thierry.volpiatto@gmail.com>.
6355 (special-display-popup-frame): When popping up a new frame reset
6356 its previous buffers to nil. Simplify code.
6357
6358 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
6359
6360 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6361 and process filter, as done also in `shell-command'.
6362
6363 2011-09-21 Martin Rudalics <rudalics@gmx.at>
6364
6365 * window.el (set-window-buffer-start-and-point):
6366 Call set-window-start with NOFORCE argument t.
6367 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6368 (quit-window): Reword doc-string. Handle new format of
6369 quit-restore parameter. Don't delete window if it has a
6370 previous buffer we can show instead of the present one.
6371 (display-buffer-record-window): Rewrite using a new format for
6372 the quit-restore window parameter
6373 (special-display-popup-frame, display-buffer-same-window)
6374 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6375 (display-buffer-pop-up-window, display-buffer-use-some-window):
6376 Adapt symbol passed to display-buffer-record-window.
6377 * help.el (help-window-setup): Handle new format of quit-restore
6378 parameter.
6379
6380 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6381
6382 * faces.el (face-list): Fix docstring (bug#9564).
6383
6384 * window.el (display-buffer--action-function-custom-type):
6385 Don't include internal functions in the Custom interface.
6386
6387 2011-09-20 Juri Linkov <juri@jurta.org>
6388
6389 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6390 (Info-forward-node, Info-backward-node, Info-next-preorder)
6391 (Info-last-preorder): Use it. (Bug#9528)
6392
6393 2011-09-20 Juri Linkov <juri@jurta.org>
6394
6395 * info.el (Info-last-preorder): Visit last menu item only when
6396 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6397
6398 2011-09-20 Julien Danjou <julien@danjou.info>
6399
6400 * password-cache.el (password-cache-remove): Remove entries even if the
6401 value is nil, so that password with a nil value (negative caching) is
6402 possible to invalidate.
6403
6404 2011-09-20 Lawrence Mitchell <wence@gmx.li>
6405
6406 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6407 all whitespace around breakpoint. (Bug#9553)
6408 (f90-find-breakpoint): Only break at whitespace inside a comment.
6409
6410 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6411
6412 * minibuffer.el (completion-file-name-table): Keep track of errors.
6413 (completion-table-with-predicate): Handle the case where pred1 is nil.
6414 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6415
6416 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6417
6418 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6419 (debugger-return-value): Signal an error if the debugging context does
6420 not await any return value.
6421
6422 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6423 * image-mode.el (image-toggle-display-text)
6424 (image-toggle-display-image): Stay away from evil `intangible'.
6425
6426 2011-09-19 Leo Liu <sdl.web@gmail.com>
6427
6428 * replace.el (occur-revert-arguments): Make it permanent-local.
6429 (occur-mode): Don't call font-lock-defontify.
6430
6431 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
6432
6433 * net/ldap.el (ldap-search-internal): Don't push empty search
6434 result (Bug#9508).
6435
6436 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6437
6438 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6439
6440 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
6441
6442 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6443 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6444
6445 2011-09-18 Juri Linkov <juri@jurta.org>
6446
6447 * buff-menu.el (Buffer-menu-mode-map):
6448 * dired.el (dired-mode-map):
6449 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6450 (lisp-interaction-mode-map):
6451 * emacs-lisp/package.el (package-menu-mode-map):
6452 * epa.el (epa-key-list-mode-map):
6453 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6454 (menu-bar-options-menu):
6455 * outline.el (outline-mode-menu-bar-map):
6456 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6457 * vc/vc-dir.el (vc-dir-menu-map):
6458 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6459 Capitalize non-function content words in menu item strings.
6460
6461 * dired.el (dired-mode-map): Add menu item for
6462 `image-dired-dired-toggle-marked-thumbs'.
6463
6464 2011-09-18 Juri Linkov <juri@jurta.org>
6465
6466 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6467 to `isearch-case-fold-search' and restore its original value
6468 after the `isearch-mode' call.
6469
6470 2011-09-18 Juri Linkov <juri@jurta.org>
6471
6472 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6473 because `zgrep' returns 1 for successful matches (bug#9226).
6474
6475 2011-09-18 Juri Linkov <juri@jurta.org>
6476
6477 * info.el (Info-extract-menu-node-name): Check the second match
6478 for empty string (second test-case of bug#9528).
6479 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6480 intermediate nodes to the history (first test-case of bug#9528).
6481
6482 2011-09-18 Juri Linkov <juri@jurta.org>
6483
6484 * info.el (Info-mode-syntax-table): New variable.
6485 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
6486
6487 2011-09-18 Juri Linkov <juri@jurta.org>
6488
6489 * info.el (Info-file-supports-index-cookies):
6490 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6491 outputs one more line for long file names (bug#4142).
6492
6493 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6494
6495 * newcomment.el (comment-normalize-vars): If prompting for
6496 comment-start, set comment-start-skip too (Bug#8424).
6497
6498 2011-09-18 Johan Bockgård <bojohan@gnu.org>
6499
6500 * icomplete.el: Fix previous fix of Bug#5849.
6501 (icomplete-mode): Don't set completion-show-inline-help.
6502 (icomplete-minibuffer-setup): Set completion-show-inline-help
6503 locally during icompletion.
6504
6505 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6506
6507 * woman.el (woman2-process-escapes): Don't delete unrecognized
6508 escapes (Bug#7843).
6509
6510 * files.el (inhibit-first-line-modes-regexps): Add image files.
6511 (hack-local-variables-prop-line): Return nil for malformed
6512 prop-lines (Bug#9044).
6513
6514 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
6515
6516 * net/tramp.el (top): Don't require 'shell.
6517 (tramp-methods): Fix docstring.
6518 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
6519 Return complete remote file name. Handle "smb" case.
6520 Use `tramp-tmpdir', if defined for the respective method.
6521 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6522
6523 * net/tramp-compat.el (top): Require 'shell.
6524
6525 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6526 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6527 `tramp-current-host'.
6528 (tramp-get-remote-tmpdir): Remove.
6529
6530 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6531 `tramp-tmpdir' entries.
6532 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6533 (tramp-smb-handle-file-attributes): Ignore errors.
6534 (tramp-smb-wait-for-output): Check also for process end.
6535
6536 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6537
6538 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6539 when sending QUIT (bug#9312).
6540
6541 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
6542
6543 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6544 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6545 occur-mode-display-occurrence.
6546 (occur-edit-mode): Add usage message.
6547 (occur-cease-edit): New command.
6548 (occur-after-change-function): Use text properties to find the
6549 position of the prefix text.
6550 (occur-engine): Set stickiness of prefix text properties.
6551
6552 2011-09-17 Glenn Morris <rgm@gnu.org>
6553
6554 * progmodes/etags.el (complete-tag):
6555 Fix call to completion-in-region. (Bug#9526)
6556
6557 2011-09-17 Juri Linkov <juri@jurta.org>
6558
6559 * textmodes/ispell.el (ispell-word): Add to the error message
6560 the word, ispell program name and current dictionary (bug#9121).
6561 (ispell-tex-arg-end): Capitalize "error" in the error message.
6562
6563 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6564
6565 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6566 check. (Bug#4251)
6567
6568 2011-09-17 Juri Linkov <juri@jurta.org>
6569
6570 * window.el (window-safe-min-height, window-safe-min-width):
6571 Fix typos (followup to bug#9522).
6572
6573 2011-09-17 Sven Joachim <svenjoac@gmx.de>
6574
6575 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6576
6577 2011-09-16 Eli Zaretskii <eliz@gnu.org>
6578
6579 * simple.el (line-move): If goal-column is set, move by logical
6580 lines, not by display lines. (Bug#971)
6581 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6582 to reflect the above change.
6583
6584 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6585
6586 * image.el (imagemagick-register-types): Use regexp-opt.
6587
6588 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6589
6590 * window.el (display-buffer-base-action): Rename from
6591 display-buffer-default-action. Make default value empty.
6592 (display-buffer-overriding-action): Convert to defvar.
6593 (display-buffer-fallback-action): New var.
6594
6595 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6596
6597 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6598 declaration.
6599 (package--add-to-archive-contents): If there is a duplicate entry
6600 with an older version, remove it.
6601 (package-menu-mark-delete, package-menu-mark-install)
6602 (package-menu-mark-unmark): Make unused args optional.
6603 (package-menu-mark-obsolete-for-deletion):
6604 Use package-menu-get-status instead of a regexp search.
6605 (package-menu-get-status): Use tabulated-list-entry.
6606 (package-menu-mark-upgrades): New command.
6607 (package-menu-mode-map): Bind it to U. Add it to menu bar.
6608 (package-menu-execute): Do installation before deletion.
6609 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6610 instead of checking major-mode.
6611 (package-menu--find-upgrades): New function.
6612
6613 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6614
6615 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6616 passwords in the log buffer.
6617 (smtpmail-process-filter): Update the process marker so that the
6618 "broken by peer" status message is inserted in the right place.
6619
6620 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6621
6622 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6623 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6624 bibtex-completion-at-point-function.
6625 (bibtex-completion-at-point-function): Use them.
6626
6627 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6628
6629 * mpc.el (mpc-constraints-tag-lookup): New function.
6630 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6631 also to browser "album|playlist".
6632
6633 2011-09-14 Juri Linkov <juri@jurta.org>
6634
6635 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6636 (isearch-edit-string): Use length of `isearch-string' when
6637 `isearch-fail-pos' returns nil.
6638 (isearch-message): Remove duplicate code and call
6639 `isearch-fail-pos' with arg `t'.
6640
6641 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
6642
6643 * replace.el (occur-mode-goto-occurrence): Don't force using other
6644 window (Bug#9499).
6645
6646 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6647
6648 2011-09-14 Martin Rudalics <rudalics@gmx.at>
6649
6650 * window.el (display-buffer-window): Remove.
6651 (display-buffer-record-window): Use help-setup window parameter
6652 instead of variable display-buffer-window.
6653 (display-buffer-function, special-display-buffer-names)
6654 (special-display-function): Mention help-setup parameter instead
6655 of display-buffer-window in doc-string.
6656 * help.el (help-window-setup): New argument help-window.
6657 Use help-window-setup parameter instead of display-buffer-window.
6658 Reword some messages.
6659 (with-help-window): Pass window used for displaying the buffer
6660 to help-window-setup. Don't set display-buffer-window.
6661
6662 2011-09-13 Glenn Morris <rgm@gnu.org>
6663
6664 * emacs-lisp/debug.el (debugger-make-xrefs):
6665 Preserve point. (Bug#9462)
6666
6667 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6668
6669 * window.el (window-deletable-p): Use next-frame.
6670
6671 2011-09-13 Martin Rudalics <rudalics@gmx.at>
6672
6673 * window.el (window-auto-delete): Remove.
6674 (window-deletable-p): Remove argument FORCE. Don't deal with
6675 dedication and previous buffers.
6676 (switch-to-prev-buffer): Don't delete window.
6677 (delete-windows-on): Delete a window's frame if and only if the
6678 window is dedicated.
6679 (replace-buffer-in-windows): Delete buffer's window or frame if
6680 and only if window is dedicated.
6681 (quit-window): Handle quit-restore as before last change.
6682 (bury-buffer): Delete window only if window-deletable-p returns t.
6683
6684 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6685
6686 * window.el (window-deletable-p): Never delete the last frame on a
6687 given terminal.
6688
6689 2011-09-13 Glenn Morris <rgm@gnu.org>
6690
6691 * help.el (describe-key-briefly): Copy previous standard-output change.
6692
6693 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
6694
6695 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6696
6697 2011-09-13 Glenn Morris <rgm@gnu.org>
6698
6699 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6700 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6701
6702 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
6703
6704 * dired-aux.el (dired-mark-read-string): Don't return default
6705 value on empty input (Bug#9361).
6706 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6707 Omit initial minibuffer contents.
6708 (dired-do-chmod): Signal an error on empty input.
6709 (dired-mark-read-string): Don't return default on empty input.
6710
6711 * files.el (file-modes-symbolic-to-number): Doc fix.
6712
6713 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6714
6715 * international/mule-cmds.el (ucs-completions): Remove.
6716 (read-char-by-name): Use complete-with-action instead; add metadata.
6717
6718 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6719
6720 * window.el (display-buffer--action-function-custom-type)
6721 (display-buffer--action-custom-type): New vars.
6722 (display-buffer-alist, display-buffer-default-action)
6723 (display-buffer-overriding-action): Add defcustom types.
6724
6725 * frame.el (delete-other-frames): Doc fix (Bug#276).
6726
6727 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6728
6729 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6730
6731 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6732
6733 Change modes that used same-window-* vars to use switch-to-buffer.
6734
6735 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6736 Use switch-to-buffer.
6737
6738 * cus-edit.el (customize-group, custom-buffer-create)
6739 (customize-browse, custom-buffer-create-other-window):
6740 Use switch-to-buffer or switch-to-buffer-other-window.
6741
6742 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6743 (Info-prev, Info-up, Info-speedbar-goto-node)
6744 (info-display-manual): Use switch-to-buffer.
6745 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6746
6747 * mail/sendmail.el (mail): Use switch-to-buffer.
6748 (mail-recover): Use switch-to-buffer-other-window.
6749
6750 * cmuscheme.el (run-scheme, switch-to-scheme):
6751 * ielm.el (ielm):
6752 * shell.el (shell):
6753 * net/rlogin.el (rlogin):
6754 * net/telnet.el (telnet, rsh):
6755 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6756
6757 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6758
6759 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6760
6761 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6762
6763 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6764 so don't mention it (bug#9301).
6765 (dired-sort-toggle-or-edit): Clarify string further.
6766
6767 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6768 match `x', `w32' and `ns', like the manual says (bug#9029).
6769
6770 * subr.el (eval-after-load): Doc string clarification (bug#9125).
6771 (process-kill-buffer-query-function): Mention the buffer name in
6772 the query.
6773
6774 * image-mode.el (image-next-line): The line parameter is mandatory
6775 (bug#9258).
6776
6777 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6778 which can be useful (bug#9301).
6779
6780 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6781
6782 * subr.el (match-string): Mention that the current buffer should
6783 be the same as the search was done in (bug#9282).
6784
6785 * facemenu.el: Disable the remove-* commands if the mark isn't
6786 active (bug#9162).
6787
6788 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6789
6790 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6791 of display-buffer.
6792 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6793
6794 * replace.el (occur-mode-goto-occurrence)
6795 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6796 and display-buffer.
6797
6798 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6799 display-buffer.
6800
6801 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6802 special-display and same-window variables.
6803 (mail-other-window): Use switch-to-buffer-other-window.
6804 (mail-other-frame): USe switch-to-buffer-other-frame.
6805
6806 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6807 Use display-buffer-other-frame.
6808 (gdb-display-gdb-buffer): Use pop-to-buffer.
6809
6810 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6811
6812 * progmodes/python.el: Don't set same-window-buffer-names.
6813
6814 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6815
6816 * window.el (display-buffer-alist): Add *Python*.
6817
6818 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6819
6820 * window.el (display-buffer-alist): Add entry for buffers
6821 previously handled same-window-*.
6822 (display-buffer-alist, display-buffer-default-action)
6823 (display-buffer-overriding-action): Mark as risky.
6824 (display-buffer-alist): Document action function changes.
6825 (display-buffer--same-window-action)
6826 (display-buffer--other-frame-action): New variables.
6827 (switch-to-buffer, display-buffer-other-frame): Use them.
6828 (display-buffer): Rename reuse-frame entry to reusable-frames.
6829 (display-buffer-reuse-selected-window): Function deleted.
6830 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6831 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6832 (display-buffer-special): New function.
6833 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6834 display-buffer-reuse-or-pop-window. Split off special-display
6835 part into display-buffer-special.
6836 (display-buffer-use-some-window): Don't perform any special
6837 pop-up-frames handling.
6838 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6839 (display-buffer--maybe-same-window): Rename from
6840 display-buffer-maybe-same-window.
6841
6842 * info.el: Don't set same-window-regexps.
6843 (info-setup): New function.
6844 (info-other-window, info): Call it.
6845
6846 * cus-edit.el: Don't set same-window-regexps.
6847 (customize-group): New argument.
6848 (customize-group-other-window): Use it.
6849 (customize-face, customize-face-other-window): Likewise.
6850 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6851
6852 * net/rlogin.el:
6853 * net/telnet.el:
6854 * progmodes/gud.el: Don't set same-window-regexps.
6855
6856 * cmuscheme.el:
6857 * ielm.el:
6858 * shell.el:
6859 * mail/sendmail.el:
6860 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6861
6862 2011-09-10 Juri Linkov <juri@jurta.org>
6863
6864 * isearch.el (isearch-edit-string): Remove obsolete mention of
6865 `C-w' (`isearch-yank-word-or-char') from docstring.
6866 (isearch-query-replace): Fix typo in docstring (bug#9466).
6867
6868 2011-09-10 Juri Linkov <juri@jurta.org>
6869
6870 * paren.el (show-paren-function): Don't show escaped parens.
6871 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6872
6873 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6874
6875 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6876 (mm-default-file-encoding): Remove autoload forms, they are
6877 replaced with autoload cookies in mml.el and mm-encode.el.
6878 (mail-add-attachment): New command.
6879 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6880 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6881 the doc string.
6882 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6883
6884 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6885
6886 * simple.el (count-words-region): Use buffer if there's no region
6887 (bug#9429).
6888
6889 2011-09-09 Juri Linkov <juri@jurta.org>
6890
6891 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6892 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6893 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6894
6895 2011-09-09 Alan Mackenzie <acm@muc.de>
6896
6897 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6898 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6899
6900 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6901
6902 Fix for Savannah bug#9392.
6903 * simple.el (mail-encode-mml): New defvar.
6904
6905 * mail/rmail.el (mail-encode-mml): Add a defvar.
6906 (rmail-enable-mime-composing): Default to t.
6907 (rmail-forward): Use MIME method of forwarding only if both
6908 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6909 Set mail-encode-mml non-nil if the MIME method was used.
6910
6911 * mail/sendmail.el (mml-to-mime): Add autoload form.
6912 (mail-encode-mml): Add a defvar.
6913 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6914 to nil.
6915 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6916 message through mml-to-mime, and reset mail-encode-mml to nil.
6917
6918 2011-09-09 Glenn Morris <rgm@gnu.org>
6919
6920 * woman.el (woman-if-body): When processing an .el block,
6921 do not delete the next .el block as well. (Bug#9447)
6922 (woman-special-characters): Add oq, cq, and hy characters.
6923
6924 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6925
6926 * window.el (window-deletable-p): Make sure window is live before
6927 invoking window-prev-buffers.
6928
6929 2011-09-08 Leo Liu <sdl.web@gmail.com>
6930
6931 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6932
6933 2011-09-08 Juri Linkov <juri@jurta.org>
6934
6935 * progmodes/compile.el (compilation-environment): Make it
6936 a defcustom (bug#8340).
6937
6938 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6939
6940 * window.el (frame-auto-delete): Rename to window-auto-delete.
6941 Make it control auto-deletion of windows and/or frames.
6942 (window-deletable-p): New argument FORCE. Rewrite conditions
6943 for deleting window/frame. (Bug#9419)
6944 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6945 Rewrite handling of case when window/frame can be deleted.
6946 (delete-windows-on): Call window-deletable-p with new FORCE
6947 argument t. (Bug#9456)
6948
6949 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6950
6951 * help-mode.el (help-mode): Restore autoload.
6952
6953 2011-09-07 Juri Linkov <juri@jurta.org>
6954
6955 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6956 `compilation-environment'. Set buffer-local
6957 `compilation-environment' to `thisenv' later after (funcall mode).
6958 (Bug#8340)
6959
6960 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6961 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6962 instead of replacing its value. (Bug#8340)
6963
6964 2011-09-07 Juri Linkov <juri@jurta.org>
6965
6966 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6967 based on text properties put by `grep-filter' instead of matching
6968 escape sequences.
6969 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6970 to the value of `grep-error-screen-columns' (bug#9438).
6971
6972 2011-09-07 Juri Linkov <juri@jurta.org>
6973
6974 * simple.el (next-error-highlight, next-error-highlight-no-select):
6975 Doc fix (bug#9432).
6976
6977 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6978
6979 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6980 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6981
6982 2011-09-07 Leo Liu <sdl.web@gmail.com>
6983
6984 * net/rcirc.el (rcirc-mode): Conditionally initialize
6985 rcirc-input-ring.
6986
6987 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6988
6989 * emacs-lisp/find-func.el (find-function-C-source): Only set
6990 find-function-C-source-directory after checking that we found a source
6991 file there (bug#9440).
6992
6993 2011-09-06 Alan Mackenzie <acm@muc.de>
6994
6995 * isearch.el (isearch-other-meta-char): Wherever a key list is
6996 unread, "unread" the prefix arg, too. This fixes bug #8901.
6997
6998 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6999
7000 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7001
7002 2011-09-05 Juri Linkov <juri@jurta.org>
7003
7004 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7005
7006 2011-09-05 Juri Linkov <juri@jurta.org>
7007
7008 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7009 keeping point where processing of grep matches begins, and
7010 continue to delete remaining escape sequences from the same point.
7011 (grep-filter): Make leading zero optional in "0?1;31m" because
7012 git-grep emits "\033[1;31m" escape sequences unlike expected
7013 "\033[01;31m" as GNU Grep does (bug#9408).
7014 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7015
7016 2011-09-05 Juri Linkov <juri@jurta.org>
7017
7018 * subr.el (y-or-n-p): Capitalize "yes".
7019
7020 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
7021
7022 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7023 `tramp-cache-unload-hook' where appropriate.
7024 (tramp-methods): Rename `tramp-remote-sh' to
7025 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7026 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7027
7028 * net/tramp-sh.el (top): Don't require 'shell.
7029 (tramp-methods): Add `tramp-remote-shell' and
7030 `tramp-remote-shell-args' entries.
7031 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7032 (tramp-sh-handle-shell-command): Remove.
7033 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7034 Use `tramp-remote-shell'.
7035
7036 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
7037
7038 * mail/sendmail.el (sendmail-query-once-function): Delete.
7039 (sendmail-query-once): Save directly to send-mail-function.
7040 Update message-send-mail-function too.
7041
7042 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7043
7044 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7045
7046 * progmodes/python.el (python-mode-map): Use correct function to
7047 start python interpreter from menu-bar (as reported by Geert
7048 Kloosterman).
7049 (inferior-python-mode-map): Fix typo.
7050 (python-shell-map): Remove.
7051
7052 2011-09-03 Deniz Dogan <deniz@dogan.se>
7053
7054 * net/rcirc.el (rcirc-print): Simplify code for
7055 rcirc-scroll-show-maximum-output. There is no need to walk
7056 through all windows to find the right one.
7057
7058 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7059
7060 * help.el (help-return-method): Doc fix.
7061
7062 2011-09-03 Martin Rudalics <rudalics@gmx.at>
7063
7064 * window.el (window-deletable-p): Don't return a non-nil value
7065 when there's a buffer that was shown in the window before.
7066 (Bug#9419)
7067 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7068 Set window's previous buffers to nil.
7069
7070 2011-09-03 Eli Zaretskii <eliz@gnu.org>
7071
7072 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7073 newline before and after the tag line, so it doesn't interfere
7074 with determining the paragraph direction of bidirectional text.
7075
7076 2011-09-03 Leo Liu <sdl.web@gmail.com>
7077
7078 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7079
7080 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7081
7082 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
7083 (pop-to-buffer): Change interactive spec. Pass second argument
7084 directly to display-buffer.
7085 (display-buffer): Fix interactive spec. Use functionp to
7086 distinguish between a function and a list of functions.
7087
7088 * abbrev.el (edit-abbrevs):
7089 * arc-mode.el (archive-extract):
7090 * autoinsert.el (auto-insert):
7091 * bookmark.el (bookmark-bmenu-list):
7092 * files.el (find-file):
7093 * view.el (view-buffer):
7094 * progmodes/compile.el (compilation-goto-locus):
7095 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7096
7097 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7098
7099 * window.el (display-buffer-alist): Doc fix.
7100 (display-buffer): Add docstring. Don't treat
7101 display-buffer-default specially.
7102 (display-buffer-reuse-selected-window)
7103 (display-buffer-same-window, display-buffer-maybe-same-window)
7104 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7105 (display-buffer-pop-up-window)
7106 (display-buffer-reuse-or-pop-window)
7107 (display-buffer-use-some-window): New functions.
7108 (display-buffer-default-action): Use them.
7109 (display-buffer-default): Delete.
7110 (pop-to-buffer-1): Fix choice of actions.
7111
7112 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7113
7114 * minibuffer.el (completion--insert-strings): Don't get confused by
7115 completion entries that end with an LF char.
7116
7117 2011-09-01 Eli Zaretskii <eliz@gnu.org>
7118
7119 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7120
7121 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
7122
7123 * window.el (display-buffer): Restore interactive spec.
7124 (display-buffer-same-window, display-buffer-other-window):
7125 New functions.
7126 (pop-to-buffer-1): New function. Use the above.
7127 (pop-to-buffer, pop-to-buffer-same-window): Use it.
7128 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
7129
7130 * view.el (view-buffer-other-window, view-buffer-other-frame):
7131 Just use pop-to-buffer.
7132
7133 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7134
7135 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7136
7137 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7138
7139 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7140
7141 2011-08-31 Richard Stallman <rms@gnu.org>
7142
7143 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7144 of the separation of rmail-view-buffer from rmail-buffer.
7145 If you say no to "replace original", the decrypt is in the
7146 view buffer. If you say yes, the decrypt goes into the
7147 rmail buffer also.
7148
7149 2011-08-31 Martin Rudalics <rudalics@gmx.at>
7150
7151 * window.el (display-buffer-window): Rewrite doc-string.
7152 (display-buffer-record-window): New function.
7153 (display-buffer-macro-specifiers)
7154 (display-buffer-even-window-sizes, display-buffer-set-height)
7155 (display-buffer-set-width, display-buffer-in-window)
7156 (display-buffer-reuse-window, display-buffer-split-specifiers)
7157 (display-buffer-side-specifiers, display-buffer-split-window-1)
7158 (display-buffer-split-window, display-buffer-split-atom-window)
7159 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7160 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7161 (display-buffer-other-window-means-other-frame)
7162 (display-buffer-normalize-special)
7163 (display-buffer-normalize-default)
7164 (display-buffer-normalize-argument)
7165 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7166 (display-buffer-normalize-specifiers, display-buffer-frame)
7167 (display-buffer-same-window, display-buffer-same-frame)
7168 (display-buffer-other-window)
7169 (display-buffer-same-frame-other-window)
7170 (display-buffer-other-frame, pop-to-buffer-same-window)
7171 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7172 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7173 (switch-to-buffer-same-frame)
7174 (switch-to-buffer-other-window-same-frame)
7175 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7176 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7177 (display-buffer-alist-set): Remove.
7178 (display-buffer-function, special-display-buffer-names)
7179 (special-display-regexps, special-display-function):
7180 In doc-string refer to display-buffer-window and quit-restore
7181 parameter.
7182 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7183 (special-display-frame-alist, special-display-popup-frame)
7184 (same-window-buffer-names, same-window-regexps, same-window-p)
7185 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7186 (split-window-preferred-function, split-height-threshold)
7187 (split-width-threshold, window-splittable-p)
7188 (split-window-sensibly, window--try-to-split-window)
7189 (window--frame-usable-p, even-window-heights)
7190 (window--even-window-heights, window--display-buffer-1)
7191 (window--display-buffer-2, display-buffer-other-frame):
7192 Restore old Emacs 23 code, order and doc-strings where applicable.
7193 (display-buffer-default, display-buffer-assq-regexp): New functions.
7194 (display-buffer-alist): Rewrite doc-string.
7195 (display-buffer-default-action)
7196 (display-buffer-overriding-action): New variables.
7197 (display-buffer, switch-to-buffer): Rewrite.
7198 (pop-to-buffer): Restore Emacs 23 behavior but use
7199 window-normalize-buffer-to-display.
7200 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7201 Restore Emacs 23 behavior but use
7202 window-normalize-buffer-to-switch-to.
7203 (pop-to-buffer-same-window): Rewrite.
7204 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7205 Rewrite using Emacs 23 options.
7206
7207 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
7208
7209 * net/tramp.el (tramp-root-regexp): Remove.
7210 (tramp-completion-file-name-regexp-unified)
7211 (tramp-completion-file-name-regexp-separate)
7212 (tramp-completion-file-name-regexp-url): Don't use leading volume
7213 letter on win32 systems. (Bug#5303, Bug#9311)
7214 (tramp-drop-volume-letter): Simplify definition.
7215 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7216
7217 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7218
7219 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7220 (bug#9356).
7221
7222 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7223
7224 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
7225
7226 2011-08-29 Juri Linkov <juri@jurta.org>
7227
7228 * isearch.el (isearch-done): Don't display message "Mark saved"
7229 when arg `edit' is non-nil to prevent its flicker in the echo area.
7230
7231 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7232
7233 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7234 obsolete packages for deletion.
7235
7236 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7237
7238 * help-mode.el (help-mode-map): Add special-mode-map to parent.
7239 (help-mode): Derive help-mode from special-mode. Don't invoke
7240 view-mode from help-mode.
7241 (help-xref-override-view-map): Remove.
7242 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7243 view-mode is not used anymore.
7244
7245 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7246
7247 * server.el (server-port): Doc fix.
7248
7249 * cus-theme.el (custom-theme-choose-mode): Inherit from
7250 special-mode (Bug#9124).
7251 (custom-theme-choose-mode-map): Add special-mode to parent.
7252
7253 2011-08-28 Alan Mackenzie <acm@muc.de>
7254
7255 * progmodes/cc-fonts.el
7256 (c-make-font-lock-BO-decl-search-function): New function.
7257 (c-basic-matchers-after - "Fontify the clauses after various
7258 keywords"): Extract the three keyword lists for the 3 erroneous
7259 constructs from the list of four, and use the new function above
7260 in place of an old one.
7261
7262 2011-08-28 Deniz Dogan <deniz@dogan.se>
7263
7264 * net/rcirc.el (rcirc-insert-prev-input)
7265 (rcirc-insert-next-input): Remove unused argument.
7266
7267 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7268
7269 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7270
7271 2011-08-27 Alan Mackenzie <acm@muc.de>
7272
7273 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7274 handle function pointer parameters properly.
7275
7276 2011-08-27 Martin Rudalics <rudalics@gmx.at>
7277
7278 * window.el (display-buffer-reuse-window): Fix case where
7279 selected window was reused with non-nil OTHER-WINDOW argument.
7280 (Bug#9381)
7281
7282 2011-08-27 Deniz Dogan <deniz@dogan.se>
7283
7284 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7285 oftc's NickServ messages.
7286
7287 2011-08-27 Glenn Morris <rgm@gnu.org>
7288
7289 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7290
7291 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
7292
7293 * emacs-lisp/package.el (package-install): Call package-initialize
7294 if called interactively.
7295
7296 2011-08-26 Leo Liu <sdl.web@gmail.com>
7297
7298 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7299
7300 2011-08-25 Juri Linkov <juri@jurta.org>
7301
7302 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7303 `search-whitespace-regexp' (bug#9364).
7304
7305 2011-08-25 Juri Linkov <juri@jurta.org>
7306
7307 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7308 `regexp-search-ring' to their global values to protect from
7309 updating by `read-from-minibuffer' (bug#9185).
7310
7311 2011-08-25 Juri Linkov <juri@jurta.org>
7312
7313 * textmodes/ispell.el (ispell-command-loop): Add newline
7314 at the end of the "Use option `i'..." line.
7315
7316 2011-08-25 Juri Linkov <juri@jurta.org>
7317
7318 * battery.el (display-battery-mode): If `battery-status-function'
7319 or `battery-mode-line-format' is nil, display the message and set
7320 `display-battery-mode' to nil (bug#9363).
7321
7322 2011-08-25 Eli Zaretskii <eliz@gnu.org>
7323
7324 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7325 bidi-string-mark-left-to-right; they are unnecessary now.
7326
7327 2011-08-25 Deniz Dogan <deniz@dogan.se>
7328
7329 * net/quickurl.el: Documentation typo fixes.
7330
7331 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
7332
7333 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7334
7335 2011-08-25 Glenn Morris <rgm@gnu.org>
7336
7337 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7338
7339 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7340 (smtpmail-via-smtp): Handle nil response from smtp.
7341
7342 2011-08-24 Juri Linkov <juri@jurta.org>
7343
7344 * proced.el (proced-marked): Inherit from `error' instead of
7345 `font-lock-warning-face'.
7346
7347 * ibuffer.el (ibuffer-marked-face): Change default face from
7348 `font-lock-warning-face' to `warning'.
7349 (ibuffer-deletion-face): Change default face from
7350 `font-lock-type-face' to `error'.
7351
7352 * battery.el (battery-update): Use the face `error' instead of
7353 `font-lock-warning-face' (bug#6117).
7354
7355 2011-08-24 Juri Linkov <juri@jurta.org>
7356
7357 * faces.el (success): Change face color from "Green3" to
7358 "ForestGreen" on light background (bug#9353).
7359
7360 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
7361
7362 * window.el (quit-window): Rename from quit-restore-window.
7363 Use same arglist as old quit-window.
7364 (frame-auto-delete): Doc fix.
7365
7366 * view.el (view-mode-exit): Use quit-window.
7367
7368 2011-08-24 Juri Linkov <juri@jurta.org>
7369
7370 * isearch.el (isearch-ring-adjust1): Start visiting previous
7371 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7372 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7373 for empty search string (when the last search string is reused
7374 automatically) to adjust the isearch ring to the last element and
7375 prepare the correct index for further M-p commands (bug#9185).
7376
7377 2011-08-24 Kenichi Handa <handa@m17n.org>
7378
7379 * international/ucs-normalize.el: If decomposition property of
7380 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7381 nil.
7382 (nfd, nfkd): Likewise.
7383
7384 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7385
7386 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7387 from process filters aren't reliably transmitted to the surrounding
7388 accept-process-output.
7389 (mpc-proc-check): New function.
7390 (mpc-proc-sync): Use it (bug#8293)
7391
7392 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7393
7394 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7395 Add compatibility functions (bug#9313).
7396
7397 2011-08-23 Eli Zaretskii <eliz@gnu.org>
7398
7399 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7400
7401 * international/uni-bidi.el: Regenerate.
7402
7403 2011-08-23 Kenichi Handa <handa@m17n.org>
7404
7405 * international/charprop.el:
7406 * international/uni-bidi.el:
7407 * international/uni-category.el:
7408 * international/uni-combining.el:
7409 * international/uni-comment.el:
7410 * international/uni-decimal.el:
7411 * international/uni-decomposition.el:
7412 * international/uni-digit.el:
7413 * international/uni-lowercase.el:
7414 * international/uni-mirrored.el:
7415 * international/uni-name.el:
7416 * international/uni-numeric.el:
7417 * international/uni-old-name.el:
7418 * international/uni-titlecase.el:
7419 * international/uni-uppercase.el: Regenerate.
7420
7421 2011-08-23 Martin Rudalics <rudalics@gmx.at>
7422
7423 * help.el (help-window-setup): Fix message displayed when other
7424 window is reused. (Bug#9341)
7425
7426 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7427
7428 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7429 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7430
7431 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7432 Mark obsolete.
7433 * shell.el (shell-parse-pcomplete-arguments): New function.
7434 (shell-completion-vars): Use it instead (bug#9160).
7435
7436 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7437
7438 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7439 strings and comments (bug#9333).
7440
7441 * emacs-lisp/debug.el (debug-arglist): New function.
7442 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7443 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7444
7445 2011-08-22 Juri Linkov <juri@jurta.org>
7446
7447 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7448 Revert regexp that highlights output switches to its old
7449 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7450
7451 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7452 to check for empty output (bug#9226).
7453
7454 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
7455
7456 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7457 symbol-constituent as the default, as that stops font-lock from
7458 working properly (Bug#8843).
7459
7460 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7461
7462 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7463 `coding-system-for-*' around the process open call to avoid
7464 auth-source side effects.
7465 (smtpmail-try-auth-methods): Expand the secret password.
7466 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7467 probe hangs.
7468
7469 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7470
7471 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7472
7473 * emacs-lisp/find-func.el (find-function-noselect): New arg
7474 lisp-only.
7475
7476 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7477 signal an error for built-in functions (Bug#6664).
7478
7479 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7480
7481 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7482 (smtpmail-try-auth-methods): Use it.
7483
7484 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7485
7486 * font-lock.el (font-lock-fontify-region)
7487 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7488 (font-lock-default-unfontify-buffer)
7489 (font-lock-default-fontify-region)
7490 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7491
7492 * progmodes/compile.el (compilation-error-properties):
7493 Fix confusion between file struct and message struct (Bug#9319).
7494 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7495 `ant' regexp.
7496
7497 * net/browse-url.el (browse-url-firefox): Don't call
7498 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7499
7500 2011-08-20 Glenn Morris <rgm@gnu.org>
7501
7502 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7503
7504 * tutorial.el (tutorial--default-keys): Update some default bindings.
7505
7506 * files.el (hack-local-variables): Fully ignore case for "mode:".
7507
7508 2011-08-20 Alan Mackenzie <acm@muc.de>
7509
7510 Resolve invalid use of a regexp in regexp-opt.
7511
7512 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7513 detection for a java annotation.
7514
7515 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
7516 detection for a java annotation.
7517
7518 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7519 handling for java.
7520 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7521
7522 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
7523
7524 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7525 (Bug#9274).
7526
7527 2011-08-20 Alan Mackenzie <acm@muc.de>
7528
7529 Fontify CPP expressions correctly when starting in the middle of
7530 such a construct. Mainly for when jit-lock etc. starts a chunk
7531 here.
7532
7533 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
7534 variable.
7535 (c-make-font-lock-search-form): New function, extracted from
7536 c-make-font-lock-search-function.
7537 (c-make-font-lock-search-function): Use the above function.
7538 (c-make-font-lock-context-search-function): New function.
7539 (c-cpp-matchers): Enhance the preprocessor expression case with
7540 the above function
7541 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7542 which takes an expression.
7543
7544 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7545
7546 2011-08-20 Martin Rudalics <rudalics@gmx.at>
7547
7548 * window.el (display-buffer-reuse-window)
7549 (display-buffer-pop-up-window): Don't reuse or split a side
7550 window.
7551
7552 2011-08-19 Glenn Morris <rgm@gnu.org>
7553
7554 * files.el (hack-local-variables-prop-line, hack-local-variables):
7555 Downcase "Mode:". (Bug#9331)
7556
7557 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
7558
7559 * international/characters.el: Add L and R categories.
7560
7561 * subr.el (bidi-string-mark-left-to-right): Rename from
7562 string-mark-left-to-right. Use category search.
7563
7564 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7565
7566 2011-08-18 Juri Linkov <juri@jurta.org>
7567
7568 * faces.el (error, warning, success): New faces with definitions
7569 copied from old default values of `font-lock-warning-face',
7570 `compilation-warning', `compilation-info' (bug#6117).
7571
7572 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7573
7574 * progmodes/compile.el (compilation-error): Inherit from `error'.
7575 (compilation-warning): Inherit from `warning'.
7576 (compilation-info): Inherit from `success'.
7577
7578 * dired.el (dired-marked): Inherit from `warning'.
7579 (dired-flagged): Inherit from `error'.
7580
7581 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7582
7583 * mail/smtpmail.el (auth-source): Require to avoid problems with
7584 binding variables (bug#9298). Also clean up some unused
7585 autoloads.
7586
7587 * net/network-stream.el (network-stream-open-starttls):
7588 Support using starttls.el without using gnutls-cli.
7589
7590 2011-08-17 Juri Linkov <juri@jurta.org>
7591
7592 * progmodes/grep.el (rgrep): Handle the case when
7593 `grep-find-command' is a cons cell (bug#9278).
7594
7595 2011-08-17 Martin Rudalics <rudalics@gmx.at>
7596
7597 * window.el (display-buffer-pop-up-frame): Run frame creation
7598 function with BUFFER current (as special-display-popup-frame
7599 does). Reported by Drew Adams.
7600
7601 2011-08-17 Daiki Ueno <ueno@unixuser.org>
7602
7603 * epa-mail.el: Simplify GnuPG group expansion using
7604 epg-expand-group.
7605 (epa-mail-group-alist, epa-mail-group-modtime)
7606 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7607 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7608 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7609 Remove.
7610
7611 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7612
7613 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7614
7615 2011-08-16 Alan Mackenzie <acm@muc.de>
7616
7617 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7618 Correct, to avoid the inside of macros.
7619
7620 2011-08-16 Richard Stallman <rms@gnu.org>
7621
7622 * epa-mail.el: Handle GnuPG group definitions.
7623 (epa-mail-group-alist, epa-mail-group-modtime)
7624 (epa-mail-gnupg-conf-file): New variables.
7625 (epa-mail-parse-groups, epa-mail-sync-groups)
7626 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7627 (epa-mail-expand-recipients): New functions.
7628 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7629
7630 * mail/rmail.el (rmail-epa-decrypt): New command.
7631
7632 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7633 Don't bind buffer-read-only, just inhibit-read-only.
7634 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7635 (epa-decrypt-armor-in-region): Make error message clearer.
7636
7637 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7638
7639 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7640 and "a2b" to "ab" for `prefix'.
7641
7642 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
7643
7644 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7645 filter groups.
7646 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7647 Fourquet (Bug#8804).
7648
7649 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
7650
7651 * startup.el (argi): Declare as global variable (bug#9275).
7652
7653 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
7654
7655 * subr.el (string-mark-left-to-right): Search the entire string
7656 for RTL script, not just the terminating character. Doc fix.
7657
7658 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7659
7660 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7661 New function.
7662 (js--regexp-literal, js-syntax-propertize-function): Remove.
7663 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7664 (js-mode-map): Don't rebind electric keys.
7665 (js-insert-and-indent): Remove.
7666 (js-mode): Setup electric-layout and electric-indent instead.
7667
7668 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7669
7670 2011-08-12 Daiki Ueno <ueno@unixuser.org>
7671
7672 * epa.el (epa-progress-callback-function): Fix the logic of
7673 displaying progress.
7674 * epa-file.el (epa-file-insert-file-contents): Make progress
7675 display more user-friendly.
7676 (epa-file-write-region): Ditto.
7677
7678 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
7679
7680 * subr.el (string-mark-left-to-right): New function.
7681
7682 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7683 Use string-mark-left-to-right.
7684 (list-buffers-noselect): Caller changed.
7685
7686 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7687 Use string-mark-left-to-right.
7688 (tabulated-list-print): Recenter after moving point.
7689
7690 2011-08-10 Juri Linkov <juri@jurta.org>
7691
7692 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7693 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7694 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7695
7696 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
7697
7698 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7699 (Bug#7554).
7700
7701 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7702
7703 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7704 character. (Bug#6594)
7705
7706 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
7707
7708 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7709 (image-dired--with-db-file): New macro.
7710 (image-dired-write-tags, image-dired-remove-tag)
7711 (image-dired-create-gallery-lists, image-dired-write-comments)
7712 (image-dired-get-comment, image-dired-mark-tagged-files)
7713 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7714 (image-dired-gallery-generate): Use insert-file-contents.
7715
7716 * time.el (display-time-world-list, display-time-world-display):
7717 * time-stamp.el (time-stamp-string):
7718 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7719 set-time-zone-rule (Bug#7337).
7720
7721 2011-08-08 Daiki Ueno <ueno@unixuser.org>
7722
7723 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7724 (epg-error-to-string, epg-errors-to-string): New function.
7725 (epg-wait-for-completion): Reverse errors list.
7726 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7727 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7728 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7729 (epg-sign-keys, epg-generate-key-from-file)
7730 (epg-generate-key-from-string): Format errors by using
7731 epg-errors-to-string (bug#9255).
7732 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7733
7734 2011-08-07 Juri Linkov <juri@jurta.org>
7735
7736 * faces.el (list-faces-display): Remove extra angle bracket
7737 from `help-mode-map'.
7738
7739 * info.el (Info-history-toc-nodes): Doc fix.
7740
7741 * longlines.el (longlines-mode): Doc fix.
7742
7743 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7744
7745 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7746 of statements and in a few more cases (bug#9183).
7747
7748 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7749 New functions.
7750 (cl-transform-lambda): Use them (bug#9239).
7751
7752 2011-08-05 Martin Rudalics <rudalics@gmx.at>
7753
7754 * window.el (display-buffer-same-window)
7755 (display-buffer-same-frame, display-buffer-other-window)
7756 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7757 (pop-to-buffer-other-window)
7758 (pop-to-buffer-same-frame-other-window)
7759 (pop-to-buffer-other-frame): Make them defuns.
7760 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7761
7762 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7763
7764 * subr.el (make-composed-keymap): Move from C. Change calling
7765 convention, and improve docstring to bring attention to a subtle point.
7766 * minibuffer.el (completing-read-default): Adjust accordingly.
7767
7768 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
7769
7770 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7771 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7772
7773 * net/trampver.el: Update release number.
7774
7775 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7776
7777 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7778 "in" (bug#9190).
7779
7780 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7781
7782 * mail/sendmail.el (sendmail-query-once): Restore the current
7783 buffer after querying (bug#9074).
7784
7785 * dired.el (dired-flagged): Use different faces for marked and
7786 flagged files (bug#6117).
7787
7788 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7789 (bug#4433).
7790
7791 * ido.el (ido-mode): Switch off the message if called
7792 non-interactively.
7793
7794 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7795 before 587, since it appears that that's more likely to work for
7796 more people.
7797
7798 * cus-edit.el (custom-file): When running under emacs -q, always
7799 refuse to save the customizations, even if the .emacs file doesn't
7800 exist.
7801
7802 * info.el: Remove the `Info-beginning-of-buffer' function
7803 (bug#8325).
7804
7805 * net/network-stream.el (network-stream-open-starttls):
7806 Use `starttls-available-p' to see whether starttls.el can be used.
7807
7808 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7809
7810 * window.el (display-buffer-in-window): Don't set dedicated status
7811 of window here (Bug#9215).
7812 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7813 (display-buffer-pop-up-side-window)
7814 (display-buffer-in-side-window): Set dedicated status of window here.
7815
7816 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7817
7818 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7819 before binding generated-autoload-file.
7820
7821 2011-08-01 Deniz Dogan <deniz@dogan.se>
7822
7823 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7824
7825 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7826
7827 Sync with Tramp 2.2.2.
7828
7829 * net/trampver.el: Update release number.
7830
7831 2011-07-30 Juri Linkov <juri@jurta.org>
7832
7833 * dired-aux.el (dired-touch-initial): Remove function.
7834 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7835 current time, and `default' to the last modification time of the
7836 current marked file (bug#6887).
7837
7838 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7839
7840 * simple.el (goto-line): Use string-to-number to provide a
7841 numeric argument to read-number (bug#9163).
7842
7843 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7844
7845 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7846 connection process, it could be nil.
7847
7848 2011-07-27 Leo Liu <sdl.web@gmail.com>
7849
7850 Simplify url handling in rcirc-mode.
7851
7852 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7853 (rcirc-browse-url-at-mouse): Remove.
7854 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7855
7856 2011-07-26 Alan Mackenzie <acm@muc.de>
7857
7858 Fontify bitfield declarations properly.
7859
7860 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7861 (c-symbol-chars): Now exported as a lang variable.
7862 (c-not-primitive-type-keywords): New lang variable.
7863
7864 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7865 QT keyword "more" to prevent "more slots: ...." being spuriously
7866 parsed as a bitfield declaration.
7867
7868 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7869 Refactor and enhance to handle bitfield declarations.
7870 (c-punctuation-in): New function.
7871 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7872 declarations properly.
7873
7874 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7875
7876 * calendar/icalendar.el (icalendar--all-events): Take care of
7877 multiple vcalendars in a single file.
7878 (icalendar--convert-float-to-ical): Checkdoc fixes.
7879
7880 2011-07-25 Deniz Dogan <deniz@dogan.se>
7881
7882 * image.el (insert-image): Clarifying docstring.
7883
7884 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7885
7886 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7887 `tramp-send-command-and-check' if there is no error.
7888 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7889
7890 2011-07-22 Alan Mackenzie <acm@muc.de>
7891
7892 Prevent cc-langs.elc being loaded at run time.
7893
7894 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7895 cc-langs.
7896
7897 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7898 "(require 'cc-langs)". Quote a form so it will evaluate at
7899 (cc-mode's) compilation time.
7900
7901 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7902
7903 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7904 loading. (Bug#9114)
7905
7906 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7907
7908 * window.el (display-buffer-pop-up-window)
7909 (display-buffer-pop-up-side-window)
7910 (display-buffer-in-side-window): Call display-buffer-set-height
7911 and display-buffer-set-width after setting the new window's
7912 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7913
7914 2011-07-20 Sam Steingold <sds@gnu.org>
7915
7916 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7917 (etags-tags-included-tables): Call `convert-standard-filename' on
7918 the file names contained in TAGS so that windows Emacs can handle
7919 TAGS files created by cygwin ctags.
7920
7921 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7922
7923 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7924 which apparently didn't work.
7925
7926 2011-07-19 Roland Winkler <winkler@gnu.org>
7927
7928 * proced.el (proced-send-signal): For *Marked Processes* buffer
7929 put point at beginning of buffer.
7930
7931 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7932
7933 * proced.el (proced-format): Make header lines align with the text
7934 (bug#1779).
7935
7936 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7937
7938 * view.el (view-buffer): Allow running in `special' modes if we're
7939 visiting a file (bug#8615).
7940
7941 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7942
7943 * window.el (display-buffer-alist-of-strings-p)
7944 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7945 New functions.
7946 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7947 more accurately.
7948
7949 2011-07-18 Alan Mackenzie <acm@muc.de>
7950
7951 Fontify declarators properly when, e.g., a jit-lock chunk begins
7952 inside a declaration.
7953
7954 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7955
7956 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7957 New function.
7958 (c-complex-decl-matchers): Insert reference to
7959 c-font-lock-enclosing-decls.
7960
7961 * progmodes/cc-engine.el (c-backward-single-comment):
7962 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7963 to nil around calls to (forward-comment -1).
7964
7965 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7966
7967 * image.el (put-image): Doc typo fix.
7968
7969 * progmodes/etags.el (tags-search): Doc typo fix.
7970
7971 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7972 password if we get errors 550 to 554.
7973
7974 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7975
7976 * net/gnutls.el (gnutls-log-level): Remove.
7977
7978 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7979 indentation character (bug#6380).
7980
7981 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7982
7983 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7984 to clarify what the problem is (bug#4291).
7985
7986 * simple.el (current-kill): Clarify what
7987 `interprogram-paste-function' does (bug#7500).
7988 (auto-fill-mode): Document `auto-fill-function' in relation to
7989 `auto-fill-mode' (bug#2470).
7990
7991 2011-07-16 Lawrence Mitchell <wence@gmx.li>
7992
7993 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7994 method if slot is read-only (bug#9035).
7995
7996 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7997
7998 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7999 * window.el (pop-to-buffer): Select window used even if it was
8000 selected before, see discussion of (Bug#8615), (Bug#6954).
8001 Pass argument NORECORD on to select-frame-set-input-focus.
8002
8003 2011-07-15 Glenn Morris <rgm@gnu.org>
8004
8005 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
8006 Respect help-form.
8007
8008 2011-07-09 Lawrence Mitchell <wence@gmx.li>
8009
8010 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8011 (gnutls-negotiate): Use it.
8012
8013 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8014
8015 * net/gnutls.el (gnutls-negotiate):
8016 Upcase `gnutls-algorithm-priority'.
8017
8018 2011-07-15 Glenn Morris <rgm@gnu.org>
8019
8020 * jka-compr.el (jka-compr-verbose): Move from here...
8021 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8022 Add missing :version tag.
8023 * info.el: No need to require jka-compr when compiling.
8024
8025 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8026
8027 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8028 (gnutls-negotiate): Use it.
8029
8030 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8031
8032 * info.el (Info-beginning-of-buffer): New command.
8033 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8034 announcing `b' as the key (bug#8325).
8035 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
8036
8037 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8038
8039 * international/mule-cmds.el
8040 (describe-specified-language-support): Make the error message
8041 clearer (bug#8905).
8042
8043 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8044
8045 * isearch.el (isearch-barrier): Add a doc string, since it's
8046 mentioned in a function doc string (bug#8678).
8047
8048 2011-07-15 Martin Rudalics <rudalics@gmx.at>
8049
8050 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8051 buffer argument (Bug#9083) and self-identifying label argument.
8052
8053 2011-07-15 Glenn Morris <rgm@gnu.org>
8054
8055 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8056
8057 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8058
8059 * man.el (Man-fontify-manpage): Fix message when formatting the
8060 man page (bug#7929).
8061
8062 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8063
8064 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8065 argument LRM; if non-nil, append an invisible LRM character to the
8066 buffer name.
8067 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8068 last argument non-nil, when formatting buffer names.
8069 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8070 paragraph direction.
8071
8072 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8073
8074 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8075 the man page name (bug#7929).
8076
8077 * image.el (put-image): Mention the `put-image' overlay property
8078 (bug#7834).
8079
8080 * scroll-bar.el (set-scroll-bar-mode): Mention that
8081 `scroll-bar-mode' lists the values (bug#7772).
8082
8083 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8084 command (bug#7729).
8085
8086 * rect.el (apply-on-rectangle): Return the point after the last
8087 operation.
8088 (string-rectangle): Go to the point after the last operation
8089 (bug#7522).
8090
8091 * printing.el (pr-toggle-region): Clarify the documentation
8092 slightly (bug#7493).
8093
8094 * time.el (display-time-update):
8095 Allow `display-time-mail-function' to return nil (bug#7158).
8096 Fix suggested by Detlev Zundel.
8097
8098 * vc/diff.el (diff): Clarify the order the file names are read
8099 (bug#7111).
8100
8101 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8102 the doc string (bug#7015).
8103
8104 * font-lock.el (font-lock-maximum-decoration): Mention what
8105 numeric levels mean (bug#6935).
8106
8107 * startup.el (initial-buffer-choice): Don't mention the `none'
8108 selection, which is against policy.
8109
8110 2011-07-14 Martin Rudalics <rudalics@gmx.at>
8111
8112 * window.el (display-buffer-normalize-special):
8113 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
8114
8115 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8116
8117 * subr.el (version<, version<=, version=): Mention "-CVS" and
8118 "-12345" alpha version numbers.
8119
8120 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8121
8122 * bindings.el: Add advertised binding for set-mark-command
8123 (Bug#5772).
8124
8125 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8126
8127 * bindings.el (mode-line-other-buffer):
8128 * bookmark.el (bookmark-bmenu-2-window):
8129 * bs.el (bs-cycle-next, bs-cycle-previous):
8130 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8131 switch-to-buffer.
8132
8133 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8134 Delete.
8135
8136 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
8137
8138 * follow.el (follow-debug-message, follow-redisplay):
8139 * jka-cmpr-hook.el (with-auto-compression-mode):
8140 Fix typos in docstrings.
8141
8142 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8143
8144 * subr.el (with-silent-modifications): Clarify somewhat what the
8145 macro inhibits (bug#6525).
8146
8147 * simple.el (eval-expression): Note what it does if called
8148 interactively (bug#6495).
8149
8150 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8151
8152 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8153 Use pop-to-buffer buffer-or-name if it is nil.
8154
8155 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8156 Remove switch-to-buffer.
8157
8158 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8159
8160 * files.el (make-directory): Clarify that an error will be raised
8161 if there's an error (bug#6397).
8162
8163 * startup.el (initial-buffer-choice): Add `none' as a choice
8164 (bug#6234).
8165
8166 * subr.el (add-hook): Clarify section about buffer-local hooks
8167 (bug#6218).
8168
8169 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8170
8171 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8172
8173 * tabify.el (untabify): Preserve the current column so that point
8174 doesn't move (bug#6032).
8175
8176 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8177
8178 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8179 Rewrite to avoid awkward possessive "s" (bug#5986).
8180
8181 2011-07-13 Glenn Morris <rgm@gnu.org>
8182
8183 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8184 (dired-insert-directory): Give a message the first time
8185 if ls is found not to support --dired.
8186
8187 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8188
8189 * simple.el (toggle-truncate-lines): Clarify what is toggled
8190 (bug#5580). Text by Drew Adams.
8191
8192 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8193
8194 * simple.el (blink-matching-open): Make the error message from the
8195 last change less verbose.
8196
8197 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8198
8199 * font-lock.el (font-lock-comment-face): Use the high contrast
8200 "yellow" color for font-lock-comment-face on low color terminals
8201 using a dark background color (bug#4221).
8202
8203 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8204
8205 * dired.el (dired-insert-set-properties): Make the doc string
8206 reflect what it does now (bug#5325).
8207
8208 * simple.el (blink-matching-open): Say that we were unable to find
8209 the match within the limit, if we're limited (bug#5122).
8210
8211 * international/mule-cmds.el (prefer-coding-system): Add an
8212 example (bug#4869).
8213
8214 * progmodes/etags.el (tags-search): Document `file-list-form'
8215 (bug#4731).
8216
8217 2011-07-13 Lawrence Mitchell <wence@gmx.li>
8218
8219 * net/browse-url.el (browse-url-default-browser)
8220 (browse-url-browser-function): Make the default browser choice a
8221 bit more logical (bug#4300). Also clean up the doc string.
8222
8223 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8224
8225 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8226 binary endings (bug#4440).
8227
8228 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8229
8230 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8231 which can be pretty annoying (bug#8971).
8232
8233 * jka-compr.el (jka-compr-verbose): New variable, and use
8234 throughout (bug#8971).
8235
8236 * info.el (Info-find-file): Fall back on the installation
8237 directory if we can't find the info node anywhere else.
8238
8239 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8240
8241 * vc/vc.el (vc-revert-file):
8242 Don't set file time-stamp in the past. (Bug#5181)
8243
8244 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8245
8246 * files.el (after-find-file): Give a better error message when
8247 trying to find a symlink that points to a file that doesn't exist
8248 (bug#4398).
8249
8250 * progmodes/cc-vars.el: Remove (probably) misleading comment
8251 (bug#4396).
8252
8253 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8254
8255 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8256
8257 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8258
8259 * mouse-sel.el: Hack restoring functionality, while keeping
8260 compatibility with 2010-07-03 changes to mouse selection.
8261 (mouse-sel-primary-overlay): New var.
8262 (mouse-sel-selection-alist): Use it.
8263 (mouse-sel-mode): Doc fix; remove points that are default features
8264 of mouse.el.
8265
8266 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8267
8268 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8269 Fix previous fix (bug#2490).
8270
8271 2011-07-12 Roland Winkler <winkler@gnu.org>
8272
8273 * textmodes/bibtex.el (bibtex-initialize):
8274 Use pop-to-buffer-same-window.
8275 (bibtex-search-entries): Fix interactive call.
8276
8277 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8278
8279 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8280 Fontise bytecomp Error lines more correctly (bug#2490).
8281 Fix suggested by Johan Bockgård.
8282
8283 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8284
8285 * dired-x.el (dired-guess-default): Use `delete-dups'.
8286
8287 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8288
8289 * dired.el (dired-mark-prompt):
8290 * dired-aux.el (dired-read-shell-command): Doc fix.
8291
8292 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8293
8294 * mail/sendmail.el (sendmail-query-once):
8295 Use `customize-save-variable' unconditionally, now that it works under
8296 emacs -Q.
8297
8298 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8299
8300 * cus-edit.el (custom-file): Take an optional no-error variable.
8301 (customize-save-variable): Set the variable, and give a warning if
8302 running under "emacs -q".
8303
8304 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
8305
8306 * loadhist.el (unload-feature-special-hooks):
8307 Add `auto-coding-functions', `fill-nobreak-predicate' and
8308 `find-directory-functions' (bug#5327).
8309
8310 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8311
8312 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8313
8314 * cus-edit.el (custom-guess-name-alist): -alist variables should
8315 use the `alist' type (bug#3120). Suggested by Drew Adams.
8316
8317 * printing.el: Add documentation to all the `pr-toggle-' commands.
8318
8319 2011-07-11 Leo Liu <sdl.web@gmail.com>
8320
8321 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8322 backends where it makes sense (bug#2623).
8323
8324 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8325
8326 * dired-x.el (dired-guess-default): Remove duplicate shell command
8327 entries (bug#2028).
8328 (dired-guess-default): Fix grammar in doc string (bug#2028).
8329 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
8330
8331 * subr.el (remove-duplicates): New conveniency function.
8332
8333 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8334
8335 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8336 (bug#1526).
8337
8338 2011-07-10 Martin Rudalics <rudalics@gmx.at>
8339
8340 * window.el (display-buffer-normalize-default): Don't invert
8341 meaning of even-window-heights. Reported by Eli Zaretskii
8342 <eliz@gnu.org>.
8343
8344 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8345
8346 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8347
8348 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
8349
8350 * window.el (display-buffer): Fix arguments to
8351 display-buffer-reuse-window in last change.
8352
8353 * faces.el (link): Use a less saturated blue on light backgrounds.
8354
8355 * startup.el (fancy-startup-text, fancy-about-text)
8356 (fancy-startup-tail): Use font-lock faces, for background safety.
8357
8358 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8359
8360 * emulation/viper-cmd.el (viper-change-state-to-vi):
8361 Limit triggering of abbrev expansion (Bug#9038).
8362
8363 2011-07-09 Martin Rudalics <rudalics@gmx.at>
8364
8365 * window.el (display-buffer-default-specifiers): Remove.
8366 (display-buffer-macro-specifiers): Remove default specifiers.
8367 (display-buffer-alist): Default to nil.
8368 (display-buffer-reuse-window): New optional argument other-window.
8369 (display-buffer-pop-up-window): Allow splitting internal
8370 windows. Check whether a live window was created.
8371 (display-buffer-other-window-means-other-frame)
8372 (display-buffer-normalize-arguments): Rename to
8373 display-buffer-normalize-argument and rewrite. Set the
8374 other-window specifier.
8375 (display-buffer-normalize-special): New function.
8376 (display-buffer-normalize-options): Rename to
8377 display-buffer-normalize-default and rewrite.
8378 (display-buffer-normalize-options-inhibit): Remove.
8379 (display-buffer-normalize-specifiers): Rewrite.
8380 (display-buffer): Process other-window specifier and call
8381 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8382 more faithfully.
8383 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
8384 (display-buffer-alist-set): Don't handle 'unset default values.
8385 (display-buffer-in-window, display-buffer-alist-set):
8386 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
8387 <tassilo@member.fsf.org>.
8388
8389 2011-07-09 Leo Liu <sdl.web@gmail.com>
8390
8391 * register.el (insert-register): Restore accidental change on
8392 2011-06-26. (Bug#9028)
8393
8394 2011-07-09 Glenn Morris <rgm@gnu.org>
8395
8396 * subr.el (remq): Handle the empty list. (Bug#9024)
8397
8398 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8399
8400 * mail/sendmail.el (send-mail-function): No longer delay custom
8401 initialization.
8402 * custom.el (custom-initialize-delay): Doc fix.
8403
8404 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8405
8406 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8407
8408 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
8409
8410 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8411 human-friendly prompt.
8412
8413 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8414
8415 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8416 provided by a particular plugin.
8417
8418 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8419
8420 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8421 save customizations (with "emacs -Q"), just set the variable
8422 instead of erroring out.
8423
8424 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8425
8426 2011-07-08 Juri Linkov <juri@jurta.org>
8427
8428 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8429 (archive-zip-update-case): Use 7z if found by `executable-find'.
8430 The order of searching the available programs is the same as in
8431 `archive-zip-extract' (bug#8968).
8432
8433 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8434
8435 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8436 (menu-bar-options-menu): Tweak descriptions.
8437
8438 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8439
8440 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8441 menu items into verb phrases (bug#1421). Also refill to fit under
8442 80 columns.
8443
8444 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8445
8446 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8447 (Info-read-node-name): Doc fix (Bug#1084).
8448
8449 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8450 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8451 (end-of-sexp, beginning-of-sexp)
8452 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8453 (forward-symbol, forward-same-syntax, word-at-point)
8454 (sentence-at-point): Doc fix (Bug#1144).
8455
8456 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8457
8458 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8459 should cover it (bug#1281).
8460
8461 * cus-edit.el (custom-show): Mark as obsolete.
8462
8463 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
8464 negotiation fails, then possibly try again with a non-encrypted
8465 connection (bug#9017).
8466
8467 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8468 be used.
8469
8470 2011-07-07 Richard Stallman <rms@gnu.org>
8471
8472 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8473 property, and handle its changed format.
8474 Look for the correct line number.
8475 Use file's line contents (but not past first =) to find
8476 correct line in message.
8477
8478 2011-07-07 Kenichi Handa <handa@m17n.org>
8479
8480 * international/characters.el (build-unicode-category-table):
8481 Delete it.
8482 (unicode-category-table): Set it by unicode-property-table-internal.
8483
8484 * international/mule-cmds.el (char-code-property-alist): Move to
8485 to src/chartab.c.
8486 (get-char-code-property): Call unicode-property-table-internal to
8487 load a file. Call get-unicode-property-internal where necessary.
8488 (put-char-code-property): Call unicode-property-table-internal to
8489 load a file. Call put-unicode-property-internal where necessary.
8490 put-unicode-property-internal where necessary.
8491 (char-code-property-description):
8492 Call unicode-property-table-internal to load a file.
8493
8494 * international/charprop.el:
8495 * international/uni-bidi.el:
8496 * international/uni-category.el:
8497 * international/uni-combining.el:
8498 * international/uni-comment.el:
8499 * international/uni-decimal.el:
8500 * international/uni-decomposition.el:
8501 * international/uni-digit.el:
8502 * international/uni-lowercase.el:
8503 * international/uni-mirrored.el:
8504 * international/uni-name.el:
8505 * international/uni-numeric.el:
8506 * international/uni-old-name.el:
8507 * international/uni-titlecase.el:
8508 * international/uni-uppercase.el: Regenerate.
8509
8510 * loadup.el: Load international/charprop.el before
8511 international/characters.
8512
8513 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8514
8515 * window.el (next-buffer, previous-buffer): Signal an error if
8516 called from a minibuffer window.
8517
8518 * bindings.el: Revert 2011-07-04 change.
8519
8520 2011-07-06 Richard Stallman <rms@gnu.org>
8521
8522 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8523 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8524 Treat markers like ints.
8525 (rmail-mime-entity): Doc fix.
8526
8527 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8528
8529 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8530 defcustom again for backwards compatibility.
8531
8532 * simple.el (shell-command-on-region): Fill.
8533
8534 * dired-aux.el (dired-kill-line): Add a doc string.
8535
8536 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8537 to "\\sw\\|\\s_" (bug#358).
8538
8539 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8540 (dired-unmark-backward): Ditto.
8541 (dired-flag-backup-files): Ditto.
8542
8543 * dired-x.el (dired-mark-sexp): Ditto.
8544
8545 2011-07-06 Richard Stallman <rms@gnu.org>
8546
8547 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8548 (rmail-mime-entity): New arg TRUNCATED.
8549 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8550 New functions.
8551 (rmail-mime-save): Warn if entity is truncated.
8552 (rmail-mime-toggle-hidden): Likewise, for showing.
8553 (rmail-mime-process-multipart): Record when an entity is truncated.
8554
8555 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8556 if ENTITY is a string.
8557
8558 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8559
8560 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8561 of faces when `M-C-x'-ing their definitions (bug#8378).
8562 Also clean up the code slightly.
8563
8564 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8565 because that makes the colors go away.
8566
8567 * mail/sendmail.el (send-mail-function): Change the default to
8568 `sendmail-query-once'.
8569 (sendmail-query-once): Add an autoload cookie.
8570
8571 * net/network-stream.el (network-stream-open-starttls): Try using
8572 a plain connection even if the server offered STARTTLS, and we
8573 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8574 capability. This should make smtpmail.el work in slightly more
8575 configurations.
8576
8577 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
8578
8579 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8580 New defun.
8581 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8582
8583 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8584
8585 * progmodes/sql.el: Version 3.0
8586 (sql-product-alist): Add product :completion-object,
8587 :completion-column, and :statement attributes.
8588 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8589 (sql-mode-syntax-table): Mark all punctuation.
8590 (sql-font-lock-keywords-builder): Temporarily remove fallback on
8591 ansi keywords.
8592 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8593 (sql-mode-oracle-font-lock-keywords): Improve.
8594 (sql-oracle-show-reserved-words): New function for development.
8595 (sql-product-font-lock): Simplify for source code buffers.
8596 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8597 New functions.
8598 (sql-highlight-product): Set product specific syntax table.
8599 (sql-mode-map): Add statement movement functions.
8600 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8601 New variable.
8602 (sql-statement-regexp, sql-beginning-of-statement)
8603 (sql-end-of-statement, sql-signum): New functions.
8604 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8605 (sql-show-sqli-buffer): Bug fix.
8606 (sql-interactive-mode): Store connection data as buffer local.
8607 (sql-connect): Add NEW-NAME parameter. Redesign interaction
8608 with sql-interactive-mode.
8609 (sql-save-connection): Save buffer local settings.
8610 (sql-connection-menu-filter): Change menu entry name.
8611 (sql-product-interactive): Bug fix.
8612 (sql-preoutput-hold): New variable.
8613 (sql-interactive-remove-continuation-prompt): Bug fixes.
8614 (sql-debug-redirect): New variable.
8615 (sql-str-literal): New function.
8616 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8617 Redesign.
8618 (sql-oracle-save-settings, sql-oracle-restore-settings)
8619 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8620 (sql-completion-object, sql-completion-column)
8621 (sql-completion-sqlbuf): New variables.
8622 (sql-build-completions-1, sql-build-completions)
8623 (sql-try-completion): New functions.
8624 (sql-read-table-name): Use them.
8625 (sql-contains-names): New buffer local variable.
8626 (sql-list-all, sql-list-table): Use it.
8627 (sql-oracle-completion-types): New variable.
8628 (sql-oracle-completion-object, sql-sqlite-completion-object)
8629 (sql-postgres-completion-object): New functions.
8630
8631 2011-07-06 Glenn Morris <rgm@gnu.org>
8632
8633 * window.el (pop-to-buffer): Doc fix.
8634
8635 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
8636
8637 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8638
8639 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
8640
8641 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8642
8643 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8644
8645 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
8646
8647 * button.el (button): Inherit from link face. Suggested by Dan
8648 Nicolaescu.
8649
8650 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8651
8652 * progmodes/gdb-mi.el: Fit in 80 columns.
8653 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8654 switch-to-buffer.
8655
8656 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8657 if imenu is simply not configured (bug#8941).
8658
8659 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8660
8661 * allout.el (allout-post-undo-hook): New allout outline-change
8662 event hook to signal undo activity.
8663 (allout-post-command-business): Run allout-post-undo-hook if an
8664 undo just occurred.
8665 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8666 * allout-widgets.el (allout-widgets-after-undo-function):
8667 Ensure the integrity of the current item's decoration after it has been
8668 in the vicinity of an undo.
8669 (allout-widgets-mode): Include allout-widgets-after-undo-function
8670 on the new allout-post-undo-hook.
8671
8672 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8673
8674 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8675 Let define-derived-mode define it.
8676 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8677 cycles of abbrev-table inheritance (bug#8998).
8678
8679 2011-07-05 Roland Winkler <winkler@gnu.org>
8680
8681 * textmodes/bibtex.el: Add support for biblatex.
8682 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8683 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8684 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8685 (bibtex-entry-alist, bibtex-field-alist): New variables.
8686 (bibtex-entry-field-alist): Obsolete alias for
8687 bibtex-BibTeX-entry-alist.
8688 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8689 (bibtex-set-dialect): New command.
8690 (bibtex-entry-type, bibtex-entry-head)
8691 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8692 Bind via bibtex-set-dialect.
8693 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8694 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8695 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8696 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8697 Define via bibtex-set-dialect.
8698 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8699 Obey bibtex-no-opt-remove-re.
8700 (bibtex-vec-push, bibtex-vec-incr): New functions.
8701 (bibtex-format-entry, bibtex-field-list)
8702 (bibtex-print-help-message, bibtex-validate)
8703 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8704
8705 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8706
8707 * progmodes/compile.el (compilation-goto-locus):
8708 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8709 * bs.el (bs-cycle-next, bs-cycle-previous):
8710 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8711 * bindings.el (mode-line-other-buffer):
8712 * autoinsert.el (auto-insert):
8713 * arc-mode.el (archive-extract):
8714 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8715
8716 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8717
8718 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8719 Fix check of `emacs-lock-unlockable-modes'.
8720 Coerce true values of `emacs-lock--try-unlocking' to t.
8721
8722 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8723
8724 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8725 * emacs-lock.el: New file.
8726
8727 2011-07-05 Julien Danjou <julien@danjou.info>
8728
8729 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8730 than `boundp' to check if face is set.
8731
8732 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8733
8734 * register.el (registerv-make):
8735 * window.el (window-min-height): Fix typos in docstrings.
8736
8737 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8738
8739 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8740 Update doc string.
8741
8742 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8743
8744 * server.el (server-execute): Catch quit and call
8745 `server-return-error' to pass the error back to emacsclient and
8746 close the connection (bug#8942).
8747
8748 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8749
8750 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8751 insecure exception for current topic. Also note that auto-saves
8752 are handled differently.
8753
8754 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
8755 State variables for tracking auto-save inhibition situation.
8756
8757 (allout-write-contents-hook-handler): Rename from
8758 'allout-write-file-hook-handler', and describe how it depends on
8759 write-contents-functions sensitivity to non-nil value to prevent
8760 file write.
8761
8762 (allout-auto-save-hook-handler): Remove. auto-save does not check
8763 this in individual buffers, only in the starting buffer, so this
8764 is not the right way for us to inhibit auto-save in a buffer
8765 according to its condition.
8766
8767 (allout-mode): Use new allout-write-contents-hook-handler, and
8768 only with write-contents-functions. Remove auto-save provisions -
8769 they're implemented elsewhere.
8770
8771 (allout-before-change-handler): If undo is in progress, note that
8772 for attention of allout-post-command-business.
8773
8774 (allout-post-command-business): If the command we're following was
8775 an undo, check for change in the status of encrypted items and
8776 adjust auto-save inhibitions accordingly.
8777
8778 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8779 according to whether there are or aren't any plain-text topics
8780 pending encryption.
8781
8782 (allout-inhibit-auto-save-info-for-decryption):
8783 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8784 if there are plain-text topics pending encryption.
8785
8786 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8787 buffer-saved-size and some allout state to not inhibit auto-saves
8788 if there are no longer any plain-text topics pending encryption.
8789
8790 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8791 No longer provide for exemption of the current topic.
8792
8793 2011-07-04 Juri Linkov <juri@jurta.org>
8794
8795 Add 7z operations to delete and save changed members (bug#8968).
8796 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8797 New defcustoms.
8798 (archive-7z-write-file-member): New function.
8799 (archive-7z-summarize): Fix the number of dashes in the
8800 listing output.
8801
8802 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8803
8804 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8805 (bug#8958).
8806
8807 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8808
8809 * bindings.el: Ignore next-buffer and previous-buffer in
8810 minibuffer-local-map.
8811
8812 * font-lock.el (font-lock-builtin-face): Change light background
8813 color to dark slate blue (Bug#6693).
8814
8815 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8816
8817 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8818
8819 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8820
8821 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8822 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8823 Add switch-to-buffer.
8824
8825 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8826
8827 * isearch.el (isearch-search-fun-function): Clarify further the
8828 meaning of the function returned.
8829
8830 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8831
8832 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8833
8834 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8835 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8836 Use it.
8837 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8838 `tramp-default-remote-path' does not exist.
8839 (tramp-send-command-and-read): New optional argument NOERROR.
8840 (tramp-open-connection-setup-interactive-shell)
8841 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8842 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8843 (tramp-process-sentinel): Flush also process' connection property.
8844 (tramp-sh-handle-start-file-process): Do not set process
8845 sentinel. It is done now ...
8846 (tramp-maybe-open-connection): ... here. (Bug#8929)
8847
8848 2011-07-04 MON KEY <monkey@sandpframing.com>
8849
8850 * play/animate.el (animate-string): Doc fixes and allow changing
8851 the buffer name (bug#5417).
8852
8853 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8854
8855 * play/animate.el (animation-buffer-name): Rename from *animate*.
8856
8857 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8858
8859 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8860 This is simpler and helps future-proof the code.
8861 (timer-until): Use time-subtract and float-time.
8862 (timer--time-less-p): Use time-less-p.
8863
8864 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8865
8866 * type-break.el (timep): Use the value of `float-time' to avoid a
8867 byte-compiler warning.
8868
8869 * server.el (server-eval-and-print): Return any result, even nil.
8870
8871 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8872
8873 * type-break.el: Accept time formats that the builtins accept.
8874 (timep, type-break-time-difference): Accept any format that
8875 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8876 This is simpler and helps future-proof the code.
8877 (type-break-time-difference): Round rather than ignoring
8878 subseconds components.
8879
8880 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8881
8882 * info.el (Info-apropos-matches): Make non-interactive, since it
8883 doesn't seem to do anything useful as a command (bug#8829).
8884
8885 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8886
8887 * frame.el (frame-background-mode, frame-set-background-mode):
8888 Move from faces.el.
8889 (frame-default-terminal-background): New function.
8890
8891 * custom.el (custom-push-theme): Don't record faces in `changed'
8892 theme; this doesn't work correctly for per-frame face settings.
8893 (disable-theme): Use face-set-after-frame-default to reset faces.
8894 (custom--frame-color-default): New function.
8895
8896 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8897
8898 * dired.el (dired-flagging-regexp): Remove unused variable
8899 (bug#8769).
8900
8901 2011-03-29 Kevin Ryde <user42@zip.com.au>
8902
8903 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8904 `perl-Test2' extend to match possible "fail #N" rep count
8905 (bug#8377).
8906
8907 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8908
8909 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8910 `smtpmail-via-smtp' now returns the error instead of nil.
8911
8912 * isearch.el (isearch-search-fun-function): Clarify the doc string
8913 (bug#8101).
8914
8915 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8916
8917 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8918 unnecessary spaces (bug#8987).
8919
8920 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8921
8922 * net/network-stream.el (open-network-stream): Use the
8923 :end-of-capability command thoughout.
8924
8925 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8926
8927 * net/network-stream.el (open-network-stream): Add the
8928 :end-of-capability command parameter, used by pop3.el.
8929
8930 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8931
8932 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8933
8934 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8935 for list)" (bug#6475).
8936
8937 * files.el (file-expand-wildcards): Ignore non-readable
8938 sub-directories while trying to find matches instead of signaling
8939 an error (bug#6297).
8940
8941 * man.el (Man-reference-regexp): Allow matching possible
8942 word-wrapped references (bug#6289).
8943
8944 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8945 for consistency with the other vc buffers (bug#6197).
8946 (vc-checkin): Ditto.
8947
8948 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8949
8950 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8951
8952 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8953
8954 * custom.el (defcustom): Clarify that :set is only used in the
8955 Customize user interface (bug#6089).
8956
8957 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8958 associated with a file, refuse to run instead of erroring out
8959 (bug#6084).
8960
8961 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8962 the doc string, since it appears that using `fill-column' always
8963 controls the width (bug#7845).
8964
8965 * simple.el (shell-command-on-region): Say where the error output
8966 went if `shell-command-default-error-buffer' is set (bug#6857).
8967
8968 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8969
8970 * allout.el (allout-yank-processing): Adjust cursor position for
8971 backwards-deleted space.
8972
8973 (allout-rebullet-heading): Register changes with
8974 allout-exposure-changed-hook, so the modified topic is properly
8975 decorated.
8976
8977 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8978
8979 * minibuffer.el (completion-in-region): Document PREDICATE
8980 (bug#7136).
8981
8982 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8983 of keyword/argument pairs (bug#6904).
8984
8985 * replace.el (multi-occur):
8986 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8987
8988 2011-07-02 Drew Adams <drew.adams@oracle.com>
8989
8990 * dired.el (dired-mark-if): Make the message about whether it's
8991 marking or unmarking clearer (bug#8523).
8992
8993 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8994
8995 * disp-table.el (display-table-print-array): New function.
8996 (describe-display-table): Use it to print the vectors more pretty
8997 (Bug#8859).
8998
8999 2011-07-02 Martin Rudalics <rudalics@gmx.at>
9000
9001 * window.el (window-state-get-1): Don't assign clone numbers.
9002 Add clone-of item to list of window parameters.
9003 (window-state-put-2): Don't process clone numbers.
9004 (display-buffer-alist): Fix doc-string.
9005
9006 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9007
9008 * subr.el (remq): Don't allocate if it's not needed.
9009 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9010 (keymap--merge-bindings): New functions.
9011 (keymap-canonicalize): Use them to refine the canonicalization.
9012 * minibuffer.el (minibuffer-local-completion-map)
9013 (minibuffer-local-must-match-map): Move initialization from C.
9014 (minibuffer-local-filename-completion-map): Move initialization from C;
9015 don't inherit from anything here.
9016 (minibuffer-local-filename-must-match-map): Make obsolete.
9017 (completing-read-default): Use make-composed-keymap to combine
9018 minibuffer-local-filename-completion-map with either
9019 minibuffer-local-must-match-map or
9020 minibuffer-local-filename-completion-map.
9021
9022 2011-07-01 Glenn Morris <rgm@gnu.org>
9023
9024 * type-break.el (type-break-time-sum): Use dolist.
9025
9026 * textmodes/flyspell.el (flyspell-word-search-backward):
9027 Replace CL function.
9028
9029 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9030
9031 * mouse.el (mouse--strip-first-event): New function.
9032 (function-key-map): Use it to map fringe clicks to normal clicks
9033 by default.
9034
9035 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9036 (vc-bzr-revision-completion-table): Add support for annotate and date.
9037
9038 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9039 inherit from parent.
9040
9041 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9042
9043 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
9044 (dired-show-file-type): Doc fixup (bug#8818).
9045
9046 * dired.el (dired-mode): Fix up the doc string as suggested by
9047 Drew Adams (bug#8817).
9048
9049 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9050 cookie, since the manual says that it should be possible to add
9051 this function to `find-file-hook' (bug#8709).
9052
9053 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9054
9055 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9056 here. Noted Ted Zlatanov as the maintainer.
9057 (cfengine-common-settings, cfengine-common-syntax): New functions
9058 to set up common things between `cfengine-mode' and
9059 `cfengine3-mode'.
9060 (cfengine3-mode): New mode.
9061 (cfengine3-defuns cfengine3-defuns-regex
9062 (cfengine3-class-selector-regex cfengine3-category-regex)
9063 (cfengine3-vartypes cfengine3-font-lock-keywords)
9064 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
9065 (cfengine3-indent-line): Add from cfengine3.el.
9066
9067 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
9068
9069 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9070
9071 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9072
9073 2011-07-01 Martin Rudalics <rudalics@gmx.at>
9074
9075 * window.el (same-window-buffer-names, same-window-regexps)
9076 (same-window-p, special-display-frame-alist)
9077 (special-display-popup-frame, special-display-function)
9078 (special-display-buffer-names, special-display-regexps)
9079 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9080 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9081 (split-window-preferred-function, split-height-threshold)
9082 (split-width-threshold, even-window-heights)
9083 (display-buffer-mark-dedicated, window-splittable-p)
9084 (split-window-sensibly, window-safely-shrinkable-p):
9085 Un-obsolete.
9086 (display-buffer): Don't spread args with function specifier
9087 because special-display-popup-frame won't like it.
9088
9089 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9090
9091 Time-stamp simplifications and fixes.
9092 These improve accuracy slightly, and future-proof the code
9093 against some potential changes to current-time format.
9094
9095 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9096 by using time-since and float-time.
9097
9098 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9099 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9100 + NNN microseconds".
9101
9102 * type-break.el (type-break-time-sum): Rewrite using time-add.
9103
9104 * play/hanoi.el (hanoi-current-time-float): Remove.
9105 All uses replaced by float-time.
9106
9107 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9108 This yields a more-accurate answer.
9109 (rng-time-to-float): Remove; no longer needed.
9110
9111 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9112
9113 * calendar/timeclock.el (timeclock-seconds-to-time):
9114 Defalias to seconds-to-time, since they're the same thing.
9115
9116 * emacs-lisp/elp.el (elp-elapsed-time):
9117 * emacs-lisp/benchmark.el (benchmark-elapse):
9118 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9119
9120 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9121
9122 * window.el (bury-buffer): Don't iconify the only frame.
9123 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9124 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9125
9126 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
9127
9128 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9129 Add mouse-yank-primary.
9130
9131 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9132
9133 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9134
9135 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9136
9137 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9138 (find-library-name): Use it to find relative load names when provided
9139 absolute file name (bug#8803).
9140
9141 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9142
9143 * textmodes/flyspell.el (flyspell-word): Consider words that
9144 differ only in case as potential doublons (bug#5687).
9145
9146 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9147 Remove two rather uninteresting debugging-like messages to make
9148 debbugs.el more silent.
9149
9150 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9151 a password-like phrase.
9152
9153 2011-06-30 Masatake YAMATO <yamato@redhat.com>
9154
9155 * progmodes/cc-guess.el: New file.
9156
9157 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
9158
9159 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9160 derived from `c-basic-common-init'.
9161
9162 * progmodes/cc-mode.el (top-level): Require cc-guess.
9163 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9164
9165 2011-06-30 Lawrence Mitchell <wence@gmx.li>
9166
9167 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9168
9169 2011-06-30 Alan Mackenzie <acm@muc.de>
9170
9171 * progmodes/cc-engine.el (c-guess-continued-construct):
9172 Correct the handling of template-args-cont, particularly for when font
9173 lock is disabled. Name this case as "CASE G".
9174
9175 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9176
9177 * allout.el (allout-yank-processing): Fix injection of extra space
9178 between bullet and non-whitespace character in first topic when
9179 pasting, ensuring that the actual spacing in the pasted topic
9180 following the bullet char is preserved. This extra space was
9181 causing pasted encrypted topics to get a decrypted status even
9182 when the content was actually still encrypted. Now the decryption
9183 status from before the paste is preserved.
9184
9185 (allout-flag-region): Set all allout overlays so they evaporate
9186 when reduced to zero length (evanescent), to prevent overlay
9187 leakage.
9188
9189 2011-06-30 Glenn Morris <rgm@gnu.org>
9190
9191 * w32-fns.el (w32-charset-info-alist): Declare.
9192
9193 * find-dired.el (find-grep-options): Simplify.
9194
9195 * term/ns-win.el (ns-set-resource): Declare.
9196
9197 * ses.el (row, col): Declare dynamic variables honestly.
9198
9199 * textmodes/reftex-parse.el (index-tags): Declare.
9200
9201 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
9202
9203 * cus-edit.el (customize-push-and-save): New function.
9204
9205 * files.el (hack-local-variables-confirm): Use it.
9206
9207 * custom.el (load-theme): New arg NO-CONFIRM.
9208 Use customize-push-and-save (Bug#8720).
9209 (custom-enabled-themes): Doc fix.
9210
9211 * cus-theme.el (customize-create-theme)
9212 (custom-theme-merge-theme): Callers to load-theme changed.
9213
9214 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9215
9216 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9217 short URLs have at least one dot in them (bug #7614).
9218
9219 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9220 nil, because using a pty is apparently too slow (bug #895).
9221
9222 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9223
9224 * mail/sendmail.el (sendmail-query-once): New function.
9225 (sendmail-query-once-function): New variable.
9226
9227 2011-06-29 Glenn Morris <rgm@gnu.org>
9228
9229 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9230
9231 * ses.el (top-level): Require cl when compiling.
9232 (ses-set-localvars): Fix error statement.
9233 Call it at compile time to silence a storm of warnings.
9234
9235 2011-06-29 Martin Rudalics <rudalics@gmx.at>
9236
9237 * window.el (normalize-live-buffer): Rename to
9238 window-normalize-buffer.
9239 (normalize-live-frame): Rename to window-normalize-frame.
9240 (normalize-any-window): Rename to window-normalize-any-window.
9241 (normalize-live-window): Rename to window-normalize-live-window.
9242 (make-window-atom): Rename to window-make-atom.
9243 (window-resize-reset): Rename to window--resize-reset.
9244 (window-resize-reset-1): Rename to window--resize-reset-1.
9245 (resize-mini-window): Rename to window--resize-mini-window.
9246 (resize-subwindows-skip-p): Rename to
9247 window--resize-subwindows-skip-p.
9248 (resize-subwindows-normal): Rename to
9249 window--resize-subwindows-normal.
9250 (resize-subwindows): Rename to window--resize-subwindows.
9251 (resize-other-windows): Rename to window--resize-siblings.
9252 (resize-this-window): Rename to window--resize-this-window.
9253 (resize-root-window): Rename to window--resize-root-window.
9254 (resize-root-window-vertically): Rename to
9255 window--resize-root-window-vertically.
9256 (normalize-buffer-to-display): Rename to
9257 window-normalize-buffer-to-display.
9258 (normalize-buffer-to-switch-to): Rename to
9259 window-normalize-buffer-to-switch-to.
9260 Correspondingly update all callers of the functions listed
9261 above.
9262 (display-buffer-alist, display-buffer-normalize-arguments)
9263 (display-buffer-normalize-options, display-buffer)
9264 (display-buffer-alist-set): Use "function" instead of
9265 "fun-with-args".
9266
9267 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
9268
9269 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9270 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9271 debbugs.gnu.org. Mention acknowledgment email.
9272
9273 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9274
9275 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9276 buffer multibyteness, since it shouldn't matter.
9277
9278 2011-06-28 Martin Rudalics <rudalics@gmx.at>
9279
9280 * window.el (display-buffer-in-side-window): Handle dedicated
9281 windows as in display-buffer-reuse-window.
9282 (display-buffer-normalize-alist): Use value of override
9283 specifier.
9284 (display-buffer-normalize-specifiers): Use value of
9285 other-window-means-other-frame specifier.
9286 (display-buffer-alist): Rewrite some texts in widgets.
9287 (display-buffer): Spread arguments when calling function
9288 specified by fun-with-args.
9289
9290 2011-06-28 Deniz Dogan <deniz@dogan.se>
9291
9292 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9293 Unnest `let'.
9294
9295 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9296 selectors (Bug#5732).
9297 (css-proprietary-nmstart-re): Use `regexp-opt'.
9298
9299 2011-06-27 Jari Aalto <jari.aalto@cante.net>
9300
9301 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9302 (eshell-ls-date-format): New defcustom.
9303 (eshell-ls-file): Use it.
9304
9305 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9306
9307 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9308
9309 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9310
9311 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9312 (ange-ftp-make-tmp-name): New arg.
9313 (ange-ftp-file-local-copy): Use it.
9314
9315 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
9316
9317 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9318 no-conversion (Bug#8870).
9319
9320 2011-06-27 Martin Rudalics <rudalics@gmx.at>
9321
9322 * window.el (window-right, window-left, window-child)
9323 (window-child-count, window-last-child)
9324 (window-iso-combination-p, walk-window-tree-1)
9325 (window-atom-check-1, window-tree-1, delete-window)
9326 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9327 new naming conventions - window-vchild, window-hchild,
9328 window-next and window-prev are now called window-top-child,
9329 window-left-child, window-next-sibling and window-prev-sibling
9330 respectively.
9331 (resize-window-reset): Rename to window-resize-reset.
9332 (resize-window-reset-1): Rename to window-resize-reset-1.
9333 (resize-window): Rename to window-resize.
9334 (window-min-height, window-min-width)
9335 (resize-mini-window, resize-this-window, resize-root-window)
9336 (resize-root-window-vertically, adjust-window-trailing-edge)
9337 (enlarge-window, shrink-window, maximize-window)
9338 (minimize-window, delete-window, quit-restore-window)
9339 (split-window, balance-windows, balance-windows-area-adjust)
9340 (balance-windows-area, window-state-put-2)
9341 (display-buffer-even-window-sizes, display-buffer-set-height)
9342 (display-buffer-set-width, set-window-text-height)
9343 (fit-window-to-buffer): Rename all "resize-window" prefixed
9344 calls to use the "window-resize" prefix convention.
9345 (display-buffer-alist): Fix symbol for label specifier.
9346 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9347 corresponding specifier.
9348 Reported by Juanma Barranquero <lekktu@gmail.com>.
9349
9350 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9351
9352 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9353 convention.
9354 (ses-call-printer): Does not pass an empty string to formatter when the
9355 cell is empty to keep from barking printer Calc math-format-value.
9356
9357 2011-06-27 Richard Stallman <rms@gnu.org>
9358
9359 * battery.el (battery-mode-line-limit): New variable.
9360 (battery-update): Handle it.
9361
9362 * mail/rmailmm.el (rmail-mime-process-multipart):
9363 Handle truncated messages.
9364
9365 2011-06-27 Glenn Morris <rgm@gnu.org>
9366
9367 * progmodes/flymake.el (flymake-err-line-patterns):
9368 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9369
9370 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9371
9372 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
9373 (ses--clean-!, ses--clean-_): New functions.
9374 (ses-range): Add configurability of readout order, and conversion
9375 to Calc vector.
9376
9377 * ses.el (ses-repair-cell-reference-all): New function.
9378 (ses-cell-symbol): Set macro as safe, so that it can be used in
9379 formulas.
9380
9381 * ses.el: Update cycle detection algorithm.
9382 (ses-localvars): Add ses--Dijkstra-attempt-nb and
9383 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
9384 (ses-set-localvars): New function.
9385 (ses-make-cell): Add property-list as a cell element.
9386 (ses-cell-property-get-fun, ses-cell-property-get)
9387 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
9388 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9389 New functions.
9390 (ses-cell-property-set, ses-cell-property-pop)
9391 (ses-cell-property-get-handle): New macro.
9392 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9393 New aliases, used for code readability.
9394 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9395 cycle detection.
9396 (ses-self-reference-early-detection): New defcustom.
9397 (ses-formula-references): Robustify against self-referring cells.
9398 (ses-mode): Use ses-set-localvars.
9399 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9400 before lauching the update processing.
9401 (ses-initialize-Dijkstra-attempt): New function.
9402 (ses-recalculate-cell): Update for cycle detection based on
9403 Dijkstra algorithm.
9404
9405 * ses.el: Fix commenting and indenting convention.
9406
9407 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9408
9409 * bs.el (bs-cycle-next): Complete last change.
9410
9411 2011-06-27 Drew Adams <drew.adams@oracle.com>
9412
9413 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9414
9415 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9416
9417 * net/network-stream.el (network-stream-open-starttls):
9418 Don't re-get capabilities unless we've reestablished connection.
9419 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9420
9421 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9422 to binary to possibly avoid line encoding issues on Windows (among
9423 other things).
9424
9425 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9426
9427 * net/network-stream.el (open-network-stream): Return an :error
9428 saying what the problem was, if possible.
9429
9430 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9431 server.
9432
9433 * net/network-stream.el (network-stream-open-starttls): If we
9434 wanted to use STARTTLS, and the server offered it, but we weren't
9435 able to because we had no STARTTLS support, then close the connection.
9436 (open-network-stream): Return an :error element, if present.
9437
9438 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9439
9440 * hl-line.el (hl-line-sticky-flag): Doc fix.
9441 (global-hl-line-sticky-flag): New option (Bug#8323).
9442 (global-hl-line-highlight): Obey it.
9443
9444 * vc/vc.el (vc-revert-show-diff): Default to t.
9445
9446 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9447
9448 * allout-widgets.el (allout-widgets-post-command-business):
9449 Stop decorating intermediate isearch matches. They're not being
9450 undecorated when an isearch is continued past, and isearch
9451 automatically collapses them. This leads to "widget leaks", where
9452 decorated items accumulate in collapsed areas. Lines with lots of
9453 hidden widgets can slow down cursor travel, substantially.
9454 Too much complicated machinery would be needed to ensure undecoration,
9455 so we're doing without this nicety.
9456
9457 (allout-widgets-tally-string): Don't try to do a hash-table-count
9458 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9459 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9460 *Messages* when allout-widgets-maintain-tally is t.
9461
9462 2011-06-26 Martin Rudalics <rudalics@gmx.at>
9463
9464 * window.el (display-buffer-normalize-argument): Rename to
9465 display-buffer-normalize-arguments. Handle special meaning of
9466 LABEL argument. Respect special-display-function when popping up
9467 a new frame. Fix code searching for a window showing the buffer
9468 on another frame.
9469 (display-buffer-normalize-specifiers):
9470 Call display-buffer-normalize-arguments.
9471 (display-buffer-in-window): Don't undedicate the window if its
9472 buffer remains the same.
9473 Reported by Drew Adams <drew.adams@oracle.com>.
9474 (display-buffer-alist): Add choice for same-window macro
9475 specfier.
9476 (display-buffer): Mention special meaning of LABEL argument in
9477 doc-string. Fix quoting. Don't pop up a new frame even as
9478 fallback.
9479
9480 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
9481
9482 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9483 avoid deleting the current window in some cases (bug#8911).
9484
9485 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9486
9487 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9488 (Bug#8934)
9489
9490 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9491
9492 * net/network-stream.el (network-stream-open-starttls):
9493 Use built-in TLS support if `gnutls-available-p' is true.
9494 (network-stream-open-tls): Ditto.
9495
9496 2011-06-26 Leo Liu <sdl.web@gmail.com>
9497
9498 * register.el (registerv): New struct.
9499 (registerv-make): New function.
9500 (jump-to-register, describe-register-1, insert-register):
9501 Support the jump-func, print-func and insert-func slot of a registerv
9502 struct. (Bug#8415)
9503
9504 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9505
9506 * vc/vc.el (vc-revert-show-diff): New defcustom.
9507 (vc-diff-internal): New arg specifying diff buffer.
9508 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9509 reuse an existing *vc-diff* buffer (Bug#8927).
9510
9511 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9512
9513 2011-06-26 Glenn Morris <rgm@gnu.org>
9514
9515 * progmodes/f90.el (f90-critical-indent): New option.
9516 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9517 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9518 (f90-mode): Doc fix.
9519 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9520 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9521 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9522 (f90-match-end): Handle block, critical.
9523
9524 2011-06-25 Glenn Morris <rgm@gnu.org>
9525
9526 * calendar/diary-lib.el (diary-included-files): Doc fix.
9527 (diary-include-files): New function, extracted from
9528 diary-include-other-diary-files and diary-mark-included-diary-files.
9529 (diary-include-other-diary-files, diary-mark-included-diary-files):
9530 Just call diary-include-files.
9531 (diary-mark-entries): Reset diary-included-files on first call.
9532
9533 * calendar/diary-lib.el (diary-mark-entries)
9534 (diary-mark-included-diary-files):
9535 Visit included diary-files in temp buffers.
9536
9537 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9538 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9539 (f90-start-block-re, f90-imenu-generic-expression)
9540 (f90-looking-at-program-block-start, f90-no-block-limit):
9541 Add support for submodules.
9542
9543 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9544 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
9545
9546 2011-06-25 Eli Zaretskii <eliz@gnu.org>
9547
9548 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9549 buffer-file-type before setting its value, to avoid disastrous
9550 global effects on decoding files for DOS/Windows systems. (Bug#8780)
9551
9552 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9553
9554 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9555
9556 * ses.el (ses-unload-function):
9557 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9558
9559 * proced.el (proced-unload-function):
9560 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9561
9562 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9563
9564 * server.el (server-create-window-system-frame): Add parameters arg.
9565 (server-process-filter): Doc fix. Handle frame-parameters.
9566
9567 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9568
9569 Fix bug#8730, bug#8781.
9570
9571 * loadhist.el (unload--set-major-mode): New function.
9572 (unload-feature): Use it.
9573
9574 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9575 (python-unload-function): New function.
9576
9577 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9578
9579 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9580
9581 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9582
9583 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9584 the candidates list.
9585
9586 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
9587
9588 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9589
9590 2011-06-23 Richard Stallman <rms@gnu.org>
9591
9592 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9593 (rmail-variables): Set next-error-move-function.
9594 (rmail-what-message): Take argument POS.
9595 (rmail-next-error-move): New function.
9596
9597 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9598
9599 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9600 messages for adjacent non-terminals.
9601
9602 2011-06-23 Richard Stallman <rms@gnu.org>
9603
9604 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9605 (rmail-show-message-1): Preserve buffer modified flag.
9606 (rmail-start-mail): Don't specify use of rmail-mail-return;
9607 that's done by mail-bury now.
9608 (rmail-mail-return): Handle arg NEWBUF.
9609
9610 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
9611
9612 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9613 SIZE is a number.
9614
9615 2011-06-23 Martin Rudalics <rudalics@gmx.at>
9616
9617 * window.el (get-lru-window, get-mru-window)
9618 (get-largest-window): Never return a minibuffer window.
9619 (display-buffer-pop-up-window): Fix a bug that could lead to
9620 reusing the minibuffer window.
9621 (display-buffer): Pass original specifier argument to
9622 display-buffer-function instead of the normalized one.
9623 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9624
9625 2011-06-22 Leo Liu <sdl.web@gmail.com>
9626
9627 * minibuffer.el (completing-read-function)
9628 (completing-read-default): Move from minibuf.c
9629
9630 2011-06-22 Richard Stallman <rms@gnu.org>
9631
9632 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9633 to Rmail even if not started by a special Rmail command.
9634
9635 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9636 Copy the buffer currently showing just one message.
9637
9638 2011-06-22 Roland Winkler <winkler@gnu.org>
9639
9640 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9641 (bibtex-clean-entry): First delete the old key so that a
9642 customized algorithm for generating the new key does not get
9643 confused by the old key.
9644 (bibtex-url): Obey regexp of first step.
9645 (bibtex-search-entries): Do not use add-to-list with local
9646 list-var.
9647
9648 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9649
9650 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9651 stored a user name, then query for the password first, instead of
9652 waiting for SMTP to give an error message and the trying again.
9653
9654 2011-06-22 Lawrence Mitchell <wence@gmx.li>
9655
9656 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9657 BUFFER in call-process.
9658
9659 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9660
9661 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9662 QUIT twice.
9663 (smtpmail-try-auth-methods): Require user name and password from
9664 auth-source.
9665
9666 2011-06-22 Martin Rudalics <rudalics@gmx.at>
9667
9668 * window.el (display-buffer-default-specifiers)
9669 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9670 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9671 (split-window): Normalize SIDE argument (Bug#8916).
9672
9673 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9674 (special-display-frame-alist, special-display-popup-frame):
9675 Remove duplicate declarations. These are now in window.el.
9676
9677 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9678
9679 * mail/smtpmail.el (smtpmail-via-smtp):
9680 Set :use-starttls-if-possible so that we always use STARTTLS if the
9681 server supports it. SMTP servers that support STARTTLS commonly
9682 require it.
9683
9684 * net/network-stream.el (network-stream-open-starttls): Support
9685 upgrading to STARTTLS always, even if we don't have built-in support.
9686 (open-network-stream): Add the :always-query-capabilities keyword.
9687
9688 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9689 upgrades with `open-network-stream', and rely solely on
9690 auth-source for all credentials. Big changes throughout the file,
9691 but in particular:
9692 (smtpmail-auth-credentials): Remove.
9693 (smtpmail-starttls-credentials): Remove.
9694 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9695 MAIL FROM, too.
9696
9697 * net/network-stream.el (network-stream-open-starttls):
9698 Provide support for client certificates both for external and built-in
9699 STARTTLS.
9700 (auth-source): Require.
9701 (open-network-stream): Document the :client-certificate keyword.
9702 (network-stream-certificate): Change cert-cert to cert and
9703 cert-key to key.
9704
9705 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
9706
9707 * net/tramp-cache.el (top): Don't load the persistency file when
9708 "emacs -Q" has been called.
9709
9710 2011-06-21 Tim Harper <timcharper@gmail.com>
9711
9712 * term/ns-win.el (ns-initialize-window-system):
9713 Set application-specific `ApplePressAndHoldEnabled' system
9714 resource to NO as it is not yet supported by the NS port.
9715
9716 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
9717
9718 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9719 (list-dynamic-libraries): ...not here.
9720
9721 2011-06-21 Leo Liu <sdl.web@gmail.com>
9722
9723 * subr.el (sha1): Implement sha1 using secure-hash.
9724
9725 2011-06-21 Martin Rudalics <rudalics@gmx.at>
9726
9727 * window.el (display-buffer-alist): In default value do not
9728 enforce searching a window on any but the selected frame.
9729 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9730 (display-buffer-select-window): Remove function.
9731 (display-buffer-in-window): When a window on another frame gets
9732 reused, do not select it any more but just raise its frame if
9733 necessary (Bug#8851) and (Bug#8856).
9734 (display-buffer-normalize-options): Handle pop-up-frames related
9735 options more faithfully.
9736 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9737 window if it is on another frame.
9738 (display-buffer-alist, display-buffer-default-specifiers):
9739 Don't make new frame unsplittable by default.
9740 (display-buffer-normalize-argument): Fix doc-string typo and use
9741 'same-frame-other-window instead of 'other-window when associating
9742 with display-buffer-macro-specifiers.
9743
9744 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9745
9746 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9747 New functions.
9748 (5x5-mode-map, 5x5-mode-menu): Bind them.
9749 (5x5-draw-grid): Tweak the solver's rendering.
9750
9751 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9752
9753 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9754 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9755
9756 2011-06-21 Drew Adams <drew.adams@oracle.com>
9757
9758 * menu-bar.el: Use function variable instead of switch-to-buffer.
9759 (menu-bar-select-buffer-function): New variable.
9760 (menu-bar-update-buffers): Use it (bug#8876).
9761
9762 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9763
9764 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9765 variable's status.
9766
9767 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9768
9769 * x-dnd.el (x-dnd-version-from-flags)
9770 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9771 and long as number (Bug#8899).
9772 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9773
9774 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9775
9776 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9777 (completion-try-completion, completion-all-completions): Compute the
9778 metadata argument if it's missing; make it optional (bug#8795).
9779
9780 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9781 (widget-complete): Use new :completion-function property.
9782 (widget-completions-at-point): New function.
9783 (default): Use :completion-function instead of :complete.
9784 (widget-default-completions): Rename from widget-default-complete;
9785 Rewrite.
9786 (widget-string-complete, widget-file-complete, widget-color-complete):
9787 Remove functions.
9788 (file, symbol, function, variable, coding-system, color):
9789 * international/mule-cmds.el (default-input-method, charset)
9790 (language-info-custom-alist):
9791 * cus-edit.el (face): Use new property :completions.
9792
9793 * progmodes/pascal.el (pascal-completions-at-point): New function.
9794 (pascal-mode): Use it.
9795 (pascal-mode-map): Use completion-at-point.
9796 (pascal-toggle-completions): Make obsolete.
9797 (pascal-complete-word, pascal-show-completions):
9798 * progmodes/octave-mod.el (octave-complete-symbol):
9799 Redefine as obsolete alias.
9800 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9801 Signal absence of completion info for old Octave,
9802 (inferior-octave-complete): Redefine as obsolete alias.
9803 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9804 (meta-completions-at-point): Rename from meta-complete-symbol and
9805 adapt it for use on completion-at-point-functions.
9806 (meta-common-mode): Use it.
9807 (meta-looking-at-backward, meta-match-buffer): Remove.
9808 (meta-complete-symbol): Redefine as obsolete alias.
9809 (meta-common-mode-map): Use completion-at-point.
9810 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9811 (makefile-mode-map): Use completion-at-point.
9812 (makefile-completions-at-point): Rename from makefile-complete and
9813 adapt it for use on completion-at-point-functions.
9814 (makefile-mode): Use it.
9815 (makefile-complete): Redefine as obsolete alias.
9816
9817 2011-06-20 Deniz Dogan <deniz@dogan.se>
9818
9819 * net/rcirc.el: Delete trailing whitespaces once and for all.
9820
9821 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9822
9823 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9824
9825 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9826
9827 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9828
9829 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9830
9831 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9832
9833 * window.el (display-buffer-other-window-means-other-frame):
9834 Call display-buffer-normalize-alist.
9835 (display-buffer-normalize-specifiers-1): Rename to
9836 display-buffer-normalize-argument. New argument other-frame.
9837 Rewrite.
9838 (display-buffer-normalize-specifiers-2): Rename to
9839 display-buffer-normalize-options.
9840 (display-buffer-normalize-alist-1): New function.
9841 (display-buffer-normalize-specifiers-3): Rename to
9842 display-buffer-normalize-alist.
9843 Call display-buffer-normalize-alist-1.
9844 (display-buffer-normalize-options-inhibit): New variable.
9845 (display-buffer-normalize-specifiers): Rewrite calling
9846 display-buffer-normalize-alist,
9847 display-buffer-normalize-argument, and
9848 display-buffer-normalize-options. Don't call the latter if
9849 display-buffer-normalize-options-inhibit is non-nil.
9850 (frame-auto-delete): New option.
9851 (window-deletable-p): Use frame-auto-delete.
9852 (window-list-no-nils, window-state-ignored-parameters)
9853 (window-state-get-1, window-state-get, window-state-put-list)
9854 (window-state-put-1, window-state-put-2, window-state-put):
9855 New functions.
9856 (display-buffer-normalize-options): Move special-display-p group
9857 after pop-up-frame group (Bug#8851) and (Bug#8856).
9858
9859 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9860
9861 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9862 groups (Bug#8776).
9863 (rx-submatch-n): New function.
9864 (rx): Document it.
9865
9866 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9867 (Bug#8768).
9868
9869 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9870
9871 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9872
9873 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9874 anytime existing face settings are present (Bug#8889).
9875
9876 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9877 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9878 Remove unused argument.
9879
9880 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9881
9882 * window.el (display-buffer-default-specifiers):
9883 Remove pop-up-frame. Add pop-up-window-min-height,
9884 pop-up-window-min-width, and another reuse-window specifier
9885 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9886 (display-buffer-normalize-specifiers-2):
9887 Handle split-height-threshold and split-width-threshold also when
9888 pop-up-windows is unset. Add a reuse-window specifier for the
9889 case popping up a new window fails.
9890 (special-display-popup-frame): Remove double quoting.
9891 (display-buffer-normalize-specifiers-1): Fix thinko.
9892
9893 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9894
9895 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9896 according to comint-completion-addsuffix.
9897
9898 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9899 (pcomplete-suffix-list): Mark as obsolete.
9900 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9901 pcomplete-seen in the closure.
9902 (pcomplete-comint-setup): Setup completion-at-point as well.
9903 (pcomplete--entries): New function.
9904 (pcomplete--env-regexp): New var.
9905 (pcomplete-entries): Rewrite to work with partial-completion and
9906 without relying on pcomplete-suffix-list.
9907 (pcomplete-pare-list): Remove, unused.
9908
9909 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9910
9911 * window.el (display-buffer-alist): Set pop-up-window-min-height
9912 and pop-up-window-min-width in default value. Reported by
9913 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9914 other-window-means-other-frame.
9915 (display-buffer-macro-specifiers): Comment out entry for
9916 other-window specifier.
9917 (display-buffer-other-window-means-other-frame): New function.
9918 (display-buffer-normalize-specifiers-1): New arguments
9919 buffer-name and label. Treat other-window case specially.
9920 (display-buffer-normalize-specifiers-2): Treat other-window case
9921 specially.
9922 (display-buffer-normalize-specifiers-3): New function.
9923 (display-buffer-normalize-specifiers):
9924 Call display-buffer-normalize-specifiers-3.
9925
9926 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9927
9928 * window.el (same-window-p): Fix two typos introduced when
9929 adding with-no-warnings.
9930 (display-buffer-normalize-specifiers-1): Don't check
9931 pop-up-frames for 'unset initialization.
9932 (display-buffer-normalize-specifiers-2): Major rewrite using
9933 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9934 (pop-up-frames, display-buffer-reuse-frames)
9935 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9936 Suggested by David Engster <deng@randomsample.de>.
9937 (even-window-heights): Initialize to 'unset.
9938 (display-buffer-alist-set): Handle new 'unset initializations.
9939 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9940 other window case.
9941
9942 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9943
9944 * window.el (display-buffer-normalize-specifiers-1):
9945 Respect current value of pop-up-frames for most reasonable values of
9946 second argument of display-buffer (Bug#8865).
9947 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9948 (switch-to-buffer-other-window-same-frame)
9949 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9950 Adams (Bug#8875).
9951 (display-buffer): Don't check noninteractive when calling
9952 display-buffer-pop-up-frame.
9953 (display-buffer-pop-up-frame): Never pop up a frame in
9954 noninteractive mode (Bug#8857).
9955 (enlarge-window, shrink-window): Don't report an error when the
9956 window can't be resized as requested (Bug#8862).
9957
9958 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9959
9960 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9961
9962 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9963
9964 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9965
9966 2011-06-15 Alan Mackenzie <acm@muc.de>
9967
9968 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9969 for declarators, disable knr checking to speed up for normal files.
9970 2: Refactor, replacing a sequence of nested if forms by a cond form.
9971
9972 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9973
9974 * net/network-stream.el (open-network-stream): Add the keyword
9975 :always-query-capabilities for the case where you want to force a
9976 `plain' network connection, but the protocol still requires the
9977 capabilitiy command (i.e., SMTP and EHLO).
9978
9979 * subr.el (process-live-p): Rename from `process-alive-p' for
9980 consistency with other `-live-p' functions.
9981
9982 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9983
9984 * window.el (same-window-buffer-names, same-window-regexps)
9985 (special-display-frame-alist, special-display-popup-frame)
9986 (special-display-function, special-display-buffer-names)
9987 (special-display-regexps, pop-up-frame-alist)
9988 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9989 (pop-up-windows, split-window-preferred-function)
9990 (split-height-threshold, split-width-threshold, even-window-heights)
9991 (display-buffer-mark-dedicated): Don't encourage the use of
9992 display-buffer-alist from Elisp code.
9993
9994 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9995
9996 * progmodes/python.el (python-mode): Derive from prog-mode.
9997 * progmodes/ps-mode.el (ps-mode):
9998 * progmodes/mixal-mode.el (mixal-mode):
9999 * progmodes/cfengine.el (cfengine-mode):
10000 * progmodes/ld-script.el (ld-script-mode): Likewise.
10001
10002 2011-06-15 Martin Rudalics <rudalics@gmx.at>
10003
10004 * window.el (display-buffer-alist): Trim default value to avoid
10005 popping up a new frame (Bug#8857) or reusing an arbitrary window
10006 on another frame.
10007 (display-buffer): Do not fall back on popping up a new frame in
10008 batch mode (Bug#8857).
10009
10010 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
10011
10012 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10013 (custom-theme-summary): New function.
10014 (customize-themes): Use it.
10015
10016 2011-06-13 Glenn Morris <rgm@gnu.org>
10017
10018 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10019
10020 2011-06-13 Martin Rudalics <rudalics@gmx.at>
10021
10022 * help.el (help-window): Remove variable.
10023 (help-window-point-marker, temp-buffer-max-height)
10024 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10025 (help-print-return-message): Don't set help-window.
10026 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10027 (help-window-setup-finish): Remove.
10028 (help-window-display-message, help-window-setup)
10029 (with-help-window): Major rewrite based on new
10030 display-buffer-window variable.
10031
10032 * help-mode.el (help-mode-finish): Remove help-window related
10033 code.
10034
10035 * view.el (view-exits-all-viewing-windows): Remove reference to
10036 view-return-to-alist in doc-string.
10037 (view-return-to-alist): Make obsolete.
10038 (view-buffer): Call pop-to-buffer-same-window and remove
10039 undo-window code.
10040 (view-buffer-other-window): Call pop-to-buffer-other-window and
10041 simplify code. Ignore second argument.
10042 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10043 simplify code. Ignore second argument.
10044 (view-return-to-alist-update): Make obsolete.
10045 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10046 Rewrite using quit-restore window parameters.
10047 (view-mode-exit): Rename second argument to EXIT-ONLY.
10048 Rewrite using quit-restore-window.
10049 (View-exit, View-exit-and-edit, View-leave, View-quit)
10050 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10051 appropriate arguments.
10052 (view-end-message): Use quit-restore window parameter.
10053
10054 * window.el (display-buffer-function): Rewrite doc-string.
10055 (display-buffer-window, display-buffer-alist): New variables.
10056 (display-buffer-split-specifiers)
10057 (display-buffer-side-specifiers)
10058 (display-buffer-macro-specifiers): New constants.
10059 (display-buffer-even-window-sizes, display-buffer-set-height)
10060 (display-buffer-set-width, display-buffer-select-window)
10061 (display-buffer-in-window, display-buffer-reuse-window)
10062 (display-buffer-split-window-1, display-buffer-split-window)
10063 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10064 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10065 (display-buffer-in-side-window, normalize-buffer-to-display)
10066 (display-buffer-normalize-specifiers-1)
10067 (display-buffer-normalize-specifiers-2)
10068 (display-buffer-normalize-specifiers, display-buffer-frame):
10069 New functions.
10070 (display-buffer): Major rewrite.
10071 (display-buffer-other-window, display-buffer-other-frame)
10072 (pop-to-buffer, switch-to-buffer-other-window)
10073 (switch-to-buffer-other-frame): Rewrite.
10074 (display-buffer-same-window, display-buffer-same-frame)
10075 (display-buffer-same-frame-other-window)
10076 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10077 (pop-to-buffer-other-window)
10078 (pop-to-buffer-same-frame-other-window)
10079 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10080 (switch-to-buffer-other-window-same-frame): New functions.
10081 (same-window-p, special-display-p): Rewrite disabling warnings.
10082 Make obsolete.
10083 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10084 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10085 Make obsolete
10086 (same-window-buffer-names, same-window-regexps)
10087 (special-display-frame-alist, special-display-popup-frame)
10088 (special-display-function, special-display-buffer-names)
10089 (special-display-regexps, pop-up-frame-alist)
10090 (pop-up-frame-function, split-window-preferred-function)
10091 (split-height-threshold, split-width-threshold)
10092 (even-window-heights): Make obsolete.
10093
10094 2011-06-12 Glenn Morris <rgm@gnu.org>
10095
10096 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
10097 Misc simplifications.
10098
10099 2011-06-12 Martin Rudalics <rudalics@gmx.at>
10100
10101 * window.el (window-safely-shrinkable-p): Restore function which
10102 was inadvertently removed in change from 2011-06-11. Declare as
10103 obsolete.
10104
10105 * calendar/calendar.el (calendar-generate-window):
10106 Use window-iso-combined-p instead of combination of one-window-p and
10107 window-safely-shrinkable-p.
10108
10109 2011-06-12 Glenn Morris <rgm@gnu.org>
10110
10111 * progmodes/fortran.el (fortran-mode-syntax-table):
10112 * progmodes/f90.el (f90-mode-syntax-table):
10113 Set % to punctuation. (Bug#8820)
10114 (f90-find-tag-default): Remove, no longer needed.
10115
10116 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10117
10118 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10119
10120 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
10121
10122 * image.el (image-animated-p): Return animation delay in seconds.
10123 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10124 (image-animate-timeout): Remove DELAY argument. Don't assume
10125 every subimage has the same delay; get it from image-animated-p.
10126 (image-animate): Caller changed.
10127
10128 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
10129
10130 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10131 to ignored backtrace functions.
10132
10133 2011-06-11 Glenn Morris <rgm@gnu.org>
10134
10135 * calendar/appt.el (appt-disp-window-function): Doc fix.
10136 (appt-check): Handle overlapping appointments. (Bug#8337)
10137
10138 2011-06-11 Martin Rudalics <rudalics@gmx.at>
10139
10140 * window.el (window-tree-1, window-tree): New functions, moving
10141 the latter to window.el.
10142 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10143 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10144 (bw-refresh-edges): Remove.
10145 (balance-windows-1, balance-windows-2): New functions.
10146 (balance-windows): Rewrite in terms of window tree functions,
10147 balance-windows-1 and balance-windows-2.
10148 (bw-adjust-window): Remove.
10149 (balance-windows-area-adjust): New function with functionality of
10150 bw-adjust-window but using resize-window.
10151 (set-window-text-height): Rewrite doc-string.
10152 Use normalize-live-window and resize-window.
10153 (enlarge-window-horizontally, shrink-window-horizontally):
10154 Rename argument to DELTA.
10155 (window-buffer-height): New function.
10156 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10157 Rewrite using new window resize routines.
10158 (kill-buffer-and-window, mouse-autoselect-window-select):
10159 Use ignore-errors instead of condition-case.
10160 (quit-window): Call delete-frame instead of delete-windows-on
10161 for the only buffer on frame.
10162
10163 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10164
10165 * loadup.el (top-level): Load window before files for the sake
10166 of replace-buffer-in-windows.
10167
10168 * files.el (read-buffer-to-switch)
10169 (switch-to-buffer-other-window)
10170 (switch-to-buffer-other-frame, display-buffer-other-frame):
10171 Move to window.el.
10172
10173 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10174 (previous-buffer): Move to window.el.
10175
10176 * bindings.el (unbury-buffer): Move to window.el.
10177
10178 * window.el (delete-other-windows-vertically): Move after
10179 definition of delete-other-windows.
10180 (other-window, delete-windows-on, replace-buffer-in-windows):
10181 Move here from window.c.
10182 (record-window-buffer, unrecord-window-buffer)
10183 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10184 (switch-to-next-buffer): New functions.
10185 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10186 from simple.el. Call switch-to-next-buffer.
10187 (previous-buffer): Move here from simple.el.
10188 Call switch-to-prev-buffer.
10189 (bury-buffer): Move here from buffer.c. Switch to previous
10190 buffer when window cannot be deleted.
10191 (unbury-buffer): Move here from bindings.el.
10192 (ctl-x-map): Move binding for other-window from window.c to
10193 here.
10194 (read-buffer-to-switch, switch-to-buffer-other-window)
10195 (switch-to-buffer-other-frame): Move here from files.el.
10196 (normalize-buffer-to-switch-to): New functions.
10197 (switch-to-buffer): Move here from buffer.c.
10198 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
10199
10200 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10201
10202 * window.el (window-min-height, window-min-width): Move here
10203 from window.c. Add defcustoms and rewrite doc-strings.
10204 (resize-mini-window, resize-window): New functions.
10205 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10206 Move here from window.c.
10207 (maximize-window, minimize-window): New functions.
10208 (delete-window, delete-other-windows, split-window): Move here
10209 from window.c.
10210 (window-split-min-size): New function.
10211 (split-window-keep-point): Mention split-window-above-each-other
10212 instead of split-window-vertically.
10213 (split-window-above-each-other, split-window-vertically):
10214 Rename split-window-vertically to split-window-above-each-other
10215 and provide defalias for old definition.
10216 (split-window-side-by-side, split-window-horizontally):
10217 Rename split-window-horizontally to split-window-side-by-side
10218 and provide defalias for the old definition.
10219 (ctl-x-map): Move bindings for delete-window,
10220 delete-other-windows and enlarge-window here from window.c.
10221 Replace bindings for split-window-vertically and
10222 split-window-horizontally by bindings for
10223 split-window-above-each-other and split-window-side-by-side.
10224
10225 * cus-start.el (all): Remove entries for window-min-height and
10226 window-min-width. Add entries for window-splits and
10227 window-nest.
10228
10229 2011-06-09 Glenn Morris <rgm@gnu.org>
10230
10231 * calendar/appt.el (appt-mode-line): New function.
10232 (appt-check, appt-disp-window): Use it.
10233
10234 * files.el (hack-one-local-variable-eval-safep):
10235 Allow minor-modes with explicit +/-1 arguments.
10236
10237 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10238
10239 * term/xterm.el (xterm): Add defgroup.
10240 (xterm-extra-capabilities): Add defcustom to supply known xterm
10241 capabilities, skip querying them, or query them (default).
10242 (terminal-init-xterm): Use it.
10243 (terminal-init-xterm-modify-other-keys): New function to set up
10244 modifyOtherKeys support to simplify `terminal-init-xterm'.
10245
10246 2011-06-09 Martin Rudalics <rudalics@gmx.at>
10247
10248 * window.el (resize-window-reset, resize-window-reset-1)
10249 (resize-subwindows-skip-p, resize-subwindows-normal)
10250 (resize-subwindows, resize-other-windows, resize-this-window)
10251 (resize-root-window, resize-root-window-vertically)
10252 (window-deletable-p, window-or-subwindow-p)
10253 (frame-root-window-p): New functions.
10254
10255 2011-06-09 Glenn Morris <rgm@gnu.org>
10256
10257 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10258 (ange-ftp-get-files): Use it.
10259
10260 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10261
10262 * mail/sendmail.el (mail-recover-1, mail-recover):
10263 * files.el (recover-file, recover-session):
10264 Handle dired-listing-switches not being just a single short option.
10265
10266 2011-06-09 Glenn Morris <rgm@gnu.org>
10267
10268 * calendar/appt.el (appt-display-message, appt-disp-window):
10269 Handle lists of appointments.
10270
10271 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10272
10273 * window.el (one-window-p): Move down in code.
10274 Rewrite doc-string.
10275 (window-current-scroll-bars): Rewrite doc-string.
10276 Normalize live window argument.
10277 (walk-windows, get-window-with-predicate, count-windows):
10278 Rewrite doc-string. Use window-list-1.
10279 (window-in-direction-2, window-in-direction, get-mru-window):
10280 New functions.
10281
10282 2011-06-08 Reuben Thomas <rrt@sc3d.org>
10283
10284 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10285 Doc fix (Bug#8713).
10286
10287 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
10288
10289 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10290
10291 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
10292
10293 * loadhist.el (unload-feature-special-hooks):
10294 Add `comint-output-filter-functions'.
10295
10296 2011-06-08 Ivan Kanis <gnu@kanis.fr>
10297
10298 * calendar/appt.el (appt-check): Move some initializations into the let.
10299
10300 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10301
10302 * window.el (window-height): Defalias to window-total-height.
10303 (window-width): Defalias to window-body-width.
10304
10305 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
10306
10307 * image-mode.el (image-toggle-animation): New command.
10308 (image-mode-map): Bind it to RET.
10309 (image-mode): Update message.
10310 (image-toggle-display-image): Avoid a spurious cache flush.
10311 (image-transform-rotation): Doc fix.
10312 (image-transform-properties): Return quickly in the normal case.
10313 (image-animate-loop): Rename from image-animate-max-time.
10314
10315 * image.el (image-animate-max-time): Move to image-mode.el.
10316 (create-animated-image): Remove unnecessary function.
10317 (image-animate): Rename from image-animate-start. New arg.
10318 (image-animate-stop): Remove; just use image-animate-timer.
10319 (image-animate-timer): Use car-safe.
10320 (image-animate-timeout): Rename argument.
10321
10322 2011-06-07 Martin Rudalics <rudalics@gmx.at>
10323
10324 * window.el (get-lru-window, get-largest-window): Move here from
10325 window.c. Rename first argument to ALL-FRAMES.
10326 Rephrase doc-strings.
10327 (get-buffer-window-list): Rewrite using window-list-1.
10328 Rephrase doc-string.
10329 (window-safe-min-height, window-safe-min-width): New constants.
10330 (window-size-ignore, window-min-size, window-min-size-1)
10331 (window-sizable, window-sizable-p, window-size-fixed-1)
10332 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10333 (window-max-delta-1, window-max-delta, window-resizable)
10334 (window-resizable-p, window-total-height, window-total-width)
10335 (window-body-width): New functions.
10336 (window-full-height-p, window-full-width-p): Rewrite using
10337 window-total-size.
10338 (window-body-height): Rewrite using window-body-size.
10339
10340 2011-06-06 Martin Rudalics <rudalics@gmx.at>
10341
10342 * window.el (window-right, window-left, window-child)
10343 (window-child-count, window-last-child, window-any-p)
10344 (normalize-live-buffer, normalize-live-frame)
10345 (normalize-any-window, normalize-live-window)
10346 (window-iso-combination-p, window-iso-combined-p)
10347 (window-iso-combinations)
10348 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10349 (windows-with-parameter, window-with-parameter)
10350 (window-atom-root, make-window-atom, window-atom-check-1)
10351 (window-atom-check, window-side-check, window-check):
10352 New functions.
10353 (ignore-window-parameters, window-sides, window-sides-vertical)
10354 (window-sides-slots): New variables.
10355 (window-size-fixed): Move down in code. Minor doc-string fix.
10356
10357 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10358
10359 * comint.el (comint-dynamic-complete-as-filename)
10360 (comint-dynamic-complete-filename): Correctly call
10361 completion-in-region.
10362
10363 2011-06-05 Deniz Dogan <deniz@dogan.se>
10364
10365 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10366 in last change.
10367
10368 2011-06-05 Deniz Dogan <deniz@dogan.se>
10369
10370 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10371 (rcirc): Use it to prompt for encryption.
10372
10373 2011-06-05 Roland Winkler <winkler@gnu.org>
10374
10375 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10376 (bibtex-search-entries): New command bound to C-c C-a.
10377 (bibtex-display-entries): New function.
10378
10379 2011-06-05 Roland Winkler <winkler@gnu.org>
10380
10381 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10382 (bibtex-insert-kill): After yanking insert newline if necessary.
10383 (bibtex-initialize): Call bibtex-string-files-init only once.
10384 (bibtex-mode): Do not call easy-menu-add.
10385 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10386 (bibtex-yank): Set arg properly if nil.
10387
10388 2011-06-05 Roland Winkler <winkler@gnu.org>
10389
10390 * textmodes/bibtex.el (bibtex-search-entry-globally):
10391 New variable.
10392 (bibtex-search-entry): Use it.
10393
10394 2011-06-05 Roland Winkler <winkler@gnu.org>
10395
10396 * textmodes/bibtex.el (bibtex-entry-format): New option
10397 sort-fields.
10398 (bibtex-format-entry, bibtex-reformat): Honor this option.
10399 (bibtex-parse-entry): Return fields in proper order.
10400
10401 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
10402
10403 * doc-view.el (doc-view-remove-if): Move computation of result out
10404 of `dolist' to silence misleading lexical-binding warning.
10405
10406 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
10407
10408 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10409 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10410
10411 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10412
10413 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10414 "SunOS 5.10".
10415
10416 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10417
10418 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10419 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10420 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10421 (tramp-parse-putty):
10422 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10423 (tramp-completion-function-alist-ssh)
10424 (tramp-completion-function-alist-telnet)
10425 (tramp-completion-function-alist-su)
10426 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10427 cookie.
10428
10429 * net/tramp-ftp.el:
10430 * net/tramp-sh.el:
10431 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10432 load "tramp.el" `tramp-set-completion-function'.
10433
10434 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10435
10436 * shell.el: Require and use pcomplete.
10437 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10438 (shell-completion-vars): Set pcomplete-default-completion-function.
10439
10440 2011-06-04 Deniz Dogan <deniz@dogan.se>
10441
10442 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10443 `memq' (Bug#8799).
10444
10445 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10446
10447 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10448
10449 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
10450
10451 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10452 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10453 * vc/log-view.el (log-view-beginning-of-defun):
10454 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10455 (smerge-refine-forward, smerge-refine-chopup-region):
10456 Silence warning for unused `dotimes' counter variables.
10457
10458 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10459
10460 * net/tramp.el (tramp-with-progress-reporter): Rename from
10461 with-progress-reporter. Use `declare'.
10462 * net/tramp-smb.el:
10463 * net/tramp-sh.el:
10464 * net/tramp-gvfs.el: Update all uses.
10465
10466 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10467
10468 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10469 buffer isn't killed before making it current.
10470
10471 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10472
10473 Silence various byte-compiler warnings.
10474 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10475 `access-type' and new obsolescence format.
10476 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10477 new format.
10478 (byte-compile-check-variable): New `access-type' argument.
10479 Only warn if the access-type is obsolete.
10480 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10481 (byte-compile-variable-set): Adjust callers.
10482 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10483 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10484 setting it as obsolete.
10485 * simple.el (minibuffer-completing-symbol):
10486 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10487 access as obsolete.
10488 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10489 obsolete yet.
10490 * international/quail.el (quail-mouse-choose-completion): Remove unused
10491 code referring to obsolete var.
10492 (quail-choose-completion-string): Remove.
10493 * server.el (server-clients-with, server-kill-buffer-query-function)
10494 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10495 * proced.el (proced-send-signal):
10496 * emacs-lisp/lisp.el (lisp-complete-symbol):
10497 Replace completion-annotate-function with completion-extra-properties.
10498
10499 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10500
10501 * simple.el (goto-line): Use read-number.
10502 (overriding-map-is-bound): Remove.
10503 (saved-overriding-map): Change default.
10504 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10505 Take the map as argument.
10506 (universal-argument, negative-argument, digit-argument): Use it.
10507 (restore-overriding-map): Adjust.
10508 (do-auto-fill): Use fill-forward-paragraph.
10509 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10510
10511 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10512 (minibuffer-inactive-mode): New major mode.
10513 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10514 the *Messages* buffer" hack.
10515 (mouse-popup-menubar): Don't burp if the event is a normal key.
10516
10517 Miscellaneous tweaks.
10518 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10519 lexical scoping as in subr.el's dolist and dotimes.
10520 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10521 Silence compiler warning.
10522 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10523 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10524 * international/ccl.el (ccl-compile): Trivial simplification.
10525 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10526 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10527 `printflag' argument.
10528 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10529 Purecopy the whole obsolescence data.
10530
10531 2011-06-01 Leo Liu <sdl.web@gmail.com>
10532
10533 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10534 improve doc-string as suggested by Marco Pessotto
10535 <melmothx@gmail.com>.
10536 (rcirc-print): Fix last change.
10537
10538 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10539
10540 * minibuffer.el (complete-with-action): Return nil for the metadata and
10541 boundaries of non-functional tables.
10542 (completion-table-dynamic): Return nil for the metadata.
10543 (completion-table-with-terminator): Add default case, using
10544 complete-with-action.
10545 (completion--metadata): New function.
10546 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10547 to try and avoid pathological performance problems.
10548 (completion--embedded-envvar-table): Return `category' metadata.
10549
10550 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10551
10552 * subr.el (process-alive-p): New tiny convenience function.
10553
10554 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10555
10556 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10557 content but also its previous major mode.
10558
10559 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
10560
10561 * emacs-lisp/debug.el (debug): Restore the previous content of the
10562 *Backtrace* buffer when we exit with C-M-c.
10563
10564 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10565
10566 * minibuffer.el: Add metadata method to completion tables.
10567 (completion-category-overrides): New defcustom.
10568 (completion-metadata, completion--field-metadata)
10569 (completion-metadata-get, completion--styles)
10570 (completion--cycle-threshold): New functions.
10571 (completion-try-completion, completion-all-completions):
10572 Add `metadata' argument to choose completion-styles.
10573 (completion--do-completion): Use metadata to choose cycling.
10574 (completion-all-sorted-completions): Use metadata for sorting.
10575 Remove :completion-cycle-penalty which is not needed any more.
10576 (completion--try-word-completion): Add `metadata' argument.
10577 (minibuffer-completion-help): Check metadata for annotation function
10578 and sorting.
10579 (completion-file-name-table): Return `category' metadata.
10580 (minibuffer-completing-file-name): Make obsolete.
10581 * simple.el (minibuffer-completing-symbol): Make obsolete.
10582 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10583 completion-try-completion.
10584
10585 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10586
10587 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10588
10589 2011-05-30 Leo Liu <sdl.web@gmail.com>
10590
10591 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10592 (rcirc-print): Decode all incoming messages (bug#8744).
10593 (rcirc-decode-coding-system): Allow value nil for automatic coding
10594 system detection.
10595
10596 2011-06-01 Glenn Morris <rgm@gnu.org>
10597
10598 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10599
10600 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10601
10602 * image.el (image-animate-max-time): Allow nil and t values.
10603 Default to nil.
10604 (create-animated-image): Doc fix.
10605 (image-animate-start): Remove second arg; just use
10606 image-animate-max-time.
10607 (image-animate-timeout): Doc fix. Args changed.
10608
10609 * image-mode.el (image-toggle-display-image): Ensure that the
10610 image spec passed to the animate timer is the same object as in
10611 the buffer's display property (Bug#6981).
10612 (image-transform-properties): Doc fix.
10613
10614 * image.el (image-animate-max-time): Default to nil.
10615
10616 2011-05-29 Martin Rudalics <rudalics@gmx.at>
10617
10618 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10619 entire buffer list (Bug#8184).
10620
10621 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10622
10623 * image.el (imagemagick-types-inhibit)
10624 (imagemagick-register-types): Doc fix.
10625
10626 2011-05-29 Deniz Dogan <deniz@dogan.se>
10627
10628 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10629 default.
10630
10631 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10632
10633 * select.el: Don't perform clipboard-manager saving in hooks;
10634 leave the hooks empty.
10635
10636 2011-05-28 Leo Liu <sdl.web@gmail.com>
10637
10638 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10639 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10640 (occur-edit-mode): New major mode (Bug#8463).
10641 (occur-after-change-function): New function.
10642 (occur-engine): Give Occur tags a read-only property.
10643
10644 2011-05-28 Kevin Ryde <user42@zip.com.au>
10645
10646 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10647
10648 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10649
10650 * bindings.el (help-echo): Make the initial non-indicator dash
10651 empty on graphical terminals (Bug#7295).
10652
10653 * files.el (auto-mode-alist): Move config rule after the
10654 in-stripping one (Bug#8547).
10655
10656 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10657
10658 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10659 setting (Bug#8740).
10660
10661 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10662
10663 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10664 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10665 (Bug#8539).
10666
10667 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10668
10669 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10670
10671 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10672
10673 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10674 (hs-hide-block-at-point, hs-find-block-beginning)
10675 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10676 (Bug#8279).
10677
10678 2011-05-28 Glenn Morris <rgm@gnu.org>
10679
10680 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10681
10682 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10683
10684 * help-fns.el (describe-function-1): If the function is a derived
10685 major mode, print the parent mode.
10686
10687 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10688 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10689
10690 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10691
10692 * minibuffer.el (completion--capf-wrapper): Check applicability before
10693 returning non-nil for non-exclusive completion data.
10694 * progmodes/etags.el (tags-completion-at-point-function):
10695 * info-look.el (info-lookup-completions-at-point): Mark as
10696 non-exclusive.
10697 (info-complete): Adjust accordingly.
10698
10699 * info-look.el: Convert to lexical-binding and completion-at-point.
10700 (info-lookup-completions-at-point): New function.
10701 (info-complete): Use it and completion-in-region.
10702
10703 2011-05-28 Drew Adams <drew.adams@oracle.com>
10704
10705 * isearch.el: Let M-e start with point at the first mismatched char.
10706 (isearch-fail-pos): New function.
10707 (isearch-edit-string): Use it.
10708
10709 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10710
10711 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10712
10713 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
10714
10715 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10716 traversal functions for avl-trees.
10717 (avl-tree--stack): New struct.
10718 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10719 (avl-tree-enter): Add optional `updatefun' arg.
10720 (avl-tree--do-enter): Add optional `updatefun' arg.
10721 Change return value.
10722 (avl-tree-delete): Add optional `test' and `nilflag' args.
10723 (avl-tree--do-delete): Add `test' and `nilflag' args.
10724 Change return value.
10725 (avl-tree-member): Add optional `nilflag'
10726 (avl-tree-member-p): New function.
10727 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10728 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10729 (avl-tree-stack-empty-p): New functions.
10730
10731 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10732 avl-tree--del-balance1 and make it work both ways.
10733 (avl-tree--del-balance2): Remove.
10734 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10735 make it work both ways.
10736 (avl-tree--enter-balance2): Remove.
10737 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10738 New macros.
10739 (avl-tree--mapc, avl-tree-map): Add direction argument.
10740
10741 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
10742
10743 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10744
10745 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
10746
10747 * select.el: Support clipboard managers with built-in function
10748 x-clipboard-manager-save, via delete-frame-functions and
10749 kill-emacs-hook.
10750 (xselect-convert-to-targets): Add MULTIPLE target to list.
10751 (xselect-convert-to-save-targets): New function.
10752
10753 2011-05-27 Kenichi Handa <handa@m17n.org>
10754
10755 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10756 let-binding rfc2047-encode-encoded-words to nil.
10757
10758 2011-05-27 Glenn Morris <rgm@gnu.org>
10759
10760 * mail/emacsbug.el: Don't require url-util.
10761
10762 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10763
10764 * files.el (set-auto-mode):
10765 Also respect mode: entries at the end of the file. (Bug#8586)
10766
10767 2011-05-26 Glenn Morris <rgm@gnu.org>
10768
10769 * files.el (hack-local-variables-prop-line, hack-local-variables):
10770 Downcase mode names, as seems to be traditional.
10771 (hack-local-variables, hack-local-variables-apply): Doc fixes.
10772
10773 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10774 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10775
10776 2011-05-25 Julien Danjou <julien@danjou.info>
10777
10778 * textmodes/rst.el (rst-define-level-faces): Do not define face
10779 symbol if it is already defined.
10780
10781 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10782
10783 * play/5x5.el (5x5-new-game, 5x5-randomize):
10784 Reset 5x5-solver-output to nil when a new grid is cast.
10785 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10786 these debugging traces, as defmacro breaks the compiled code.
10787
10788 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10789
10790 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10791
10792 2011-05-24 Leo Liu <sdl.web@gmail.com>
10793
10794 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10795 (vc-bzr-sha1): Adapt.
10796
10797 * sha1.el: Remove. Function `sha1' is now builtin.
10798
10799 * bindings.el: Provide sha1 feature.
10800
10801 2011-05-24 Kenichi Handa <handa@m17n.org>
10802
10803 * mail/sendmail.el: Require `rfc2047'.
10804 (mail-insert-from-field): Do not perform RFC2047 encoding.
10805 (mail-encode-header): New function.
10806 (sendmail-send-it): Set buffer-file-coding-system of the work
10807 buffer to the return value of select-message-coding-system.
10808 Call mail-encode-header.
10809
10810 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10811
10812 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10813
10814 * mail/supercite.el (sc-default-cite-frame):
10815 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10816
10817 2011-05-24 Glenn Morris <rgm@gnu.org>
10818
10819 * progmodes/python.el (brm-menu): Declare.
10820
10821 * emulation/viper.el (viper-set-hooks): Declare.
10822
10823 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10824 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10825 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10826 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10827 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10828 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10829
10830 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10831
10832 Add an :exit-function for completion-at-point.
10833
10834 * minibuffer.el (completion--done): New fun.
10835 (completion--do-completion): Use it. New arg `expect-exact'.
10836 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10837 since completion--do-completion does it for us now.
10838 (minibuffer-force-complete): Use completion--done and
10839 completion--replace. Handle sole-completion case with more care.
10840 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10841 (completion-extra-properties): New var.
10842 (completion-annotate-function): Make obsolete.
10843 (minibuffer-completion-help): Adjust accordingly.
10844 Use completion-list-insert-choice-function.
10845 (completion-at-point, completion-help-at-point):
10846 Bind completion-extra-properties.
10847 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10848 * simple.el (completion-list-insert-choice-function): New var.
10849 (completion-setup-function): Preserve it.
10850 (choose-completion): Pay attention to it, shuffle the code a bit.
10851 (choose-completion-string): New arg `insert-function'.
10852
10853 * textmodes/bibtex.el: Convert to lexical binding.
10854 (bibtex-mode-map): Use completion-at-point.
10855 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10856 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10857 (bibtex-complete): Define as obsolete alias.
10858 (bibtex-complete-internal): Remove.
10859 (bibtex-format-entry): Remove unused sub-group in regexp.
10860 * shell.el (shell--command-completion-data)
10861 (shell-environment-variable-completion):
10862 * pcomplete.el (pcomplete-completions-at-point):
10863 * comint.el (comint--complete-file-name-data): Use :exit-function
10864 instead of completion-table-with-terminator so it also works for
10865 choose-completion.
10866
10867 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10868
10869 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10870
10871 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10872 (bug#8710).
10873
10874 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10875
10876 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10877
10878 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10879 customization variable and implement: If non-nil, auto-fill will
10880 be inhibited while on topic's header line.
10881
10882 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10883
10884 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10885 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10886 always have a solution in grid size = 5 cases.
10887 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10888 (5x5-solver-output, 5x5-log-buffer): New vars.
10889 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10890 Make these variables buffer local to achieve 5x5 multi-session-ness.
10891 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10892 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10893 (5x5-solve-suggest): New funs.
10894 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10895 randomize a grid so that we ensure that there is always a solution.
10896 (5x5-make-random-grid): Allow other movement than flipping.
10897
10898 2011-05-23 Kevin Ryde <user42@zip.com.au>
10899
10900 * emacs-lisp/advice.el (ad-read-advised-function):
10901 Use `function-called-at-point' as the default, if it has
10902 advice and passes PREDICATE.
10903
10904 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10905
10906 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10907 byte-compile-lambda if it's actually a lambda.
10908
10909 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10910 Fix function quoting. Use backquote better.
10911
10912 2011-05-22 Yuanle Song <sylecn@gmail.com>
10913
10914 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10915 matching (Bug#8516).
10916
10917 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10918
10919 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10920 different face (Bug#8178).
10921
10922 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10923
10924 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10925 defface (Bug#8144).
10926
10927 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10928
10929 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10930 funcall as well (bug#8712). Warn when performing those conversions.
10931 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10932
10933 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10934
10935 2011-05-22 Glenn Morris <rgm@gnu.org>
10936
10937 * files.el (hack-local-variables-prop-line): Small simplifications.
10938 (hack-local-variables, hack-local-variables-prop-line):
10939 If MODE-ONLY, return the mode, rather than just `t'.
10940
10941 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10942
10943 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10944
10945 2011-05-21 Glenn Morris <rgm@gnu.org>
10946
10947 * files.el (hack-local-variables-prop-line, hack-local-variables):
10948 If only interested in the mode, don't bother doing the other stuff.
10949
10950 * image-mode.el (image-after-revert-hook):
10951 Redraw all frames on which the image is visible. (Bug#8567)
10952
10953 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10954
10955 * wid-edit.el (widget-checklist-match-inline):
10956 Fix 2011-04-19 change. (Bug#8649)
10957
10958 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10959
10960 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10961 Also allow singlespace after single-letter capitals followed by a dot.
10962
10963 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10964 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10965
10966 2011-05-20 Nix <nix@esperi.org.uk>
10967
10968 * files.el (basic-save-buffer-2):
10969 Fix handling of break-hardlink-on-save with non-existent files.
10970
10971 2011-05-19 Deniz Dogan <deniz@dogan.se>
10972
10973 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10974 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10975
10976 2011-05-19 Glenn Morris <rgm@gnu.org>
10977
10978 * progmodes/f90.el (f90-type-def-re):
10979 Handle "type, bind(c)". (Bug#8691)
10980
10981 * emacs-lisp/autoload.el (batch-update-autoloads):
10982 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10983
10984 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
10985
10986 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10987 property for the correct connection in case of multihops.
10988
10989 2011-05-18 Glenn Morris <rgm@gnu.org>
10990
10991 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10992 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10993
10994 Rationalize calendar handling of day and month abbrev-arrays.
10995 * calendar/calendar.el (calendar-customized-p): New function.
10996 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10997 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10998 Add :set function.
10999 (calendar-abbrev-length, calendar-day-abbrev-array)
11000 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11001 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11002 Elements may no longer be nil.
11003 (calendar-day-name, calendar-month-name):
11004 Update for changed nature of abbrev arrays.
11005 * calendar/diary-lib.el (diary-name-pattern):
11006 Update for changed nature of abbrev arrays.
11007 (diary-mark-entries-1): Update calendar-make-alist calls.
11008 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11009 * calendar/cal-html.el (cal-html-day-abbrev-array):
11010 Simply inherit from calendar-day-abbrev-array.
11011
11012 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11013
11014 * progmodes/grep.el (grep-mode): Disable default
11015 compilation-directory-matcher setting (bug#8684).
11016
11017 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
11018
11019 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11020 instead of "head" and "tail". There were problems with SunOS 5.9,
11021 and it performs better.
11022
11023 2011-05-17 Glenn Morris <rgm@gnu.org>
11024
11025 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11026
11027 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11028 Replace obsolete function.
11029
11030 * shell.el (pcomplete-parse-arguments-function): Declare.
11031
11032 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11033 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11034 (appt-check): Doc fixes.
11035 (appt-disp-window-function, appt-delete-window-function):
11036 Remove needless special case in custom :type.
11037 (appt-display-count): Default to 0, not nil.
11038 (appt-check): Reset appt-display-count to 0, not nil.
11039
11040 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
11041
11042 * progmodes/python.el (python-font-lock-keywords):
11043 Add the Python 3.X keyword "nonlocal" (bug#8639).
11044
11045 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11046
11047 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11048
11049 2011-05-16 Kevin Ryde <user42@zip.com.au>
11050
11051 * info-look.el (makefile-automake-mode): New setups, looking in
11052 automake manual, then makefile-mode.
11053 (makefile-mode): Remove automake manual, have it just in
11054 makefile-automake-mode since there's various things different or
11055 not relevant to plain make.
11056 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11057 believe a hypothetical automake-mode would go to makefile-mode,
11058 not the other way around.
11059
11060 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
11061
11062 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11063 hunk-end tags (Bug#8672).
11064
11065 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11066 vc-annotate-show-diff-revision-at-line (Bug#8671).
11067
11068 2011-05-14 Glenn Morris <rgm@gnu.org>
11069
11070 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11071 in the middle of an existing one with multiple authors. (Bug#8645)
11072 (change-log-font-lock-keywords): Also handle multiple author lines
11073 with leading tabs. (Bug#8644)
11074
11075 * calendar/appt.el (appt-check): Rename some local variables.
11076 Some simplification/reordering.
11077
11078 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11079 (feedmail-sendmail-f-doesnt-sell-me-out)
11080 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11081 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11082 (feedmail-queue-runner-message-sender): Set :version.
11083 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11084 (bbdb-dwim-net-address, vm-mail): Declare.
11085 (feedmail-binmail-gnulinuxish-template):
11086 Rename from feedmail-binmail-linuxish-template.
11087 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11088 Use insert-buffer-substring.
11089
11090 2011-05-14 Bill Carpenter <bill@carpenter.org>
11091
11092 * mail/feedmail.el (feedmail-patch-level): Increase.
11093 (feedmail-debug): New custom group.
11094 (feedmail-confirm-outgoing-timeout)
11095 (feedmail-sendmail-f-doesnt-sell-me-out)
11096 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11097 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11098 (feedmail-sender-line, feedmail-from-line)
11099 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
11100 (feedmail-spray-this-address)
11101 (feedmail-spray-address-fiddle-plex-list)
11102 (feedmail-queue-use-send-time-for-date)
11103 (feedmail-queue-use-send-time-for-message-id)
11104 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11105 (feedmail-buffer-eating-function):
11106 Doc fixes.
11107 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11108 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11109 (feedmail-message-action-scroll-down): New functions.
11110 (feedmail-queue-directory, feedmail-queue-draft-directory):
11111 Use expand-file-name.
11112 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11113 Remove C-v help entry.
11114 (feedmail-queue-buffer-file-name): New variable.
11115 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11116 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11117 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11118 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11119 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11120 (feedmail-message-action-toggle-spray)
11121 (feedmail-run-the-queue-no-prompts)
11122 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11123 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11124 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11125 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11126 (feedmail-envelope-deducer, feedmail-fiddle-from)
11127 (feedmail-fiddle-sender, feedmail-default-date-generator)
11128 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11129 (feedmail-fiddle-spray-address)
11130 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11131 (feedmail-fiddle-list-of-fiddle-plexes)
11132 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11133 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11134 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11135 Change default. Doc fix.
11136 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11137 (feedmail-binmail-linuxish-template): New constant.
11138 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11139 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11140 (feedmail-send-it): Add debug call.
11141 Use feedmail-queue-buffer-file-name, and
11142 feedmail-send-it-immediately-wrapper.
11143 (feedmail-message-action-send): Add debug call.
11144 Use feedmail-send-it-immediately-wrapper.
11145 (feedmail-queue-express-to-queue): Add debug call.
11146 Run feedmail-queue-express-hook.
11147 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11148 (feedmail-message-action-help-blat):
11149 Rename from feedmail-queue-send-edit-prompt-help-first.
11150 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11151 Check line-endings. Handle errors better.
11152 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11153 Doc fix. Add debug call.
11154 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11155 Use feedmail-queue-send-edit-prompt-inner.
11156 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11157 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11158 from feedmail-queue-send-edit-prompt.
11159 (feedmail-queue-send-edit-prompt-help)
11160 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11161 (feedmail-tidy-up-slug): Add debug call.
11162 Respect feedmail-queue-slug-suspect-regexp.
11163 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11164 (feedmail-dump-message-to-queue): Add debug call.
11165 Expand queue-directory.
11166 (feedmail-dump-message-to-queue): Change message slightly.
11167 Use feedmail-say-chatter.
11168 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11169 (feedmail-send-it-immediately-wrapper): New function.
11170 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11171 Insert empty string rather than newline. Handle full-frame case.
11172 Use catch/throw. Use feedmail-say-chatter.
11173 (feedmail-fiddle-from): Try mail-host-address.
11174 (feedmail-default-message-id-generator): Doc fix.
11175 Bind system-time-locale. Handle missing end.
11176 (feedmail-fiddle-x-mailer): Add debug call.
11177 Handle feedmail-x-mailer-line being nil.
11178 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11179 Add debug call. Use buffer-substring-no-properties.
11180 (feedmail-say-debug, feedmail-say-chatter): New functions.
11181 (feedmail-find-eoh): Give an explicit error.
11182
11183 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
11184
11185 * net/newst-treeview.el (newsticker-treeview-face): Change default
11186 family from helvetica to sans.
11187 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
11188 etc/images/newsticker.
11189
11190 * net/newst-reader.el (newsticker-feed-face): Change default
11191 family from helvetica to sans.
11192
11193 * net/newst-plainview.el (newsticker-new-item-face)
11194 (newsticker-old-item-face, newsticker-immortal-item-face)
11195 (newsticker-obsolete-item-face, newsticker-date-face)
11196 (newsticker-statistics-face): Change default family from
11197 helvetica to sans.
11198 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
11199 etc/images/newsticker.
11200
11201 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11202 (newsticker--process-auto-mark-filter-match): Tell user about
11203 auto-marking.
11204
11205 2011-05-13 Didier Verna <didier@xemacs.org>
11206
11207 Common Lisp indentation improvements on defmethod and lambda-lists.
11208 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11209 TODO entries.
11210 (lisp-lambda-list-keyword-parameter-indentation)
11211 (lisp-lambda-list-keyword-parameter-alignment)
11212 (lisp-lambda-list-keyword-alignment): New customizable user options.
11213 (lisp-indent-defun-method): Improve docstring.
11214 (extended-loop-p): Fix comment.
11215 (lisp-indent-lambda-list-keywords-regexp): New variable.
11216 (lisp-indent-lambda-list): New function.
11217 (lisp-indent-259): Use it.
11218 (lisp-indent-defmethod): Support for more than one
11219 method qualifier and properly indent methods lambda-lists.
11220 (defgeneric): Provide a missing common-lisp-indent-function property.
11221
11222 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11223
11224 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11225 bounds for the empty string (bug#8667).
11226
11227 2011-05-13 Glenn Morris <rgm@gnu.org>
11228
11229 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11230
11231 * mail/sendmail.el (sendmail-program): Try executable-find first.
11232 (sendmail-send-it): `sendmail-program' cannot be unbound.
11233
11234 * calendar/appt.el (appt-make-list): Simplify.
11235 (appt-time-msg-list): Doc fix.
11236 (appt-check): Change mode-line message at the time of the appointment.
11237
11238 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11239
11240 * progmodes/ld-script.el (ld-script-keywords)
11241 (ld-script-builtins): Update keywords list.
11242
11243 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11244
11245 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11246
11247 * shell.el (shell-completion-vars): New function.
11248 (shell-mode):
11249 * simple.el (read-shell-command): Use it.
11250 (blink-matching-open): No need for " [...]" in minibuffer-message.
11251
11252 2011-05-12 Glenn Morris <rgm@gnu.org>
11253
11254 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11255 (appt-check): Simplify.
11256
11257 2011-05-12 Eli Zaretskii <eliz@gnu.org>
11258
11259 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
11260 literal "/dev/null".
11261
11262 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11263
11264 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11265 Fix typo.
11266
11267 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
11268
11269 * progmodes/which-func.el (which-function):
11270 Use add-log-current-defun instead of add-log-current-defun-function,
11271 which might not be defined (Bug#8260).
11272
11273 2011-05-12 Glenn Morris <rgm@gnu.org>
11274
11275 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11276 Let byte-compile-initial-macro-environment always take precedence.
11277
11278 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11279
11280 * net/rcirc.el: Add support for SSL/TLS connections.
11281 (rcirc-server-alist): New field `encryption'.
11282 (rcirc): Check `encryption' settings.
11283 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11284 Merge make-local-variable into `set'.
11285 (rcirc--connection-open-p): New function.
11286 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11287 the process is not a network process (e.g. running gnutls-cli).
11288 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11289 Make rcirc-(en|de)code-coding-system local here.
11290 (rcirc-mode): Merge make-local-variable into `set'.
11291 (rcirc-parent-buffer): Make permanent buffer-local.
11292 (rcirc-multiline-minor-mode): Don't do it here.
11293 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11294 there's no server buffer.
11295
11296 2011-05-11 Glenn Morris <rgm@gnu.org>
11297
11298 * newcomment.el (comment-kill): Prefix "unused" local.
11299
11300 * term/w32console.el (get-screen-color): Declare.
11301
11302 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11303 Handle symbol elements of byte-compile-initial-macro-environment.
11304
11305 2011-05-10 Leo Liu <sdl.web@gmail.com>
11306
11307 * bookmark.el (bookmark-bmenu-mode-map):
11308 Bind bookmark-bmenu-search to `/'.
11309
11310 * mail/footnote.el: Convert to utf-8 encoding.
11311 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11312 (Footnote-unicode): New function.
11313 (footnote-style-alist): Add unicode style to the list.
11314 (footnote-style): Doc fix.
11315
11316 2011-05-10 Jim Meyering <meyering@redhat.com>
11317
11318 Fix doubled-word typos.
11319 * international/quail.el (quail-insert-kbd-layout): and and -> and
11320 * kermit.el: and and -> and
11321 * net/ldap.el (ldap-search-internal): to to -> to
11322 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11323 * progmodes/js.el (js-mode): and and -> and
11324 * textmodes/artist.el (artist-move-to-xy): at at -> at
11325 (artist-draw-region-trim-line-endings): if if -> if
11326 And Safetyc -> Safety.
11327 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11328
11329 2011-05-10 Glenn Morris <rgm@gnu.org>
11330 Stefan Monnier <monnier@iro.umontreal.ca>
11331
11332 * files.el (hack-one-local-variable-eval-safep):
11333 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11334
11335 2011-05-10 Glenn Morris <rgm@gnu.org>
11336
11337 * calendar/diary-lib.el (diary-list-entries-hook)
11338 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11339 (diary-nongregorian-marking-hook, diary-list-entries)
11340 (diary-include-other-diary-files, diary-mark-entries)
11341 (diary-mark-included-diary-files): Doc fixes.
11342
11343 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11344
11345 * misc.el: Require tabulated-list.el during compilation.
11346
11347 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11348
11349 * progmodes/compile.el (compilation-start):
11350 Run compilation-filter-hook for the async case too.
11351 (compilation-filter-hook): Doc fix.
11352
11353 2011-05-09 Deniz Dogan <deniz@dogan.se>
11354
11355 * wdired.el: Remove outdated installation comment. Fix usage
11356 comment.
11357
11358 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11359
11360 * misc.el: Implement new command `list-dynamic-libraries'.
11361 (list-dynamic-libraries--loaded-only-p): New variable.
11362 (list-dynamic-libraries--refresh): New function.
11363 (list-dynamic-libraries): New command.
11364
11365 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11366
11367 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11368 Fix the ant regexp to handle end-line and end-column info from jikes.
11369 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11370 higher priority to avoid clobbering by gnu.
11371
11372 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11373
11374 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11375 if the face has existing theme settings (Bug#8454).
11376
11377 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11378
11379 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11380 Only match variables declared via `my' or `our' (Bug#8261).
11381
11382 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11383 special file names `.' and `..' (Bug#8259).
11384
11385 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11386
11387 * progmodes/grep.el (grep-mode-font-lock-keywords):
11388 Remove buffer-changing entries.
11389 (grep-filter): New function.
11390 (grep-mode): Add it to compilation-filter-hook.
11391
11392 * progmodes/compile.el (compilation-filter-hook)
11393 (compilation-filter-start): New defvars.
11394 (compilation-filter): Call compilation-filter-hook prior to
11395 updating the process mark.
11396
11397 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11398
11399 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11400
11401 2011-05-07 Eli Zaretskii <eliz@gnu.org>
11402
11403 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11404 mailclient-send-it even if window-system is nil. (Bug#8595)
11405
11406 * term/w32console.el (terminal-init-w32console):
11407 Call get-screen-color and use its output to set the frame
11408 background-mode. (Bug#8597)
11409
11410 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11411
11412 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11413 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11414 New functions.
11415 (defgeneric, eieio--defmethod): Use them.
11416 (eieio-defgeneric): Remove.
11417 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11418
11419 2011-05-07 Glenn Morris <rgm@gnu.org>
11420
11421 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11422 Use let rather than let*.
11423 (timeclock-find-discrep): Remove unused local.
11424
11425 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11426
11427 * calendar/appt.el (appt-time-msg-list): Doc fix.
11428
11429 2011-05-06 Noah Friedman <friedman@splode.com>
11430
11431 * apropos.el (apropos-print-doc): Only use
11432 emacs-lisp-docstring-fill-column when it is bound to an integer,
11433 per that variable's documentation.
11434
11435 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11436
11437 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
11438 and warnings are not silently discarded (e.g. use -d instead of -P).
11439
11440 2011-05-06 Glenn Morris <rgm@gnu.org>
11441
11442 * calendar/appt.el (appt-message-warning-time): Doc fix.
11443 (appt-warning-time-regexp): New option.
11444 (appt-make-list): Respect appt-message-warning-time.
11445
11446 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11447 New options.
11448 (diary-add-to-list): Strip comments from the displayed string.
11449 (diary-mode): Set comment-start and comment-end.
11450
11451 * vc/diff-mode.el (smerge-refine-subst): Declare.
11452 (diff-refine-hunk): Don't require smerge-mode when compiling.
11453
11454 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
11455
11456 * simple.el (list-processes): Return nil as the docstring says.
11457
11458 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11459
11460 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11461 to "".
11462 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11463 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11464 determining of binary transfer. (Bug#7383)
11465
11466 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11467
11468 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11469 Fix port computation bug. (Bug#8618)
11470
11471 2011-05-05 Glenn Morris <rgm@gnu.org>
11472
11473 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11474
11475 * simple.el (shell-dynamic-complete-functions)
11476 (comint-dynamic-complete-functions): Declare.
11477
11478 * net/network-stream.el (gnutls-negotiate):
11479 * simple.el (tabulated-list-print): Fix declarations.
11480
11481 * progmodes/gud.el (syntax-symbol, syntax-point):
11482 Remove unnecessary and incorrect declarations.
11483
11484 * emacs-lisp/check-declare.el (check-declare-scan):
11485 Handle byte-compile-initial-macro-environment in bytecomp.el
11486
11487 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11488
11489 Fix earlier half-done eieio-defmethod change (bug#8338).
11490 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11491 Streamline and change calling convention.
11492 (defmethod): Adjust accordingly and simplify.
11493 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11494 new eieio--defmethod.
11495 (slot-boundp): Minor CSE simplification.
11496
11497 2011-05-05 Milan Zamazal <pdm@zamazal.org>
11498
11499 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11500 (glasses-make-readable): Use glasses-separate-capital-groups.
11501
11502 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
11503
11504 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11505 (warning-series): Doc fix.
11506 (display-warning): Don't try to create the buffer if we just found it.
11507
11508 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
11509
11510 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11511 (autoload-find-generated-file): New function.
11512 (generate-file-autoloads): Bind generated-autoload-file to
11513 buffer-file-name.
11514 (update-file-autoloads, update-directory-autoloads):
11515 Use autoload-find-generated-file. If called interactively, prompt for
11516 output file (Bug#7989).
11517 (batch-update-autoloads): Doc fix.
11518
11519 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
11520
11521 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11522
11523 2011-05-04 Glenn Morris <rgm@gnu.org>
11524
11525 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11526 function, so it follows changes in calendar-date-style.
11527 (diary-fancy-date-matcher): New function.
11528 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11529 (diary-fancy-font-lock-fontify-region-function):
11530 Use diary-fancy-date-pattern as a function.
11531
11532 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11533 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11534
11535 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11536
11537 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11538 instead of positional arguments. Allow :keylist and :crlfiles
11539 arguments.
11540 (open-gnutls-stream): Call it.
11541
11542 * net/network-stream.el (network-stream-open-starttls): Adjust to
11543 call `gnutls-negotiate' with :process and :hostname arguments.
11544
11545 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11546
11547 * minibuffer.el (completion--message): New function.
11548 (completion--do-completion, minibuffer-complete)
11549 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11550 (completion--do-completion): Don't ignore completion-auto-help when in
11551 icomplete-mode.
11552
11553 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11554 internal encoding (e.g. tibetan zero is not whitespace).
11555 (global-whitespace-mode): Prefer save-current-buffer.
11556 (whitespace-trailing-regexp): Remove useless save-match-data.
11557 (whitespace-empty-at-bob-regexp): Minor simplification.
11558
11559 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
11560
11561 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11562
11563 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11564
11565 * textmodes/ispell.el (ispell-add-per-file-word-list):
11566 Use `concat' to create string for insertion.
11567
11568 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11569
11570 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11571 Avoid open-line which runs post-self-insert-hook.
11572 (bibtex-fill-entry): Remove unused `end' var.
11573
11574 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11575
11576 * textmodes/ispell.el (ispell-add-per-file-word-list):
11577 Protect against `nil' value of `comment-start' (Bug#8579).
11578
11579 2011-05-03 Leo Liu <sdl.web@gmail.com>
11580
11581 * isearch.el (isearch-yank-pop): New command.
11582 (isearch-mode-map): Bind it to `M-y'.
11583 (isearch-forward): Mention it.
11584
11585 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11586
11587 * simple.el (minibuffer-complete-shell-command): Remove.
11588 (minibuffer-local-shell-command-map): Use completion-at-point.
11589 (read-shell-command): Setup completion vars here instead.
11590 (read-expression-map): Bind TAB to symbol completion.
11591
11592 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11593 error directly rather via storing it into `results'.
11594
11595 2011-05-02 Leo Liu <sdl.web@gmail.com>
11596
11597 * vc/diff.el: Fix description.
11598
11599 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11600
11601 * server.el (server-eval-at): New function.
11602
11603 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11604
11605 * net/network-stream.el (open-network-stream): Take a :nowait
11606 parameter and pass it on to `make-network-process'.
11607 (network-stream-open-plain): Ditto.
11608
11609 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11610
11611 * faces.el (face-spec-set-match-display): Don't match toolkit
11612 options on terminal frames.
11613
11614 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11615
11616 * progmodes/pascal.el: Use lexical binding.
11617 (pascal-mode-map): Remove author preferences.
11618
11619 * pcomplete.el (pcomplete-std-complete): Don't abuse
11620 completion-at-point.
11621
11622 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11623
11624 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11625 removing code that has been dead since 1991 or so.
11626
11627 * startup.el (command-line): When warning about "_emacs", use a
11628 delayed warning to allow the user to filter it out.
11629
11630 2011-04-28 Deniz Dogan <deniz@dogan.se>
11631
11632 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11633 user has not joined.
11634
11635 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11636
11637 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11638 aren't any completions at point.
11639
11640 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11641
11642 * subr.el (display-delayed-warnings): New function.
11643 (delayed-warnings-hook): New variable.
11644
11645 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11646
11647 * minibuffer.el (completion-at-point, completion-help-at-point):
11648 Don't presume that a given completion-at-point-function will always
11649 use the same calling convention.
11650
11651 * pcomplete.el (pcomplete-completions-at-point):
11652 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11653 pcomplete-seen is non-nil.
11654 (pcomplete-comint-setup): Also recognize the new comint/shell
11655 completion functions.
11656 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11657 pcomplete-seen is non-nil.
11658
11659 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
11660
11661 * calendar/icalendar.el (diary-lib): Add require statement.
11662 (icalendar--create-uid): Read out a uid from a text-property on
11663 the first character in the entry. This allows for code to add its
11664 own uid to the entry.
11665 (icalendar--convert-float-to-ical): Add export of
11666 `diary-float'-entries save for those with the optional DAY
11667 argument.
11668
11669 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11670
11671 * subr.el (shell-quote-argument): Use alternate escaping strategy
11672 when we spot a variable reference in a string.
11673
11674 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11675
11676 * cus-start.el (all): Define customization for debug-on-event.
11677
11678 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11679
11680 * subr.el (shell-quote-argument): Escape correctly under Windows.
11681
11682 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11683
11684 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11685
11686 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
11687
11688 * net/tramp.el (tramp-process-actions): Add POS argument.
11689 Delete region between POS and (pos).
11690
11691 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11692 Use `nil' position in `tramp-process-actions' call.
11693 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11694
11695 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11696 position in `tramp-process-actions' call.
11697
11698 * net/trampver.el: Update release number.
11699
11700 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11701
11702 * custom.el (defcustom): Obey lexical-binding.
11703
11704 Fix octave-inf completion problems reported by Alexander Klimov.
11705 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11706 Inherit from octave-mode-syntax-table.
11707 (inferior-octave-mode): Set info-lookup-mode.
11708 (inferior-octave-completion-at-point): New function.
11709 (inferior-octave-complete): Use it and completion-in-region.
11710 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11711 comint-filename-completion.
11712 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11713 symbol elements which shouldn't be word elements.
11714 (octave-font-lock-keywords, octave-beginning-of-defun)
11715 (octave-function-header-regexp): Adjust regexps accordingly.
11716 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11717
11718 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
11719
11720 * net/gnutls.el (gnutls-errorp): Declare before first use.
11721
11722 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11723
11724 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11725 verify-error, and verify-hostname-error parameters. Check whether
11726 default trustfile exists before going to use it. Add missing
11727 argument to gnutls-message-maybe call. Return value.
11728 Reported by Claudio Bley <claudio.bley@gmail.com>.
11729 (open-gnutls-stream): Add usage example.
11730
11731 * net/network-stream.el (network-stream-open-starttls): Give host
11732 parameter to `gnutls-negotiate'.
11733 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11734 * subr.el (shell-quote-argument): Escape correctly under Windows.
11735
11736 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
11737
11738 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11739 Use correct match group (bug#8438).
11740
11741 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11742
11743 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11744 (package-menu--generate): New arg specifying packages to show.
11745 (package-menu-refresh, package-menu-execute, list-packages):
11746 Callers changed.
11747 (package-show-package-list): New function, replacing deleted
11748 package--list-packages (renamed because it is non-internal).
11749
11750 * finder.el (finder-list-matches): Use package-show-package-list
11751 instead of deleted package--list-packages.
11752
11753 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11754 Based on a previous implementation by Juanma Barranquero (Bug#8366).
11755 (vc-annotate-mode-map): Bind it to RET.
11756
11757 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11758
11759 * progmodes/etags.el (next-file): Don't use set-buffer to change
11760 buffers (Bug#8478).
11761
11762 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11763
11764 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11765
11766 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11767 (apropos-accumulator): Doc fix.
11768 (apropos-function, apropos-macro, apropos-command)
11769 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11770 (apropos-plist): Add face property.
11771 (apropos-symbols-internal): Fix indentation.
11772 (apropos-print): Simplify help, and recognize apropos-multi-type.
11773 (apropos-print-doc): Use button-type-get to extract the button's
11774 face property. Fill docstring (Bug#8352).
11775
11776 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11777
11778 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11779
11780 * play/mpuz.el (mpuz-silent): Doc fix.
11781 (mpuz-mode-map): Use mapc.
11782 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11783 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11784 Fix typos in docstrings.
11785
11786 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11787 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11788
11789 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11790
11791 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11792
11793 * minibuffer.el (completion--do-completion): Avoid the "Next char
11794 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11795
11796 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11797 mouse-2 into unread-command-events, it is interpreted correctly.
11798
11799 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11800 (image-toggle-display): Doc fix.
11801
11802 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11803
11804 * textmodes/page.el (what-page): Use line-number-at-pos to
11805 calculate line number (Bug#6825).
11806
11807 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11808
11809 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11810 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11811 Pass argument NO-DEFAULT to `find-tag-interactive'.
11812
11813 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11814
11815 Lexical-binding cleanup.
11816
11817 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11818 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11819 * progmodes/ada-prj.el (ada-prj-initialize-values)
11820 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11821 (ada-prj-show-value):
11822 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11823 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11824 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11825 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11826 * progmodes/bug-reference.el (bug-reference-push-button):
11827 * progmodes/fortran.el (fortran-line-length):
11828 * progmodes/glasses.el (glasses-change):
11829 * progmodes/octave-mod.el (octave-fill-paragraph):
11830 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11831 (python-pdbtrack-grub-for-buffer, python-sentinel):
11832 * progmodes/sql.el (sql-save-connection):
11833 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11834 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11835 Mark unused parameters.
11836
11837 * progmodes/compile.el (compilation--flush-directory-cache)
11838 (compilation--flush-parse, compile-internal): Mark unused parameters.
11839 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11840 (compilation-next-error-function): Remove unused variable `timestamp'.
11841
11842 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11843 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11844
11845 * progmodes/dcl-mode.el (dcl-end-of-command):
11846 Remove unused variable `start'.
11847 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11848 (dcl-option-value-basic, dcl-option-value-offset)
11849 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11850 Mark unused parameters.
11851 (dcl-save-local-variable): Remove unused variable `val'.
11852 (mode): Declare.
11853
11854 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11855 Mark unused parameters.
11856 (delphi-ignore-changes): Move before first use.
11857 (delphi-charset-token-at): Remove unused variable `start'.
11858 (delphi-else-start): Remove unused variable `if-count'.
11859 (delphi-comment-block-start, delphi-comment-block-end):
11860 Remove unused variable `kind'.
11861 (delphi-indent-line): Remove unused variable `new-point'.
11862
11863 * progmodes/ebrowse.el (ebrowse-files-list)
11864 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11865 Mark unused parameters. Don't quote `lambda'.
11866 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11867 Don't quote `lambda'.
11868 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11869 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11870 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11871 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11872 Use `ignore-errors'.
11873 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11874 (ebrowse-view/find-file-and-search-pattern)
11875 (ebrowse-view/find-member-declaration/definition):
11876 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11877 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11878 Rename parameter PREFIX-ARG to PREFIX.
11879 (ebrowse-tags-read-name): Remove unused variables `start' and
11880 `member-info'.
11881 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11882 to `tags-file'.
11883
11884 * progmodes/etags.el (local-find-tag-hook): Declare.
11885 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11886 Mark unused parameters.
11887
11888 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11889 (executable-interpret): Mark unused parameter.
11890
11891 * progmodes/flymake.el (flymake-process-sentinel)
11892 (flymake-after-change-function)
11893 (flymake-create-temp-with-folder-structure)
11894 (flymake-get-include-dirs-dot): Mark unused parameters.
11895 (flymake-safe-delete-directory): Remove unused variable `err'.
11896
11897 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11898 (speedbar-timer-fn, speedbar-line-text)
11899 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11900 (speedbar-center-buffer-smartly): Declare functions.
11901 (gdb-find-watch-expression): Remove unused variable `array'.
11902 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11903 (gdb-starting): Mark unused parameters.
11904 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11905 (gdb-table-string): Remove unused variable `res'.
11906 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11907 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11908 (gdb-display-buffer): Remove unused variable `cur-size'.
11909
11910 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11911 allow lexical-binding compilation.
11912 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11913 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11914 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11915 Mark unused parameters.
11916 (gud-gdb-marker-filter): Remove unused variable `match'.
11917 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11918 lambda expressions and funcall them, instead of using `fset'.
11919
11920 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11921 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11922
11923 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11924 variable `header-beg'; use `let'.
11925
11926 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11927 `restart', `last-sexp' and `at-do'.
11928
11929 * progmodes/js.el (js--debug): Mark unused parameter.
11930 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11931 (js--splice-into-items): Remove unused variable `item'.
11932 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11933
11934 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11935 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11936 (makefile-complete): Remove unused variable `try'.
11937 (makefile-fill-paragraph, makefile-match-function-end):
11938 Mark unused parameters.
11939
11940 * progmodes/octave-inf.el (inferior-octave-complete):
11941 Remove unused variable `proc'.
11942 (inferior-octave-output-digest): Mark unused parameter.
11943
11944 * progmodes/perl-mode.el (perl-calculate-indent):
11945 Remove unused variable `err'.
11946
11947 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11948 (prolog-indent-line): Mark unused parameters.
11949 (prolog-indent-line): Remove unused variable `beg'.
11950
11951 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11952 (reporter-dont-compact-list): Declare.
11953
11954 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11955 Remove unused variable `char'.
11956 (sh-debug): Mark unused parameter.
11957 (sh-get-indent-info): Remove unused variable `start'.
11958 (sh-calculate-indent): Remove unused variable `var'.
11959
11960 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11961 (simula-electric-keyword): Remove unused variable `null'.
11962 (simula-search-backward, simula-search-forward): Remove unused
11963 variables `begin' and `end'.
11964
11965 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11966 Remove unused variable `pos'.
11967 (vera-electric-tab, vera-comment-uncomment-region):
11968 Mark unused parameters.
11969 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11970
11971 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
11972
11973 * emacs-lisp/package.el (package--builtins, package-alist)
11974 (package-load-descriptor, package-built-in-p, package-activate)
11975 (define-package, package-installed-p)
11976 (package-compute-transaction, package-buffer-info)
11977 (package--push): Doc fix. Distinguish more clearly between
11978 version strings and version lists.
11979
11980 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
11981
11982 Lexical-binding cleanup.
11983
11984 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11985 (5x5-make-mutate-best):
11986 * play/fortune.el (fortune-in-buffer):
11987 * play/gomoku.el (gomoku-init-display):
11988 * play/solitaire.el (solitaire, solitaire-do-check):
11989 * play/tetris.el (tetris-default-update-speed-function):
11990 Mark unused parameters.
11991
11992 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11993 (bubbles--shift): Remove unused variable `char-org'.
11994 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11995 (bubbles--show-images): Remove unused variable `char'.
11996
11997 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11998 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11999 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12000 (decipher-analyze-buffer): Use ?\s.
12001 (decipher-make-checkpoint): Remove unused variable `mapping'.
12002
12003 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12004
12005 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12006 Remove unused variable `result'; use `let'.
12007
12008 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12009 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12010 (gametree-children-shown-p, gametree-compute-reduced-score):
12011 Use `ignore-errors'.
12012
12013 * play/handwrite.el (ps-lpr-switches): Declare.
12014 (handwrite): Remove unused variables `pmin' and `lastp'.
12015
12016 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12017
12018 * play/landmark.el (landmark-init-display)
12019 (landmark-update-naught-weights): Mark unused parameters.
12020 (landmark-y): Remove unused variable `noise'. Simplify.
12021 (landmark-human-plays): Remove unused variable `score'.
12022
12023 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12024 (mpuz-try-proposal): Remove unused variable `game'.
12025
12026 * play/zone.el (life-patterns): Declare.
12027
12028 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
12029
12030 * vc/vc.el (ediff-vc-internal): Declare function.
12031
12032 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12033
12034 * shell.el: Use lexical-binding and std completion UI.
12035 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12036 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12037 comint-preoutput-filter-functions rather than on
12038 comint-output-filter-functions.
12039 (shell-command-completion, shell--command-completion-data)
12040 (shell-filename-completion, shell-environment-variable-completion)
12041 (shell-c-a-p-replace-by-expanded-directory): New functions.
12042 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12043 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12044 (shell-dynamic-complete-environment-variable): Use them.
12045 (shell-dynamic-complete-as-environment-variable)
12046 (shell-dynamic-complete-as-command): Remove.
12047 (shell-match-partial-variable): Match past point.
12048 * comint.el: Clean up use of completion-at-point-functions.
12049 (comint-completion-at-point): New function.
12050 (comint-mode): Use it completion-at-point-functions.
12051 (comint-dynamic-complete): Make it obsolete.
12052 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12053 (comint-c-a-p-replace-by-expanded-history): New function.
12054 (comint-dynamic-complete-functions)
12055 (comint-replace-by-expanded-history): Use it.
12056 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12057 termination strings. Try harder to avoid second try-completion.
12058 (completion-in-region-mode-map): Disable bindings that don't work yet.
12059
12060 * comint.el: Use lexical-binding. Require CL.
12061 (comint-dynamic-complete-functions): Use comint-filename-completion.
12062 (comint-completion-addsuffix): Tweak custom type.
12063 (comint-filename-completion, comint--common-suffix)
12064 (comint--common-quoted-suffix, comint--table-subvert)
12065 (comint--complete-file-name-data): New functions.
12066 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12067 (comint-dynamic-list-filename-completions): Use them.
12068 (comint-dynamic-simple-complete): Make obsolete.
12069
12070 * minibuffer.el (completion-in-region-mode):
12071 Keep completion-in-region-mode--predicate global.
12072 (completion-in-region--postch):
12073 Assume completion-in-region-mode--predicate is not null.
12074
12075 * progmodes/flymake.el (flymake-start-syntax-check-process):
12076 Obey `dir'. Simplify.
12077
12078 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12079 we're in VC after all.
12080
12081 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12082
12083 * vc/vc.el (vc-diff-build-argument-list-internal)
12084 (vc-version-ediff, vc-ediff): New commands.
12085 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12086
12087 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12088
12089 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12090 add sanity check.
12091
12092 * obsolete/erc-hecomplete.el: Make obsolete.
12093 * obsolete/: Standardize obsolescence info in the header.
12094
12095 2011-04-20 Glenn Morris <rgm@gnu.org>
12096
12097 * calendar/solar.el (solar-horizontal-coordinates):
12098 Use the longitude argument rather than `calendar-longitude'.
12099 (solar-date-next-longitude): Remove unused locals.
12100
12101 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12102
12103 * whitespace.el: New version 13.2.1.
12104
12105 2011-04-20 felix <EmacsWiki> (tiny change)
12106
12107 * whitespace.el (global-whitespace-mode): Keep highlight when
12108 switching between major modes on a file.
12109
12110 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12111
12112 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12113 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12114 multi-line comments as well.
12115
12116 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
12117
12118 Lexical-binding cleanup.
12119
12120 * arc-mode.el (archive-mode-revert):
12121 * cmuscheme.el (scheme-interactively-start-process):
12122 * custom.el (custom-initialize-delay):
12123 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12124 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12125 * emacs-lock.el (emacs-lock-clear-sentinel):
12126 * ezimage.el (defezimage):
12127 * follow.el (follow-avoid-tail-recenter):
12128 * fringe.el (set-fringe-mode-1):
12129 * generic-x.el (bat-generic-mode-compile):
12130 * help-mode.el (help-info-variable, help-do-xref)
12131 (help-mode-revert-buffer):
12132 * help.el (view-emacs-todo):
12133 * iswitchb.el (iswitchb-completion-help):
12134 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12135 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12136 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12137 * locate.el (locate-update):
12138 * longlines.el (longlines-encode-region)
12139 (longlines-after-change-function):
12140 * outline.el (outline-isearch-open-invisible):
12141 * ps-def.el (declare-function, charset-dimension, char-width)
12142 (encode-char):
12143 * ps-mule.el (ps-mule-plot-string):
12144 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12145 (recentf-edit-list-select, recentf-edit-list-validate)
12146 (recentf-open-files-action):
12147 * rect.el (delete-whitespace-rectangle-line)
12148 (rectangle-number-line-callback):
12149 * register.el (window-configuration-to-register)
12150 (frame-configuration-to-register):
12151 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12152 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12153 (xselect-convert-to-targets, xselect-convert-to-delete)
12154 (xselect-convert-to-filename, xselect-convert-to-charpos)
12155 (xselect-convert-to-lineno, xselect-convert-to-colno)
12156 (xselect-convert-to-os, xselect-convert-to-host)
12157 (xselect-convert-to-user, xselect-convert-to-class)
12158 (xselect-convert-to-name, xselect-convert-to-integer)
12159 (xselect-convert-to-atom, xselect-convert-to-identity):
12160 * subr.el (declare, ignore, process-kill-without-query)
12161 (text-clone-maintain):
12162 * terminal.el (te-get-char, te-tic-sentinel):
12163 * tool-bar.el (tool-bar-make-keymap):
12164 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12165 * type-break.el (type-break-mode, type-break-noninteractive-query):
12166 * view.el (View-back-to-mark):
12167 * wid-browse.el (widget-browse-action, widget-browse-widget)
12168 (widget-browse-widgets, widget-browse-sexp):
12169 * widget.el (define-widget-keywords):
12170 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12171 Mark unused parameters.
12172
12173 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12174 (align-areas): Remove unused variable `look'.
12175 (align-region): Remove unused variables `real-end' and `pos-list'.
12176
12177 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12178
12179 * bindings.el (mode-line-modified, mode-line-remote):
12180 Mark unused parameters.
12181 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12182
12183 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12184 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12185
12186 * comint.el (comint-history-isearch-pop-state)
12187 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12188 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12189 (comint-substitute-in-file-name): Doc fix.
12190
12191 * completion.el (cmpl-statistics-block): Mark unused parameter.
12192 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12193 (save-completions-to-file, load-completions-from-file):
12194 Remove unused local variable `e'.
12195
12196 * composite.el (compose-chars): Remove unused variable `len'.
12197 (lgstring-insert-glyph): Remove unused variable `g'.
12198 (compose-glyph-string): Remove unused variables `ascent',
12199 `descent', `lbearing' and `rbearing'.
12200 (compose-glyph-string-relative): Remove unused variables
12201 `lbearing', `rbearing' and `wadjust'.
12202 (compose-gstring-for-graphic): Remove unused variables `header',
12203 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12204 (compose-gstring-for-terminal): Remove unused variables `header'
12205 and `nchars'. Use `let', not `let*'.
12206
12207 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12208 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12209 (Custom-buffer-done, custom-buffer-create-internal)
12210 (custom-browse-visibility-action, custom-browse-group-tag-action)
12211 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12212 (widget-magic-mouse-down-action, custom-toggle-parent)
12213 (custom-add-parent-links, custom-toggle-hide-variable)
12214 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12215 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12216 (custom-face-menu-create, custom-variable-menu-create, get)
12217 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12218 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12219 (customize-apropos): Remove unused variable `tests'.
12220 (custom-group-value-create): Remove unused variable `hidden-p'.
12221 (sort-fold-case): Declare.
12222
12223 * cus-theme.el (custom-reset-standard-faces-list)
12224 (custom-reset-standard-variables-list): Declare.
12225 (customize-create-theme, custom-theme-revert, custom-theme-write)
12226 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12227 Mark unused parameters.
12228
12229 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12230
12231 * delim-col.el (delimit-columns-max): Move defvar before first use.
12232
12233 * descr-text.el (describe-char-categories): Don't quote `lambda'.
12234 (describe-char): Don't quote `lambda'. Mark unused parameter.
12235
12236 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12237 (auto-insert): Declare.
12238 (desktop-restore-file-buffer): Rename desktop-* parameters;
12239 mark unused ones.
12240 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12241 (desktop-buffer): Rename desktop-* parameters.
12242
12243 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12244 (dframe-reposition-frame-xemacs, dframe-help-echo)
12245 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12246 Mark unused parameters.
12247
12248 * dired-aux.el (backup-extract-version-start, overwrite-query)
12249 (overwrite-backup-query, rename-regexp-query)
12250 (rename-non-directory-query): Declare.
12251 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12252 (dired-add-entry): Remove unused variable `orig-file-name'.
12253 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12254 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12255 `dired-copy-preserve-time' directly.
12256 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12257 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12258
12259 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12260 (dired-virtual-revert, dired-make-relative-symlink):
12261 Mark unused parameters.
12262 (manual-program): Declare.
12263 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12264 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12265 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12266
12267 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12268
12269 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12270
12271 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12272 Declare.
12273
12274 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12275
12276 * electric.el (Electric-command-loop): Rename parameter
12277 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12278
12279 * expand.el (expand-in-literal): Remove unused variable `here'.
12280
12281 * facemenu.el (facemenu-add-new-color):
12282 Remove unused variable `docstring'.
12283
12284 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12285 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12286 (face-attr-construct): Mark unused parameter. Doc fix.
12287 (read-color): Remove unused variable `hex-string'.
12288
12289 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12290 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12291 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12292 (display-buffer-other-frame): Remove unused variable `old-window'.
12293 (kill-buffer-hook): Declare.
12294 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12295 Mark unused parameters.
12296 (after-find-file): Pass 1 to `auto-save-mode', not t.
12297
12298 * files-x.el (auto-insert): Declare.
12299 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12300
12301 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
12302 variable `buf'. Mark unused parameter.
12303 (find-lisp-insert-directory): Mark unused parameter.
12304
12305 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12306 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12307 (format-common-tail): Remove, unused.
12308 (format-deannotate-region): Remove unused variable `loc'.
12309 (format-annotate-region): Remove unused variable `p'.
12310 (format-annotate-single-property-change): Remove unused variables
12311 `default' and `tail'.
12312
12313 * forms.el (read-file-filter): Declare.
12314 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12315
12316 * frame.el (frame-creation-function-alist): Mark unused parameter.
12317 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12318
12319 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12320 Remove unused parameters.
12321 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12322 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12323
12324 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12325 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12326 (hfy-prepare-tag-map): Mark unused parameters.
12327 (htmlfontify-buffer): Use `called-interactively-p'.
12328
12329 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12330 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12331 (ibuffer-do-occur): Mark unused parameters.
12332 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12333 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12334
12335 * ibuffer.el: Don't quote `lambda'.
12336 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12337 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12338 Mark unused parameters.
12339
12340 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12341 (ido-completing-read): Mark unused parameters.
12342 (ido-copy-current-word): Mark unused parameters;
12343 remove unused variable `name'.
12344 (ido-sort-merged-list): Remove unused parameter `dirs'.
12345
12346 * ielm.el (ielm-input-sender): Mark unused parameter.
12347 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12348 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12349 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12350 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12351 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12352
12353 * image-dired.el (image-dired-display-thumbs): Remove unused
12354 variables `curr-file' and `count'.
12355 (image-dired-remove-tag): Remove unused variable `start'.
12356 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12357 variable `curr-file'
12358 (image-dired-rotate-original): Remove unused variable `temp-file'.
12359 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12360 Remove unused variable `file'.
12361 (image-dired-gallery-generate): Remove unused variable `curr'.
12362 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12363
12364 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12365
12366 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12367
12368 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12369
12370 * isearch.el (minibuffer-history-symbol): Declare.
12371 (isearch-edit-string): Remove unused variable `err'.
12372 (isearch-message-prefix, isearch-message-suffix):
12373 Mark unused parameters.
12374
12375 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12376
12377 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12378
12379 * makesum.el (double-column): Remove unused variable `cnt'.
12380
12381 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12382 (ido-ignore-item-temp-list): Declare.
12383
12384 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12385 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12386 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12387 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12388 `mouse-col-delta'.
12389
12390 * mouse-sel.el (mouse-extend-internal):
12391 Remove unused variable `orig-window-frame'.
12392
12393 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12394 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12395 Move declarations before first use.
12396 (pcomplete-opt): Mark unused parameters; doc fix.
12397
12398 * proced.el (proced-revert): Mark unused parameter.
12399 (proced-send-signal): Remove unused variable `err'.
12400
12401 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12402 Rename parameter PREFIX-ARG to ARG.
12403 (ps-basic-plot-string, ps-basic-plot-whitespace):
12404 Mark unused parameters.
12405
12406 * replace.el (replace-count): Define.
12407 (occur-revert-function): Mark unused parameters.
12408 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12409 (isearch-case-fold-search, isearch-string): Declare.
12410 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12411 bind `case-fold-search'. Remove unused variables `beg' and `end',
12412 and simplify.
12413 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12414 COUNT and bind `replace-count'.
12415 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12416 to COUNT.
12417
12418 * savehist.el (print-readably, print-string-length): Declare.
12419
12420 * shadowfile.el (shadow-expand-cluster-in-file-name):
12421 Remove unused variable `cluster'.
12422 (shadow-copy-file): Remove unused variable `i'.
12423 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12424 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12425 (shadow-define-literal-group, shadow-define-regexp-group)
12426 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12427
12428 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12429 (shell): Use `called-interactively-p'.
12430 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12431
12432 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12433 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12434 (delete-backward-char): Remove unused variable `ocol'.
12435 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12436 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12437 (event-apply-hyper-modifier, event-apply-shift-modifier)
12438 (event-apply-control-modifier, event-apply-meta-modifier):
12439 Mark unused parameters.
12440 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12441 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12442
12443 * speedbar.el (speedbar-ignored-directory-expressions)
12444 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12445 (speedbar-find-file, speedbar-dir-follow)
12446 (speedbar-directory-buttons-follow, speedbar-tag-find)
12447 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12448 (speedbar-buffers-line-directory, speedbar-buffer-click):
12449 Mark unused parameters.
12450 (speedbar-tag-file): Remove unused variable `mode'.
12451 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12452
12453 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12454
12455 * talk.el (talk): Remove unused variable `display'.
12456
12457 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12458 (tar-write-region-annotate): Mark unused parameter.
12459
12460 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12461 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12462 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12463 warning by another.
12464
12465 * time-stamp.el (time-stamp-string-preprocess):
12466 Remove unused variable `require-padding'.
12467
12468 * tree-widget.el (widget-glyph-enable): Declare.
12469 (tree-widget-action): Mark unused parameter.
12470
12471 * w32-fns.el (x-get-selection): Mark unused parameter.
12472 (autoload-make-program, generated-autoload-file): Declare.
12473
12474 * wdired.el (wdired-revert): Mark unused parameters.
12475 (wdired-xcase-word): Remove unused variable `err'.
12476
12477 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12478 (whitespace-help-scroll): Remove unused variable `data-help'.
12479
12480 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12481 (widget-image-insert, widget-after-change, default)
12482 (widget-default-format-handler, widget-default-notify)
12483 (widget-default-prompt-value, widget-info-link-action)
12484 (widget-url-link-action, widget-function-link-action)
12485 (widget-variable-link-action, widget-file-link-action)
12486 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12487 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12488 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12489 (widget-insert-button-action, widget-delete-button-action, visibility)
12490 (widget-documentation-link-action, widget-documentation-string-action)
12491 (widget-const-prompt-value, widget-regexp-match, symbol)
12492 (widget-coding-system-prompt-value)
12493 (widget-key-sequence-value-to-external, sexp)
12494 (widget-sexp-value-to-internal, character, vector, cons)
12495 (widget-choice-prompt-value, widget-boolean-prompt-value)
12496 (widget-color--choose-action): Mark unused parameters.
12497 (widget-item-match-inline, widget-choice-match-inline)
12498 (widget-checklist-match, widget-checklist-match-inline)
12499 (widget-group-match): Rename parameter VALUES to VALS.
12500 (widget-field-value-set): Remove unused variable `size'.
12501 (widget-color-action): Remove unused variables `value' and `start'.
12502
12503 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12504 variable `dir'. Doc fix.
12505 (windmove-find-other-window): Don't pass it.
12506
12507 * window.el (count-windows): Mark unused parameter.
12508 (bw-adjust-window): Remove unused variable `err'.
12509
12510 * woman.el (woman-file-name): Remove unused variable `default'.
12511 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12512 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12513 (global-font-lock-mode): Declare.
12514 (woman-decode-region): Mark unused parameter.
12515 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12516
12517 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12518 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12519 (x-dnd-handle-moz-url): Remove unused variable `title'.
12520 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12521
12522 * xml.el (xml-parse-tag, xml-parse-attlist):
12523 Remove unused variable `pos'.
12524
12525 2011-04-19 Glenn Morris <rgm@gnu.org>
12526
12527 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12528 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12529 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12530 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12531 * calendar/cal-html.el (cal-html-insert-minical):
12532 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12533 (calendar-mark-date-pattern):
12534 Prefix "unused" locals.
12535
12536 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12537 optional argument `style'.
12538
12539 * calendar/appt.el (appt-make-list):
12540 * calendar/cal-china.el (calendar-chinese-date-string):
12541 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12542 (diary-hebrew-yahrzeit):
12543 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12544 * calendar/calendar.el (calendar-generate-window):
12545 * calendar/time-date.el (time-to-days):
12546 Remove unused local variables.
12547
12548 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
12549
12550 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12551 glyphless-char-display table.
12552 (tabulated-list-glyphless-char-display): New var.
12553
12554 2011-04-18 Sam Steingold <sds@gnu.org>
12555
12556 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12557 to acknowledgments.
12558
12559 2011-04-17 Glenn Morris <rgm@gnu.org>
12560
12561 * calendar/diary-lib.el (diary-sexp-entry):
12562 * calendar/holidays.el (holiday-sexp):
12563 Set debug-on-error rather than the removed stack-trace-on-error.
12564
12565 2011-04-16 Glenn Morris <rgm@gnu.org>
12566
12567 * progmodes/f90.el: Use lexical-binding.
12568 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12569
12570 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12571
12572 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12573 (mail-mode): Setup mailalias completion here instead.
12574 * mail/mailalias.el: Use lexical-binding.
12575 (pattern, mailalias-done): Declare dynamic.
12576 (mail-completion-at-point-function): New function, from mail-complete.
12577 (mail-complete): Use it.
12578 (mail-completion-expand): New function.
12579 (mail-get-names): Use it.
12580 (mail-directory, mail-directory-process, mail-directory-stream):
12581 Don't use `pattern' for lexically bound arg.
12582
12583 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12584
12585 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12586 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12587 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12588
12589 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12590 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12591 (byte-interactive-p): Define them again, for use when inlining
12592 old code.
12593
12594 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
12595
12596 * loadup.el: Use `string-to-number', not `string-to-int'.
12597
12598 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12599
12600 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12601 gud-gdb-complete-command.
12602 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12603 (gud-gdb-completion-at-point): New function.
12604 (gud-gdb-completions): Remove.
12605
12606 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
12607
12608 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12609 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12610 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12611 whether `executable-find' is bound.
12612
12613 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12614
12615 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12616
12617 * minibuffer.el (completion-in-region-mode-predicate)
12618 (completion-in-region-mode--predicate): New vars.
12619 (completion-in-region, completion-in-region--postch)
12620 (completion-in-region-mode): Use them.
12621 (completion--capf-wrapper): Also return the hook function.
12622 (completion-at-point, completion-help-at-point):
12623 Adjust and provide a predicate.
12624
12625 Preserve arg names for advice of subr and lexical functions (bug#8457).
12626 * help-fns.el (help-function-arglist): Consolidate the subr and
12627 new-byte-code cases. Add argument `preserve-names' to extract names
12628 from the docstring when needed.
12629 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12630 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12631 (ad-arglist): Use help-function-arglist's new arg.
12632 (ad-definition-type): Use cond.
12633
12634 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
12635
12636 * autorevert.el (auto-revert-handler):
12637 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12638 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12639 Don't quote lambda.
12640
12641 * image-mode.el (image-transform-set-scale):
12642 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12643
12644 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12645
12646 * net/network-stream.el (network-stream-open-starttls): Only do
12647 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12648 Upgrades via gnutls-cli are too slow to be done opportunistically.
12649
12650 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
12651
12652 * dframe.el (dframe-current-frame): Remove spurious quote.
12653
12654 2011-04-12 Glenn Morris <rgm@gnu.org>
12655
12656 * calendar/cal-tex.el (cal-tex-end-document):
12657 Try to automatically use latin1 input if needed.
12658
12659 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12660 Don't try to cons a mark onto an empty element.
12661
12662 2011-04-11 Leo Liu <sdl.web@gmail.com>
12663
12664 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12665 buffers.
12666 (ido-kill-buffer-at-head): Support killing virtual buffers.
12667
12668 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
12669
12670 * minibuffer.el (completion-show-inline-help): New var.
12671 (completion--do-completion, minibuffer-complete)
12672 (minibuffer-force-complete, minibuffer-complete-word):
12673 Inhibit minibuffer messages if completion-show-inline-help is nil.
12674
12675 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12676 to avoid interference from inline help (Bug#5849).
12677
12678 2011-04-10 Leo Liu <sdl.web@gmail.com>
12679
12680 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12681 Fix typo.
12682
12683 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
12684
12685 * image-mode.el (image-toggle-display-image): Signal an error if
12686 not in Image mode.
12687 (image-transform-mode, image-transform-resize)
12688 (image-transform-set-rotation): Doc fix.
12689 (image-transform-set-resize): Delete.
12690 (image-transform-set-scale, image-transform-fit-to-height)
12691 (image-transform-fit-to-width): Handle image-toggle-display-image
12692 and image-transform-resize directly.
12693
12694 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
12695
12696 * doc-view.el (doc-view-fit-width-to-window)
12697 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12698 New functions for fitting the shown image to the Emacs window size.
12699 (doc-view-mode-map): Add bindings for the new functions.
12700
12701 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
12702
12703 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12704 Fix typo in docstring.
12705
12706 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12707
12708 * files.el (file-size-human-readable): Produce one digit after
12709 decimal, like "ls -lh" does.
12710
12711 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12712 the file size representation.
12713
12714 * simple.el (list-processes): If async subprocesses are not
12715 available, error out with a clear error message.
12716
12717 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
12718
12719 * help.el (help-form-show): New function, to be called from C.
12720 Put help-form output in a buffer named differently than *Help*.
12721
12722 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12723
12724 * files.el (file-size-human-readable): New function.
12725
12726 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12727 computing the representation inline. Don't require `cl'.
12728
12729 2011-04-08 Glenn Morris <rgm@gnu.org>
12730
12731 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12732
12733 * net/browse-url.el (browse-url-firefox):
12734 Test system-type, not system-configuration.
12735
12736 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12737 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12738 Use log-edit-empty-buffer-p. (Bug#7598)
12739
12740 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12741 (rlogin-mode-map): Initialize in the defvar.
12742 (rlogin): Use ignore-errors.
12743
12744 * replace.el (occur-mode-map): Some fixes for menu items.
12745
12746 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12747
12748 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12749
12750 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12751
12752 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12753 issuing unused warnings.
12754
12755 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12756 macro directly.
12757
12758 * simple.el: Lisp reimplement of list-processes. Based on an
12759 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12760 (process-menu-mode): New major mode.
12761 (list-processes--refresh, list-processes):
12762 (process-menu-visit-buffer): New functions.
12763
12764 * files.el (save-buffers-kill-emacs): Don't assume any return
12765 value of list-processes, which is undocumented anyway.
12766
12767 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12768
12769 * emacs-lisp/tabulated-list.el: New file.
12770
12771 * emacs-lisp/package.el: Use Tabulated List mode.
12772 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12773 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12774 table format using Tabulated List mode variables.
12775 (package--push): New macro, replacing package-list-maybe-add.
12776 (package-menu--generate): Use package--push. Renamed from
12777 package--generate-package-list.
12778 (package-menu-refresh, list-packages): Use it.
12779 (package-menu--print-info): Rename from package-print-package.
12780 Return insertion data instead of inserting it directly.
12781 (package-menu-describe-package, package-menu-execute):
12782 Use tabulated-list-get-id.
12783 (package-menu-mark-delete, package-menu-mark-install)
12784 (package-menu-mark-unmark, package-menu-backup-unmark)
12785 (package-menu-mark-obsolete-for-deletion):
12786 Use tabulated-list-put-tag.
12787 (package--list-packages, package-menu-revert)
12788 (package-menu-get-package, package-menu-get-version)
12789 (package-menu-sort-by-column): Functions deleted.
12790 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12791 (package-menu--status-predicate, package-menu--version-predicate)
12792 (package-menu--name-predicate)
12793 (package-menu--description-predicate): Handle arguments in the
12794 Tabulated List format.
12795 (package-list-packages-no-fetch): Call list-packages.
12796
12797 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12798
12799 * files.el (after-find-file-from-revert-buffer): Remove variable.
12800 (after-find-file): Don't bind it.
12801 (revert-buffer-in-progress-p): New variable.
12802 (revert-buffer): Bind it.
12803 Pass nil for `after-find-file-from-revert-buffer'.
12804
12805 * saveplace.el (save-place-find-file-hook): Use new variable
12806 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12807
12808 2011-04-06 Glenn Morris <rgm@gnu.org>
12809
12810 * Makefile.in (AUTOGEN_VCS): New variable.
12811 (autoloads): Use $AUTOGEN_VCS.
12812
12813 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12814 * calendar/calendar.el (calendar-mode-map):
12815 Check for toolkit scroll bars. (Bug#8305)
12816
12817 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12818
12819 * minibuffer.el (completion-in-region--postch)
12820 (completion-in-region-mode): Remove unnecessary messages.
12821
12822 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12823
12824 * font-lock.el (font-lock-refresh-defaults):
12825 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12826 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12827
12828 * info.el (Info-directory-list, Info-read-node-name-2)
12829 (Info-split-parameter-string): Doc fixes.
12830 (Info-virtual-nodes): Reflow docstring.
12831 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12832 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12833 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12834 Fix typos in docstrings.
12835 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12836 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12837 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12838 (Info-restore-desktop-buffer): Mark unused parameters.
12839 (Info-directory-find-file, Info-directory-find-node)
12840 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12841 (Info-virtual-index-find-node, Info-apropos-find-file)
12842 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12843 Mark unused parameters; fix typos in docstrings.
12844 (Info-virtual-index): Remove unused local variable `nodename'.
12845
12846 2011-04-05 Deniz Dogan <deniz@dogan.se>
12847
12848 * net/rcirc.el: Update my e-mail address.
12849 (rcirc-mode-map): Remove M-o binding.
12850
12851 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12852
12853 * startup.el (command-line): Save the cursor's theme-face
12854 directly, instead of using face-override-spec.
12855
12856 * custom.el (load-theme): Minor optimization in assigning faces.
12857
12858 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12859
12860 * help-fns.el (describe-variable): Complete all variables having
12861 documentation, including keywords.
12862 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12863
12864 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12865
12866 Convert to lexical-binding.
12867
12868 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12869 (bs--get-marked-string, bs--get-modified-string)
12870 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12871 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12872 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12873
12874 * ehelp.el (electric-help-execute-extended)
12875 (electric-help-ctrl-x-prefix):
12876 * hexl.el (hexl-revert-buffer-function):
12877 * linum.el (linum-after-change, linum-after-scroll):
12878 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12879
12880 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12881
12882 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12883
12884 * epa-dired.el:
12885 * epa-mail.el:
12886 * epa-hook.el:
12887 * epa-file.el:
12888 * epa.el:
12889 * epg.el: Use lexical binding.
12890
12891 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12892
12893 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12894
12895 * textmodes/flyspell.el (flyspell-word): Recognize default
12896 dictionary case for flyspell-mark-duplications-exceptions.
12897 Use regexp matching for languages.
12898 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12899 default dictionary (Bug#7926).
12900
12901 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12902
12903 * emacs-lisp/package.el (package--with-work-buffer):
12904 Recognize https URLs.
12905
12906 * net/network-stream.el: Move from gnus/proto-stream.el.
12907 Change prefix to network-stream throughout.
12908 (open-protocol-stream): Merge into open-network-stream, leaving
12909 open-protocol-stream as an alias. Handle nil BUFFER args.
12910
12911 * subr.el (open-network-stream): Move to net/network-stream.el.
12912
12913 2011-04-02 Glenn Morris <rgm@gnu.org>
12914
12915 * find-dired.el (find-exec-terminator): New option.
12916 (find-ls-option): Test for -ls support.
12917 (find-ls-subdir-switches): Test for -b in find-ls-option.
12918 (find-dired, find-grep-dired): Doc fixes.
12919 (find-dired): Use find-exec-terminator.
12920
12921 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12922 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12923 (find-name-arg): Remove purecopy.
12924
12925 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12926 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12927 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12928 accordingly. Don't add the null-device if not needed.
12929
12930 * files.el (save-some-buffers): Doc fix.
12931
12932 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12933
12934 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12935
12936 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12937
12938 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12939 Use `dolist' rather than `mapcar'.
12940
12941 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12942
12943 Add lexical binding.
12944
12945 * subr.el (apply-partially): Use new closures rather than CL.
12946 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12947 (dolist, dotimes): Use slightly different expansion for lexical code.
12948 (functionp): Move to C.
12949 (letrec): New macro.
12950 (with-wrapper-hook): Use it and apply-partially instead of CL.
12951 (eval-after-load): Preserve lexical-binding.
12952 (save-window-excursion, with-output-to-temp-buffer): Turn them
12953 into macros.
12954
12955 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12956
12957 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12958 than the arglist.
12959 (help-add-fundoc-usage): Don't add `Not documented'.
12960 (help-function-arglist): Handle closures, subroutines, and new
12961 byte-code-functions.
12962 (help-make-usage): Remove leading underscores.
12963 (describe-function-1): Handle closures.
12964 (describe-variable): Use special-variable-p for completion.
12965
12966 * files.el (lexical-binding): Declare safe.
12967
12968 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12969 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12970 (pcase): Add `let' pattern.
12971 Change memoization so it actually works.
12972 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12973 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12974 <let>: New case.
12975
12976 * emacs-lisp/macroexp.el: Use lexical binding.
12977 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12978 Don't convert ' to #' without checking that it's indeed quoting
12979 a lambda.
12980
12981 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12982 Use eval-sexp-add-defvars.
12983 (eval-sexp-add-defvars): New fun.
12984
12985 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12986
12987 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12988 Don't autoload.
12989 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12990 than the internal `byte-compile-lambda'.
12991 (defmethod): Don't hide code under quotes.
12992 (eieio-defmethod): New `code' argument.
12993
12994 * emacs-lisp/eieio-comp.el: Remove.
12995
12996 * emacs-lisp/edebug.el (edebug-eval-defun)
12997 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12998 (edebug-toggle): Avoid `eval'.
12999
13000 * emacs-lisp/disass.el (disassemble-internal): Handle new
13001 `closure' objects.
13002 (disassemble-1): Handle new byte codes.
13003
13004 * emacs-lisp/cl.el (pushnew): Silence warning.
13005
13006 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13007 (cl-byte-compile-throw): Remove.
13008 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13009
13010 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13011 closures.
13012
13013 * emacs-lisp/cconv.el: New file.
13014
13015 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13016 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13017 (byte-compile-initial-macro-environment):
13018 Handle declare-function here.
13019 (byte-compile--lexical-environment): New var.
13020 (byte-stack-ref, byte-stack-set, byte-discardN)
13021 (byte-discardN-preserve-tos): New lap codes.
13022 (byte-interactive-p): Don't use any more.
13023 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13024 New macros.
13025 (byte-compile-lapcode): Use them and handle new lap codes.
13026 (byte-compile-obsolete): Remove.
13027 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13028 (byte-compile-arglist-warn): Check late def of inlinable funs.
13029 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13030 since they should have been expanded by now.
13031 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13032 (byte-compile-from-buffer): Remove unused second arg.
13033 (byte-compile-preprocess): New function.
13034 (byte-compile-toplevel-file-form): New function to distinguish
13035 file-form calls from outside from file-form calls from hunk-handlers.
13036 (byte-compile-file-form): Simplify.
13037 (byte-compile-file-form-defsubst): Remove.
13038 (byte-compile-file-form-defmumble): Simplify now that
13039 byte-compile-lambda always returns a byte-code-function.
13040 (byte-compile): Preprocess.
13041 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13042 Remove, not used any more.
13043 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13044 (byte-compile-make-args-desc): New funs.
13045 (byte-compile-lambda): Handle lexical functions. Always return
13046 a byte-code-function.
13047 (byte-compile-reserved-constants): New var, to make up room for
13048 closed-over variables.
13049 (byte-compile-constants-vector): Obey it.
13050 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13051 (byte-compile-macroexpand-declare-function): New function.
13052 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13053 byte-code-functions.
13054 (byte-compile-form): Check obsolescence here.
13055 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13056 (byte-compile-variable-ref): Remove.
13057 (byte-compile-dynamic-variable-op): New fun.
13058 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13059 (byte-compile-variable-set): New funs.
13060 (byte-compile-discard): Add 2 args.
13061 (byte-compile-stack-ref, byte-compile-stack-set)
13062 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13063 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13064 macroexpand-all instead.
13065 (byte-compile-quote-form): Remove.
13066 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13067 (byte-compile-bind, byte-compile-unbind): New funs.
13068 (byte-compile-let): Handle let* and lexical binding.
13069 (byte-compile-let*): Remove.
13070 (byte-compile-catch, byte-compile-unwind-protect)
13071 (byte-compile-track-mouse, byte-compile-condition-case):
13072 Handle a new :fun-body form, used for lexical scoping.
13073 (byte-compile-save-window-excursion)
13074 (byte-compile-with-output-to-temp-buffer): Remove.
13075 (byte-compile-defun): Simplify.
13076 (byte-compile-stack-adjustment): New fun.
13077 (byte-compile-out): Use it.
13078 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13079
13080 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13081 handler any more.
13082
13083 * emacs-lisp/byte-opt.el: Use lexical binding.
13084 (byte-inline-lapcode): Remove (to bytecomp).
13085 (byte-compile-inline-expand): Pay attention to inlining to/from
13086 lexically bound code.
13087 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13088 any more.
13089 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13090 any more and don't call compiler-macros.
13091 (byte-compile-splice-in-already-compiled-code): Remove.
13092 (byte-code): Don't inline any more.
13093 (disassemble-offset): Receive `bytes' as argument rather than via
13094 dynamic scoping.
13095 (byte-compile-tag-number): Declare before first use.
13096 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13097 `return' even if make-spliceable.
13098 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13099 obsolete interactive-p.
13100 (byte-optimize-lapcode): Optimize new lap-codes.
13101 Don't trip up on new form of `byte-constant' lap code.
13102
13103 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13104
13105 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13106
13107 * custom.el (custom-initialize-default, custom-declare-variable):
13108 Use `defvar'.
13109
13110 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13111 New variables.
13112 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13113 (COMPILE_FIRST): Add macroexp and cconv.
13114 * makefile.w32-in: Mirror changes in Makefile.in.
13115
13116 * vc/cvs-status.el:
13117 * vc/diff-mode.el:
13118 * vc/log-edit.el:
13119 * vc/log-view.el:
13120 * vc/smerge-mode.el:
13121 * textmodes/bibtex-style.el:
13122 * textmodes/css.el:
13123 * startup.el:
13124 * uniquify.el:
13125 * minibuffer.el:
13126 * newcomment.el:
13127 * reveal.el:
13128 * server.el:
13129 * mpc.el:
13130 * emacs-lisp/smie.el:
13131 * doc-view.el:
13132 * dired.el:
13133 * abbrev.el: Use lexical binding.
13134
13135 2011-04-01 Eli Zaretskii <eliz@gnu.org>
13136
13137 * info.el (info-display-manual): New function.
13138
13139 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13140
13141 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13142
13143 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13144
13145 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
13146 an entry for that server in rcirc-authinfo. (Bug#8385)
13147
13148 2011-03-31 Glenn Morris <rgm@gnu.org>
13149
13150 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13151
13152 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13153
13154 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13155
13156 * progmodes/python.el (python-default-interpreter)
13157 (python-python-command-args, python-jython-command-args)
13158 (python-which-shell, python-which-args, python-which-bufname)
13159 (python-file-queue, python-comint-output-filter-function)
13160 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13161 variables and functions.
13162
13163 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13164
13165 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13166 (completion-in-region-mode): New minor mode.
13167 (completion-in-region): Use it.
13168 (completion-in-region--data, completion-in-region-mode-map): New vars.
13169 (completion-in-region--postch): New function.
13170 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13171 New vars.
13172 (completion--capf-wrapper): New function.
13173 (completion-at-point): Use it to track well-behavedness of
13174 hook functions.
13175 (completion-help-at-point): New command.
13176
13177 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13178
13179 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13180 syntax class to search for whitespace on a single line
13181 (Message-ID: <4D938140.4030905@redhat.com>).
13182
13183 2011-03-30 Leo Liu <sdl.web@gmail.com>
13184
13185 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13186 New commands.
13187 (edit-abbrevs-map): Bind them here.
13188 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13189
13190 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13191
13192 * allout.el (allout-hide-by-annotation, allout-flag-region):
13193 Reduce possibility of overlay leakage by making them volatile.
13194
13195 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13196 hash is not shared between buffers. Mode initialization is
13197 responsible for giving it a useful starting value.
13198 (allout-item-span): Reduce possibility of overlay leakage by
13199 making them volatile.
13200 (allout-widgets-count-buttons-in-region): Add diagnostic function
13201 for tracking down button overlay leaks.
13202
13203 2011-03-29 Leo Liu <sdl.web@gmail.com>
13204
13205 * ido.el (ido-read-internal): Use the default history var
13206 minibuffer-history if no HISTORY is specified.
13207
13208 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13209
13210 * net/imap.el (imap-shell-open, imap-process-connection-type):
13211 Use imap-process-connection-type for 'shell' streams as well as
13212 Kerberos, SSL, other subprocesses.
13213
13214 2011-03-28 Leo Liu <sdl.web@gmail.com>
13215
13216 * abbrev.el (abbrev-table-empty-p): New function.
13217 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13218 nonempty ones. (Bug#5937)
13219
13220 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13221
13222 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13223
13224 2011-03-27 Leo Liu <sdl.web@gmail.com>
13225
13226 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13227 for foreground and background colors.
13228 (ansi-color-make-color-map): Adapt.
13229
13230 2011-03-25 Leo Liu <sdl.web@gmail.com>
13231
13232 * midnight.el (midnight-time-float): Remove. Note it calculates
13233 the microsecond component incorrectly and seconds-to-time does the
13234 same job.
13235 Remove redundant (require 'timer).
13236
13237 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13238 (ido-completions): Remove unused arguments. (Bug#8329)
13239
13240 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13241
13242 * minibuffer.el (completion--flush-all-sorted-completions):
13243 Remove itself from hook.
13244 (completion-at-point): Let the functions perform the completion
13245 immediately and return nil or t.
13246 * comint.el (comint-dynamic-complete-functions): Now identical to
13247 completion-at-point-functions.
13248 (comint-dynamic-list-input-ring): Remove unused var `index'.
13249 (comint--match-partial-filename, comint--unquote&expand-filename):
13250 New funs, split from comint-match-partial-filename.
13251 (comint-dynamic-complete): Use completion-at-point.
13252 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13253
13254 2011-03-24 Drew Adams <drew.adams@oracle.com>
13255
13256 * thingatpt.el: Support `defun'.
13257
13258 2011-03-23 Leo Liu <sdl.web@gmail.com>
13259
13260 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13261
13262 * help-mode.el (help-mode-finish): Tweak regexp.
13263
13264 2011-03-23 Glenn Morris <rgm@gnu.org>
13265
13266 * eshell/esh-opt.el (eshell-eval-using-options):
13267 Do not bind unused local variable `eshell-option-stub'.
13268
13269 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13270
13271 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13272
13273 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13274 keymap variable in `with-no-warnings' to avoid a warning when the
13275 keymap has been already `defconst'ed.
13276
13277 2011-03-22 Leo Liu <sdl.web@gmail.com>
13278
13279 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13280 encode all chars in abbrevs; otherwise use emacs-mule or
13281 utf-8-emacs. (Bug#8308)
13282
13283 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13284
13285 * simple.el (backward-delete-char-untabify):
13286 Avoid warning about using `delete-backward-char'.
13287
13288 * image.el (image-type-file-name-regexps): Make it variable.
13289 `imagemagick-register-types' modifies it, and the user may want
13290 to add new extensions for known image types.
13291 (imagemagick-register-types): Throw error if not using ImageMagick.
13292
13293 2011-03-22 Leo Liu <sdl.web@gmail.com>
13294
13295 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13296 located before rcirc-prompt-end-marker.
13297 (rcirc-complete): Error if point is not after rcirc prompt.
13298 Handle the case when table is nil.
13299 (rcirc-user-authenticated): Define to fix compiler warning.
13300
13301 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
13302
13303 * custom.el (custom--inhibit-theme-enable): Make it affect only
13304 custom-theme-set-variables and custom-theme-set-faces.
13305 (provide-theme): Ignore custom--inhibit-theme-enable.
13306 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13307 (custom-enabling-themes): Delete variable.
13308 (enable-theme): Accept only loaded themes as arguments.
13309 Ignore the special custom-enabled-themes variable.
13310 (custom-enabled-themes): Forbid themes from setting this.
13311 Eliminate use of custom-enabling-themes.
13312 (custom-push-theme): Quote "changed" custom var entry.
13313
13314 2011-03-21 Leo Liu <sdl.web@gmail.com>
13315
13316 * ido.el (ido-read-internal): Add ido-selected to history instead
13317 of user input.
13318
13319 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13320
13321 * subr.el (deferred-action-list, deferred-action-function):
13322 Mark obsolete.
13323
13324 2011-03-21 Leo Liu <sdl.web@gmail.com>
13325
13326 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13327 change on 2011-02-13 (bug#8309).
13328
13329 * minibuffer.el (read-file-name-function): Change default value.
13330 (read-file-name--defaults): Rename from read-file-name-defaults.
13331 (read-file-name-default): Rename from read-file-name.
13332 (read-file-name): Call read-file-name-function.
13333
13334 2011-03-21 Glenn Morris <rgm@gnu.org>
13335
13336 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13337 Doc fixes.
13338
13339 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
13340
13341 * cus-theme.el: Add missing provide statement.
13342 (customize-create-theme): Extract theme value correctly.
13343 (custom-theme-visit-theme): Autoload.
13344 (customize-create-theme): Prompt before inserting default faces.
13345
13346 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13347
13348 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13349 units and musical notes.
13350
13351 2011-03-20 Leo Liu <sdl.web@gmail.com>
13352
13353 * ido.el (ido-read-internal): Use completing-read-default.
13354 (ido-completing-read): Fix compatibility with completing-read.
13355
13356 2011-03-20 Christian Ohler <ohler@gnu.org>
13357
13358 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13359 (ert-delete-all-tests): Use `called-interactively-p' rather than
13360 `interactive-p'.
13361 (ert--make-xrefs-region): Respect END.
13362
13363 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13364
13365 * dired-aux.el (dired-create-directory): Signal an error if the
13366 directory already exists (Bug#8246).
13367
13368 * facemenu.el (list-colors-display): Call list-faces-display
13369 inside with-help-window.
13370 (list-colors-print): Use display property to align the final
13371 column, instead of checking window-width.
13372
13373 2011-03-19 Eli Zaretskii <eliz@gnu.org>
13374
13375 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
13376 windows-nt systems.
13377 (emerge-protect-metachars): Quote correctly for ms-dos and
13378 windows-nt systems.
13379
13380 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
13381
13382 * info.el (info-initialize): Replace all uses of `:' with
13383 path-separator for compatibility with non-Unix systems.
13384 Cache quoting of path-separator. (Bug#8258)
13385
13386 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
13387
13388 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13389 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13390 (mouse-avoidance-mode): Fix typos in docstrings.
13391
13392 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13393
13394 * startup.el (package-subdirectory-regexp): Move from package.el.
13395 Omit \\` and \\', and let callers add them.
13396
13397 * emacs-lisp/package.el (package-strip-version)
13398 (package-load-all-descriptors): Add \\` and \\' to
13399 package-subdirectory-regexp before using it.
13400 (package-untar-buffer): New arg DIR; ensure that file untars only
13401 into this expected directory. Remove superfluous delete-region.
13402 (package-unpack): Caller changed.
13403 (package-tar-file-info): Use package-subdirectory-regexp.
13404
13405 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13406
13407 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13408 diff-mode-shared-map (bug#8284).
13409 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
13410
13411 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13412
13413 * calendar/time-date.el (format-seconds): Use assoc instead of
13414 assoc-string, since assoc-string doesn't exist in XEmacs.
13415
13416 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
13417
13418 * custom.el (custom-known-themes): Reflow docstring.
13419 (custom-theme-load-path): Fix typo in docstring.
13420 (load-theme): Fix typo in error message.
13421 (custom-available-themes, custom-variable-theme-value):
13422 Use `let', not `let*'.
13423
13424 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13425
13426 * calc/README: Mention inclusion of musical notes.
13427
13428 * calc/calc-units.el (calc-lu-quant): Rename from
13429 `calc-logunits-quantity'.
13430 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13431 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13432 (calc-db): Rename from `calc-dblevel'.
13433 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13434 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13435 (calc-np): Rename from `calc-nplevel'.
13436 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13437 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13438 (calc-lu-plus): Rename from `calc-logunits-add'.
13439 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13440 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13441 (calc-lu-minus): Rename from `calc-logunits-sub'.
13442 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13443 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13444 (calc-lu-times): Rename from `calc-logunits-mul'.
13445 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13446 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13447 (calc-lu-divide): Rename from `calc-logunits-div'.
13448 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13449 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13450
13451 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13452 functions being autoloaded.
13453
13454 * calc/calc.el (calc-lu-power-reference): Rename from
13455 `calc-logunits-power-reference'.
13456 (calc-lu-field-reference): Rename from
13457 `calc-logunits-field-reference'.
13458
13459 * calc/calc-help.el (calc-l-prefix-help):
13460 Mention musical note functions.
13461
13462 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13463
13464 * minibuffer.el (completion-all-sorted-completions):
13465 Use :completion-cycle-penalty text property if present.
13466
13467 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13468
13469 * allout.el (allout-yank-processing): Adjust for new rebulleting
13470 regime so bullet being yanked is used without prompting the user
13471 for a choice.
13472
13473 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13474
13475 * startup.el (command-line): Warn the user that _emacs is deprecated.
13476
13477 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13478
13479 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13480 (delphi-verbose, delphi-comment-face, delphi-string-face)
13481 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13482 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13483 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13484 (delphi-new-comment-line, delphi-font-lock-defaults)
13485 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13486 Fix typos in docstrings.
13487
13488 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13489
13490 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
13491 Invert the roles of character and string values for INSTEAD, so a
13492 string is used for the more common case of a defaulting prompt.
13493
13494 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13495
13496 * progmodes/ruby-mode.el (ruby-backward-sexp):
13497 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13498 * play/gamegrid.el (gamegrid-make-face):
13499 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13500 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13501 * notifications.el (notifications-notify):
13502 * net/xesam.el (xesam-search-engines):
13503 * net/quickurl.el (quickurl-list-insert):
13504 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13505
13506 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
13507
13508 * startup.el (command-line): Update package subdirectory regexp.
13509
13510 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13511
13512 * allout.el (allout-abbreviate-flattened-numbering)
13513 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13514
13515 * subr.el (read-char-choice): Only show the cursor after the prompt,
13516 not after the answer.
13517
13518 2011-03-15 Kevin Ryde <user42@zip.com.au>
13519
13520 * help-fns.el (variable-at-point): Skip leading quotes, if any
13521 (bug#8253).
13522
13523 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13524
13525 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13526 warning message.
13527
13528 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
13529
13530 * shell.el (shell): When called interactively, offer to change the
13531 shell file name on remote hosts.
13532
13533 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13534
13535 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13536 integration for LDAP parameters. The host, base, user or binddn,
13537 and secret tokens can be specified in a netrc file, for instance.
13538 This is optional because an `auth-source' parameter must be
13539 specified in the search attributes.
13540
13541 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
13542
13543 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13544
13545 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13546
13547 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13548 into declaration. Remove redundant and harmful binding.
13549
13550 2011-03-12 Eli Zaretskii <eliz@gnu.org>
13551
13552 * files.el (file-ownership-preserved-p): Pass `integer' as an
13553 explicit 2nd argument to `file-attributes'. If the file's owner
13554 is the Administrators group on Windows, and the current user is
13555 Administrator, consider that a match.
13556
13557 * server.el (server-ensure-safe-dir): Consider server directory
13558 safe on MS-Windows if its owner is the Administrators group while
13559 the current Emacs user is Administrator. Use `=' to compare
13560 numerical UIDs, since they could be integers or floats.
13561
13562 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
13563
13564 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13565
13566 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
13567
13568 Sync with Tramp 2.2.1.
13569
13570 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13571
13572 * net/trampver.el: Update release number.
13573
13574 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13575
13576 * progmodes/compile.el (compilation--previous-directory): Fix up
13577 various nil/dead-marker mismatches (bug#8014).
13578 (compilation-directory-properties, compilation-error-properties):
13579 Don't call it at a position past the one we're about to change.
13580
13581 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13582 Disable obsolescence warnings in the file that declares it.
13583
13584 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13585
13586 * allout-widgets.el (allout-widgets-tally):
13587 Initialize allout-widgets-tally as a hash table rather than nil to
13588 prevent mode-line redisplay warnings. Also, clarify the module
13589 description and fix a comment typo.
13590
13591 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
13592
13593 * help-fns.el (describe-variable): Don't complete keywords.
13594 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13595
13596 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
13597
13598 * emacs-lisp/package.el (package-version-join): Impose a standard
13599 string representation for pre/alpha/beta version lists.
13600 (package-unpack-single): Standardize the directory name by passing
13601 it through package-version-join.
13602 (package-strip-rcs-id): Accept any version string that does not
13603 signal an error in version-to-list.
13604
13605 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
13606
13607 * simple.el (delete-trailing-whitespace): Return nil for the
13608 benefit of `write-file-functions'.
13609
13610 2011-03-10 Glenn Morris <rgm@gnu.org>
13611
13612 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13613
13614 * vc/vc-git.el (vc-git-program): New option.
13615 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13616 (vc-git--call): Use it.
13617
13618 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13619
13620 * cus-edit.el (Custom-newline): If no button at point, look
13621 for a subgroup button at start-of-line. (Bug#2298)
13622
13623 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13624
13625 2011-03-10 Julien Danjou <julien@danjou.info>
13626
13627 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13628 `cursor-type' is nil.
13629
13630 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13631
13632 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13633
13634 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13635
13636 * allout.el: Change so yank of distinctive-bullet items
13637 preserves the existing header prefix, rebulleting it if necessary,
13638 rather than replacing it. This is necessary for proper operation
13639 of cooperative addons like allout-widgets.
13640 (allout-make-topic-prefix, allout-rebullet-heading):
13641 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13642 value as alternate bullet to be used, instead of prompting the user
13643 for a bullet character.
13644
13645 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
13646
13647 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13648 Do not use `tramp-file-name-port', because this returns also
13649 `tramp-default-port'.
13650
13651 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13652
13653 * net/rcirc.el (rcirc-handler-001): Remove useless
13654 with-rcirc-process-buffer.
13655 (rcirc-check-auth-status): Swap arguments to string-match.
13656
13657 2011-03-09 Glenn Morris <rgm@gnu.org>
13658
13659 * shell.el (shell-mode):
13660 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13661
13662 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13663 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13664
13665 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13666
13667 * emacs-lisp/package.el (package-refresh-contents)
13668 (package-menu-execute): Use condition-case-no-debug.
13669
13670 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
13671
13672 * simple.el (shell-command-to-string): Use `process-file'.
13673
13674 * emacs-lisp/package.el (package-tar-file-info): Handle also
13675 remote files.
13676
13677 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13678 Use `equal' for upload base check.
13679
13680 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13681
13682 * textmodes/texinfo.el (texinfo-environments):
13683 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13684
13685 2011-03-08 Glenn Morris <rgm@gnu.org>
13686
13687 * cus-start.el (cursor-in-non-selected-windows):
13688 Fix :set quoting oddness. (Bug#8192)
13689
13690 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13691 in some setf expressions. (Bug#2159)
13692
13693 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13694
13695 * custom.el (custom-available-themes): Return themes in
13696 alphabetical order.
13697
13698 See ChangeLog.15 for earlier changes.
13699
13700 ;; Local Variables:
13701 ;; coding: utf-8
13702 ;; End:
13703
13704 Copyright (C) 2011-2012 Free Software Foundation, Inc.
13705
13706 This file is part of GNU Emacs.
13707
13708 GNU Emacs is free software: you can redistribute it and/or modify
13709 it under the terms of the GNU General Public License as published by
13710 the Free Software Foundation, either version 3 of the License, or
13711 (at your option) any later version.
13712
13713 GNU Emacs is distributed in the hope that it will be useful,
13714 but WITHOUT ANY WARRANTY; without even the implied warranty of
13715 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13716 GNU General Public License for more details.
13717
13718 You should have received a copy of the GNU General Public License
13719 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.