Minor renaming of internal CL functions and variables.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
4735906a
SM
12012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 Minor renaming of internal CL functions and variables.
4 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5 (cl--position): Rename from cl-position.
6 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8 (cl--random-state): Rename from *random-state*.
9
ac348012
SM
102012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11
12 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13 parens around the arg list (bug#11499).
14
a0a79cde
JL
152012-05-17 Juri Linkov <juri@jurta.org>
16
17 * isearch.el (word-search-regexp, word-search-backward)
18 (word-search-forward, word-search-backward-lax)
19 (word-search-forward-lax): Move functions from search.c
20 (bug#10145, bug#11381).
21
65034a51
AM
222012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23
24 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
25 (flyspell-debug-signal-word-checked): Delay for otherchars as for
26 normal word components.
27
1a72a195
SM
282012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
29
30 * minibuffer.el (completion--sifn-requote): Fix last change.
31 (minibuffer-local-must-match-filename-map):
32 Move define-obsolete-variable-alias before its var.
33
fdb058c2
SM
342012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
35
c41045e6
SM
36 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
37
036dfb8b
SM
38 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
39 behavior.
40 (completion--string-equal-p): New function.
41 (completion--twq-all): Use it to get better assertion failure data.
42
2473256d
SM
43 Only handle ".." and '..' quoting in shell-mode (bug#11466).
44 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
45 (shell--requote-argument): New functions.
46 (shell-completion-vars): Use them.
47 (shell--parse-pcomplete-arguments): Rename from
48 shell-parse-pcomplete-arguments.
49 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
50 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
51 Obey comint-file-name-quote-list.
52
fdb058c2
SM
53 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
54 (smie-indent-keyword): Use it.
55
51fa99f1
SM
562012-05-14 Stefan Merten <smerten@oekonux.de>
57
58 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
59
e18afed7 602012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
61
62 * net/rlogin.el (rlogin-mode-map): Fix last change.
63
e18afed7 642012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
65
66 * mail/smtpmail.el (smtpmail-send-command): Send the command and
67 the following \r\n using a single `process-send-string', since the
68 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 69 with two `process-send-string's (Bug#11444).
8633b1f4 70
e18afed7 712012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 72
fdb058c2
SM
73 * shell.el (shell-parse-pcomplete-arguments):
74 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 75
2d21d7f6
WJ
762012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
77
e18afed7 78 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
79 (image-transform-scale, image-transform-right-angle-fudge): New vars.
80 (image-transform-width, image-transform-fit-width): New functions.
81 (image-transform-properties): Use them.
82 (image-transform-check-size): New function.
83 (image-toggle-display-image): Use it (for testing).
84 (image-transform-set-rotation): Reduce angle mod 360.
85 Delete obsolete comment.
86
7102e6d0
WJ
872012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
88
89 * image-mode.el: Fix scaling (bug#11399).
90 (image-transform-resize): Doc fix.
91 (image-transform-properties): Default scale is 1 and height should
92 be an integer.
93
06bc5e6e
SM
942012-05-13 Johan Bockgård <bojohan@gnu.org>
95
96 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
97 than hard-coding `car', to fix misbehavior when moving forward.
98
0ae03b6a
CY
992012-05-13 Chong Yidong <cyd@gnu.org>
100
101 * emacs-lisp/tabulated-list.el (tabulated-list-format)
102 (tabulated-list-entries, tabulated-list-padding)
103 (tabulated-list-sort-key): Make permanent-local.
104
105 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
106 (electric-buffer-list): Put electric buffer menu
107 command descriptions in this docstring, instead of the docstring
108 of electric-buffer-menu-mode. Code cleanups.
109 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
110 Electric-buffer-menu-mode.
111 (electric-buffer-update-highlight): Minor code cleanup.
112
205a7391
MA
1132012-05-13 Michael Albinus <michael.albinus@gmx.de>
114
115 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
116 (Bug#11447)
117
e5bd0a28
SM
1182012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
119
120 Move define-obsolete-variable-alias before the var's definition.
121 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
122 * tooltip.el (tooltip-hook):
123 * textmodes/reftex-toc.el (reftex-toc-map):
124 * textmodes/reftex-sel.el (reftex-select-label-map)
125 (reftex-select-bib-map):
126 * textmodes/reftex-index.el (reftex-index-map)
127 (reftex-index-phrases-map):
128 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
129 * progmodes/meta-mode.el (meta-mode-map):
130 * novice.el (disabled-command-hook):
131 * loadhist.el (unload-hook-features-list):
132 * frame.el (blink-cursor):
133 * files.el (find-file-not-found-hooks, write-file-hooks)
134 (write-contents-hooks):
135 * emulation/tpu-edt.el (GOLD-map):
136 * emacs-lock.el (emacs-lock-from-exiting):
137 * emacs-lisp/generic.el (generic-font-lock-defaults):
138 * emacs-lisp/chart.el (chart-map):
139 * dos-fns.el (register-name-alist):
140 * dired-x.el (dired-omit-files-p):
141 * desktop.el (desktop-enable):
142 * cus-edit.el (custom-mode-hook):
143 * buff-menu.el (buffer-menu-mode-hook):
144 * bookmark.el (bookmark-read-annotation-text-func)
145 (bookmark-exit-hooks):
146 * allout.el (allout-mode-deactivate-hook)
147 (allout-exposure-change-hook, allout-structure-added-hook)
148 (allout-structure-deleted-hook, allout-structure-shifted-hook):
149 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
150 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
151 comes before the corresponding variable's definition.
152
ac59c2f6
CY
1532012-05-12 Chong Yidong <cyd@gnu.org>
154
155 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
156 (Buffer-menu-mouse-select): Restore function (Bug#11459).
157 (Buffer-menu-mode-map): Bind it.
158 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 159
dee6c9a3
SM
1602012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
161
2171cea5
SM
162 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
163 (prolog-upper-case-string, prolog-lower-case-string)
164 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
165 (prolog-use-smie, prolog-smie-grammar): New vars.
166 (prolog-smie-forward-token, prolog-smie-backward-token)
167 (prolog-smie-rules): New funs.
168 (prolog-comment-indent): Remove.
169 (prolog-mode-variables): Use default comment indentation instead.
170 Setup SMIE.
171 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
172 (prolog-mode): Don't call them any more.
173 (prolog-electric-colon, prolog-electric-dash)
174 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
175
aa0382bd
SM
176 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
177
dbacb4bd
SM
178 * minibuffer.el (completion--twq-all): Again, allow case differences.
179
13bdd94c
SM
180 * term.el: Move keymap initialization code to be more idiomatic.
181 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
182 (term-terminal-menu): Move initialization into declaration.
183 (term-escape-char): Let the user set it in her .emacs.
184
ff46c759
SM
185 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
186 Provide SMIE-based indentation (not enabled by default yet).
187 (sh-mode-map): Don't bind electric keys.
188 Use electric-pair-mode instead of skeleton-pair.
189 (sh-assignment-regexp): Fit within 80 columns.
190 (sh-indent-supported): Specify actual shell name instead of boolean.
191 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
192 (sh-maybe-here-document): Use it. Make obsolete.
193 (sh-electric-here-document-mode) New minor mode.
194 (sh-mode): Use it. Don't set sh-indent-supported-here here.
195 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
196 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
197 (sh-smie-rc-grammar, sh-use-smie): New vars.
198 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
199 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
200 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
201 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
202 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
203 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
204 (sh-set-shell): Use smie-setup if requested.
205
dee6c9a3
SM
206 * term.el (term-set-escape-char): Properly set term-escape-char.
207 See http://stackoverflow.com/questions/10524656.
208
9f9aa044
CY
2092012-05-10 Chong Yidong <cyd@gnu.org>
210
211 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
212 Use url-generic-parse-url, and handle host names and Windows
213 filenames properly.
214 (ffap-url-unwrap-remote): Use url-generic-parse-url.
215 (ffap-url-unwrap-remote): Accept list values, specifying a list of
216 URL schemes to work on.
217 (ffap--toggle-read-only): New function.
218 (ffap-read-only, ffap-read-only-other-window)
219 (ffap-read-only-other-frame): Use it.
220 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
221 necessary for ffap-url-unwrap-remote.
222
836d29b3
DA
2232012-05-10 Dave Abrahams <dave@boostpro.com>
224
225 * cus-start.el (create-lockfiles): Add it.
226
00fd78ed
CY
2272012-05-09 Chong Yidong <cyd@gnu.org>
228
229 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
230 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
231
666b903b 2322012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
233
234 * shell.el (shell-completion-vars): Fix last change (bug#11348).
235
666b903b 2362012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
237
238 * ansi-color.el (ansi-color-process-output): Check for validity of
239 comint-last-output-start before using it. This avoids a bad
240 interaction with gdb-mi's input/output buffer.
241
666b903b 2422012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
243
244 * files.el (dir-locals-read-from-file):
245 Mention dir-locals in any error message.
246
666b903b 2472012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
248
249 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
250 package (Bug#11410).
251
f677562b
CY
252 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
253 variables into description.
254
666b903b 2552012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
256
257 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
258 shell-delimiter-argument-list (bug#11348).
259 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
260
b499d8d0
JB
2612012-05-09 Juanma Barranquero <lekktu@gmail.com>
262
8f6b6da8
JB
263 * textmodes/rst.el: Silence byte-compiler warnings.
264 (rst-re-alist, rst-reset-section-caches): Move around.
265 (rst-re): Use `characterp', not `char-valid-p'.
266 (font-lock-beg, font-lock-end): Declare.
267
4824146a
JB
268 * progmodes/idlw-shell.el (specs): Remove reference to deleted
269 variable `idlwave-shell-activate-alt-keybindings' and simplify.
270
b499d8d0
JB
271 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
272
ad89bb83
GM
2732012-05-08 Glenn Morris <rgm@gnu.org>
274
275 * files.el (auto-mode-alist): Treat ".make" like ".mk".
276
8bba5a75
SM
2772012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
278
49ed9c8e
SM
279 * vc/log-edit.el: Add GNU coding standards highlighting.
280 (log-edit-font-lock-gnu-style)
281 (log-edit-font-lock-gnu-keywords): New vars.
282 (log-edit-font-lock-keywords): New fun.
283 (log-edit-mode): Don't fold case in font-lock.
284 (log-edit-font-lock-keywords): Do not assume case-folding.
285
07d00b56
SM
286 * imenu.el: Misc cleanup. Make docstrings out of comments.
287 Use lexical-binding.
288 (imenu--index-alist, imenu--last-menubar-index-alist)
289 (imenu-menubar-modified-tick): Use defvar-local.
290 (imenu--split-menu): Remove unused var.
291 (imenu--cleanup-seen): Declare as global.
292 (imenu--cleanup): Use dolist.
293
8bba5a75
SM
294 * subr.el (defvar-local): Add debug spec and doc-string position.
295
5075bdb5
GM
2962012-05-08 Glenn Morris <rgm@gnu.org>
297
c052c904
GM
298 * lisp/language/burmese.el, language/cham.el, language/czech.el:
299 * language/english.el, language/georgian.el, language/greek.el:
300 * language/japanese.el, language/khmer.el, language/korean.el:
301 * language/lao.el, language/misc-lang.el, language/romanian.el:
302 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
303 * language/thai.el, language/utf-8-lang.el:
304 Remove no-byte-compile setting.
305
5075bdb5
GM
306 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
307
06f679a7
AH
3082012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
309
310 * progmodes/make-mode.el (makefile-browse):
311 Remove unnecessary interactive. (Bug#11324)
312
03794570
GM
3132012-05-07 Glenn Morris <rgm@gnu.org>
314
af8630f4
GM
315 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
316
03794570
GM
317 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
318
f0809a9d
SM
3192012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
320
28be5ce7
SM
321 * loadup.el: Preload newcomment.el.
322 * newcomment.el: Move autoload-only code to toplevel.
323
f0809a9d
SM
324 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
325 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
326 Handle new :right-align column property.
327 (tabulated-list-print-col): Idem, plus use `display' text-property to
328 try and preserve alignment for variable pitch fonts.
329
1241b724
CY
3302012-05-07 Chong Yidong <cyd@gnu.org>
331
332 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
333 (tabulated-list-use-header-line): New var.
334 (tabulated-list-init-header): Use it.
335 (tabulated-list-print-fake-header): New function.
336 (tabulated-list-print): Use it.
337 (tabulated-list-sort-button-map): Add non-header-line commands.
338 (tabulated-list-init-header): Add column name property to basic
339 labels as well.
340 (tabulated-list-col-sort): Handle non-header-line button case.
341 (tabulated-list--sort-by-column-name): Fix a corner case.
342
f0809a9d
SM
343 * buff-menu.el (list-buffers--refresh):
344 Handle Buffer-menu-use-header-line.
1241b724 345
e5f9458f
CY
3462012-05-06 Chong Yidong <cyd@gnu.org>
347
348 * buff-menu.el: Convert to Tabulated List mode.
349 (Buffer-menu-buffer+size-width): Make obsolete.
350 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
351 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
352 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
353 documentation into docstring of buffer-menu.
354 (Buffer-menu-toggle-files-only): Add an informative message.
355 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
356 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
357 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
358 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
359 (Buffer-menu-execute, Buffer-menu-select)
360 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
361 (Buffer-menu-bury): Use Tabulated List machinery.
362 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
363 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 364 Delete.
e5f9458f
CY
365 (list-buffers--refresh): New function.
366 (list-buffers-noselect): Use it.
367 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
368 (Buffer-menu--pretty-file-name): New helper functions.
369
370 * loadup.el: Preload tabulated-list.
371
372 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
373 tabulated-list-sort-column.
374 (tabulated-list-init-header): Add the initial aligning space even
375 if tabulated-list-padding is zero.
376
e129292c
CS
3772012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
378
379 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
380 whose cdr is not a cons cell correctly (bug#11038).
381
6632d361
CY
3822012-05-06 Chong Yidong <cyd@gnu.org>
383
e129292c
CS
384 * emacs-lisp/tabulated-list.el (tabulated-list-format):
385 Accept additional plist in column descriptors.
6632d361
CY
386 (tabulated-list-init-header): Obey it.
387 (tabulated-list-get-entry): New function.
388 (tabulated-list-put-tag): Use it. Use string-width instead of
389 length.
390 (tabulated-list--column-number): New function.
391 (tabulated-list-print): Use it.
e129292c
CS
392 (tabulated-list-print-col): New function.
393 Set `tabulated-list-column-name' property on each column's text.
6632d361 394 (tabulated-list-print-entry): Use it.
e129292c
CS
395 (tabulated-list-delete-entry, tabulated-list-set-col):
396 New functions.
6632d361
CY
397 (tabulated-list-sort-column): New command (Bug#11337).
398
3cc99f68
CY
399 * buff-menu.el (list-buffers): Move C-x C-b binding from
400 buff-menu.el to bindings.el.
401
402 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
403 :advertised-binding feature.
404
52b61776
TN
4052012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
406
407 * progmodes/compile.el (compilation-internal-error-properties):
408 Calculate start position correctly when end-col is set but
409 end-line is not (Bug#11382).
410
ebfe2597
WJ
4112012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
412
413 * man.el (Man-unindent): Use text-property-default-nonsticky to
414 prevent untabify from inheriting face properties (Bug#11408).
415
a43f98b3
GM
4162012-05-05 Glenn Morris <rgm@gnu.org>
417
48176e8b
GM
418 * calendar/cal-html.el: Optionally include holidays in the output.
419 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
420 (cal-html-holidays): New option.
421 (cal-html-css-default): Add holiday entry.
422 (holiday-in-range): Autoload it.
423 (cal-html-htmlify-entry): Add optional class argument.
424 (cal-html-htmlify-list): Add optional holidays argument.
425 (cal-html-insert-agenda-days): Include holidays in the output.
426 (cal-html-one-month): Maybe include holidays.
427
a43f98b3
GM
428 * calendar/holidays.el (holiday-in-range):
429 Move here from cal-tex-list-holidays.
430 * calendar/cal-tex.el (cal-tex-list-holidays):
431 Make it an obsolete alias for holiday-in-range. Update all callers.
432
fef9d149 4332012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
434
435 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
436 Nextstep.
437
248da2f4
RW
4382012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
439
440 * files.el (file-auto-mode-skip): New var.
441 (set-auto-mode-1): Use it.
442
f95e9344
SM
4432012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
444
df96ab1e
SM
445 * repeat.el: Use lexical-binding.
446 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
447 (repeat-undo-count): Remove.
448 (repeat):
449 * progmodes/octave-mod.el (octave-abbrev-start):
450 * progmodes/f90.el (f90-abbrev-start):
451 * face-remap.el (text-scale-adjust):
452 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
453
5342bb06
SM
454 * emacs-lisp/pcase.el (pcase--let*): New function.
455 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
456 a bit more.
457 (pcase--split-pred): Be more clever about ruling out overlap between
458 a predicate and some constant pattern.
459 (pcase--q1): Use `null' instead of (eq foo nil).
460
f95e9344
SM
461 * subr.el (setq-local, defvar-local): New macros.
462 (kbd): Redefine as an alias.
463 (with-selected-window): Leave unrelated frames alone.
464 (set-temporary-overlay-map): New function.
465
71873e2b
SM
4662012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
467
468 * subr.el (user-error): New function.
469 * window.el (switch-to-buffer):
470 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
471 (smerge-match-conflict):
472 * simple.el (previous-matching-history-element)
473 (next-matching-history-element, goto-history-element, undo-more)
474 (undo-start):
475 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
476 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
477 (next-file, tags-loop-scan, list-tags, complete-tag):
478 * progmodes/compile.el (compilation-loop):
479 * mouse.el (mouse-minibuffer-check):
480 * man.el (Man-bgproc-sentinel, Man-goto-page):
481 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
482 (Info-history-forward, Info-follow-reference, Info-menu)
483 (Info-extract-menu-item, Info-extract-menu-counting)
484 (Info-forward-node, Info-backward-node, Info-next-menu-item)
485 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
486 (Info-next-reference, Info-prev-reference, Info-index)
487 (Info-index-next, Info-follow-nearest-node)
488 (Info-copy-current-node-name):
489 * imenu.el (imenu--make-index-alist)
490 (imenu-default-create-index-function, imenu-add-to-menubar):
491 * files.el (basic-save-buffer, recover-file):
492 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
493 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
494 (checkdoc-message-text, checkdoc-defun):
495 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
496 * cus-edit.el (customize-changed-options, customize-rogue)
497 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
498 (custom-variable-mark-to-reset-standard)
499 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
500 (custom-file):
501 * completion.el (check-completion-length):
502 * comint.el (comint-search-arg)
503 (comint-previous-matching-input-string-position)
504 (comint-previous-matching-input)
505 (comint-replace-by-expanded-history-before-point, comint-send-input)
506 (comint-copy-old-input, comint-backward-matching-input)
507 (comint-goto-process-mark, comint-set-process-mark):
508 * calendar/calendar.el (calendar-cursor-to-date): Use it.
509 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
510
8a61ee22
SM
5112012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
512
66408d1e
SM
513 * dabbrev.el (dabbrev--ignore-case-p): New function.
514 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
515 Use it.
516
8a61ee22
SM
517 * files.el (automount-dir-prefix): Mark as obsolete.
518
3c74813a
GM
5192012-05-04 Glenn Morris <rgm@gnu.org>
520
521 * patcomp.el, play/bruce.el: Move to obsolete/.
522
0bfcf5c5
PE
5232012-05-04 Paul Eggert <eggert@cs.ucla.edu>
524
525 Fix minor Y10k bugs.
526 * arc-mode.el (archive-unixdate):
527 * autoinsert.el (auto-insert-alist):
528 * calc/calc-forms.el (math-this-year):
529 * emacs-lisp/copyright.el (copyright-current-year)
530 (copyright-update-year, copyright):
531 * tar-mode.el (tar-clip-time-string):
532 * time.el (display-time-update):
533 Don't assume years have 4 digits.
534
78f3273a
CY
5352012-05-04 Chong Yidong <cyd@gnu.org>
536
537 * dos-w32.el (file-name-buffer-file-type-alist)
538 (direct-print-region-use-command-dot-com):
539 * ffap.el (ffap-menu-regexp):
540 * find-file.el (ff-special-constructs):
541 * follow.el (follow-debug):
542 * forms.el (forms--debug):
543 * iswitchb.el (iswitchb-all-frames):
544 * ido.el (ido-all-frames):
545 * emacs-lisp/timer.el (timer-max-repeats):
546 * mail/feedmail.el (feedmail-mail-send-hook)
547 (feedmail-mail-send-hook-queued):
548 * mail/footnote.el (footnote-signature-separator):
549 * mail/mailabbrev.el (mail-alias-separator-string)
550 (mail-abbrev-mode-regexp):
551 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
552 * progmodes/idlwave.el (idlwave-libinfo-file)
553 (idlwave-default-completion-case-is-down)
554 (idlwave-library-routines): Convert defvars to defcustoms.
555
556 * mail/rmail.el (rmail-decode-mime-charset):
557 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
558 (idlwave-shell-fix-inserted-breaks)
559 (idlwave-shell-activate-alt-keybindings)
560 (idlwave-shell-use-breakpoint-glyph):
561 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
562
f7ae6719
SM
5632012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
564
565 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
566
47086495
WS
5672012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
568
569 * progmodes/verilog-mode.el (font-lock-keywords):
570 Fix mis-highligting auto. Reported by Craig Barner.
571 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
572 defines from global name space. Reported by Dan Dever.
573 (verilog-auto-reset, verilog-auto-reset-widths)
574 (verilog-auto-tieoff): Support using unbased numbers for
575 AUTORESET and AUTOTIEOFF.
576 (verilog-submit-bug-report): Update variable list.
577 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
578 parenthesis from not matching. Reported by Michael Rytting.
579 (verilog-auto-template-lint): Fix hash error when linting modules
580 with no used templates.
581 (verilog-warn, verilog-warn-error)
582 (verilog-warn-fatal): When non-interactive report multiple
583 warnings before exiting. Suggested by Brad Dobbie.
584 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
585 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
586 to report unused template errors. Reported by Brad Dobbie.
587 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
588 nets, bug438. Reported by Vns Blore.
589 (verilog-auto-inout-module, verilog-auto-reg)
590 (verilog-read-decls, verilog-read-sub-decls-sig)
591 (verilog-signals-edit-wire-reg, verilog-signals-with):
592 Fix passing of Verilog data types in ANSI input/output ports
593 such as "output logic" into the AUTOs. Special case "wire" and
594 "reg" for backwards compatibility presuming Verilog 2001.
595 (verilog-auto-ascii-enum): Add "auto enum" as alias.
596 (verilog-preprocess): Fix replication of preprocess output.
597 Reported by Brad Dobbie.
598 (verilog-auto-inst-interfaced-ports):
599 Create verilog-auto-inst-interfaced-ports, bug429.
600 Reported by Julian Gorfajn.
601 (verilog-after-save-font-hook)
602 (verilog-before-save-font-hook): New variable.
603 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
604 (verilog-save-font-mods): Wrap disabling fontification, reported
605 by David Rogoff.
606 (verilog-do-indent, verilog-pretty-declarations-auto)
607 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
608 Reported by Pierre-David Pfister.
609 (verilog-set-auto-endcomments): Fix endtask auto comments outside
610 of class declarations, bug292. Reported by Kevin Heilman.
611 (verilog-read-decls): Fix 'parameter type' not appearing in
612 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
613 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
614 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
615 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
616 Reported by David Kravitz.
617
6182012-05-03 Michael McNamara <mac@mail.brushroad.com>
619
620 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
621 assignment with tests in ifs and for loops.
622 (verilog-extended-complete-re, verilog-complete-reg): Change so
623 that DPI inport functions don't look like fuction declarations.
624 (verilog-pretty-expr): Don't line up assignment
625 operations to the test and increment in if and for loops
626 (verilog-extended-complete-re, verilog-complete-reg): Change so
627 that DPI inport functions don't look like fuction declarations
628
2e51d4b5
KH
6292012-05-03 Kenichi Handa <handa@m17n.org>
630
631 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
632 decoding, and show a warning message without signalling an error
633 (Bug#11282).
634
2bd785a2
SM
6352012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
636
637 * emacs-lisp/bytecomp.el
638 (byte-compile-file-form-custom-declare-variable): Compile all elements,
639 since cconv.el might have introduced :fun-body, internal-make-closure,
640 and friends for bytecomp to handle (bug#11391).
641 * custom.el (defcustom): Avoid ((λ ..) ..).
642
99d27583
SM
6432012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
644
645 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
646
55a71479
JB
6472012-05-02 Juanma Barranquero <lekktu@gmail.com>
648
649 * notifications.el (dbus-debug):
650 * term/linux.el (gpm-mouse-enable):
651 * term/screen.el (xterm-register-default-colors): Declare.
652
7b97c764
CY
6532012-05-02 Chong Yidong <cyd@gnu.org>
654
2bc356d7
CY
655 * cus-start.el (gc-cons-percentage, exec-suffixes)
656 (dos-display-scancodes, dos-hyper-key, dos-super-key)
657 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
658 (make-cursor-line-fully-visible, void-text-area-pointer)
659 (font-list-limit): Add customization data.
660
7b97c764
CY
661 * allout.el (allout-exposure-change-functions)
662 (allout-structure-added-functions)
663 (allout-structure-deleted-functions)
664 (allout-structure-shifted-functions): Rename abnormal hooks from
665 *-hook, and convert to defcustoms.
5d3385a0
JB
666 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
667 Convert to defcustoms.
7b97c764
CY
668 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
669
670 * allout-widgets.el: Hook callers changed.
671
90207a15 6722012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
673
674 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
675 the yanked message in preference to the default value of
676 buffer-file-coding-system.
677
90207a15 6782012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 679
5d3385a0
JB
680 * window.el (display-buffer--action-function-custom-type):
681 Fix entry.
d9558cad 682
90207a15 6832012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
684
685 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
686
d80ac57b
GM
6872012-05-01 Glenn Morris <rgm@gnu.org>
688
976f7668
GM
689 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
690
beb83b5a
GM
691 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
692
d80ac57b
GM
693 * cus-edit.el (custom-variable-documentation): Simplify with format.
694
b593d6a9
AH
6952012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
696 Stefan Monnier <monnier@iro.umontreal.ca>
697
698 * simple.el (suggest-key-bindings, execute-extended-command):
699 Move from keyboard.c.
700
782fbf2a
CY
7012012-05-01 Chong Yidong <cyd@gnu.org>
702
703 * follow.el: Eliminate advice.
704 (set-process-filter, process-filter, sit-for): Advice deleted.
705 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
706 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
707 Vars deleted.
782fbf2a
CY
708 (follow-auto): Use a :set function.
709 (follow-mode): Rewritten. Don't advise process filters.
710 (follow-switch-to-current-buffer-all, follow-scroll-up)
711 (follow-scroll-down): Assume follow-mode is bound.
712 (follow-comint-scroll-to-bottom)
713 (follow-align-compilation-windows): New functions.
714 (follow--window-sorter): New function.
715 (follow-all-followers): Use it to explicitly sort windows by their
716 positions; don't make assumptions about next-window order.
717 (follow-windows-start-end, follow-delete-other-windows-and-split)
718 (follow-calc-win-start): Doc fix.
719 (follow-windows-aligned-p, follow-select-if-visible): Don't call
720 vertical-motion unnecessarily.
721 (follow-adjust-window): New function.
722 (follow-post-command-hook): Use it.
723 (follow-call-set-process-filter, follow-call-process-filter)
724 (follow-intercept-process-output, follow-tidy-process-filter-alist)
725 (follow-stop-intercept-process-output, follow-generic-filter):
726 Functions deleted.
727 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
728 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
729 New functions, replacing advice on scroll-bar-* commands.
87233a14 730 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
731
732 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
733 (comint-postoutput-scroll-to-bottom): Use it.
734 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 735
290af740
GM
7362012-05-01 Glenn Morris <rgm@gnu.org>
737
738 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
739 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
740 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
741 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
742 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
743 Remove no-byte-compile setting.
744
6eac8dc9
SM
7452012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
746
747 * minibuffer.el (completion-table-with-quoting): Fix compatibility
748 all-completions code to not return a number in the last cdr.
749
9cc7819c
LL
7502012-04-30 Leo Liu <sdl.web@gmail.com>
751
752 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
753 read-only error.
754
c93b886f
CY
7552012-04-29 Chong Yidong <cyd@gnu.org>
756
757 * follow.el (follow-calc-win-end): Rewrite to handle partial
758 screen lines correctly (Bug#8390).
759 (follow-avoid-tail-recenter): Minor cleanup.
760
8b6c19f4
SM
7612012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
762
763 Avoid the obsolete `assoc' package.
764 * speedbar.el (speedbar-refresh): Avoid adelete.
765 (speedbar-file-lists): Simplify and avoid aput.
766 * man.el (Man--sections, Man--refpages): New vars, replacing
767 Man-sections-alist and Man-refpages-alist.
768 (Man-build-section-alist, Man-build-references-alist):
769 Use them; avoid aput.
770 (Man--last-section, Man--last-refpage): New vars.
771 (Man-follow-manual-reference): Use them.
772 Use the `default' arg of completing-read.
773 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
774
c5bb7569
CY
7752012-04-27 Chong Yidong <cyd@gnu.org>
776
d1d2e2e8
CY
777 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
778
15cd8efd
CY
779 * startup.el (x-apply-session-resources): New function.
780
781 * term/ns-win.el (ns-initialize-window-system):
782 * term/w32-win.el (w32-initialize-window-system):
783 * term/x-win.el (x-initialize-window-system): Use it to properly
784 set menu-bar-mode and other vars from X resources, even if the
785 initial frame is not a window-system frame (Bug#2299).
786
c5bb7569
CY
787 * subr.el (read-key): Avoid running filter function when setting
788 up temporary tool bar entries (Bug#9922).
789
a8e7d6d7 7902012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
791
792 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
793 (Bug#11344)
794
a8e7d6d7 7952012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
796
797 * select.el (xselect--encode-string): New function, split from
798 xselect-convert-to-string.
799 (xselect-convert-to-string): Use it.
800 (xselect-convert-to-filename, xselect-convert-to-os)
801 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
802 returned strings are properly encoded (Bug#11315).
803
a8e7d6d7 8042012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
805
806 * simple.el (delete-active-region): Move to killing custom group.
807
a8e7d6d7 8082012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
809
810 * progmodes/which-func.el (which-func-current): Quote %
811 characters for mode-line processing.
812
578c1d4b 8132012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
814
815 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
816 reaching eob (Bug#11286).
817
a8e7d6d7 8182012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
819
820 * progmodes/gdb-mi.el (gdb-control-level): New variable.
821 (gdb): Make it buffer-local and init to zero.
822 (gdb-control-commands-regexp): New variable.
823 (gdb-send): Don't wrap in "-interpreter-exec console" if
824 gdb-control-level is positive. Increment gdb-control-level
825 whenever the command matches gdb-control-commands-regexp, and
826 decrement it each time the command is "end". (Bug#11279)
827
a8e7d6d7 8282012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
829
830 * window.el (adjust-window-trailing-edge, enlarge-window)
831 (shrink-window, window-resize):
832 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
833 windows (Bug#11276).
834
b3608390
CY
8352012-04-27 Chong Yidong <cyd@gnu.org>
836
837 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 838 fix "missing prefix" warning. All callers changed.
b3608390 839
797e6e88
SM
8402012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
841
842 * emacs-lisp/assoc.el: Move to obsolete/.
843
e95a67dc
SM
8442012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
845
657c21e4 846 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
847
848 * term/ns-win.el (ns-define-service):
849 * progmodes/pascal.el (pascal-goto-defun):
850 * progmodes/js.el (js--read-tab):
851 * progmodes/etags.el (tags-lazy-completion-table):
852 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
853 * emacs-lisp/ewoc.el (ewoc--wrap):
854 * emacs-lisp/assoc.el (aput, adelete, amake):
855 * doc-view.el (doc-view-convert-current-doc):
856 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
857
cb3e7ae0
CY
8582012-04-26 Chong Yidong <cyd@gnu.org>
859
dce04f7f
CY
860 * image.el (image-type-from-buffer): Only return supported image
861 type (Bug#9045).
862
cb3e7ae0
CY
863 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
864 value, for symmetry with diff-end-of-hunk.
865 (diff-split-hunk, diff-find-source-location)
866 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
867 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
868 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
869 compute the relevant hunk or file properly (Bug#6005).
870 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
871
0d42eb3e
SM
8722012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
873
874 * vc/vc-mtn.el:
875 * vc/vc-hg.el:
876 * vc/vc-git.el:
877 * vc/vc-dir.el:
878 * vc/vc-cvs.el:
879 * vc/vc-bzr.el:
880 * vc/vc-arch.el:
881 * vc/vc.el: Replace lexical-let by lexical-binding.
882 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
883 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
884 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
885
f08ae1c9
CY
8862012-04-26 Chong Yidong <cyd@gnu.org>
887
8b71081d
CY
888 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
889 (diff-mode-shared-map): Bind it to / and [remap undo].
890
f08ae1c9
CY
891 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
892 (ediff-window-setup-function): Use it as the default, to set up
893 windows based on whether the current frame is graphical (Bug#2138).
894 (ediff-choose-window-setup-function-automatically): Make obsolete.
895
896 * vc/ediff-init.el: Always define ediff-pixel-width/height.
897
ef24141c
SM
8982012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
899
cc356a5d
SM
900 * ffap.el: Remove old code for obsolete package.
901 (ffap-complete-as-file-p): Remove.
902
b4ff4f1f
SM
903 Use completion-table-with-quoting for comint and pcomplete.
904 * comint.el (comint--unquote&requote-argument)
905 (comint--unquote-argument, comint--requote-argument): New functions.
906 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
907 (comint-quote-filename): Use regexp-opt-charset.
908 (comint--common-suffix, comint--common-quoted-suffix)
909 (comint--table-subvert): Remove.
910 (comint-unquote-function, comint-requote-function): New vars.
911 (comint--complete-file-name-data): Use them with
912 completion-table-with-quoting.
913 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
914 * pcomplete.el (pcomplete-arg-quote-list)
915 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
916 (pcomplete-unquote-argument-function): Default to non-nil.
917 (pcomplete-unquote-argument): Simplify.
918 (pcomplete--common-quoted-suffix): Remove.
919 (pcomplete-requote-argument-function): New var.
920 (pcomplete--common-suffix): New function.
921 (pcomplete-completions-at-point): Use completion-table-with-quoting
922 and completion-table-subvert.
923
79c4eeb4
SM
924 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
925 (minibuffer--double-dollars): Preserve properties.
926 (completion--sifn-requote): New function.
927 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
928
ef24141c
SM
929 * minibuffer.el: Add support for completion of quoted/escaped data.
930 (completion-table-with-quoting, completion-table-subvert): New funs.
931 (completion--twq-try, completion--twq-all): New functions.
932 (completion--nth-completion): New function.
933 (completion-try-completion, completion-all-completions): Use it.
934
784e7d6e
LL
9352012-04-25 Leo Liu <sdl.web@gmail.com>
936
dd2ac746
SM
937 * progmodes/python.el (python-pdbtrack-get-source-buffer):
938 Use compilation-message if available to find real filename.
784e7d6e 939
07875ee7
CY
9402012-04-25 Chong Yidong <cyd@gnu.org>
941
942 * vc/diff-mode.el (diff-setup-whitespace): New function.
943 (diff-mode): Use it.
944
945 * vc/diff.el (diff-sentinel):
946 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
947 Whitespace mode variables based on diff style (Bug#8612).
948
5055880d
LL
9492012-04-25 Leo Liu <sdl.web@gmail.com>
950
daf75653
LL
951 * progmodes/python.el (python-send-region): Add suffix .py to the
952 temp file.
953
5055880d
LL
954 * files.el (auto-mode-alist): Use javascript-mode instead.
955
db9b177b
AH
9562012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
957
ef24141c 958 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
959
960 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 961 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 962 references, see Bug#9.
ef24141c 963 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 964 when receiving a fault reply.
ef24141c 965 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
966
967 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 968 (soap-inspect-simple-type): New function.
db9b177b 969
ef24141c 970 * soap-client.el (soap-simple-type): New struct.
db9b177b 971 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
972 (soap-decode-basic-type, soap-encode-basic-type):
973 support unsignedInt and double basic types.
db9b177b 974 (soap-resolve-references-for-simple-type)
ef24141c
SM
975 (soap-parse-simple-type, soap-encode-simple-type): New function.
976 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
977
978 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
979 (soap-default-soapenc-types): Add integer, byte and anyURI types.
980 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
981 the local name of "soapenc:Array".
982 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
983 decoding integer, byte and anyURI xsd types.
984
1fc6097b
CY
9852012-04-25 Chong Yidong <cyd@gnu.org>
986
987 * cus-edit.el (custom-buffer-create-internal): Update header text.
988
afc6df87
EZ
9892012-04-25 Eli Zaretskii <eliz@gnu.org>
990
991 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
992 settings on 'system-type', not on 'window-system'. On MS-Windows,
993 set interactive-mode on in GDB.
994
dfbd787f
SM
9952012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
996
997 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
998 (ruby-syntax-propertize-regexp): Remove.
999 (ruby-syntax-propertize-function): Split regexp into chunks.
1000 Match following code directly.
1001
85222d44
DG
10022012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1003
51a8ea2a
DG
1004 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1005 (ruby-syntax-propertize-regexp): New function.
1006 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1007 by a special keyword.
1008
85222d44
DG
1009 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1010 (ruby-syntax-general-delimiters-goto-beg)
1011 (ruby-syntax-propertize-general-delimiters): New functions.
1012 (ruby-syntax-propertize-function): Use them to handle GDL.
1013 (ruby-font-lock-keywords): Move old handling of GDL...
1014 (ruby-font-lock-syntactic-keywords): .. to here.
1015 (ruby-calculate-indent): Adjust indentation for GDL.
1016
b613912b
MA
10172012-04-24 Michael Albinus <michael.albinus@gmx.de>
1018
b5380639
MA
1019 * notifications.el (top): Remove unneeded declarations.
1020 (notifications-specification-version): Change to "1.2".
e43042fe 1021 (notifications-interface, notifications-notify-method)
b613912b
MA
1022 (notifications-close-notification-method): Fix docstring.
1023 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1024 (notifications-notify): Add :action-items, :resident and
1025 :transient hints. Change "image_data" to "image-data" and
1026 "image_path" to "image-path".
b613912b
MA
1027 (notifications-get-capabilities): New defun.
1028
257440aa
LL
10292012-04-24 Leo Liu <sdl.web@gmail.com>
1030
1031 * progmodes/python.el: Move hideshow setup to the end.
1032
b1bac16e
MR
10332012-04-24 Martin Rudalics <rudalics@gmx.at>
1034
1035 * window.el (handle-select-window): Clear echo area since this is
1036 no more done by read_char (Bug#11304).
1037
d81bd059
SM
10382012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1039
1040 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1041 and `/ M' to filter-derived-mode.
1042 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1043 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1044 (ibuffer-mark-by-mode): Use default rather than initial-input.
1045 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1046
c4cf6d91
IA
10472012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1048
1049 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1050 (ibuffer-filter-by-derived-mode): New filter.
1051 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1052
7511ded8
CY
10532012-04-23 Andreas Politz <politza@fh-trier.de>
1054
1055 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1056
775c916b
CY
10572012-04-23 Chong Yidong <cyd@gnu.org>
1058
1059 * cus-edit.el (customize-apropos, customize-apropos-options):
1060 Disable matching of non-option variables (Bug#11176).
1061 (customize-option, customize-option-other-window)
1062 (customize-changed-options): Doc fix.
1063 (customize-apropos-options, customize-apropos-faces)
1064 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1065
1066 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1067 Fix word list splitting (Bug#11132).
46c71e23
CY
1068 (apropos-symbol, apropos-keybinding, apropos-label)
1069 (apropos-property, apropos-function-button)
1070 (apropos-variable-button, apropos-misc-button): New faces.
1071 (apropos-symbol-face, apropos-keybinding-face)
1072 (apropos-label-face, apropos-property-face, apropos-match-face):
1073 Variables removed (Bug#8396).
1074 (apropos-library-button, apropos-format-plist, apropos-print)
1075 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1076
2df41f9c
MA
10772012-04-23 Michael Albinus <michael.albinus@gmx.de>
1078
1079 * net/xesam.el (xesam-mode-map): Use let-bound map in
1080 initialization. (Bug#11292)
1081
da00640a
AM
10822012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1083
1084 Preserve ispell session localwords when switching back to
1085 original buffer.
1086
1087 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1088 variable to hold buffer session localwords.
1089 (ispell-kill-ispell): add option 'clear to delete session
1090 localwords.
1091 (ispell-command-loop, ispell-change-dictionary)
1092 (ispell-buffer-local-words): Preserve session localwords when
1093 needed.
1094
1095 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1096 Preserve session localwords when needed.
1097
f621ccf5
AM
10982012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1099
1100 * ispell.el (ispell-insert-word) Remove unneeded function using
1101 obsolete `translation-table-for-input'.
ef24141c
SM
1102 (ispell-word, ispell-process-line, ispell-complete-word):
1103 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1104
c2d1019e
CY
11052012-04-22 Chong Yidong <cyd@gnu.org>
1106
1107 * cus-edit.el (custom-variable-menu)
1108 (custom-variable-reset-saved, custom-face-menu)
1109 (custom-face-reset-saved): If there is no saved value, make the
1110 "reset-saved" operation bring back the default (Bug#9509).
1111 (custom-face-state): Properly detect themed faces.
1112
eeddc531
CY
1113 * faces.el (face-spec-set): Stop supporting deprecated form of
1114 third arg.
1115
dcbf5805
MA
11162012-04-22 Michael Albinus <michael.albinus@gmx.de>
1117
1118 Move functions from C to Lisp. Make non-blocking method calls
1119 the default. Implement further D-Bus standard interfaces.
1120
ef24141c
SM
1121 * net/dbus.el (dbus-message-internal): Declare function.
1122 Remove unneeded function declarations.
dcbf5805
MA
1123 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1124 (dbus-message-type-method-return, dbus-message-type-error)
1125 (dbus-message-type-signal): Declare variables. Remove local
1126 definitions.
1127 (dbus-interface-dbus, dbus-interface-peer)
1128 (dbus-interface-introspectable, dbus-interface-properties)
1129 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1130 Adapt docstring.
1131 (dbus-interface-objectmanager): New defconst.
1132 (dbus-call-method, dbus-call-method-asynchronously)
1133 (dbus-send-signal, dbus-method-return-internal)
1134 (dbus-method-error-internal, dbus-register-service)
1135 (dbus-register-signal, dbus-register-method): New defuns, moved
1136 from dbusbind.c
1137 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1138 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1139 New defuns.
dcbf5805
MA
1140 (dbus-call-method-non-blocking): Make it an obsolete function.
1141 (dbus-unregister-object, dbus-unregister-service)
1142 (dbus-handle-event, dbus-register-property)
1143 (dbus-property-handler): Obey the new structure of
1144 `bus-registered-objects'.
1145 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1146 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1147 Use `dbus-call-method'.
1148
cf20dee0
CY
11492012-04-22 Chong Yidong <cyd@gnu.org>
1150
1151 * cus-edit.el (custom-commands, custom-reset-menu)
1152 (Custom-reset-standard): Tweak labels.
1153 (custom-reset-button-menu): Change default to t.
1154 (custom-buffer-create-internal): For the custom-reset-button-menu
1155 case, put the revert button first.
1156 (custom-group-subtitle): New face.
1157 (custom-group-value-create): Align docstring to a specific column.
1158
1159 * wid-edit.el (widget-documentation-link-add): Don't handle
1160 indentation in this function.
1161 (widget-documentation-string-indent-to): New function.
1162 (widget-documentation-string-value-create): Use it.
1163
1164 * autorevert.el (auto-revert):
1165 * epg-config.el (epg):
1166 * ibuffer.el (ibuffer):
1167 * mpc.el (mpc):
1168 * ses.el (ses):
1169 * eshell/eshell.el (eshell):
1170 * net/ange-ftp.el (ange-ftp):
1171 * progmodes/ebnf2ps.el (postscript):
1172 * progmodes/flymake.el (flymake):
1173 * progmodes/prolog.el (prolog):
1174 * progmodes/verilog-mode.el (verilog-mode):
1175 * progmodes/which-func.el (which-func):
1176 * term/xterm.el (xterm):
1177 * textmodes/picture.el (picture):
1178 * textmodes/tildify.el (tildify):
1179 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1180 customization buffers.
1181
583e23bd
AM
11822012-04-22 Alan Mackenzie <acm@muc.de>
1183
1184 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1185 Adding a ) can hide the resulting (..) from searches. Fix it.
1186 Bound the backward search to the position of the existing (.
1187
7dd51bf1
JB
11882012-04-21 Juanma Barranquero <lekktu@gmail.com>
1189
1190 * progmodes/verilog-mode.el (verilog-mode): Check whether
1191 which-func-modes is t before adding verilog-mode.
1192 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1193
d64a438f
LL
11942012-04-21 Leo Liu <sdl.web@gmail.com>
1195
7dd51bf1 1196 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 1197
081e8d65
MV
11982012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1199
1200 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1201 filling of the last column of a table (Bug#5635).
1202 (woman-find-next-control-line): New arg, specifying an additional
1203 regexp component for the control line.
1204 (woman2-roff-buffer): Use it.
1205 (woman-break-table): New function.
1206 (woman2-TS): Use it.
1207
12082012-04-21 Chong Yidong <cyd@gnu.org>
1209
1210 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1211 (woman-horizontal-escapes, woman-negative-vertical-space)
1212 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1213 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1214
ed571ccb
SM
12152012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1216
1217 * minibuffer.el (completion-file-name-table): Complete user names.
1218
39773899
LL
12192012-04-20 Leo Liu <sdl.web@gmail.com>
1220
1221 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1222 and pcase-let*.
1223
de6ff46d
CY
12242012-04-20 Chong Yidong <cyd@gnu.org>
1225
1226 * server.el (server-execute): Respect initial-buffer-choice if it
1227 is a string and there are no files to open (Bug#2825).
1228 (server-create-window-system-frame, server-create-tty-frame):
1229 Don't switch buffers here.
2d0e8e61
CY
1230 (server-process-filter): Only try to open a window system frame if
1231 compiled with graphical support (Bug#8314).
de6ff46d 1232
54071013
DN
12332012-04-20 Dan Nicolaescu <dann@gnu.org>
1234
1235 * battery.el (battery-echo-area-format): Display remaining time
1236 for sysfs backend too (Bug#11269).
1237 (battery-linux-sysfs): Fix conditional for the charge.
1238
f30d612a
CY
12392012-04-20 Chong Yidong <cyd@gnu.org>
1240
c07a4c0b 1241 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
1242 (gdb-inferior-io--init-proc): New function.
1243 (gdb-init-1): Use it.
1244 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1245 responsible for allocating a new pty and hooking it to gdb when
1246 the old pty gets an EIO due to process exit.
1247 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1248 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1249 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1250
2116e93c
EZ
12512012-04-20 Eli Zaretskii <eliz@gnu.org>
1252
1253 * window.el (window-min-size, window-sizable, window-min-delta)
1254 (window-max-delta, window--resizable, window-resizable)
1255 (window-total-size, window-full-height-p, window-full-width-p)
1256 (window-in-direction, window--resize-mini-window, window-resize)
1257 (window--resize-child-windows-normal)
1258 (window--resize-child-windows, window--resize-siblings)
1259 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 1260 (enlarge-window, shrink-window): Doc fixes.
2116e93c 1261
c07a4c0b 12622012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 1263
ef24141c
SM
1264 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1265 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
1266 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1267 pty process (Bug#11273).
1268 (gdb-update): New arg to suppress talking to the gdb process.
1269 (gdb-done-or-error): Use it.
1270 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1271 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1272 sentinel not being called.
1273
1274 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1275
d02766ab
CY
1276 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1277
c07a4c0b 12782012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
1279
1280 * net/network-stream.el (open-network-stream): Doc fix.
1281
c07a4c0b 12822012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
1283
1284 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1285
c07a4c0b 12862012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
1287
1288 Ensure searching for keywords is case sensitive.
1289
1290 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1291 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1292 (c-defun-name, c-mark-function, c-cpp-define-name)
1293 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 1294 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 1295
ef24141c
SM
1296 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1297 Bind case-fold-search to nil.
f0f6bc35 1298
c07a4c0b 12992012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
1300
1301 * mail/sendmail.el (mail-bury): Call return action with the right
1302 Rmail buffer (Bug#11242).
1303
9a864fa2
CY
1304 * server.el (server-process-filter): Handle corner case where both
1305 tty and nowait options are present (Bug#11102).
1306
539aa513
EZ
13072012-04-20 Eli Zaretskii <eliz@gnu.org>
1308
1309 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1310 (top level): Put into the executable the ident-style '$Id:' tag on
1311 windows-nt as well.
539aa513 1312
cfc7d5da
SM
13132012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1314
1315 * electric.el (electric-indent-post-self-insert-function): Check that
1316 electric-indent-mode is enabled in current buffer.
1317
5b01685c
JB
13182012-04-19 Juanma Barranquero <lekktu@gmail.com>
1319
1320 * imenu.el (imenu-progress-message): Restore; it is "used" in
1321 erc/erc-imenu.el and net/snmp-mode.el.
1322
4d6769e1
JB
13232012-04-19 Juanma Barranquero <lekktu@gmail.com>
1324
1325 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1326 (mouse-avoidance-nudge-mouse): Remove unused binding.
1327
1328 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1329
1330 * descr-text.el (describe-char):
1331 * progmodes/python.el (python-describe-symbol):
1332 Don't call `toggle-read-only', set `buffer-read-only'.
1333
1334 * imenu.el (imenu-default-goto-function): Mark unused args.
1335 (imenu-progress-message): Remove obsolete macro; all callers changed.
1336
1337 * subr.el (keymap-canonicalize): Remove unused binding.
1338 (read-passwd): Mark unused arg.
1339
1340 * tutorial.el (tutorial--display-changes): Remove unused binding.
1341 (tutorial--save-tutorial-to): Remove unused variable.
1342
1343 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1344 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1345 (package-generate-autoloads, package-menu--generate)
1346 (package-menu--find-upgrades): Remove unused bindings.
1347
1348 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1349 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1350 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1351 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1352 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1353 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1354 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1355 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1356 (cua-delete-char-rectangle): Mark unused args.
1357 (cua-align-rectangle): Remove unused binding.
1358
1359 * mail/rmail.el (compilation--message->loc)
1360 (epa--find-coding-system-for-mime-charset): Declare.
1361
1362 * net/dbus.el (dbus-register-service): Declare.
1363 (dbus-name-owner-changed-handler): Remove unused binding.
1364
1365 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1366 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1367 (nxml-scan-backward-within): Mark unused arg.
1368 (nxml-dynamic-markup-word): Remove unused binding.
1369
1370 * mouse.el (mouse-menu-major-mode-map):
1371 * emacs-lisp/authors.el (authors-scan-change-log)
1372 (authors-add-to-author-list):
1373 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1374 * emacs-lisp/smie.el (smie-auto-fill):
1375 * mail/sendmail.el (mail-bury):
1376 * mail/unrmail.el (unrmail):
1377 * net/tls.el (open-tls-stream):
1378 * textmodes/picture.el (picture-mouse-set-point):
1379 Remove unused bindings.
1380
8c8fc5df
MA
13812012-04-19 Michael Albinus <michael.albinus@gmx.de>
1382
1383 * net/tramp.el (tramp-action-password): Let-bind
1384 `enable-recursive-minibuffers' to t.
1385
a77b0ac9
SS
13862012-04-18 Sam Steingold <sds@gnu.org>
1387
1388 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1389 instead of 'string to accommodate values like [f11].
1390 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1391 * progmodes/gdb-mi.el: Likewise.
1392
12a106a9
LL
13932012-04-18 Leo Liu <sdl.web@gmail.com>
1394
1395 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1396 current buffer.
1397 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1398 LOCAL is nil.
1399
bc6494ef
CY
14002012-04-18 Chong Yidong <cyd@gnu.org>
1401
1402 * simple.el (line-move): Use forward-line if in batch mode
1403 (Bug#11053).
1404
c09c46b2
CS
14052012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1406
1407 * files.el (after-find-file): Do not try to add a final newline if
1408 the buffer is read-only (Bug#11156).
1409
5f6530ea
RS
14102012-04-17 Richard Stallman <rms@gnu.org>
1411
1412 * mail/rmail.el (rmail-start-mail):
1413 Pass (rmail-mail-return...) for the return-action.
1414 Pass (rmail-yank-current-message...) for the yank-action.
1415 (rmail-yank-current-message): New function.
1416 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1417 (rmail-reply): Likewise.
1418 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1419
1420 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1421 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1422 buffer, not newbuf.
1423
197b6f3c
JB
14242012-04-17 Juanma Barranquero <lekktu@gmail.com>
1425
1426 * server.el (server-ensure-safe-dir): Simplify.
1427
2311d8e5 14282012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1429
2311d8e5
GM
1430 * emacs-lisp/smie.el: Provide smarter auto-filling.
1431 (smie-auto-fill): New function.
1432 (smie-setup): Use it.
98fb480e 1433
2311d8e5
GM
1434 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1435
14362012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1437
1438 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1439 (comment-indent): Use it.
1440
2311d8e5 14412012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1442
1443 * ses.el: The overall change is to add cell renaming, that is
1444 setting fancy names for cell symbols other than name matching
1445 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1446 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1447 (ses-create-cell-variable): New defun.
2311d8e5 1448 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1449 (ses-relocate-formula): Relocate formulas only for cells the
1450 symbols of which are not renamed, i.e. symbols whose names do not
1451 match regexp "\\`[A-Z]+[0-9]+\\'".
1452 (ses-relocate-all): Relocate values only for cells the symbols of
1453 which are not renamed.
1454 (ses-load): Create cells variables as the (ses-cell ...) are read,
1455 in order to check row col consistency with cell symbol name only
1456 for cells that are not renamed.
1457 (ses-replace-name-in-formula): New defun.
1458 (ses-rename-cell): New defun.
4bdf2ad2 1459
fc72b15c
PO
14602012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1461
1462 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1463 New option (bug#11118).
1464 (perl-calculate-indent): Respect it.
1465
12e10e61
GM
14662012-04-17 Glenn Morris <rgm@gnu.org>
1467
1468 * dired-aux.el (dired-mark-read-string): Doc fix.
1469
30009afd
DA
14702012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1471
1472 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1473 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1474
41f03f4d
GM
14752012-04-17 Glenn Morris <rgm@gnu.org>
1476
1477 * mouse.el (mouse-drag-track):
1478 * speedbar.el (speedbar-frame-mode):
1479 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1480
f45f90f3
LL
14812012-04-16 Leo Liu <sdl.web@gmail.com>
1482
1483 * progmodes/python.el: Trivial cleanup.
1484
94ee8db5
GM
14852012-04-16 Glenn Morris <rgm@gnu.org>
1486
121b8917
GM
1487 * vc/vc.el (vc-string-prefix-p):
1488 * vc/pcvs-util.el (cvs-string-prefix-p):
1489 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1490 * mpc.el (mpc-string-prefix-p):
1491 Make all of these into obsolete aliases for string-prefix-p.
1492 Update callers.
1493 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1494
1197ecfa
GM
1495 * textmodes/two-column.el: Move custom options to the start.
1496 (frame-width): Remove compat definition.
1497 (2C-associate-buffer, 2C-dissociate):
1498 Use with-current-buffer rather than save-excursion.
1499 (2C-dissociate): Force a mode-line update.
1500 (2C-autoscroll): Use ignore-errors.
1501
099e7202
GM
1502 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1503 Autoload trivia.
1504
bf350d6a
GM
1505 * emacs-lisp/cl-extra.el (*random-state*):
1506 Remove unnecessary declaration.
1507
0e829eab
GM
1508 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1509
e3ad7552
GM
1510 * play/cookie1.el (cookie-snarf):
1511 Give an explicit error if input file cannot be read.
1512
68892d27
GM
1513 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1514
20f0c46d
GM
1515 * progmodes/perl-mode.el (c-macro-expand):
1516 Remove unnecessary autoload (it is in loaddefs.el).
1517
5a0978ce
GM
1518 * textmodes/picture.el (picture-desired-column)
1519 (picture-update-desired-column): Convert comments to doc-strings.
1520 (picture-substitute): Remove function.
1521 (picture-mode-map): Initialize in the defvar.
1522
6b955486
GM
1523 * woman.el: Remove eval-after-load for tar-mode.
1524 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1525 (woman-tar-extract-file): Autoload it.
1526
94ee8db5
GM
1527 * frame.el (automatic-hscrolling): Make this alias obsolete.
1528
177eca34
AM
15292012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1530
1531 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1532 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1533 (ispell-dictionary-base-alist): Revert to original XEmacs
1534 friendly version for default. [:alpha:] will be added in
1535 `ispell-set-spellchecker-params' if needed
177eca34 1536
c505aaeb
CY
15372012-04-16 Chong Yidong <cyd@gnu.org>
1538
1539 * image.el (imagemagick--extension-regexp): New variable.
1540 (imagemagick-register-types): Use it.
1541 (imagemagick-types-inhibit): Add :set function. Allow new value
1542 of t to inhibit all types.
1543
1544 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1545 so we can preload it.
1546
1547 * loadup.el (fboundp): Preload regexp-opt, needed by
1548 imagemagick-register-types.
1549
60efac0f
CY
15502012-04-15 Chong Yidong <cyd@gnu.org>
1551
1552 * frame.el (scrolling): Remove nearly unused customization group.
1553
1554 * scroll-all.el (scroll-all-mode): Move to windows group.
1555
5dd1713e
CY
15562012-04-15 Chong Yidong <cyd@gnu.org>
1557
1558 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1559
e6fd457e
CY
15602012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1561
1562 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1563 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1564
e153c136
GM
15652012-04-15 Glenn Morris <rgm@gnu.org>
1566
1567 * simple.el (process-file-side-effects): Doc fix.
1568
e6fd457e 15692012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1570
1571 * international/mule-cmds.el (set-language-environment): Doc fix.
1572
3603c3b1
JB
15732012-04-14 Juanma Barranquero <lekktu@gmail.com>
1574
1575 * server.el (server-auth-key, server-generate-key): Doc fixes.
1576 (server-get-auth-key): Doc fix. Use `string-match-p'.
1577 (server-start): Reflow docstring.
1578
e6de100c
LI
15792012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1580
1581 * server.el (server-generate-key): `called-interactively-p'
1582 requires a parameter.
1583
29734c21
MN
15842012-04-14 Michal Nazarewicz <mina86@mina86.com>
1585
1586 * server.el (server-auth-key): New variable.
75f1671a 1587 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1588 (server-start): Use the new variable and functions to allow
1589 setting a permanent server key (bug#9423).
1590
d65c9521
LL
15912012-04-14 Leo Liu <sdl.web@gmail.com>
1592
1593 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1594
5ae255c7
PE
15952012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1596
1597 Spelling fixes.
1598 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1599 Emacs uses American spelling.
1600
d5e6342e
JB
16012012-04-14 Juanma Barranquero <lekktu@gmail.com>
1602
1603 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1604 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1605 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1606 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1607
ab036cd7
SM
16082012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1609
1610 * progmodes/which-func.el (which-func-modes): Change default.
1611
35dc09a1 16122012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1613
1614 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1615 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1616
35dc09a1 16172012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1618
1619 * custom.el (custom-theme-set-variables): Doc fix.
1620
35dc09a1 16212012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1622
1623 * international/mule.el (set-auto-coding-for-load): Doc fix.
1624
35dc09a1 16252012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1626
35dc09a1
GM
1627 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1628 imenu work again for Objective C Mode. Correct the *-index values,
1629 these having been disturbed by a previous change in 2011-08.
57f845ee 1630
0de3da9f
AM
1631 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1632 Correct two search limits.
1633
35dc09a1 16342012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1635
1636 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1637
35dc09a1 16382012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1639
1640 * international/characters.el: Fix sorting.
1641
35dc09a1 16422012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1643
1644 * international/characters.el: Add more missing Latin case pairs.
1645
35dc09a1 16462012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1647
1648 * files.el (dir-locals-set-class-variables): Doc fix.
1649
35dc09a1 16502012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1651
3f1b5bf8
EZ
1652 * international/characters.el: Add set-case-syntax-pair call for
1653 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1654 counterpart. (Bug#11209)
1655
9f847f41
EZ
1656 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1657
35dc09a1 16582012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1659
1660 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1661
35dc09a1 16622012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1663
35dc09a1
GM
1664 * textmodes/ispell.el (ispell-dictionary-base-alist):
1665 Add data for Hebrew.
e2627d21 1666
35dc09a1 16672012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1668
35dc09a1
GM
1669 * net/rcirc.el (rcirc-cmd-quit):
1670 Revert 2012-03-18 change (Bug#11192).
5c14e333 1671
35dc09a1 16722012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1673
1674 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1675
35dc09a1 16762012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1677
4517fe3a
SM
1678 * minibuffer.el (completion-in-region-mode-map):
1679 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1680
b472a594
VD
16812012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1682
1683 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1684
09b95ce3
MY
16852012-04-13 Masatake YAMATO <yamato@redhat.com>
1686
1687 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1688 to allow `C-M-f' and `C-M-b' to move to the nearest path
1689 separator (bug#9511).
1690
4b63a9ca
LI
16912012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1692
1693 * avoid.el: Require cl when compiling. And also move the
1694 `provide' to the end.
1695
7b55b8bf
TV
16962012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1697
1698 * avoid.el (mouse-avoidance-banish-position): New variable.
1699 (mouse-avoidance-banish-destination): Use it (bug#10165).
1700
adedaa1f
LL
17012012-04-13 Leo Liu <sdl.web@gmail.com>
1702
1703 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1704
70e74021
KB
17052012-04-13 Ken Brown <kbrown@cornell.edu>
1706
1707 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1708 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1709 (browse-url-filename-alist): For the same reason, don't modify
1710 file:// URLs on Cygwin.
1711
e75e89ba
SM
17122012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1713
1714 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1715 the region on shift if the binding is already shifted (bug#11221).
1716
82f289a4
GM
17172012-04-12 Glenn Morris <rgm@gnu.org>
1718
1719 * mail/mailpost.el: Move to obsolete/.
1720
d333dc4c
DA
17212012-04-12 Drew Adams <drew.adams@oracle.com>
1722
1723 * imenu.el (imenu--generic-function): Ignore invisible definitions
1724 (bug#10123).
1725
0d15b5ba
VD
17262012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1727
1728 * hexl.el (hexl-bits): New variable.
1729 (hexl-options): Mention the variable in the doc string.
75f1671a 1730 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1731 (hexl-mode): Mention the new variable.
75f1671a
JB
1732 (hexl-mode, hexl-current-address, hexl-current-address):
1733 Use the displen.
0d15b5ba
VD
1734 (hexl-ascii-start-column): New function.
1735 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1736 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1737
64a440db
AM
17382012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1739
1740 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1741 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1742 the encoding, as expected by hunspell.
1743
6decb6c2
SM
17442012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1745
1746 * battery.el (battery--linux-sysfs-regexp): New const.
1747 (battery-status-function): Use it. Remove yeeloong special case.
1748 (battery-yeeloong-sysfs): Remove.
1749 (battery-echo-area-format): Remove yeeloong special case.
1750
088be6fb
SM
17512012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1752
6622e416
SM
1753 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1754 Reported by Noah Friedman.
1755
088be6fb
SM
1756 * subr.el (read-passwd): Use read-string.
1757
b49f886e
LMI
17582012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1759
1760 * vcursor.el (vcursor-move): Increase the priority of the overlay
1761 (bug#9663).
1762
a63067fc
DD
17632012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1764
1765 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1766 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1767
ac3cf14a
WS
17682012-04-11 William Stevenson <yhvh2000@gmail.com>
1769
1770 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1771 define-minor-mode (bug#10760).
1772
c4fc691b 17732012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1774
4d6769e1 1775 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1776 that directories matching `grep-find-ignored-files' won't be
1777 pruned (bug#10351).
1778
af23e2e5
CY
17792012-04-11 Chong Yidong <cyd@gnu.org>
1780
1781 * startup.el (command-line): Remove support for long-obsolete
1782 variable font-lock-face-attributes.
1783
ab7ce8c1
GM
17842012-04-11 Glenn Morris <rgm@gnu.org>
1785
1786 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1787
de8c03dc
SM
17882012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1789
1790 * window.el (window--state-get-1): Obey window-point-insertion-type.
1791
050cc68b
LB
17922012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1793
1794 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1795 to previous function when point is on the first character of a
75f1671a 1796 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1797
a38c310c
GM
17982012-04-11 Glenn Morris <rgm@gnu.org>
1799
effed0c2
GM
1800 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1801 not just file-errors.
1802
a38c310c
GM
1803 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1804 (vc-bzr-sha1): Use internal sha1.
1805
0221e323
SM
18062012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1807
1808 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1809
43956923
SG
18102012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1811
1812 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1813 that start in the middle of the line (bug#10496).
1814
6a8c9eaf
DN
18152012-04-10 Dan Nicolaescu <dann@gnu.org>
1816
1817 * battery.el (battery-linux-proc-acpi): Only one battery is
1818 discharged at a time, but that seems to confuse battery.el when
1819 computing `rate-type' for the battery not being discharged
1820 (bug#10332).
1821
1930bf5d
SM
18222012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1823
2a718f6f
SM
1824 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1825
599430d0
SM
1826 * international/quail.el: Use dolist and simplify.
1827 (quail-define-package, quail-update-keyboard-layout)
1828 (quail-define-rules): Use dolist.
1829 (quail-insert-kbd-layout, quail-get-translation): CSE.
1830
a2754b6c
SM
1831 * tmm.el: Use dolist, remove left over hook.
1832 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1833 Use dolist.
1834 (calendar-load-hook): Don't mess with it.
1835
1930bf5d
SM
1836 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1837 Use derived-mode-p. Run the diff asynchronously.
1838
9f67961c
LMI
18392012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1840
1841 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1842
2a8ce227
JB
18432012-04-10 Juanma Barranquero <lekktu@gmail.com>
1844
1845 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1846 (list-dynamic-libraries--loaded): New function.
1847 (list-dynamic-libraries--refresh): Use it.
1848
8f33b5f8
NW
18492012-04-10 Nathan Weizenbaum <nweiz@google.com>
1850
1930bf5d
SM
1851 * progmodes/python.el (python-fill-paragraph):
1852 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1853 disabled (bug#7018).
1854
b12f0439
L
18552012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1856
1930bf5d 1857 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1858 DOS/MS Windows for the Baltic languages. There are still plenty
1859 of texts written in this encoding/codepage (bug#6519).
b12f0439 1860
57c3bd01
GM
18612012-04-10 Glenn Morris <rgm@gnu.org>
1862
1863 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1864 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1865
6c3eab30
FA
18662012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1867
1930bf5d 1868 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1869 next-line "n" and previous-line "p" in order to make recentf more
1870 consistent with ibuffer, dired or org-mode (bug#9387).
1871
24d78a88
LMI
18722012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1873
bc72b5d9
LMI
1874 * image.el (put-image): Return the overlay created instead of the
1875 optional input string (bug#7834). Note that this may break code
1876 that is (for some reason or other) depending on `put-image'
1877 returning the string.
1878
bd2dba5a
LMI
1879 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1880
74beb59f
LMI
1881 * simple.el (zap-to-char): Allow zapping using input methods
1882 (bug#1580).
1883
24d78a88
LMI
1884 * textmodes/fill.el (fill-region): Leave point and mark where they
1885 were before filling (bug#5399).
1886
263f20cd
GM
18872012-04-09 Glenn Morris <rgm@gnu.org>
1888
1889 * version.el (emacs-bzr-get-version):
1890 Handle lightweight checkouts of local branches.
1891
58d1f797
AS
18922012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1893
263f20cd 1894 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1895
b4d3bc10
CY
18962012-04-09 Chong Yidong <cyd@gnu.org>
1897
1898 * custom.el (custom-variable-p): Return nil for non-symbol
1899 arguments instead of signaling an error.
1900 (user-variable-p): Obsolete alias for custom-variable-p.
1901
1902 * apropos.el (apropos-variable):
1903 * files-x.el (read-file-local-variable):
1904 * simple.el (set-variable):
1905 * woman.el (woman-mini-help):
1906 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1907
fd06db5d
GM
19082012-04-09 Glenn Morris <rgm@gnu.org>
1909
e5fcdb5e
GM
1910 * startup.el (normal-top-level): Don't look for leim-list.el
1911 in places where it will not be found. (Bug#910)
1912
fd06db5d
GM
1913 * international/mule-cmds.el (set-default-coding-systems):
1914 * files.el (normal-mode):
1915 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1916 This function was removed with ucs-tables.el in 2008.
1917
b39bb7e1
EZ
19182012-04-08 Eli Zaretskii <eliz@gnu.org>
1919
1920 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1921 ispell-encoding8-command to "-i", without a trailing space.
1922 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1923 separate command-line arguments, to specify the encoding, since
1924 that's how hunspell expects it.
1925
5c5b8e23
GM
19262012-04-08 Glenn Morris <rgm@gnu.org>
1927
1928 * loadup.el: Load bindings before cus-start.
1929 This reduces somewhat the number of "rogue" settings in emacs -Q.
1930
a1ed8b05
GM
19312012-04-07 Glenn Morris <rgm@gnu.org>
1932
1933 * version.el (emacs-bzr-get-version): New function.
dfae128a 1934 (emacs-bzr-version): New variable.
a1ed8b05
GM
1935 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1936 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1937
b142f158
EZ
19382012-04-07 Eli Zaretskii <eliz@gnu.org>
1939
dfae128a
GM
1940 * international/uni-bidi.el, international/uni-category.el:
1941 * international/uni-combining.el, international/uni-decimal.el:
1942 * international/uni-decomposition.el, international/uni-digit.el:
1943 * international/uni-lowercase.el, international/uni-mirrored.el:
1944 * international/uni-name.el, international/uni-numeric.el:
1945 * international/uni-titlecase.el, international/uni-uppercase.el:
1946 Update for Unicode 6.1.
b142f158 1947
9078ead6
EZ
19482012-04-07 Eli Zaretskii <eliz@gnu.org>
1949
1950 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1951
f23d2c7d
LMI
19522012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1953
1954 * window.el (shrink-window): Mention the `window-min-height'
1955 variable in the doc string.
1956
0a0a3573
BG
19572012-04-05 Bastien Guerry <bzg@altern.org>
1958
1959 * color.el (color-lighten-name): Fix typo.
1960
e5248ac9
SM
19612012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1962
1963 * server.el (server--on-display-p): New function.
1964 (server--on-display-p): Use it.
1965
b4243e22
GV
19662012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1967
1968 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1969 (bug#11145).
1970
305d9f44
SM
19712012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1972
1973 * comint.el (comint--common-quoted-suffix): Check string boundary
1974 before comparing (bug#11158).
1975 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1976
3d439cd1
CY
19772012-04-04 Chong Yidong <cyd@gnu.org>
1978
321cc491
CY
1979 * minibuffer.el (completion-extra-properties): Doc fix.
1980
3d439cd1
CY
1981 * subr.el (delayed-warnings-hook): Doc fix.
1982
2d562c0f
DU
19832012-04-04 Daiki Ueno <ueno@unixuser.org>
1984
1985 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1986 selection (Bug#11159).
1987 (epa-insert-keys): Inform that the default public key will be
1988 exported if no key is selected.
1989
4443f204
RS
19902012-04-04 Richard Stallman <rms@gnu.org>
1991
1992 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1993
529c06b6
CY
19942012-04-03 Chong Yidong <cyd@gnu.org>
1995
1996 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1997 mail-insert-file, not its obsolete alias mail-attach-file.
1998
66b907dc
MA
19992012-04-03 Michael Albinus <michael.albinus@gmx.de>
2000
2001 * notifications.el (notifications-notify): Fix docstring.
2002
c0ea195d
GM
20032012-04-02 Glenn Morris <rgm@gnu.org>
2004
2005 * emacs-lisp/authors.el (authors-aliases): Another addition.
2006
5ca64e00
MA
20072012-04-02 Michael Albinus <michael.albinus@gmx.de>
2008
2009 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2010 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2011 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2012
42ee526b
CY
20132012-04-01 Chong Yidong <cyd@gnu.org>
2014
2015 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2016 Handle root directory properly.
2017 (copy-directory): Caller changed.
2018
2019 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2020 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2021
0b021094
GM
20222012-03-31 Glenn Morris <rgm@gnu.org>
2023
40f86458
GM
2024 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2025
7019c177
GM
2026 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2027
a1daddd6
GM
2028 * calendar/calendar.el (calendar-window-list)
2029 (calendar-hide-window): Restore. (Bug#11140)
2030 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2031
0b021094
GM
2032 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2033
40311efc
TV
20342012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2035
2036 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2037 Check if file is a symlink (Bug#10489).
2038
2039 * files.el (copy-directory): Likewise.
2040
5319014e
CY
20412012-03-30 Chong Yidong <cyd@gnu.org>
2042
2043 * image.el (imagemagick-types-inhibit)
2044 (imagemagick-register-types): Doc fix.
2045
935d1290
AM
20462012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2047
ef24141c
SM
2048 * ispell.el (ispell-get-extended-character-mode):
2049 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2050 and treats ~word as ordinary words in pipe mode.
935d1290 2051
61c6e8fd
GM
20522012-03-30 Glenn Morris <rgm@gnu.org>
2053
2054 * tutorial.el (help-with-tutorial): Ensure local variables don't
2055 happen to make the buffer read-only. (Bug#11127)
2056
81fdff00
SM
20572012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2058
2059 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2060 (perl-calculate-indent): Return `noindent' in strings.
2061
6e7a6ec0
SS
20622012-03-28 Sam Steingold <sds@gnu.org>
2063
2064 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2065 instead of the broken adhockery which does not prevent calendar
2066 buffers from being displayed at random after exit.
2067 (calendar-window-list, calendar-hide-window): Remove the broken
2068 adhockery.
2069
fee88ca0
GM
20702012-03-28 Glenn Morris <rgm@gnu.org>
2071
2072 * replace.el (query-replace-map): Doc fix.
2073
38de3354
AS
20742012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2075
2076 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2077 contents. (Bug#11109)
2078
b973155e
SM
20792012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2080
2081 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2082 (bug#11077).
2083 (avl-tree--check, avl-tree--check-node): New funs.
2084
dcb6e7b3
MR
20852012-03-27 Martin Rudalics <rudalics@gmx.at>
2086
2087 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2088 (switch-to-prev-buffer, switch-to-next-buffer):
2089 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2090 showing a buffer already is done on the same frame.
2091
b4fa35fa
GM
20922012-03-27 Glenn Morris <rgm@gnu.org>
2093
2094 * startup.el (mail-host-address): Doc fix.
2095
f9210e18
SM
20962012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2097
2098 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2099 than 197 variables.
2100
c0bf7753
AF
21012012-03-26 Ami Fischman <ami@fischman.org>
2102
2103 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2104
33da7b16
GM
21052012-03-26 Glenn Morris <rgm@gnu.org>
2106
02243d9d
GM
2107 * files.el (save-buffers-kill-emacs): Doc fix.
2108
33da7b16
GM
2109 * startup.el (normal-top-level, command-line, command-line-1):
2110 Give them doc strings.
2111
e5a69fd0
EZ
21122012-03-25 Eli Zaretskii <eliz@gnu.org>
2113
2114 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2115 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2116
9a69676a
CY
21172012-03-25 Chong Yidong <cyd@gnu.org>
2118
4125cb8b
CY
2119 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2120 theme if it was previously enabled before (Bug#11031).
2121
dd470960
CY
2122 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2123 spec with custom-face-get-current-spec if its :shown-value is not
2124 determined yet (Bug#9337).
4125cb8b 2125 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2126
9a69676a
CY
2127 * button.el (button-at): Minor addition to docstring.
2128
6e7e90fa
SL
21292012-03-24 Simon Leinen <simon.leinen@gmail.com>
2130
2131 * vc/vc.el (vc-merge): Fix a prompt.
2132
f06e2758
CY
21332012-03-24 Chong Yidong <cyd@gnu.org>
2134
2135 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2136 point (Bug#9623).
2137
6e7e90fa
SL
2138 * button.el (button-at): Minor addition to docstring.
2139
b9d0879b
SM
21402012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2141
2142 * newcomment.el (comment-choose-indent): No space after BOL.
2143
e71cebb3
SS
21442012-03-22 Sam Steingold <sds@gnu.org>
2145
2146 * window.el (switch-to-prev-buffer): Revert last patch because the
2147 bug turned out to be an advertised feature (Elisp manual 28.14).
2148
335aff35
GM
21492012-03-22 Glenn Morris <rgm@gnu.org>
2150
2151 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2152 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2153
c676576a
LMI
21542012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2155
2156 * net/network-stream.el (network-stream-open-starttls): Make error
2157 message under Windows be less misleading.
2158
126f3d39
LW
21592012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2160
2161 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2162 understands (bug#9942).
2163
64fee311
CY
21642012-03-22 Chong Yidong <cyd@gnu.org>
2165
2166 * simple.el (end-of-visible-line): Handle return value of
2167 next-single-property-change properly (Bug#9371).
2168
a640d29a
KH
21692012-03-22 Kenichi Handa <handa@m17n.org>
2170
2171 * international/quail.el (quail-insert-kbd-layout): Fix previous
2172 change. To avoid unwanted bidi reordering, use
2173 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2174
39675016
DG
21752012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2176
2177 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2178 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2179 (ruby-beginning-of-indent): Be more careful with the difference
2180 between word-boundary and symbol boundary.
2181 (ruby-mode-syntax-table): Make : a symbol constituent.
2182
0a6934fc 21832012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 2184
3d008e4f
SM
2185 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2186
0a6934fc
SM
21872012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2188
af67c9d7
SM
2189 * progmodes/etags.el (tags-completion-at-point-function):
2190 Improve last fix.
2191
1acad97c
SM
2192 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2193
e298b5da
SS
21942012-03-21 Sam Steingold <sds@gnu.org>
2195
2196 * progmodes/etags.el (tags-completion-at-point-function):
2197 Avoid the error when point is inside the pattern.
2198
91d82a70
JY
21992012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2200
2201 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2202 line (Bug#10855).
2203
69188b79
CY
22042012-03-21 Drew Adams <drew.adams@oracle.com>
2205
2206 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2207
99fc91fe
AK
22082012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2209
2210 * ido.el (ido-set-current-directory, ido-read-internal)
2211 (ido-choose-completion-string, ido-completion-help): Handle nil
2212 value of ido-completion-buffer (Bug#11008).
2213
087bbb4c
SS
22142012-03-21 Sam Steingold <sds@gnu.org>
2215
2216 * window.el (switch-to-prev-buffer): Do not switch to a visible
2217 window previous buffer, just like with the frame previous buffers.
2218
fb5b8aca
CY
22192012-03-21 Chong Yidong <cyd@gnu.org>
2220
2221 * faces.el (make-face, make-empty-face, copy-face):
2222 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2223 Doc fixes.
2224
dc9924b8
SM
22252012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2226
2227 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2228 (widget-complete): Remove broken use of it.
2229
f0bcceb9
CY
22302012-03-20 Chong Yidong <cyd@gnu.org>
2231
dc9924b8
SM
2232 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2233 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
2234 characters.
2235
ee52ebf3
TH
22362012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2237
2238 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2239 to draw rectangles, not squares. (Regression introduced by revno
2240 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2241
4c5779ab
CY
22422012-03-18 Chong Yidong <cyd@gnu.org>
2243
2244 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2245 it is not yet defined (for temacs).
2246
15360934
LL
22472012-03-18 Leo Liu <sdl.web@gmail.com>
2248
dc9924b8 2249 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 2250
d9a8eb66
EZ
22512012-03-17 Eli Zaretskii <eliz@gnu.org>
2252
2253 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2254 (ispell-choices-win-default-height, ispell-silently-savep)
2255 (ispell-dictionary-alist, ispell-encoding8-command)
2256 (ispell-check-version, ispell-aspell-find-dictionary)
2257 (ispell-valid-dictionary-list, ispell-words-keyword)
2258 (ispell-get-word, ispell-internal-change-dictionary)
2259 (ispell-region, ispell-skip-region-list)
2260 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2261 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2262 (ispell-message-text-end, ispell-message)
2263 (ispell-buffer-local-parsing): Doc fix.
2264
f02ff80d
J
22652012-03-13 Jambunathan K <kjambunathan@gmail.com>
2266
2267 * htmlfontify.el: Add support for code block fontification for ODT
2268 export (Bug #9914).
2269 (hfy-optimisations): Define new option
2270 `body-text-only'
2271 (hfy-fontify-buffer): Honor above setting.
2272 (hfy-begin-span, hfy-end-span): New routines factored out form
2273 `hfy-fontify-buffer'.
2274 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2275 that permit insertion of custom tags.
2276 (hfy-fontify-buffer): Use above handlers.
2277 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2278 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 2279 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 2280 over multiple runs. This is made possible by having the caller let
f02ff80d
J
2281 bind a special variable `hfy-user-sheet-assoc'.
2282 (htmlfontify-string): New defun.
2283 (hfy-compile-face-map): Make sure that the last char in the
2284 buffer is correctly fontified.
2285 (hfy-face-resolve-face): Whitespace only change.
2286
9ac7a13f
EZ
22872012-03-17 Eli Zaretskii <eliz@gnu.org>
2288
2289 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2290 message more clear.
2291
e2b5bdd7
LL
22922012-03-16 Leo Liu <sdl.web@gmail.com>
2293
2294 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2295
2e492df3
AM
22962012-03-16 Alan Mackenzie <acm@muc.de>
2297
2298 Further optimise the handling of large macros.
2299
2300 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2301 limit to a call of `c-literal-limits'.
2302 (c-determine-+ve-limit): New function.
dc9924b8
SM
2303 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2304 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2305 In CASE 5B, restrict a search limit to 500.
2306 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2307
2308 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2309 Restrict macro bounds to +-500 from after-change's BEG END.
2310
50e94f0c
LL
23112012-03-16 Leo Liu <sdl.web@gmail.com>
2312
2313 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2314
6f09f6ed
AH
23152012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2316
2317 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2318 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2319
c7e73d51
GM
23202012-03-16 Glenn Morris <rgm@gnu.org>
2321
da986230
GM
2322 * view.el (view-buffer, view-buffer-other-window)
2323 (view-buffer-other-frame): Doc fixes re special mode-class.
2324
0835f01e
GM
2325 * subr.el (eval-after-load): If named feature is provided not from
2326 a file, run after-load forms. (Bug#10946)
2327
c7e73d51
GM
2328 * calendar/calendar.el (calendar-insert-at-column):
2329 Handle non-unit-width characters a bit better. (Bug#10978)
2330
3f2eafd1
CY
23312012-03-15 Chong Yidong <cyd@gnu.org>
2332
2333 * emacs-lisp/ring.el (ring-extend): New function.
2334 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2335
2336 * comint.el (comint-read-input-ring)
2337 (comint-add-to-input-history): Grow comint-input-ring lazily.
2338
103af3fe
SM
23392012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2340
663b1677
SM
2341 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2342 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2343
103af3fe
SM
2344 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2345 (imenu-add-to-menubar): Don't add a redundant index.
2346 (imenu-update-menubar): Handle a dynamically composed keymap.
2347
899cb7cb
KY
23482012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2349
2350 * mail/sendmail.el (mail-encode-header):
2351 Bind rfc2047-encode-encoded-words to nil.
2352
3809f91d
GM
23532012-03-13 Glenn Morris <rgm@gnu.org>
2354
2355 * calendar/calendar.el (calendar-string-spread):
2356 Handle non-unit-width characters a bit better. (Bug#10978)
2357
9e345a01
LL
23582012-03-13 Leo Liu <sdl.web@gmail.com>
2359
2360 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2361 directory and file as argument (Bug#10822).
2362
4a07df36
KS
23632012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2364
2365 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2366 For dynamically generated code, follow $PC.
2367 (gdb-disassembly-handler-custom): Handle no function name case.
2368
4aaa9356
TL
23692012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2370
2371 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2372 * emulation/ws-mode.el (ws-query-replace):
2373 * sort.el (sort-regexp-fields):
2374 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2375
225979da
SM
23762012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2377
2378 * dabbrev.el: Fix cycle completion order (bug#10963).
2379 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2380 (dabbrev-completion): Don't use an obarray; provide
2381 a cycle-sort-function.
2382
e2f1fdab
LL
23832012-03-12 Leo Liu <sdl.web@gmail.com>
2384
dc9924b8 2385 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2386 (kill-do-not-save-duplicates): Doc fix.
2387
b19490ed
SM
23882012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2389
2390 * dabbrev.el: Fix cycle completion (bug#10963).
2391 Use lexical binding and wrap to 80 columns.
2392 (dabbrev-completion): Delay computing the list of completions.
2393
4b05d722
KH
23942012-03-12 Kenichi Handa <handa@m17n.org>
2395
2396 * international/quail.el (quail-insert-kbd-layout): Surround each
2397 row by LRO and PDF instead of inserting many LRMs. Pad the left
2398 and right of each non-spacing marks. Insert invisible space
2399 between lower and upper characters to prevent composition.
2400
dbbc2e69
SM
24012012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2402
2403 * minibuffer.el (minibuffer-complete): Don't get confused when the
2404 function is run twice via different commands (bug#10958).
2405 (complete-with-action): Fix docstring.
2406
292112ed
CY
24072012-03-12 Chong Yidong <cyd@gnu.org>
2408
5d1ac394
CY
2409 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2410 (nxml-completion-at-point-function): New function.
2411 (nxml-mode): Use it.
2412 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2413
292112ed
CY
2414 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2415 Load generated autoloads file before byte compiling (Bug#10970).
2416 (package--make-autoloads-and-compile): New helper fun.
2417
4098f8f7
CS
24182012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2419
2420 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2421
8f754691
MA
24222012-03-11 Michael Albinus <michael.albinus@gmx.de>
2423
2424 * autorevert.el (auto-revert-handler): Ensure, that
2425 file-readable-p is applied only for local files or in
2426 auto-revert-tail-mode.
2427
e29ab36b
AS
24282012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2429
dbbc2e69
SM
2430 * server.el (server-eval-at): Handle non-tcp connections.
2431 Decode result string.
ad0bf5b6 2432
e29ab36b
AS
2433 * server.el (server-msg-size): New constant.
2434 (server-reply-print): New function.
2435 (server-eval-and-print): Use it.
2436 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2437 Handle -print-nonl.
2438
de5939ba
CS
24392012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2440
2441 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2442 (Bug#10987).
2443
0c93eabf
CY
24442012-03-11 Chong Yidong <cyd@gnu.org>
2445
397a688f
CY
2446 * simple.el (goto-line): Doc fix (Bug#9938).
2447
2cc775f9
CY
2448 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2449
0c93eabf
CY
2450 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2451 when finished (Bug#10963).
2452
c491fa41
MR
24532012-03-11 Martin Rudalics <rudalics@gmx.at>
2454
2455 * window.el (split-window-below): Fix bug in case where
2456 split-window-keep-point is nil (Bug#10971).
2457
300e8fa5
JL
24582012-03-11 Juri Linkov <juri@jurta.org>
2459
2460 * replace.el (replace-highlight): Set isearch-word to nil
2461 unconditionally. (Bug#10887)
2462
dbf6c5a1
EZ
24632012-03-10 Eli Zaretskii <eliz@gnu.org>
2464
2465 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2466 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2467 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2468 (mairix-widget-create-query): Add usage information about mairix
2469 search forms: negating words, searching for substrings, etc.
2470
b9e501de
JP
24712012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2472
2473 * international/fontset.el (font-encoding-alist): Add an entry for
2474 ksx1001 (Bug#5667).
2475
92795c91
RS
24762012-03-10 Richard Stallman <rms@gnu.org>
2477
1694e6c1
RS
2478 * mail/sendmail.el (mail-encode-header):
2479 Set rfc2047-encode-encoded-words.
2480
607e8555
RS
2481 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2482
de3bc99a
RS
2483 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2484 view buffer means not swapped.
2485 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2486 (rmail-write-region-annotate): Error if real text has disappeared.
2487
92795c91
RS
2488 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2489
699bd04e
CY
24902012-03-10 Chong Yidong <cyd@gnu.org>
2491
2492 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2493 * emulation/cua-base.el (cua--init-keymaps):
2494 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2495
570a1714
MR
24962012-03-10 Martin Rudalics <rudalics@gmx.at>
2497
dbbc2e69
SM
2498 * speedbar.el (speedbar-unhighlight-one-tag-line):
2499 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2500
82dcf4e4
CY
25012012-03-10 Chong Yidong <cyd@gnu.org>
2502
7a2c7ca7
CY
2503 * minibuffer.el (completion-in-region, completion-help-at-point):
2504 Give the completion field overlay a high priority (Bug#6830).
2505
82dcf4e4
CY
2506 * dired.el (dired-goto-file): Recognize absolute file name
2507 listings (Bug#7126).
2508 (dired-goto-file-1): New helper function.
2509 (dired-toggle-read-only): Inhibit warnings.
2510
052e28ac
MA
25112012-03-09 Michael Albinus <michael.albinus@gmx.de>
2512
75f1671a 2513 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2514 there are no properties.
2515
95d5e396
LL
25162012-03-09 Leo Liu <sdl.web@gmail.com>
2517
2518 * savehist.el (savehist-printable): Stricter check for string
2519 value (Bug#10937).
2520
3f018d6d
EZ
25212012-03-09 Eli Zaretskii <eliz@gnu.org>
2522
dbbc2e69
SM
2523 * mail/smtpmail.el (smtpmail-send-it):
2524 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2525 valid mbox format.
2526
f7fd3d79
GM
25272012-03-09 Glenn Morris <rgm@gnu.org>
2528
2529 * files.el (dir-locals-find-file):
2530 Don't check result is regular, readable.
2531 (dir-locals-read-from-file): Demote errors.
2532
6ff6e72f
EZ
25332012-03-08 Eli Zaretskii <eliz@gnu.org>
2534
dbbc2e69
SM
2535 * international/quail.el (quail-insert-kbd-layout):
2536 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2537 layout cell, to prevent their reordering by bidi display engine.
2538 For details, see the discussion in
2539 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2540
9cec7834
AM
25412012-03-08 Alan Mackenzie <acm@muc.de>
2542
2543 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2544 the starting position; make it extend the marked region when
2545 invoked repeatedly - all under appropriate circumstances.
2546 Fixes bugs #5525, #10906.
2547
9a40b8d4
GM
25482012-03-08 Glenn Morris <rgm@gnu.org>
2549
2550 * files.el (locate-dominating-file, dir-locals-find-file):
2551 Undo 2012-03-06 change.
2552
7a08ed35
EZ
25532012-03-07 Eli Zaretskii <eliz@gnu.org>
2554
dbbc2e69
SM
2555 * international/quail.el (quail-help):
2556 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2557 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2558 for the reason.
2559
5aca4f71 25602012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2561
2562 Avoid superfluous registering of signals. (Bug#10807)
2563
2564 * notifications.el (notifications-on-action-object)
2565 (notifications-on-close-object): New defvars.
2566 (notifications-on-action-signal, notifications-on-closed-signal):
2567 Unregister the signal if not needed any longer.
2568 (notifications-notify): Register `notifications-action-signal' or
2569 `notifications-closed-signal', if :on-action or :on-close has been
2570 passed as argument.
2571
78e8b10a
CY
25722012-03-07 Chong Yidong <cyd@gnu.org>
2573
2574 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2575 non-X platforms.
2576
69481eb8
GM
25772012-03-06 Glenn Morris <rgm@gnu.org>
2578
2579 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2580 (x-disown-selection-internal, x-get-selection-internal):
2581 Doc fix (add arglist signatures). (Bug#10783)
2582
133b8e11
KS
25832012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2584
2585 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2586 Handle breakpoints with no "type".
2587
99a83064
GM
25882012-03-06 Glenn Morris <rgm@gnu.org>
2589
2590 * files.el (locate-dominating-file): Add optional predicate argument.
2591 (dir-locals-find-file): Make use of above change.
2592
17798e78
TTN
25932012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2594
2595 * info.el (Info-insert-dir): Also try "dir.gz".
2596
eb182446
GM
25972012-03-06 Glenn Morris <rgm@gnu.org>
2598
8f2114ee
GM
2599 * files.el (dir-locals-find-file):
2600 Ignore non-readable or non-regular files. (Bug#10928)
2601
eb182446
GM
2602 * files.el (locate-dominating-file): Doc fix.
2603
24679323
AS
26042012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2605
2606 * calendar/calendar.el (calendar-set-mode-line):
2607 `getenv' returns a string. (Bug#10951)
2608
01d972a9
LL
26092012-03-05 Leo Liu <sdl.web@gmail.com>
2610
109aa8a9
LL
2611 * simple.el (backward-delete-char-untabify): Constrain point to
2612 field (Bug#10939).
2613
01d972a9
LL
2614 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2615
10607bea
CY
26162012-03-05 Chong Yidong <cyd@gnu.org>
2617
2618 * simple.el (count-words): If called from Lisp, return the word
2619 count, for symmetry with `count-lines'. Arglist changed.
2620 (count-words--message): Args changed. Consolidate counting code
2621 from count-words and count-words-region.
2622 (count-words-region): Caller changed.
2623 (count-lines-region): Make it an obsolete alias.
2624
5dd11cfe
TH
26252012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2626
2627 * saveplace.el (save-place-to-alist)
2628 (save-place-ignore-files-regexp): Allow value nil to disable this
2629 feature.
2630
c349f4e6
CY
26312012-03-04 Chong Yidong <cyd@gnu.org>
2632
2633 * faces.el (face-spec-reset-face): For the default face, reset the
2634 attributes to default values (Bug#10748).
2635
e627be4c
LMI
26362012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2637
2638 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2639 previous patch: Check `message-send-mail-function', and not the
2640 default function (bug#10897).
2641
ebeabff4
MA
26422012-03-04 Michael Albinus <michael.albinus@gmx.de>
2643
a41a6cf4
MA
2644 * notifications.el (notifications-on-action-signal)
2645 (notifications-on-closed-signal): Check for unique service name of
2646 incoming event. Fix error in removing entry.
ebeabff4 2647 (top): Register for signals with wildcard service name.
a41a6cf4 2648 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2649
c1ca42b4
CY
26502012-03-04 Chong Yidong <cyd@gnu.org>
2651
dc9924b8 2652 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2653
ea16568d
GM
26542012-03-04 Glenn Morris <rgm@gnu.org>
2655
2656 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2657 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2658 (expand-abbrev, define-abbrev-table): Doc fixes.
2659
fbae4637
LMI
26602012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2661
2662 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2663 `message-default-send-mail-function' and not `send-mail-function'
2664 when doing the prompting for `sendmail-query-once' before sending
2665 in Message buffers (bug#10897).
2666
a1e7225c
LMI
2667 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2668 This is inconsistent with all the other stream functions, which leave
2669 the setting up to the higher levels (if so wanted) (bug#10931).
2670
56d093a9
AM
26712012-03-02 Alan Mackenzie <acm@muc.de>
2672
2673 Depessimize the handling of very large macros.
2674
2675 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2676 (c-macro-cache-syntactic): New variables to implement a one
2677 element macro cache.
2678 (c-invalidate-macro-cache): New function.
2679 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2680 Adapt to use the new cache.
2681 (c-state-safe-place): Use better the cache of safe positions.
2682 (c-state-semi-nonlit-pos-cache)
2683 (c-state-semi-nonlit-pos-cache-limit):
2684 New variables for...
2685 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2686 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2687 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2688 Use c-state-semi-safe-place.
56d093a9 2689
dbbc2e69
SM
2690 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2691 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2692
817e5c3d
MA
26932012-03-02 Michael Albinus <michael.albinus@gmx.de>
2694
dbbc2e69
SM
2695 * jka-compr.el (jka-compr-call-process):
2696 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2697 not remote.
2698
a032a702
MA
26992012-03-01 Michael Albinus <michael.albinus@gmx.de>
2700
2701 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2702 access of FILE2, if FILE1 does not exist.
2703
99a54f21
MA
2704 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2705 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2706
2707 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2708 Add "PAGER=" to `process-environment'.
2709
f6561e1f
MM
27102012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2711
2712 * progmodes/sql.el: Bug fix
2713 (sql-get-login-ext): Save login values in globals.
2714 (sql-get-login): Use new version of `sql-get-login-ext'.
2715 (sql-interactive-mode): Set global `sql-connection' to nil.
2716 (sql-connect): Set global values for connection.
2717 (sql-product-interactive): Save global values as buffer local.
2718
2d44d9cc
LL
27192012-02-29 Leo Liu <sdl.web@gmail.com>
2720
2721 * abbrev.el (define-abbrevs): Reset sys to nil.
2722
96b49301 27232012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2724
bf7f9bc5
JB
2725 * files.el (file-equal-p): Rename from `files-equal-p'.
2726 Return nil when one or both files don't exist.
96b49301 2727 (file-subdir-of-p): Now only top directory must exists,
2728 return nil if it doesn't.
bf7f9bc5
JB
2729 (copy-directory): No need to test with `file-subdir-of-p' after
2730 creating dir.
2731 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2732 to `file-equal-p'.
96b49301 2733
44e97401
GM
27342012-02-28 Glenn Morris <rgm@gnu.org>
2735
2736 * shell.el (shell-mode):
2737 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2738 * play/landmark.el (landmark-font-lock-face-O):
2739 * play/handwrite.el (handwrite):
2740 * play/gomoku.el (gomoku-O):
2741 * net/browse-url.el (browse-url-browser-display):
2742 * international/mule.el (define-charset):
2743 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2744 * filesets.el (filesets-find-file-delay):
2745 * eshell/em-xtra.el (eshell-xtra):
2746 * eshell/em-unix.el (eshell-grep):
2747 * emulation/viper.el (viper-mode):
2748 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2749 * emacs-lisp/easymenu.el (easy-menu-define):
2750 * calendar/timeclock.el (timeclock-use-display-time):
2751 * bs.el (bs-mode):
2752 * bookmark.el (bookmark-save-flag):
2753 Doc fix (standardize possessive apostrophe usage).
2754
c98c6276
CY
27552012-02-27 Chong Yidong <cyd@gnu.org>
2756
bf7f9bc5
JB
2757 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2758 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2759
c98c6276
CY
2760 * font-lock.el (font-lock-specified-p): Rename from
2761 font-lock-spec-present. Callers changed.
2762
9c62cd04 27632012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2764
bf7f9bc5
JB
2765 * emacs-lisp/package.el (package-compute-transaction):
2766 Handle holding a package version to t in package-load-list.
8ac9e529 2767
530739c9
MA
27682012-02-26 Michael Albinus <michael.albinus@gmx.de>
2769
2770 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2771 (tramp-get-inode, tramp-get-device): Use cached values.
2772
487915d7
AM
27732012-02-26 Alan Mackenzie <acm@muc.de>
2774
2775 Check there is a font-lock specification before doing initial
2776 fontification.
2777
2778 * font-core.el (font-lock-mode): Move the conditional from
2779 :after-hook to font-lock-initial-fontify.
2780 (font-lock-default-function): Move the check for a specification
2781 to font-lock-spec-present.
2782
dc9924b8 2783 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2784 (font-lock-spec-present): New function.
2785
4fd96557
JB
27862012-02-26 Jim Blandy <jimb@red-bean.com>
2787
2788 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2789 (gdb-send): Apply it to the operand of the '-interpreter-exec
2790 console' command, so that we can pass arguments with (say) quotes
2791 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2792
9a4888c0
CY
27932012-02-26 Chong Yidong <cyd@gnu.org>
2794
07498861
CY
2795 * help-fns.el (describe-function-1): Clarify description of
2796 remapping (Bug#10844).
2797
9a4888c0
CY
2798 * files.el (files-equal-p): Doc fix.
2799 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2800 and quit the loop once a mismatch is found.
2801
ea8fb88d
JB
28022012-02-25 Juanma Barranquero <lekktu@gmail.com>
2803
2804 * bs.el (bs--show-with-configuration): Don't throw an error
2805 if the window cannot be split; otherwise, subsequent calls to
2806 bs-show fail, restoring a stale window config. (Bug#10882)
2807
525795c1
JD
28082012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2809
2810 * term/ns-win.el (global-map): Bind ns-drag-file to
2811 ns-find-file (Bug#5855, Bug#10050).
2812
f008086f
AS
28132012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2814
2815 * calendar/parse-time.el (parse-time-string): Allow extractor to
2816 return nil.
2817
a3fcfa99
MA
28182012-02-25 Michael Albinus <michael.albinus@gmx.de>
2819
91027d08
JB
2820 * net/tramp.el (tramp-file-name-for-operation):
2821 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2822
2823 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2824 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2825 Add COPY-CONTENTS argument.
a3fcfa99 2826
67b0de11
CY
28272012-02-25 Chong Yidong <cyd@gnu.org>
2828
2829 Add custom groups for VC backends, for consistency with vc-bzr.
2830
2831 * vc/vc-arch.el (vc-arch):
2832 * vc/vc-cvs.el (vc-cvs):
2833 * vc/vc-git.el (vc-git):
2834 * vc/vc-hg.el (vc-hg):
2835 * vc/vc-mtn.el (vc-mtn):
2836 * vc/vc-rcs.el (vc-rcs):
2837 * vc/vc-sccs.el (vc-sccs):
2838 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2839 All relevant defcustoms reassigned.
2840
3c9dfce6
CY
28412012-02-25 Chong Yidong <cyd@gnu.org>
2842
1339bf43
CY
2843 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2844
3c9dfce6
CY
2845 * term/x-win.el (x-initialize-window-system): Reduce default for
2846 x-selection-timeout to 5 seconds (Bug#8869).
2847
25b2e303 28482012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2849
ec70a47d
GM
2850 * files.el (files-equal-p, file-subdir-of-p): New functions.
2851 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2852 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2853 * dired-aux.el (dired-copy-file-recursive): Same.
2854 (dired-create-files): Modify destination when source is equal to
2855 dest when copying files.
53a46cd0 2856 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2857
914260cd
MA
28582012-02-24 Michael Albinus <michael.albinus@gmx.de>
2859
2860 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2861 (Bug#10874)
2862
2cb228f7
AM
28632012-02-23 Alan Mackenzie <acm@muc.de>
2864
2865 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2866 parameter "after-hook:" to allow the expansion to run code after
2867 the execution of the mode hooks.
2868
2869 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2870 from font-lock-mode-internal.
2cb228f7 2871
91027d08 2872 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2873 :after-hook.
2874
8f0fde21
SM
28752012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2876
3e88618b
SM
2877 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2878 (completion--cache-all-sorted-completions): New function.
2879 (completion-all-sorted-completions): Use it.
2880 (completion--do-completion, minibuffer-force-complete):
2881 Use it to re-instate the flush hook.
2882
8f0fde21
SM
2883 * icomplete.el (icomplete-completions): Replace last fix with a better
2884 one (bug#10850).
2885
8e911f6f
DG
28862012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2887
2888 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2889 when it might call us back infinitely (bug#10797).
2890
49fe4321
GM
28912012-02-23 Glenn Morris <rgm@gnu.org>
2892
2893 * minibuffer.el (completion-category-overrides): Doc fix.
2894
b291b572
SM
28952012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2896
2897 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2898 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2899
31a9ef2e
GM
29002012-02-23 Glenn Morris <rgm@gnu.org>
2901
5e6e6794 2902 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2903 (authors-obsolete-files-regexps, authors-ignored-files)
2904 (authors-ambiguous-files, authors-renamed-files-alist):
2905 Add more entries.
2906
0bd1e074
JL
29072012-02-23 Juri Linkov <juri@jurta.org>
2908
2909 * isearch.el (isearch-occur): Sync interactive spec with occur's
2910 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2911
b617673c
JL
2912 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2913
19e9789e
JL
29142012-02-22 Juri Linkov <juri@jurta.org>
2915
2916 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2917 (ucs-insert): Doc fix. Check for hex digits in the string.
2918 Don't display `nil' in the error message. (Bug#10857)
2919
f41ce09d
AM
29202012-02-22 Alan Mackenzie <acm@muc.de>
2921
7a71b18d 2922 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2923
ac2eceee
GM
29242012-02-22 Glenn Morris <rgm@gnu.org>
2925
2926 * ffap.el (ffap-c-path):
2927 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2928
abd1f678
CY
29292012-02-22 Chong Yidong <cyd@gnu.org>
2930
2931 * custom.el (load-theme): Doc fix.
2932
f25aef2e
GM
29332012-02-22 Glenn Morris <rgm@gnu.org>
2934
2935 * dired-x.el (dired-guess-shell-alist-default):
2936 Remove escape sequences from nroff output. (Bug#172)
2937
5f8dc2ca
GM
29382012-02-21 Glenn Morris <rgm@gnu.org>
2939
6ff86ec4
GM
2940 * vc/emerge.el (emerge-defvar-local):
2941 Set `permanent-local' property rather than unused `preserved'.
2942
be3223a3 2943 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2944 (picture-mode-map): Use it. (Bug#10860)
2945 (picture-mode): Doc fix.
2946
3fe58f4f
JB
29472012-02-21 Juanma Barranquero <lekktu@gmail.com>
2948
2949 * newcomment.el (uncomment-region-default): Remove unused binding.
2950
f9a998c3
GM
29512012-02-21 Glenn Morris <rgm@gnu.org>
2952
2953 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2954 (picture-self-insert, picture-tab-chars): Doc fix.
2955 (picture-mode-map): Fix C-a, C-e.
2956
c6029348
GM
29572012-02-20 Glenn Morris <rgm@gnu.org>
2958
2959 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2960
ab1ce9d7
LL
29612012-02-20 Leo Liu <sdl.web@gmail.com>
2962
2963 * icomplete.el (icomplete-completions): Check FROM arg before
2964 passing to substring (Bug#10850).
2965
0fd40f89
CY
29662012-02-19 Chong Yidong <cyd@gnu.org>
2967
2968 * comint.el: Require ansi-color.
2969 (comint-output-filter-functions): Add ansi-color-process-output.
2970
2971 * ansi-color.el: Don't set comint-output-filter-functions; it is
2972 now in the initial value defined in comint.el.
2973 (ansi-color-apply-face-function): New variable.
2974 (ansi-color-apply-on-region): Use it.
2975 (ansi-color-apply-overlay-face): New function.
2976
2977 * shell.el (shell): No need to require ansi-color.
2978 (shell-mode): Use ansi-color-apply-face-function to highlight
2979 color escapes using font-lock-face property (Bug#10835).
2980
20af2394
CY
29812012-02-19 Chong Yidong <cyd@gnu.org>
2982
2983 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2984 mode-line formats (Bug#10839).
2985
e23a3fbe
GM
29862012-02-18 Glenn Morris <rgm@gnu.org>
2987
b474519e
GM
2988 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2989
2990 * mail/undigest.el (unforward-rmail-message): Doc fix.
2991
e23a3fbe
GM
2992 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2993
57939ff4
EZ
29942012-02-18 Eli Zaretskii <eliz@gnu.org>
2995
2996 * international/characters.el (script-list): Sync with the latest
2997 Unicode Character Database.
2998
0c23686e
AS
29992012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3000
3001 * international/titdic-cnv.el: Remove duplicate coding tag.
3002 * language/cham.el: Likewise.
3003 * language/tai-viet.el: Likewise.
3004
6818b449
GM
30052012-02-18 Glenn Morris <rgm@gnu.org>
3006
3007 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3008 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3009 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3010 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3011 * calendar/holidays.el (holiday-bahai-holidays)
3012 (calendar-holidays, list-holidays):
3013 Use utf-8 Bahá'í in doc-strings, menus, etc.
3014
0311a3fc
TH
30152012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3016
3017 * saveplace.el (save-place-ignore-files-regexp): New variable
3018 allowing for excluding files from saving their location of point.
3019 The default value matches the temporary commit message editing
3020 files from Git, SVN, Bazaar, and Mercurial.
3021 (save-place-to-alist): Use it.
3022
eb864a71
LM
30232012-02-17 Lawrence Mitchell <wence@gmx.li>
3024 Stefan Monnier <monnier@iro.umontreal.ca>
3025
3026 * newcomment.el (uncomment-region-default): Don't leave extra space
3027 when an arg is provided (bug#8150).
3028
ee0ce425
TZ
30292012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3030
eb864a71 3031 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3032
95ddf442
GM
30332012-02-17 Glenn Morris <rgm@gnu.org>
3034
3035 * net/socks.el: Require network-stream. (Bug#10599)
3036
48dd1e39 30372012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3038
3039 * international/charprop.el:
3040 * international/uni-name.el:
3041 * international/uni-old-name.el:
3042 * international/uni-comment.el: Regenerate.
3043
d68cd087
GM
30442012-02-16 Glenn Morris <rgm@gnu.org>
3045
3046 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3047 Interactively in calendar buffer, give an error if not on a date.
3048
13932042
GM
30492012-02-15 Glenn Morris <rgm@gnu.org>
3050
3051 * shell.el (shell-delimiter-argument-list):
3052 Revert 2011-02-17 change. (Bug#8027)
3053
c3a70e2b
CY
30542012-02-15 Chong Yidong <cyd@gnu.org>
3055
60236b0d
CY
3056 * minibuffer.el (completion-at-point-functions): Doc fix.
3057
c3a70e2b
CY
3058 * custom.el (defcustom): Doc fix; note use of defvar.
3059
9f26dc24
GM
30602012-02-15 Glenn Morris <rgm@gnu.org>
3061
3062 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3063 Doc fixes.
3064
6546b134
GM
30652012-02-14 Glenn Morris <rgm@gnu.org>
3066
3067 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3068
d29b2b4c
LI
30692012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3070
3071 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3072 way the ports list is computed.
835bdcba
LI
3073 (smtpmail-query-smtp-server): Prompt the user for a port number if
3074 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3075
08dcdbc9
TZ
30762012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3077
3078 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3079
2605051a
GM
30802012-02-13 Glenn Morris <rgm@gnu.org>
3081
3082 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3083
7ee99f32
TZ
30842012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3085
3086 * net/gnutls.el (gnutls-trustfiles): New variable.
3087 (gnutls-negotiate): Use it.
3088
5f0af64f
LI
30892012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3090
3091 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3092 does its stuff if Gnus is running.
3093
c14fcc95
AM
30942012-02-13 Alan Mackenzie <acm@muc.de>
3095
3096 Fix a loop in c-set-fl-decl-start.
3097
7a71b18d 3098 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3099 c-backward-syntactic-ws actually moves backwards.
3100
142b4d90
LL
31012012-02-13 Leo Liu <sdl.web@gmail.com>
3102
3103 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3104 beginning so that all \C-o chars are removed.
3105
fa9958a6
TZ
31062012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3107
dc9924b8 3108 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3109
0bc5886a
AM
31102012-02-12 Alan Mackenzie <acm@muc.de>
3111
3112 Fix infinite loop with long macros.
4d6769e1 3113 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3114
d4bd55e7
CY
31152012-02-12 Chong Yidong <cyd@gnu.org>
3116
3117 * window.el (display-buffer): Doc fix (Bug#10785).
3118
66f3fe22
GM
31192012-02-12 Glenn Morris <rgm@gnu.org>
3120
bd7da63e
GM
3121 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3122 (x-disown-selection-internal, x-get-selection-internal):
3123 Sync docs with the xselect.c versions.
3124
66f3fe22
GM
3125 * allout-widgets.el: Add missing license notice.
3126
3e0d2fa7
GM
31272012-02-11 Glenn Morris <rgm@gnu.org>
3128
cfecdf09
GM
3129 * select.el (x-get-selection-internal, x-own-selection-internal)
3130 (x-disown-selection-internal):
3131 * x-dnd.el (x-get-selection-internal): Update declarations.
3132
6d216d7f
GM
3133 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3134
2bed3f04
GM
3135 * window.el (window-sides-slots):
3136 * tool-bar.el (tool-bar-position):
3137 * term/xterm.el (xterm-extra-capabilities):
3138 * ses.el (ses-self-reference-early-detection):
3139 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3140 (verilog-auto-wire-type)
3141 (verilog-auto-delete-trailing-whitespace)
3142 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3143 (verilog-auto-tieoff-declaration):
3144 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3145 (sql-oracle-statement-starters, sql-oracle-scan-on):
3146 * progmodes/prolog.el (prolog-align-comments-flag)
3147 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3148 (prolog-left-indent-regexp, prolog-paren-indent-p)
3149 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3150 (prolog-types, prolog-mode-specificators)
3151 (prolog-determinism-specificators, prolog-directives)
3152 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3153 (prolog-electric-dot-flag)
3154 (prolog-electric-dot-full-predicate-template)
3155 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3156 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3157 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3158 (prolog-program-switches, prolog-prompt-regexp)
3159 (prolog-debug-on-string, prolog-debug-off-string)
3160 (prolog-trace-on-string, prolog-trace-off-string)
3161 (prolog-zip-on-string, prolog-zip-off-string)
3162 (prolog-use-standard-consult-compile-method-flag)
3163 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3164 (prolog-imenu-max-lines, prolog-info-predicate-index)
3165 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3166 (prolog-char-quote-workaround):
3167 * progmodes/cc-vars.el (c-defun-tactic):
3168 * net/tramp.el (tramp-encoding-command-interactive)
3169 (tramp-local-end-of-line):
3170 * net/soap-client.el (soap-client):
3171 * net/netrc.el (netrc-file):
3172 * net/gnutls.el (gnutls):
3173 * minibuffer.el (completion-category-overrides)
3174 (completion-cycle-threshold)
3175 (completion-pcm-complete-word-inserts-delimiters):
3176 * man.el (Man-name-local-regexp):
3177 * mail/feedmail.el (feedmail-display-full-frame):
3178 * international/characters.el (glyphless-char-display-control):
3179 * eshell/em-ls.el (eshell-ls-date-format):
3180 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3181 (lisp-lambda-list-keyword-parameter-indentation)
3182 (lisp-lambda-list-keyword-parameter-alignment):
3183 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3184 * dired-x.el (dired-omit-verbose):
3185 * cus-theme.el (custom-theme-allow-multiple-selections):
3186 * calc/calc.el (calc-highlight-selections-with-faces)
3187 (calc-lu-field-reference, calc-lu-power-reference)
3188 (calc-note-threshold):
3189 * battery.el (battery-mode-line-limit):
3190 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3191 (archive-7z-update):
3192 * allout.el (allout-prefixed-keybindings)
3193 (allout-unprefixed-keybindings)
3194 (allout-inhibit-auto-fill-on-headline)
3195 (allout-flattened-numbering-abbreviation):
3196 * allout-widgets.el (allout-widgets-auto-activation)
3197 (allout-widgets-icons-dark-subdir)
3198 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3199 (allout-widgets-theme-dark-background)
3200 (allout-widgets-theme-light-background)
3201 (allout-widgets-item-image-properties-emacs)
3202 (allout-widgets-item-image-properties-xemacs)
3203 (allout-widgets-run-unit-tests-on-load)
3204 (allout-widgets-time-decoration-activity)
3205 (allout-widgets-hook-error-post-time)
3206 (allout-widgets-track-decoration):
3207 Add missing :version tags to new defcustoms and defgroups.
3208
5fec1b8e
GM
3209 * progmodes/sql.el (sql-ansi-statement-starters)
3210 (sql-oracle-statement-starters): Add custom type.
3211
3e0d2fa7
GM
3212 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3213 (prolog-system-version): Give it a type.
3214
90b671e2
EZ
32152012-02-11 Eli Zaretskii <eliz@gnu.org>
3216
3217 * term/pc-win.el (x-select-text, x-selection-owner-p)
3218 (x-own-selection-internal, x-disown-selection-internal)
3219 (x-get-selection-internal): Sync doc strings and argument lists
3220 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3221
5eac0c02
LL
32222012-02-11 Leo Liu <sdl.web@gmail.com>
3223
3224 * progmodes/python.el (python-end-of-statement): Fix infinite
3225 loop. (Bug#10788)
3226
f82cb659
GM
32272012-02-10 Glenn Morris <rgm@gnu.org>
3228
3229 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3230 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3231
cc26d239
LI
32322012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3233
3234 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3235 about SMTP before checking the From header.
3236
91027d08 3237 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
3238 into own function for reuse by emacsbug.el.
3239
1be3ca5a
LL
32402012-02-10 Leo Liu <sdl.web@gmail.com>
3241
3242 * subr.el (condition-case-unless-debug): Rename from
3243 condition-case-no-debug. All callers changed.
3244 (with-demoted-errors): Fix caller.
3245
3246 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3247 * nxml/rng-valid.el (rng-do-some-validation):
3248 * emacs-lisp/package.el (package-refresh-contents)
3249 (package-menu-execute):
3250 * desktop.el (desktop-create-buffer):
91027d08 3251 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 3252
b011fbfe
GM
32532012-02-10 Glenn Morris <rgm@gnu.org>
3254
b2096d72
GM
3255 * textmodes/bibtex.el:
3256 Add missing :version tags for new/changed defcustoms.
3257
b011fbfe
GM
3258 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3259
4c7e65bf
LI
32602012-02-09 Lars Ingebrigtsen <larsi@rusty>
3261
3262 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3263 (smtpmail-via-smtp): Use it, or fall back on the From address.
3264 (smtpmail-send-it): Ditto.
3265
f3934f6f
SM
32662012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3267
3268 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3269 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3270 (byte-compile-tmp-var): New const.
3271 (byte-compile-defvar): Use it to minimize .elc size.
3272 Just use `defvar' rather than simulate it (bug#10761).
3273
a075a2c5
GM
32742012-02-09 Glenn Morris <rgm@gnu.org>
3275
cf3aa21b
GM
3276 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3277
354998cd
GM
3278 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3279 Add :version tags.
3280
dc9924b8
SM
3281 * progmodes/compile.el (compilation-error-screen-columns)
3282 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 3283
dab3703d
GM
3284 * vc/log-view.el (log-view-toggle-entry-display):
3285 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3286
3f88cd72
GM
3287 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3288 (report-emacs-bug-can-use-xdg-email):
3289 (report-emacs-bug-insert-to-mailer): Doc fixes.
3290 (report-emacs-bug): Message fix.
3291
d95b247d
GM
3292 * net/browse-url.el (browse-url-can-use-xdg-open)
3293 (browse-url-xdg-open): Doc fixes.
3294
a075a2c5
GM
3295 * electric.el (electric-indent-mode, electric-pair-mode)
3296 (electric-layout-rules, electric-layout-mode): Doc fixes.
3297 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3298
ffb6157e
MR
32992012-02-08 Martin Rudalics <rudalics@gmx.at>
3300
3301 * server.el (server-unselect-display): Don't inadvertently kill
3302 the current buffer. (Bug#10729)
3303
e1ac4066
GM
33042012-02-08 Glenn Morris <rgm@gnu.org>
3305
34e8a2da
GM
3306 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3307 (sql-list-table): Doc fixes.
3308
b4ac6e8c
GM
3309 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3310 Comment out (does nothing).
3311
e1ac4066
GM
3312 * completion.el (dynamic-completion-mode):
3313 * dirtrack.el (dirtrack-debug-mode):
3314 * electric.el (electric-layout-mode):
3315 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3316 * face-remap.el (text-scale-mode, buffer-face-mode):
3317 * iimage.el (iimage-mode):
3318 * image-mode.el (image-transform-mode):
3319 * minibuffer.el (completion-in-region-mode):
3320 * scroll-lock.el (scroll-lock-mode):
3321 * simple.el (next-error-follow-minor-mode):
3322 * tar-mode.el (tar-subfile-mode):
3323 * tooltip.el (tooltip-mode):
3324 * vcursor.el (vcursor-use-vcursor-map):
3325 * wid-browse.el (widget-minor-mode):
3326 * emulation/tpu-edt.el (tpu-edt-mode):
3327 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3328 * international/iso-ascii.el (iso-ascii-mode):
3329 * language/thai-util.el (thai-word-mode):
3330 * mail/supercite.el (sc-minor-mode):
3331 * net/goto-addr.el (goto-address-mode):
3332 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3333 * progmodes/cwarn.el (cwarn-mode):
3334 * progmodes/flymake.el (flymake-mode):
3335 * progmodes/glasses.el (glasses-mode):
3336 * progmodes/hideshow.el (hs-minor-mode):
3337 * progmodes/pascal.el (pascal-outline-mode):
3338 * textmodes/enriched.el (enriched-mode):
3339 * vc/smerge-mode.el (smerge-mode):
3340 Doc fixes (minor mode argument).
3341
5e0d957f
EZ
33422012-02-07 Eli Zaretskii <eliz@gnu.org>
3343
3344 * ls-lisp.el (ls-lisp-sanitize): New function.
3345 (ls-lisp-insert-directory): Use it to fix or remove any elements
3346 in file-alist with missing attributes. (Bug#4673)
3347
98d7371e
AM
33482012-02-07 Alan Mackenzie <acm@muc.de>
3349
3350 Fix spurious recognition of c-in-knr-argdecl.
3351
3352 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3353 putative K&R region.
3354
667ced3a
AM
33552012-02-07 Alan Mackenzie <acm@muc.de>
3356
eb864a71
LM
3357 * progmodes/cc-engine.el (c-forward-objc-directive):
3358 Prevent looping in "#pragma mark @implementation".
667ced3a 3359
5b77774d
MA
33602012-02-07 Michael Albinus <michael.albinus@gmx.de>
3361
3362 * notifications.el (notifications-on-closed-signal): Make `reason'
3363 optional. (Bug#10744)
3364
af008560
GM
33652012-02-07 Glenn Morris <rgm@gnu.org>
3366
60d47423
GM
3367 * emacs-lisp/easy-mmode.el (define-minor-mode):
3368 Doc fixes for the macro and the mode it defines.
3369
dd605cc4
GM
3370 * image.el (imagemagick-types-inhibit): Doc fix.
3371
af008560
GM
3372 * cus-start.el (imagemagick-render-type): Add it.
3373
5cc59a37
LI
33742012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3375
4d6769e1
JB
3376 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3377 Set the default at load time, too, so that `font-lock-fontify-buffer'
3378 can be called without setting up the entire mode first. This fixes
3379 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3380
9a6dd747
CY
33812012-02-06 Chong Yidong <cyd@gnu.org>
3382
2d16b285
CY
3383 * simple.el (list-processes--refresh): Delete exited processes
3384 (Bug#8094).
3385
171e9b6e
CY
3386 * comint.el (comint-next-prompt): next-single-char-property-change
3387 and prev-single-char-property-change never return nil (Bug#8657).
3388
9a6dd747
CY
3389 * custom.el (defcustom): Doc fix (Bug#9711).
3390
aa4589a7
CY
33912012-02-05 Chong Yidong <cyd@gnu.org>
3392
5c2a252f
CY
3393 * cus-edit.el (custom-variable-reset-backup): Quote the value
3394 before storing it in the customized-value property (Bug#6712).
4aab9006 3395 (custom-display): Add a customization type tag.
983b9602 3396 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3397
aa4589a7
CY
3398 * wid-edit.el (widget-field-value-get): New optional arg to
3399 suppress trailing whitespace truncation.
3400 (character): Use it (Bug#2689).
3401
1ff980ae
AS
34022012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3403
3404 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3405 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3406
03988c98
CY
34072012-02-05 Chong Yidong <cyd@gnu.org>
3408
eeb6cc88
CY
3409 * cus-edit.el (custom-variable-value-create): For mismatched
3410 types, show the current value (Bug#7600).
3411
03988c98
CY
3412 * custom.el (defcustom): Doc fix.
3413
f8cdeef0
GM
34142012-02-05 Glenn Morris <rgm@gnu.org>
3415
3416 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3417
0696d255
JB
34182012-02-05 Juanma Barranquero <lekktu@gmail.com>
3419
3420 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3421 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3422 (pp-last-sexp): Use `looking-at-p'.
3423
34c99998
GM
34242012-02-04 Glenn Morris <rgm@gnu.org>
3425
8f05da42
GM
3426 * files.el (revert-buffer):
3427 Doc fix (mention revert-buffer-in-progress-p).
3428
f160676e
GM
3429 * emacs-lisp/ert-x.el (ert-simulate-command):
3430 Check deferred-action-list (which is obsolete) is bound.
3431
c7291ad9
GM
3432 * subr.el (with-wrapper-hook): Doc fixes.
3433
34c99998
GM
3434 * simple.el (filter-buffer-substring-functions)
3435 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3436
6283a7d3
LL
34372012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3438
3439 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3440 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3441
e96e3013
LL
34422012-02-04 Leo Liu <sdl.web@gmail.com>
3443
3444 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3445
8ded50f2
GM
34462012-02-04 Glenn Morris <rgm@gnu.org>
3447
82ff1d13
GM
3448 * image.el (image-extension-data): Add obsolete alias.
3449
987a0a16
GM
3450 * isearch.el (isearch-update): Doc fix.
3451
ea32ef46
GM
3452 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3453
8ded50f2
GM
3454 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3455
eea14f31
GM
34562012-02-03 Glenn Morris <rgm@gnu.org>
3457
3458 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3459 (image-animate-timeout): Doc fix.
3460
3461 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3462
12f381b7
GM
34632012-02-02 Glenn Morris <rgm@gnu.org>
3464
953cebf5
GM
3465 * server.el (server-auth-dir): Doc fix.
3466 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3467
12f381b7
GM
3468 * subr.el (run-mode-hooks): Doc fix.
3469
953a8c3b
JL
34702012-02-02 Juri Linkov <juri@jurta.org>
3471
3472 * image-mode.el (image-toggle-display-image): Remove tautological
3473 `major-mode' from the `derived-mode-p' test.
3474
c5d3843c
KH
34752012-02-02 Kenichi Handa <handa@m17n.org>
3476
9f6e692e 3477 * composite.el (compose-region): Cancel previous change.
c5d3843c 3478
159462d4 34792012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3480
3481 * composite.el (compose-region, compose-string): Signal error for
3482 a null string component (Bug#6988).
3483
9f562668
CY
34842012-02-01 Chong Yidong <cyd@gnu.org>
3485
e2cef717
CY
3486 * view.el (view-buffer-other-window, view-buffer-other-frame):
3487 Handle special modes like view-buffer (Bug#10650).
3488 (view-buffer): Simplify.
3489
9f562668
CY
3490 * frame.el (set-frame-font): Tweak meaning of third argument.
3491
9f6e692e
JB
3492 * dynamic-setting.el (font-setting-change-default-font):
3493 Use set-frame-font (Bug#9982).
9f562668 3494
781acb9f
GM
34952012-02-01 Glenn Morris <rgm@gnu.org>
3496
6035be52
GM
3497 * progmodes/compile.el (compilation-internal-error-properties):
3498 Respect compilation-first-column in the "*compilation*" buffer.
3499
781acb9f
GM
3500 * emacs-lisp/easy-mmode.el (define-minor-mode):
3501 Relax :variable's test for a named function.
3502
abbceb00
AM
35032012-01-31 Alan Mackenzie <acm@muc.de>
3504
3505 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3506 off by one error.
3507
fce3fdeb
CY
35082012-01-31 Chong Yidong <cyd@gnu.org>
3509
3510 * frame.el (set-frame-font): New arg ALL-FRAMES.
3511
3512 * menu-bar.el (menu-set-font): Use set-frame-font.
3513
3514 * faces.el (face-spec-reset-face): Don't apply unspecified
3515 attribute values to the default face.
3516
47893581
JB
35172012-01-31 Juanma Barranquero <lekktu@gmail.com>
3518
3519 * progmodes/cwarn.el (cwarn): Remove dead link.
3520 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3521 Remove * from defcustom docstrings.
3522 (turn-on-cwarn-mode): Make obsolete.
3523 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3524 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3525
e58e988a
GM
35262012-01-31 Glenn Morris <rgm@gnu.org>
3527
60dc2671 3528 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3529 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3530 Allow named functions to be used as the cdr of :variable.
e58e988a 3531
7a3f511d
GM
35322012-01-30 Glenn Morris <rgm@gnu.org>
3533
3534 * emacs-lisp/authors.el (authors-fixed-entries):
3535 Remove reference to deleted file rnewspost.el.
3536
cb882333
JB
35372012-01-29 Juanma Barranquero <lekktu@gmail.com>
3538
3539 * window.el (window-with-parameter): Remove unused variable `windows'.
3540 (window--side-check): Remove unused variable `code'.
3541 (window--resize-siblings): Remove unused variable `first'.
3542 (adjust-window-trailing-edge): Remove unused variable `failed'.
3543 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3544 Use `let', not `let*'.
3545 (balance-windows-2): Remove unused variable `found'.
3546 (window--state-put-2): Remove unused variable `splits'.
3547 (window-state-put): Remove unused variable `selected'.
3548 (same-window-p): Use `string-match-p'.
3549 (display-buffer-assq-regexp): Remove unused variable `value'.
3550 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3551 Mark argument ALIST as ignored.
3552 (pop-to-buffer): Remove unused variable `old-window'.
3553
907201af
EZ
35542012-01-29 Eli Zaretskii <eliz@gnu.org>
3555
3556 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3557 and .lzma compressed files.
3558
ea162670
CY
35592012-01-29 Chong Yidong <cyd@gnu.org>
3560
5b95ee8a
CY
3561 * frame.el (window-system-default-frame-alist): Doc fix.
3562
ea162670
CY
3563 * dynamic-setting.el (font-setting-change-default-font): Don't
3564 change the default face if SET-FONT argument is non-nil (Bug#9982).
3565
d6e6f4b1
SB
35662012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3567
3568 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3569
0f29fa41 35702012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3571
3572 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3573 breakpoints in files outside current directory (Bug#6098).
3574
db174434
CY
35752012-01-29 Chong Yidong <cyd@gnu.org>
3576
6b25e4e2
SE
3577 * progmodes/python.el: Require ansi-color at top-level.
3578
6df6ae42
JB
3579 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3580 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3581 (lisp-mode-abbrev-table): Add doc.
3582 (lisp-mode-variables): Don't set local-abbrev-table.
3583 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3584
e70ee681
RW
35852012-01-28 Roland Winkler <winkler@gnu.org>
3586
3587 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3588
ace88aa2
RW
35892012-01-28 Roland Winkler <winkler@gnu.org>
3590
3591 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3592 (bibtex-set-dialect): Use it. Either set global values of
3593 dialect-dependent variables or bind these variables buffer-locally
3594 (Bug#10254).
3595 (bibtex-mode): Call bibtex-set-dialect via
3596 hack-local-variables-hook.
eb864a71
LM
3597 (bibtex-dialect): Update docstring.
3598 Add safe-local-variable predicate.
ace88aa2
RW
3599 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3600 bibtex-set-dialect.
3601 (bibtex-mode-map): Define menu for each dialect.
3602 (bibtex-entry): Fix docstring.
3603
93376c5b
CY
36042012-01-28 Chong Yidong <cyd@gnu.org>
3605
3606 * eshell/esh-arg.el (eshell-quote-argument): New function.
3607
3608 * eshell/esh-ext.el (eshell-invoke-batch-file):
3609 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3610 first arg to eshell-parse-command (Bug#10523).
3611
4372494f
DA
36122012-01-28 Drew Adams <drew.adams@oracle.com>
3613
3614 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3615 `default-directory' is non-nil.
3616
4d4ec1f8
EZ
36172012-01-28 Eli Zaretskii <eliz@gnu.org>
3618
3619 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3620 line that displays system-configuration-options. (Bug#9924)
3621
7c188927
DA
36222012-01-28 Drew Adams <drew.adams@oracle.com>
3623
3624 * descr-text.el (describe-char): Show information about POS, in
3625 addition to information about the character at POS. Improve and
3626 update the doc string. Change "code point" to "code point in
3627 charset", to avoid confusion with the character's Unicode code
3628 point shown above that. (Bug#10129)
3629
e0da685a
EZ
36302012-01-28 Eli Zaretskii <eliz@gnu.org>
3631
3632 * descr-text.el (describe-char): Show the raw character, not only
3633 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3634 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3635 for the reasons.
3636
70550acf
PH
36372012-01-28 Phil Hagelberg <phil@hagelb.org>
3638
eb864a71
LM
3639 * emacs-lisp/package.el (package-install):
3640 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3641
0ce8e868
CY
36422012-01-28 Chong Yidong <cyd@gnu.org>
3643
cb882333
JB
3644 * emacs-lisp/package.el (package-maybe-load-descriptor):
3645 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3646 (package-maybe-load-descriptor): Use it.
3647 (package-download-transaction): Fully load required packages
3648 inside the loop, so that `require' calls work (Bug#10593).
3649 (package-install): No need to call package-initialize now.
3650
2e7f3bea
CY
36512012-01-28 Chong Yidong <cyd@gnu.org>
3652
6e9bad14
CY
3653 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3654
f823b8ca
CY
3655 * tooltip.el (tooltip-mode): Doc fix.
3656 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3657
2680c309
CY
3658 * frame.el (set-cursor-color): Doc fix (Bug#352).
3659
d7a9e63b
CY
3660 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3661 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3662
2e7f3bea
CY
3663 * cus-edit.el (custom-buffer-create-internal): Fix search button
3664 action (Bug#10542).
2ae01800 3665 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3666
fc4f7a23
EW
36672012-01-27 Eduard Wiebe <usenet@pusto.de>
3668
3669 * dired.el (dired-mark-files-regexp):
3670 Include any subdirectory components. (Bug#10445)
3671
7dd37071
ML
36722012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3673
3674 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3675 Handle [host]:port syntax. (Bug#10533)
3676
a268160b
AH
36772012-01-27 Alex Harsanyi <harsanyi@mac.com>
3678
3679 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3680
e43273ef
GM
36812012-01-26 Glenn Morris <rgm@gnu.org>
3682
3683 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3684 * term.el (term-raw-escape-map): Use Control-X-prefix.
3685 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3686
1edf595d
MR
36872012-01-25 Martin Rudalics <rudalics@gmx.at>
3688
3689 * window.el (window-state-get, window--state-get-1): Don't deal
3690 with fixed-sizeness of windows. Simplify code.
3691
fa8eafef
JC
36922012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3693
6df6ae42
JB
3694 * window.el (window--state-get-1, window--state-put-2):
3695 Don't save and restore the mark.
fa8eafef 3696
0b21c100
CY
36972012-01-25 Chong Yidong <cyd@gnu.org>
3698
3699 * custom.el (custom-variable-p): Doc fix.
3700
5ae1a6c8
GM
37012012-01-25 Glenn Morris <rgm@gnu.org>
3702
40047858
GM
3703 * dired.el (dired-goto-file): Handle some of the more common
3704 characters that `ls -b' escapes. (Bug#10596)
3705
5ddce96c
GM
3706 * progmodes/compile.el (compilation-next-error-function):
3707 Respect compilation-first-column in the "*compilation*" buffer.
3708 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3709
5ae1a6c8
GM
3710 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3711
b559f1a9
GM
37122012-01-24 Glenn Morris <rgm@gnu.org>
3713
3714 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3715
6725d21a
JD
37162012-01-24 Julien Danjou <julien@danjou.info>
3717
3718 * color.el (color-rgb-to-hsl): Fix value computing.
3719 (color-hue-to-rgb): New function.
3720 (color-hsl-to-rgb): New function.
3721 (color-clamp, color-saturate-hsl, color-saturate-name)
3722 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3723 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3724
70df4bbe
GM
37252012-01-24 Glenn Morris <rgm@gnu.org>
3726
3727 * vc/vc-rcs.el (vc-rcs-create-tag):
3728 * vc/vc-sccs.el (vc-sccs-create-tag):
3729 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3730
802a2ae2
ML
37312012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3732
3733 * eshell/esh-util.el (eshell-read-hosts-file):
3734 Skip comment lines. (Bug#10549)
3735
d7128bb1
ML
3736 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3737
d1a5c3b4
JB
37382012-01-23 Juanma Barranquero <lekktu@gmail.com>
3739
2724d9c7
JB
3740 * subr.el (display-delayed-warnings): Doc fix.
3741 (collapse-delayed-warnings): New function to collapse identical
3742 adjacent warnings.
3743 (delayed-warnings-hook): Add it.
d1a5c3b4 3744
a5509865
MA
37452012-01-22 Michael Albinus <michael.albinus@gmx.de>
3746
3747 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3748
3749 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3750 properties, when "login-as" is set.
3751
3752 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3753 (tramp-default-user-alist): Don't add "pscp".
3754 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3755 property "login-as", if set. (Bug#10530)
3756
cc6d5805
MA
37572012-01-21 Michael Albinus <michael.albinus@gmx.de>
3758
3759 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3760 "plink1" and "psftp". (Bug#10530)
3761
37622012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3763
3764 * international/mule-cmds.el (prefer-coding-system): Show a
3765 warning message if the default value of file-name-coding-system
3766 was not changed.
3767
f0960428
JC
37682012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3769
cb882333
JB
3770 * windmove.el (windmove-reference-loc):
3771 Fix windmove-reference-loc miscalculation.
f0960428 3772
dd6f2a63
JB
37732012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3774
3775 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3776 default unit.
3777
7b447e9b
GM
37782012-01-21 Glenn Morris <rgm@gnu.org>
3779
117a9ea1
GM
3780 * international/mule.el (auto-coding-alist): Add .tbz.
3781
7b447e9b
GM
3782 * files.el (local-enable-local-variables): Doc fix.
3783 (inhibit-local-variables-regexps): Rename from
3784 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3785 Doc fix. Add some extensions from auto-coding-alist.
3786 (inhibit-local-variables-suffixes):
3787 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3788 (inhibit-local-variables-p):
3789 New function, extracted from set-auto-mode-1.
3790 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3791 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3792 (hack-local-variables): Doc fix. Make the mode-only case
3793 respect enable-local-variables and friends.
3794 Respect inhibit-local-variables-regexps for file-locals, but
3795 not for directory-locals.
3796 (set-visited-file-name):
3797 Take account of inhibit-local-variables-regexps.
3798 Whether it applies may change as the file name is changed.
3799 * jka-cmpr-hook.el (jka-compr-install):
3800 * jka-compr.el (jka-compr-uninstall):
3801 Update for inhibit-first-line-modes-suffixes name change.
3802
dd6e3cdd
MR
38032012-01-20 Martin Rudalics <rudalics@gmx.at>
3804
3805 * help-macro.el (make-help-screen): Temporarily restore original
3806 binding for minor-mode-map-alist (Bug#10454).
3807
0d0deb38
JD
38082012-01-19 Julien Danjou <julien@danjou.info>
3809
3810 * color.el (color-name-to-rgb): Use the white color to find the max
3811 color component value and return correctly computed values.
3812 (color-name-to-rgb): Add missing float conversion for max value.
3813
34a02f46
MR
38142012-01-19 Martin Rudalics <rudalics@gmx.at>
3815
3816 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3817 special state value for window-persistent-parameters.
3818 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3819 (window--state-put-2): Reset all window parameters to nil before
3820 assigning values of persistent parameters.
3821
606c44c4
AM
38222012-01-18 Alan Mackenzie <acm@muc.de>
3823
3824 Eliminate sluggishness and hangs in fontification of "semicolon
3825 deserts".
3826
cb882333
JB
3827 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3828 Change value 10000 -> 3000.
606c44c4
AM
3829 (c-state-safe-place): Reformulate so it doesn't stack up an
3830 infinite number of wrong entries in c-state-nonlit-pos-cache.
3831 (c-determine-limit-get-base, c-determine-limit): New functions to
3832 determine backward search limits disregarding literals.
3833 (c-find-decl-spots): Amend commenting.
3834 (c-cheap-inside-bracelist-p): New function which detects "={".
3835
3836 * progmodes/cc-fonts.el
3837 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3838 backward search.
3839 (c-font-lock-declarations): Fix an occurrence of point being
3840 undefined. Check additionally for point being in a bracelist or
3841 near a macro invocation without a semicolon so as to avoid a
3842 fruitless time consuming search for a declarator. Give a more
3843 precise search limit for declarators using the new
3844 c-determine-limit.
3845
f3860cea
GM
38462012-01-18 Glenn Morris <rgm@gnu.org>
3847
3848 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3849 (set-auto-mode): Doc fixes.
3850
1db03b16
GM
38512012-01-17 Glenn Morris <rgm@gnu.org>
3852
0e6038be
GM
3853 * isearch.el (search-nonincremental-instead): Fix doc typo.
3854
1db03b16
GM
3855 * dired.el (dired-insert-directory): Handle newlines in directory name.
3856 (dired-build-subdir-alist): Unescape newlines in directory name.
3857
4cb0aa75
MA
38582012-01-17 Michael Albinus <michael.albinus@gmx.de>
3859
3860 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3861 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3862 (tramp-action-terminal): Use it. (Bug#10530)
3863
1d00653d
SM
38642012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3865
3866 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3867
6a6ee00d
MR
38682012-01-16 Martin Rudalics <rudalics@gmx.at>
3869
3870 * window.el (window-state-ignored-parameters): Remove variable.
3871 (window--state-get-1): Rename argument MARKERS to IGNORE.
3872 Handle persistent window parameters. Make copy of clone-of
3873 parameter only if requested. (Bug#10348)
3874 (window--state-put-2): Install a window parameter only if it has
3875 a non-nil value or an existing parameter shall be overwritten.
3876
97912def
MA
38772012-01-15 Michael Albinus <michael.albinus@gmx.de>
3878
3879 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3880
688070a5
EZ
38812012-01-14 Eli Zaretskii <eliz@gnu.org>
3882
3883 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3884 don't pass the (nil) value of `upnode' to string-match.
3885
301afadc
CY
38862012-01-14 Chong Yidong <cyd@gnu.org>
3887
3888 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3889 Fix values recognized by the cursorBlink resource.
301afadc 3890
9e5788aa
PE
38912012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3892
3893 * epg.el (epg--make-temp-file): Avoid permission race condition
3894 when running on old Emacs versions (bug#10403).
3895
3cdb7f5a
GM
38962012-01-14 Glenn Morris <rgm@gnu.org>
3897
3898 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3899
8c82b1b4
AM
39002012-01-13 Alan Mackenzie <acm@muc.de>
3901
3902 Fix filling for when filladapt mode is enabled.
3903
3904 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3905 c-mask-paragraph, pass in `fill-paragraph' rather than
3906 `fill-region-as-paragraph'. (This is a reversion of a previous
3907 change.)
eb864a71
LM
3908 * progmodes/cc-mode.el (c-basic-common-init):
3909 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3910
e517eda4
GM
39112012-01-13 Glenn Morris <rgm@gnu.org>
3912
1498536e
GM
3913 * dired.el (dired-switches-escape-p): New function.
3914 (dired-insert-directory): Use dired-switches-escape-p.
3915 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3916
e517eda4
GM
3917 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3918
328f984d
GM
39192012-01-12 Glenn Morris <rgm@gnu.org>
3920
3921 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3922 changes in adaptive-fill-regexp. (Bug#10276)
3923
2cc769a8
AM
39242012-01-11 Alan Mackenzie <acm@muc.de>
3925
3926 Fix Emacs bug #10463 - put `widen's around the critical spots.
3927
1d00653d 3928 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3929 widen around each invocation of c-state-pp-to-literal. Remove an
3930 unused let variable.
3931
e52c37fa
GM
39322012-01-11 Glenn Morris <rgm@gnu.org>
3933
3934 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3935 Doc fix.
e52c37fa 3936
96f8741e
CY
39372012-01-10 Chong Yidong <cyd@gnu.org>
3938
1d00653d
SM
3939 * net/network-stream.el (network-stream-open-starttls):
3940 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3941 response to the capability command.
3942
b09a806e
GM
39432012-01-10 Glenn Morris <rgm@gnu.org>
3944
3945 * mail/unrmail.el (unrmail): Tweak previous change.
3946
7655cb66
CY
39472012-01-09 Chong Yidong <cyd@gnu.org>
3948
3949 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3950
9d5a8f0b
AM
39512012-01-08 Alan Mackenzie <acm@muc.de>
3952
3953 Optimise font locking in long enum definitions.
3954
3955 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3956 arm to a cond form to handle enums.
3957 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3958 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3959
9a0115ab 39602012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3961
3962 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3963 (Bug#10401)
6bb72cbd 3964
f186bb95
LMI
39652012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3966
29232a68
LMI
3967 * faces.el (set-face-attribute): Clarify the meaning of the nil
3968 frame (bug#10294).
3969
4e5d086d
LMI
3970 * subr.el (with-selected-frame): Mention that the selected frame
3971 is restored (bug#9980).
3972
8e66aebe
LMI
3973 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3974 (bug#9759).
3975
cd394be1 3976 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3977 (password-read): Don't autoload unused function.
3978
adf4e762
JB
39792012-01-07 Juanma Barranquero <lekktu@gmail.com>
3980
3981 * progmodes/which-func.el (which-func-mode): Turn into a
3982 non-interactive function and mark as obsolete (bug#10428).
3983
89bd9ccd
CY
39842012-01-06 Chong Yidong <cyd@gnu.org>
3985
3986 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3987 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3988 functions, along with 1 and -1.
3989
4afee9d5
EZ
39902012-01-06 Eli Zaretskii <eliz@gnu.org>
3991
3992 * time.el (display-time-load-average)
3993 (display-time-default-load-average): Doc fixes. See the thread
3994 starting at
3995 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3996 for the details.
3997
536aea70
GM
39982012-01-06 Glenn Morris <rgm@gnu.org>
3999
665ae865
GM
4000 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4001 has no messages. (Bug#10377)
4002
c869783d
GM
4003 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4004 than Info-edit. (Bug#10385)
4005
2bb4227e
GM
4006 * time.el (display-time-load-average, display-time-next-load-average):
4007 Doc fixes.
4008
7d5944b9
GM
4009 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4010 local setting of buffer-read-only to the input buffer. (Bug#10419)
4011
536aea70
GM
4012 * calendar/calendar.el (calendar-mode):
4013 Locally set scroll-margin to 0. (Bug#10379)
4014
7dccca16
UM
40152012-01-06 Ulrich Mueller <ulm@gentoo.org>
4016
4017 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4018
afbb7930
GM
40192012-01-05 Glenn Morris <rgm@gnu.org>
4020
4021 * eshell/em-unix.el (diff-no-select): Autoload it.
4022 (eshell/diff): Use diff-no-select. (Bug#10420)
4023
04482335
CY
40242012-01-05 Chong Yidong <cyd@gnu.org>
4025
7baca3bc
CY
4026 * shell.el (shell-dynamic-complete-functions): Revert last change.
4027 (shell-command-completion-function): New function.
4028 (shell-completion-vars): Use it to implement
4029 shell-completion-execonly (Bug#10417).
4030
04482335
CY
4031 * custom.el (enable-theme): Don't set custom-safe-themes.
4032
1d00653d
SM
4033 * cus-theme.el (custom-theme-merge-theme):
4034 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4035
bb5aa5d6
MM
40362012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4037
4038 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4039 first prompt in `sql-interacive-mode'.
4040 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4041 keywords.
6df6ae42 4042 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4043 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4044 context of original buffer. Invoke `sql-login-hook'.
4045
a7183d7c
EZ
40462012-01-04 Eli Zaretskii <eliz@gnu.org>
4047
4048 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4049 letters in cite-prefix.
4050
a1eacd1e
LMI
40512012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4052
4053 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4054
787cdb34
CY
40552012-01-03 Chong Yidong <cyd@gnu.org>
4056
1d00653d
SM
4057 * shell.el (shell-dynamic-complete-functions):
4058 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4059 comint-filename-completion first (Bug#10417).
4060
30710442
RS
40612012-01-02 Richard Stallman <rms@gnu.org>
4062
4063 * battery.el (battery-status-function):
4064 Detect when to use battery-yeeloong-sysfs.
4065 (battery-echo-area-format): Add string for Yeeloong.
4066 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4067 (battery-yeeloong-sysfs): New function.
4068
f75bfc33
CY
40692012-01-02 Chong Yidong <cyd@gnu.org>
4070
4071 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4072 (dirtrack): Merge code for handling relative filenames in prompt
4073 from shell-dir-cookie-watcher.
4074 (dirtrack-debug-message): New arg to avoid excess format calls.
4075
4076 * shell.el (shell-dir-cookie-re): Variable deleted.
4077 (shell-dir-cookie-watcher): Function deleted.
4078 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4079 with dirtrack-mode.
4080
651e947e
EZ
40812012-01-01 Eli Zaretskii <eliz@gnu.org>
4082
1d00653d
SM
4083 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4084 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4085 libgnutls-26.dll.
4086
94d4c7dc
AS
40872011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4088
4089 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4090
8d43f3cd
EZ
40912011-12-31 Eli Zaretskii <eliz@gnu.org>
4092
4093 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4094 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4095
98c8795a
MA
40962011-12-29 Michael Albinus <michael.albinus@gmx.de>
4097
4098 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4099 also for alternative shells.
4100 (tramp-open-connection-setup-interactive-shell): Check, whether
4101 the shell is a busybox.
4102 (tramp-send-command): Don't suppress multiple prompts for
4103 busyboxes, it hurts.
4104
51281b32
CY
41052011-12-28 Chong Yidong <cyd@gnu.org>
4106
4107 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4108 (gdb-get-source-file): Move mode line update to
4109 gdb-get-source-file (Bug#10087).
4110
2170cb53
CY
41112011-12-25 Chong Yidong <cyd@gnu.org>
4112
4113 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4114 gud-gdb-marker-filter without taking it as an argument.
4115 (gud-gdb-run-command-fetch-lines): Caller changed.
4116 (gud-gdb-completion-function): New variable.
4117 (gud-gdb-completion-at-point): Use it.
4118 (gud-gdb-completions-1): Split from gud-gdb-completions.
4119
4120 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4121 function as separate arguments.
4122 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4123 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4124 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4125 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4126 (gdb-stopped, def-gdb-auto-update-trigger)
4127 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4128 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4129 Callers changed.
2170cb53
CY
4130 (gud-gdbmi-completions): New function.
4131 (gdb): Use it for generating the completion table.
4132
be8b11bb
AM
41332011-12-24 Alan Mackenzie <acm@muc.de>
4134
4135 Introduce a mechanism to widen the region used in context font
1d00653d 4136 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4137
1d00653d
SM
4138 * progmodes/cc-langs.el (c-before-font-lock-functions):
4139 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4140 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4141 functions to be run just before context (etc.) font locking.
4142
4143 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4144 New, functionality extracted from
be8b11bb 4145 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4146 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4147 (c-after-change): Set c-in-after-change-fontification.
4148 (c-set-fl-decl-start): Rejig its interface, so it can be called
4149 from both after-change and context fontifying.
b81d40f0
JB
4150 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4151 New functions.
4152 (c-standard-font-lock-fontify-region-function): New variable.
4153 (c-font-lock-fontify-region): New function.
be8b11bb 4154
341cf6ac
JL
41552011-12-24 Juri Linkov <juri@jurta.org>
4156
4157 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4158 (Bug#10348)
4159
bffcee0a
MA
41602011-12-23 Michael Albinus <michael.albinus@gmx.de>
4161
4162 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4163 existence of source file. (Bug#10325)
4164
cb5e207c
AM
41652011-12-23 Alan Mackenzie <acm@muc.de>
4166
4167 Fix unstable fontification inside templates.
4168
b81d40f0
JB
4169 * progmodes/cc-langs.el (c-before-font-lock-functions):
4170 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4171 additionally has c-set-fl-decl-start. The other languages (apart
4172 from AWK) have that as a single entry.
4173
b81d40f0
JB
4174 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4175 The functionality for "local" declarations has been extracted to
cb5e207c
AM
4176 c-set-fl-decl-start.
4177
b81d40f0
JB
4178 * progmodes/cc-mode.el (c-common-init, c-after-change):
4179 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
4180 (c-set-fl-decl-start): New function, extracted from
4181 c-font-lock-enclosing-decls and enhanced.
4182
60ff536c
JB
41832011-12-23 Juanma Barranquero <lekktu@gmail.com>
4184
4185 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4186
1c4757d6
JL
41872011-12-22 Juri Linkov <juri@jurta.org>
4188
4189 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4190
d031f2c7
CY
41912011-12-22 Chong Yidong <cyd@gnu.org>
4192
4193 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4194
bace743a
DA
41952011-12-21 Drew Adams <drew.adams@oracle.com>
4196
4197 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4198
728a1f2b
JC
41992011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4200
4201 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4202
0d373f73
TZ
42032011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4204
fec0aaa4
TZ
4205 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4206 highlighting and support. Fix up comments for capitalization.
4207 (cfengine-mode-debug): New var.
4208 (cfengine3-mode): Change the modeline indicator to "CFE3".
4209 (cfengine3-font-lock-keywords): Improve defun highlighting.
4210 (cfengine2-actions): Rename from `cfengine-actions'.
4211 (cfengine2-font-lock-keywords): Rename from
4212 `cfengine-font-lock-keywords'.
4213 (cfengine2-imenu-expression): Rename from
4214 `cfengine-imenu-expression'.
4215 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4216 (cfengine2-beginning-of-defun): Rename from
4217 `cfengine-beginning-of-defun'.
4218 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4219 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4220 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4221 modeline indicator to "CFE2".
4222 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4223 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 4224
bc86f573
CY
42252011-12-21 Chong Yidong <cyd@gnu.org>
4226
4227 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4228 filename argument.
4229
d45ba96b
MR
42302011-12-20 Martin Rudalics <rudalics@gmx.at>
4231
4232 * window.el (window-normalize-buffer-to-display): Remove.
4233 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4234
a6198c90
CY
42352011-12-19 Chong Yidong <cyd@gnu.org>
4236
4237 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4238 Don't signal an error in a predicate function; return non-nil.
4239 (vc-dir-mark-file): Move the error here.
4240 (vc-dir-mark-unmark): If acting on the region, keep going if one
4241 of the entries cannot be marked/unmarked.
4242 (vc-dir-mark-all-files): If current entry is a directory, mark
4243 only child files, as documented.
4244
34c5fb55
VB
42452011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4246
4247 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4248 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4249 addition.
4250
c803b2b7
JD
42512011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4252
4253 * term/ns-win.el (ns-get-selection-internal)
4254 (ns-store-selection-internal): Declare.
1154d12e
JB
4255 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4256 Declare as obsolete.
4257 (ns-get-pasteboard, ns-paste-secondary):
4258 Use ns-get-selection-internal.
4259 (ns-set-pasteboard, ns-copy-including-secondary):
4260 Use ns-store-selection-internal.
c803b2b7 4261
9cff91f8 42622011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
4263
4264 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 4265 (vc-deduce-fileset): Doc fix.
99a289d9 4266
f16c898a
AS
42672011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4268
4269 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4270
763237c4
SS
42712011-12-13 Sam Steingold <sds@gnu.org>
4272
4273 * man.el (Man-getpage-in-background): When running under a
4274 window-system, ignore $MANWIDTH and $COLUMNS.
4275
5fc1c122
KH
42762011-12-15 Kenichi Handa <handa@m17n.org>
4277
4278 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4279 (setup-ethiopic-environment-internal): Comment out key-binding for
4280 ethio-toggle-punctuation.
4281
13d49cbb
AM
42822011-12-13 Alan Mackenzie <acm@muc.de>
4283
898169a2
AM
4284 Add the switch statement to AWK Mode.
4285
7a71b18d 4286 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
4287 "default" to the keywords regexp.
4288
7a71b18d 4289 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 4290 expression as the rest.
1d00653d
SM
4291 (c-nonlabel-token-key): Allow string literals for AWK.
4292 Refactor for the other modes.
898169a2 4293
13d49cbb 4294 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 4295 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
4296 routines. Limit backward searching in c-font-lock-enclosing.decl.
4297
4298 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4299 pp-state and literal type in addition to the limits.
1d00653d 4300 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 4301 (c-state-literal-at): Use the above new defun.
1d00653d
SM
4302 (c-slow-in-literal, c-fast-in-literal): Remove.
4303 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4304
4305 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4306 being in a literal. Add a limit for backward searching.
4307
4308 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4309 c-slow-in-literal.
4310
15e0efc7
SM
43112011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4312
4313 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4314
454592a6
MR
43152011-12-13 Martin Rudalics <rudalics@gmx.at>
4316
4317 * window.el (delete-other-windows): Use correct frame in call to
4318 window-with-parameter.
4319
87393f26
DP
43202011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4321
4322 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4323 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4324 (makefile-gmake-statements, makefile-makepp-statements):
4325 Use it and add new makepp keywords.
4326 (makefile-makepp-font-lock-keywords): Add new patterns.
4327 (makefile-match-function-end): Match new [...] and [[...]].
4328
11636b22
JB
43292011-12-11 Juanma Barranquero <lekktu@gmail.com>
4330
4331 * ses.el (ses-call-printer-return, ses-cell-property-get)
4332 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4333 (ses-create-cell-variable, ses-reset-header-string)
4334 (ses-cell-set-formula, ses-repair-cell-reference-all)
4335 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4336 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4337 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4338 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4339 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4340 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4341 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4342 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4343 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4344 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4345 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4346 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4347
cf018193
VB
43482011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4349
4350 * ses.el: The overall change is to add cell renaming, that is
4351 setting fancy names for cell symbols other than name matching
4352 "\\`[A-Z]+[0-9]+\\'" regexp .
4353 (ses-create-cell-variable): New defun.
4354 (ses-relocate-formula): Relocate formulas only for cells the
4355 symbols of which are not renamed, i.e. symbols whose names do not
4356 match regexp "\\`[A-Z]+[0-9]+\\'".
4357 (ses-relocate-all): Relocate values only for cells the symbols of
4358 which are not renamed.
4359 (ses-load): Create cells variables as the (ses-cell ...) are read,
4360 in order to check row col consistency with cell symbol name only
4361 for cells that are not renamed.
4362 (ses-replace-name-in-formula): New defun.
4363 (ses-rename-cell): New defun.
4364
ee957461
CY
43652011-12-11 Chong Yidong <cyd@gnu.org>
4366
4367 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4368 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4369
9a9e9ef0
MR
43702011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4371
4372 * window.el (other-window): Fix docstring.
4373
92a8eba5
EZ
43742011-12-10 Eli Zaretskii <eliz@gnu.org>
4375
4376 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4377 `from' or `to' address before taking its substring.
4378 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4379 encoded name is chopped in the middle of the encoded string, and
4380 thus displayed encoded.
4381
e152e577
JB
43822011-12-10 Juanma Barranquero <lekktu@gmail.com>
4383
4384 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4385
e5d84bfe
EZ
43862011-12-10 Eli Zaretskii <eliz@gnu.org>
4387
4388 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4389 to use texinfo-update-node and commands that call it if the
4390 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4391 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4392 (texinfo-all-menus-update, texinfo-master-menu)
4393 (texinfo-update-node, texinfo-every-node-update)
4394 (texinfo-multiple-files-update): Doc fix. Warn against updating
4395 all the @node lines.
4396 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4397 argument is numeric. Explain better in the doc string what the
4398 function really does.
4399 (texinfo-insert-master-menu-list): Improve the error message
4400 displayed if there's no menu in the Top node.
4401 (Bug#2975) See also this thread:
e5d84bfe
EZ
4402 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4403
1d84e9bb
MG
44042011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4405
4406 * speedbar.el (speedbar-supported-extension-expressions):
4407 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4408
382c953b
JB
44092011-12-09 Juanma Barranquero <lekktu@gmail.com>
4410
4411 * printing.el (pr-mode-alist):
4412 * simple.el (filter-buffer-substring-functions)
4413 (completion-list-insert-choice-function):
4414 * window.el (window-with-parameter, window-atom-root)
4415 (window-sides-slots, window-size-fixed, window-min-delta)
4416 (window-max-delta, window--resize-mini-window)
4417 (window--resize-child-windows-normal, window-tree)
4418 (delete-other-windows, quit-window, split-window)
4419 (display-buffer-record-window, special-display-buffer-names)
4420 (special-display-regexps, special-display-popup-frame)
4421 (same-window-p, split-window-sensibly)
4422 (display-buffer-overriding-action, display-buffer-alist)
4423 (display-buffer-base-action, display-buffer, switch-to-buffer)
4424 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4425 (fit-window-to-buffer, recenter-positions)
4426 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4427 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4428 and remove unneeded backslashes in docstrings.
4429
39c9faef
SM
44302011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4431
98449af8
SM
4432 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4433
39c9faef
SM
4434 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4435 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4436 end in ".mk".
4437 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4438 when reading the makefile (bug#10116).
4439
86ed9fdc
SM
44402011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4441
4442 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4443 (bug#10116).
4444
5580f89d
GM
44452011-12-06 Glenn Morris <rgm@gnu.org>
4446
4447 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4448
28d3917c
CY
44492011-12-06 Chong Yidong <cyd@gnu.org>
4450
4451 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4452
a98edce9
JB
44532011-12-06 Juanma Barranquero <lekktu@gmail.com>
4454
4455 * textmodes/table.el (table-shorten-cell): Fix typo.
4456
e65adfac
CG
44572011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4458
4459 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4460
71cc0b74
EZ
44612011-12-05 Eli Zaretskii <eliz@gnu.org>
4462
4463 * descr-text.el (describe-char): Fix display of strong
4464 right-to-left characters and directional embeddings and overrides.
4465
4466 * simple.el (what-cursor-position): Fix display of codepoints of
4467 strong right-to-left characters.
4468
315bc30d
CY
44692011-12-05 Chong Yidong <cyd@gnu.org>
4470
4471 * faces.el (read-color): Doc fix.
4472
58a70b94
GM
44732011-12-05 Glenn Morris <rgm@gnu.org>
4474
4475 * align.el (align--set-marker): Add doc-string.
4476 Don't try to move something that is not a marker. (Bug#10216)
4477
5158face
GM
44782011-12-04 Glenn Morris <rgm@gnu.org>
4479
4480 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4481 overly zealous deletion of trailing whitespace.
4482
520fca41
JB
44832011-12-04 Juanma Barranquero <lekktu@gmail.com>
4484
4485 * server.el (server-delete-client): On Windows, do not try to delete
4486 the only terminal.
4487 (server-process-filter): On Windows, treat requests for a tty frame as
4488 if they were for a GUI frame if the running server is in GUI mode.
4489
5e605a2e
GM
44902011-12-03 Glenn Morris <rgm@gnu.org>
4491
4492 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4493
5c3fe83f
SM
44942011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4495
6f5e57e7
SM
4496 * electric.el: Streamline electric-indent's hook.
4497 (electric-indent-chars): Revert to simple list.
4498 (electric-indent-functions): New var.
4499 (electric-indent-post-self-insert-function): Use it.
4500
5c3fe83f
SM
4501 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4502 there's no inferior buffer (bug#10196).
4503 (prolog-consult-compile): Don't use toggle-read-only.
4504
6bdac736
MA
45052011-12-02 Michael Albinus <michael.albinus@gmx.de>
4506
4507 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4508 interrupt. (Bug#10187)
4509
6131ba7f
SM
45102011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4511
99c79fee
SM
4512 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4513 (bug#9160).
4514
6131ba7f
SM
4515 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4516 (bug#10191).
4517
cb0a02ea
JL
45182011-12-02 Juri Linkov <juri@jurta.org>
4519
4520 * info.el (Info-search): Display "end of manual" when Isearch
4521 reaches the end of single-file Info manual. (Bug#9918)
4522
66e0570c
EZ
45232011-12-02 Eli Zaretskii <eliz@gnu.org>
4524
4525 * isearch.el (isearch-message-prefix): Run the input method part
4526 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4527
02b16839
JL
45282011-12-02 Juri Linkov <juri@jurta.org>
4529
4530 * isearch.el (isearch-occur): Use `word-search-regexp' for
4531 `isearch-word'.
4532 (isearch-search-and-update): Add condition for `isearch-word' and
4533 call `word-search-regexp'. (Bug#10145)
4534
0b950688
GM
45352011-12-01 Glenn Morris <rgm@gnu.org>
4536
4537 * eshell/em-hist.el (eshell-hist-initialize):
4538 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4539 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4540
9505c3c7
SM
45412011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4542
4543 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4544
1bbe96b2 45452011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4546
a1beca85
SM
4547 * progmodes/verilog-mode.el (verilog-pretty-expr):
4548 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4549 verilog, such as += *= and the like.
4550 (verilog-assignment-operator-re): Regular expression to find the
4551 assigment operator in a verilog assignment.
4552 (verilog-assignment-operation-re): Regular expression to find an
4553 assignment statement for pretty-expr.
4554 (verilog-in-attribute-p): Query returns true if point is in an
4555 attribute context; used to skip these for expression line up from
4556 pretty-expr.
4557 (verilog-in-parameter-p): Query returns true if point is in an
4558 parameter definition context; used to skip these for expression
4559 line up from pretty-expr.
4560 (verilog-in-parenthesis-p): Query returns true if point is in a
4561 parenthetical expression, specifically ( ) but not [ ] or { };
4562 used by pretty-expr.
4563 (verilog-just-one-space): If there is no space, don't add one.
4564 (verilog-get-lineup-indent-2): Specifically skip just attribute
4565 contexts for expression lineup, rather than skipping all
4566 parenthetical expressions.
4567 (verilog-calculate-indent): Fix comment, and fix indent.
4568 (verilog-do-indent): Indent declarations in lists (suggested by
4569 Joachim Lechner).
4570 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4571 skeleton items.
4572 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4573 by Alain Mellan).
4574
1bbe96b2 45752011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4576
4577 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4578 parameters with embedded comments. Reported by Ray Stevens.
4579 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4580 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4581 Reported by Tim Holt.
4582 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4583 instantiated by upper module causing wrong expansion until AUTOed a
4584 second time. Reported by K C Buckenmaier.
4585 (verilog-diff-auto): Fix showing .* as a difference when
4586 `verilog-auto-star-save' off. Reported by Dan Dever.
4587 (verilog-auto-reset, verilog-read-always-signals)
4588 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4589 temporary signals in reset list if
4590 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4591 style to each signal's assignment type, bug381.
4592 Reported by Thomas Esposito.
6288f0ca
WS
4593 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4594 (verilog-uvm-statement-re): Support UVM indentation and
4595 highlighting, with old OVM keywords only.
a1beca85 4596 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4597 Support AUTOTIEOFF creating non-wire data types.
4598 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4599 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4600 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4601 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4602 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4603 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4604 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4605 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4606 non-numeric vector width. Reported by Alex Reed.
4607 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4608 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4609 (verilog-auto-delete-trailing-whitespace):
4610 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4611 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4612 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4613 Fix verilog-scan-cache corruption when running user AUTO expansion
4614 hooks that call indentation routines.
4615 (verilog-simplify-range-expression): Fix typo ignoring lower case
4616 identifiers.
4617 (verilog-delete-auto): Fix delete-autos to also remove user created
4618 automatics, as long as they start with AUTO.
4619 (verilog-batch-diff-auto, verilog-diff-auto)
4620 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4621 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4622 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4623 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4624 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4625 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4626 is disabled and its cache will get corrupt, causing AUTOS not to
4627 expand. Instead use only -quick functions.
4628 (verilog-scan-region): Fix scanning over escaped quotes.
4629 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4630 (verilog-re-search-backward-quick)
4631 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4632 related functions now ignore strings, to fix misparsing of strings
4633 with magic comments embedded in them.
a1beca85
SM
4634 (verilog-read-auto-template):
4635 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4636 Reported by Brad Dobbie.
4637 (verilog-read-auto-template):
4638 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4639 Reported by Brad Dobbie.
6288f0ca
WS
4640 (verilog-auto-inst, verilog-auto-inst-param)
4641 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4642 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4643 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4644 debugging templates without merge conflicts, bug357.
4645 Reported by Brad Dobbie.
4646 (verilog-read-auto-template):
4647 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4648 Reported by Brad Dobbie.
4649 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4650 abbrevs so user won't be asked to save.
4651 (verilog-read-auto-lisp-present): Fix to start at beginning of
4652 buffer in case called outside of verilog-auto.
4653 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4654 to "X-2". Reported by Matthew Myers.
4655 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4656 all inputs from module templates. Reported by Leith Johnson.
4657 (verilog-module-inside-filename-p): Fix locating programs as with
4658 modules.
4659 (verilog-auto-inst-port): Fix vl-width expressions when using
4660 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4661 (verilog-decls-get-regs, verilog-decls-get-signals,
4662 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4663 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4664 verilog-read-decls): Combine reg and wire structures into one var
4665 structure to represent SystemVerilog concepts.
4666 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4667 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4668 (verilog-auto-wire-type, verilog-insert-definition):
4669 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4670 SystemVerilog "logic" keyword instead of "wire"/"reg".
4671 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4672 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4673 ifdef or generate if so there's not a driver conflict).
4674 Reported by Matthew Myers.
4675 (verilog-auto-declare-nettype, verilog-insert-definition):
4676 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4677 `default_nettype none. Reported by Julian Gorfajn.
4678 (verilog-read-always-signals-recurse, verilog-read-decls)
4679 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4680 malformed end statement, bug325. Reported by Joshua Wise and
4681 Andrew Drake.
4682 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4683 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4684 when expanding .* in interfaces, bug320.
4685 Reported by Pierre-David Pfister.
6288f0ca 4686 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4687 name and open parenthesis, bug317.
4688 Reported by Pierre-David Pfister.
6288f0ca
WS
4689 (verilog-simplify-range-expression): Fix simplification of
4690 multiplications inside AUTOWIRE connections, bug303.
4691 (verilog-auto-inst-port): Support parameter expansion in
4692 multidimensional arrays.
4693 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4694 after "assert property". Reported by Julian Gorfajn.
4695 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4696 with multiplication, bug303.
4697 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4698 Reported by Jan Frode Lonnum.
4699
1bbe96b2
GM
47002011-11-30 Juanma Barranquero <lekktu@gmail.com>
4701
4702 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4703 (hfy-shell-file-name, hfy-shell):
4704 * international/fontset.el (x-decompose-font-name): Fix typos.
4705
47062011-11-29 Ken Brown <kbrown@cornell.edu>
4707
4708 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4709 (gdb-version): Remove defvar.
4710 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4711 (gdb-gud-context-command, gdb-non-stop-handler)
4712 (gdb-current-context-command, gdb-stopped): Use it.
4713 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4714 (gdb-non-stop-handler): Don't enable pretty-printing here.
4715 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4716 non-stop mode. Use the following.
4717 (gdb-check-target-async): New defun.
4718 (gud-watch, gdb-stopped): Fix whitespace.
4719 (gdb-get-source-file): Don't try to display the source file if
4720 `gdb-main-file' is nil.
4721
47222011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4723
4724 * align.el: Try to generate fewer markers (bug#10047).
4725 (align--set-marker): New macro.
4726 (align-region): Use it.
4727
c935221f
SM
47282011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4729
4730 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4731
e70b5064
CY
47322011-11-29 Chong Yidong <cyd@gnu.org>
4733
4734 * indent.el (indent-for-tab-command, indent-according-to-mode):
4735 Doc fix.
4736 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4737
f3af92b7
MA
47382011-11-29 Michael Albinus <michael.albinus@gmx.de>
4739
4740 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4741 aware of remote file names. (Bug#10124)
4742
ed472be9
CY
47432011-11-29 Chong Yidong <cyd@gnu.org>
4744
4745 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4746
24510c22
SM
47472011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4748
4749 * files.el (find-file): Don't use force-same-window (bug#10144).
4750 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4751 use pop-to-buffer if the selected window can't be used.
4752 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4753
c60c3703
EZ
47542011-11-28 Eli Zaretskii <eliz@gnu.org>
4755
4756 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4757 special-mode-map.
4758
e95def75
CY
47592011-11-28 Chong Yidong <cyd@gnu.org>
4760
4761 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4762
c3f1c606
NR
47632011-11-27 Nick Roberts <nickrob@snap.net.nz>
4764
4765 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4766 gdb-get-source-file-list on gdb-create-source-file-list.
4767
00db469c
EZ
47682011-11-26 Eli Zaretskii <eliz@gnu.org>
4769
4770 * whitespace.el (whitespace-newline): Use a different foreground
4771 color for 16-color light-background displays.
4772
4ad3bc2a
CY
47732011-11-24 Chong Yidong <cyd@gnu.org>
4774
4775 * window.el (display-buffer--special-action): Doc fix.
4776
e9fce1ac
JB
47772011-11-25 Juanma Barranquero <lekktu@gmail.com>
4778
4779 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4780 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4781 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4782 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4783 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4784 (avl-tree-stack-first):
4785 * emacs-lisp/cconv.el (cconv--analyse-use):
4786 * net/gnutls.el (gnutls-negotiate): Fix typos.
4787
cb825e5d
GM
47882011-11-24 Glenn Morris <rgm@gnu.org>
4789
3adbe224
GM
4790 * lpr.el (lpr-windows-system, lpr-lp-system):
4791 * mail/binhex.el (binhex-begin-line):
4792 * progmodes/grep.el (grep-history, grep-find-history):
4793 * textmodes/flyspell.el:
4794 * vc/pcvs-defs.el (cvs-global-menu):
4795 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4796 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4797 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4798
321decc8
GM
4799 * net/tls.el: Fix case of "GnuTLS".
4800
420b63ad
GM
4801 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4802
cb825e5d
GM
4803 * version.el (emacs-build-system): Give it a doc-string.
4804
a0649f08
JL
48052011-11-24 Juri Linkov <juri@jurta.org>
4806
4807 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4808
c0bc0fd4
GM
48092011-11-24 Glenn Morris <rgm@gnu.org>
4810
4811 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4812 if called on a non-mime message just toggle the headers. (Bug#8006)
4813
20db1522
JB
48142011-11-24 Juanma Barranquero <lekktu@gmail.com>
4815
4816 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4817 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4818 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4819 (allout-rebullet-heading, allout-open-sibtopic)
4820 (allout-toggle-current-subtree-encryption)
4821 (allout-toggle-subtree-encryption, allout-encrypt-string)
4822 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4823 (allout-distinctive-bullets-string, allout-auto-activation):
4824 * window.el (window-normalize-buffer-to-display):
4825 * progmodes/verilog-mode.el (verilog-batch-indent):
4826 * textmodes/bibtex.el (bibtex-field-braces-opt)
4827 (bibtex-field-strings-opt):
4828 * vc/cvs-status.el (cvs-tree-merge):
4829 Fix typos.
4830
7262a87c
MA
48312011-11-23 Michael Albinus <michael.albinus@gmx.de>
4832
4833 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4834 `non-essential' to t, in order to avoid remote connections.
4835
283430a1
EZ
48362011-11-23 Eli Zaretskii <eliz@gnu.org>
4837
a1beca85
SM
4838 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4839 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4840 case-insensitively.
4841
d2992a38
ML
48422011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4843
4844 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4845
50419064
GM
48462011-11-23 Glenn Morris <rgm@gnu.org>
4847
da94eca1
GM
4848 * paths.el (rmail-file-name): Reformat the doc-string so that it
4849 is picked up.
4850
9aac4de2
GM
4851 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4852 (rmail-auto-file): Ignore case in the "special" field names,
4853 as mail-fetch-field does for all others.
4854
8038d2d2
GM
4855 * mail/rmail.el (rmail-forward):
4856 * mail/rmailkwd.el (rmail-set-label):
4857 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4858 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4859
f3fe222a
GM
4860 * mail/rmail.el (rmail-current-message): Doc fix.
4861
50419064
GM
4862 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4863
28109f49
SM
48642011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4865
4866 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4867
394c65f1
GM
48682011-11-22 Glenn Morris <rgm@gnu.org>
4869
4870 * mail/rmailmm.el (test-rmail-mime-handler)
4871 (test-rmail-mime-bulk-handler)
4872 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4873
f2a0aa3a
JL
48742011-11-21 Juri Linkov <juri@jurta.org>
4875
1154d12e
JB
4876 * calc/calc.el (calc-read-key-sequence):
4877 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4878
9c34a344
LMI
48792011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4880
4881 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4882 Tell the caller that the next line needs recomputation, even
4883 though it doesn't start a sexp (bug#10094).
4884
f04a3be9
SM
48852011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4886
4887 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4888
7978747f
SM
48892011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4890
f04a3be9
SM
4891 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4892 Use force-same-window.
7978747f 4893
fe7a3057
JB
48942011-11-20 Juanma Barranquero <lekktu@gmail.com>
4895
4896 * descr-text.el (describe-char-unicode-data):
4897 * json.el (json-string-escape):
4898 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4899 (Footnote-unicode, Footnote-style-p):
4900 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4901
24901d61
CY
49022011-11-20 Chong Yidong <cyd@gnu.org>
4903
4904 * window.el (replace-buffer-in-windows): Restore interactive spec.
4905
bac7ff22
SM
49062011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4907
24f3d7b9
SM
4908 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4909
bac7ff22
SM
4910 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4911 (byte-compile-global-not-obsolete-vars): New var.
4912 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4913 Use it.
4914 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4915
cd1181db
JB
49162011-11-20 Juanma Barranquero <lekktu@gmail.com>
4917
4918 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4919 * progmodes/pascal.el (electric-pascal-equal):
4920 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4921 * xml.el (xml-substitute-special): Fix typos.
4922
7fb18e9e
GM
49232011-11-20 Glenn Morris <rgm@gnu.org>
4924
4925 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4926 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4927 Doc fixes.
4928 (rmail-decode-mime-charset): Mark as obsolete.
4929
4930 * mail/rmailsum.el (rmail-message-regexp-p-1):
4931 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4932 Before using mime functions, check they are set. (Bug#10077)
4933
d5a6b3ba
JL
49342011-11-19 Juri Linkov <juri@jurta.org>
4935
4936 * info.el (Info-finder-find-node): Use `package--builtins' instead
4937 of `package-alist'. Use node names formed by the pattern "Keyword "
4938 and the keyword name.
4939
e981b61f
AS
49402011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4941
1d00653d 4942 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4943
3ffbc301
JL
49442011-11-19 Juri Linkov <juri@jurta.org>
4945
4946 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4947 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4948 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4949 `old-history', `old-history-forward'. Add let-binding
4950 `window-selected'. Remove calls to `kill-buffer',
4951 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4952 before calling `Info-find-node', so `Info-find-node-2' will reread
4953 the Info file. Restore window positions only when `window-selected'
4954 is non-nil.
4955
30c62133
JL
49562011-11-19 Juri Linkov <juri@jurta.org>
4957
4958 * isearch.el (isearch-lazy-highlight-new-loop):
4959 Remove condition `(not isearch-error)'. (Bug#9918)
4960
4961 * misearch.el (multi-isearch-search-fun): Add condition
4962 `(not bound)' to ignore lazy-highlighting search.
4963 Add the search-failed message "end of multi" when the end of
4964 multi-sequence is reached. Uncapitalize the search-failed
4965 message "Repeat for next buffer".
4966
4967 * info.el (Info-search): Add the search-failed message
4968 "end of the manual" when the end of the manual is reached
4969 in Isearch mode.
4970
645ca9cf
JL
49712011-11-19 Juri Linkov <juri@jurta.org>
4972
4973 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4974 Use non-destructive `remove' instead of `delete' because
4975 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4976 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4977
df754f66
JL
49782011-11-19 Juri Linkov <juri@jurta.org>
4979
4980 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4981 to nil instead of binding `search-ring' and `regexp-search-ring'.
4982 (Bug#9185)
4983
0e23d96a
EZ
49842011-11-19 Eli Zaretskii <eliz@gnu.org>
4985
4986 * simple.el (line-move): Force movement by logical lines for any
4987 hscrolled window, not only when auto-hscroll-mode is on.
4988 (line-move-visual): Update doc string to that effect. (Bug#10076)
4989
8a6ccb66
AS
49902011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4991
4992 * language/european.el (macintosh): Define as alias for mac-roman.
4993
49ae5b39
EZ
49942011-11-19 Eli Zaretskii <eliz@gnu.org>
4995
4996 * mail/rmailmm.el (rmail-mime-display-header)
4997 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4998 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4999 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5000 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5001 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5002 of a raw aref.
5003 (rmail-mime-entity-segment): To get past the tagline, move forward
5004 2 more lines, to account for the 2 empty lines that precede and
5005 follow the line with the buttons.
5006 (rmail-mime-update-tagline): Move one more line, to get past the
5007 empty line that follows the buttons in the tagline. (Bug#9520)
5008
c56cad4a
MR
50092011-11-19 Martin Rudalics <rudalics@gmx.at>
5010
5011 * window.el (window-max-delta-1, window-min-delta-1)
5012 (window-min-size-1, window-state-get-1, window-state-put-1)
5013 (window-state-put-2): Use "window--" prefix.
5014
cbe71af3
SM
50152011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5016
2ad52c60
SM
5017 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5018 (smie-warning-count): New var.
5019 (smie-set-prec2tab): Use it.
5020 (smie-bnf->prec2): Improve warnings. Add docstring.
5021 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5022 (smie-bnf--set-class): New function.
5023 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5024 corner case.
5025
6944dbc1
SM
5026 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5027 (compilation-error-properties, compilation-move-to-column):
5028 Handle compilation-first-column while in the target buffer.
5029
c400c4d7
SM
5030 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5031 Don't hardcode point-min==1.
5032
6dbe3e96
SM
5033 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5034 (eshell-rewrite-for-command): Remove workaround.
5035 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5036 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5037 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5038
cbe71af3
SM
5039 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5040
a8e1496d
GM
50412011-11-17 Glenn Morris <rgm@gnu.org>
5042
5043 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5044 Ignore buffer-local generated-autoload-file if it is the same
5045 as the global value. (Bug#10049)
5046
df85d315
JB
50472011-11-17 Juanma Barranquero <lekktu@gmail.com>
5048
5049 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5050 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5051 (reftex-toc-previous-heading, reftex-toc-max-level)
5052 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5053 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5054 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5055 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5056 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5057 (reftex-toc-rename-label, reftex-toc-visit-location)
5058 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5059 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5060 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5061 leaving "*toc*" only for references to the buffer.
5062
a0c2d0ae
MR
50632011-11-17 Martin Rudalics <rudalics@gmx.at>
5064
5065 * window.el (window-resize, delete-window, split-window):
5066 Replace window-splits by window-combination-resize.
1d00653d 5067 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5068
35c0bac8
GM
50692011-11-17 Glenn Morris <rgm@gnu.org>
5070
5071 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5072 Make bash entry derive from sh entry, not shell entry.
5073
d0c8fc8a
MA
50742011-11-16 Michael Albinus <michael.albinus@gmx.de>
5075
d0c8fc8a
MA
5076 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5077 properties of linked files. (Bug#9879)
5078
7262a87c
MA
5079 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5080 local file name.
5081
7877f373
JB
50822011-11-16 Juanma Barranquero <lekktu@gmail.com>
5083
5084 * menu-bar.el (menu-bar-file-menu):
5085 * printing.el (pr-ps-utility):
5086 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5087 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5088 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5089 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5090 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5091 (icalendar--convert-cyclic-to-ical)
5092 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5093 (icalendar--convert-ical-to-diary)
5094 (icalendar--convert-recurring-to-diary)
5095 (icalendar--convert-non-recurring-all-day-to-diary)
5096 (icalendar-import-format-sample):
5097 * progmodes/idlw-shell.el (idlwave-shell-mode):
5098 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5099 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5100 (vhdl-ps-print-init): Fix typos.
5101
10649b82
KM
51022011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5103
9d0cfcd6
GM
5104 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5105 FSF and collapse date sequence, obscure author/maintainer email address
5106 better, remove extra version line, track relocation of author's webpage.
10649b82 5107
9d0cfcd6
GM
5108 * progmodes/python.el (python-pdbtrack-input-prompt)
5109 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5110 regular python pdb prompts. Adjustments shamelessly taken exactly as
5111 suggested in EmacsWiki page (tiny change):
5112 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5113
58179cce
JB
51142011-11-16 Juanma Barranquero <lekktu@gmail.com>
5115
5116 * expand.el (expand-pos, expand-index, expand-point):
5117 Remove redundant info from docstring.
5118 (expand-add-abbrevs): Doc fix.
5119 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5120 (expand-sample-perl-mode-expand-list): Fix typos.
5121
5122 * net/dbus.el (dbus-event-member-name):
5123 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5124 * term/pc-win.el (msdos-create-frame-with-faces):
5125 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5126
b6f67890
MR
51272011-11-16 Martin Rudalics <rudalics@gmx.at>
5128
5129 * window.el (split-window, window-state-get-1)
5130 (window-state-put-1, window-state-put-2): Rename occurrences of
5131 window-nest to window-combination-limit.
1d00653d 5132 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5133
ce7ddba0
CY
51342011-11-16 Chong Yidong <cyd@gnu.org>
5135
5136 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5137 regexp (Bug#10033).
5138
3ae704f4
SM
51392011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5140
5141 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5142 `completing-read' will remove *Completions* and will preserve
5143 current-buffer for us.
5144 (tmm-add-prompt): Users of *Completions* will always (re)set its
5145 major mode.
5146 (tmm-old-comp-map): Remove.
5147
6ad1cdde
GM
51482011-11-16 Glenn Morris <rgm@gnu.org>
5149
5150 * mail/rmailedit.el: Require rmailmm when compiling.
5151 (rmail-old-mime-state): New declaration.
5152 (rmail-edit-current-message): If editing a mime message,
5153 edit the "raw" message from the mbox buffer.
5154 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5155
d20faa20
GM
51562011-11-15 Glenn Morris <rgm@gnu.org>
5157
5158 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5159 which wasn't being used. Add optional arg to force given state.
5160 (rmail-mime): Add optional arg to force given state.
5161
c7015153
JB
51622011-11-15 Juanma Barranquero <lekktu@gmail.com>
5163
5164 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5165 * frame.el (display-mm-dimensions-alist):
5166 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5167 (outline-move-subtree-down):
5168 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5169 (newsticker--treeview-do-get-node):
5170 * net/quickurl.el (quickurl-list-buffer-name):
5171 * progmodes/dcl-mode.el (dcl-mode):
5172 * progmodes/gdb-mi.el (gdb-mapcar*):
5173 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5174
45261b50
GM
51752011-11-15 Glenn Morris <rgm@gnu.org>
5176
5177 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5178 in a boolean sense, so just make it a boolean, and fix the doc.
5179 (rmail-show-mime-function, rmail-mime-feature)
5180 (rmail-require-mime-maybe): Doc fixes.
5181 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5182
5183 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5184
0d26e0b6
JB
51852011-11-15 Juanma Barranquero <lekktu@gmail.com>
5186
5187 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5188 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5189 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5190 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5191
447f30f6
GM
51922011-11-15 Glenn Morris <rgm@gnu.org>
5193
672b871d
GM
5194 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5195 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5196 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5197 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5198 (rmail-mime, rmail-show-mime): Doc fixes.
5199
f6aa5bb1
GM
5200 * term/ns-win.el (mode-line-frame-identification):
5201 Leave it alone. (Bug#10051)
5202
947cd66b
GM
5203 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5204
447f30f6
GM
5205 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5206 Handle empty buffers. (Bug#9978)
5207
0b381c7e
JB
52082011-11-14 Juanma Barranquero <lekktu@gmail.com>
5209
5210 * international/mule.el (define-charset):
5211 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5212 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5213 * progmodes/verilog-mode.el (verilog-backward-token):
5214 * textmodes/ispell.el (lookup-words):
5215 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5216
71e027ac
GM
52172011-11-14 Glenn Morris <rgm@gnu.org>
5218
56632ce4
GM
5219 * progmodes/executable.el
5220 (executable-make-buffer-file-executable-if-script-p):
5221 Handle file-modes returning nil.
5222
40500957
GM
5223 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5224 message - not necessary, and causes problems. (Bug#9831)
5225
071c2340
GM
5226 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5227
d3cfca60
GM
5228 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5229
71e027ac
GM
5230 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5231 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5232 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5233
89d61221
MR
52342011-11-12 Martin Rudalics <rudalics@gmx.at>
5235
5236 * window.el (window-resize, delete-window): Use window-splits
5237 variable instead of function.
5238 (window-state-get-1, window-state-put-2, window-state-put):
5239 Don't deal with windows' splits status.
5240
98282f6f
GM
52412011-11-12 Glenn Morris <rgm@gnu.org>
5242
5243 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5244 (apropos-documentation): Doc fixes.
5245
40a8bdf6
JB
52462011-11-11 Juanma Barranquero <lekktu@gmail.com>
5247
5248 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5249 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5250
65bd19ff
SM
52512011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5252
5253 * electric.el (electric-indent-post-self-insert-function): Make it
5254 possible for a char to only indent in some circumstances.
5255 (electric-indent-mode): Simplify.
5256
54f9154c
MR
52572011-11-11 Martin Rudalics <rudalics@gmx.at>
5258
5259 * window.el (windows-with-parameter): Remove unused function.
5260 (windows-at-side): Rename to window-at-side-list.
5261 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
5262 (window-side-check, window-size-ignore, window-size-fixed-1)
5263 (window-in-direction-2): Prefix with "window--".
5264 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 5265
68cbc58b
GM
52662011-11-11 Glenn Morris <rgm@gnu.org>
5267
5268 * subr.el (eval-after-load): If FILE is already loaded,
5269 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5270
b2621720
GM
52712011-11-10 Glenn Morris <rgm@gnu.org>
5272
9a4de110
GM
5273 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5274 Call svn via vc-svn-command rather than vc-do-command.
5275 (vc-svn-command): Add --non-interactive. (Bug#9993)
5276 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5277
b2621720
GM
5278 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5279 Add toggle-read-only. (Bug#7292)
5280 * files.el (toggle-read-only): Mention that it should only
5281 be used interactively. (Bug#10006)
5282
1dce7193
SM
52832011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5284
d9ac1a1e
SM
5285 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5286 Adjust regexp for OCaml warnings.
5287
0c325082
SM
5288 * electric.el (electric-pair-post-self-insert-function): Let user
5289 turn it off buffer-locally (bug#9932).
5290
90132c14
SM
5291 * progmodes/python.el (python-beginning-of-statement):
5292 Rewrite (bug#2703).
5293
1dce7193
SM
5294 * progmodes/compile.el: Better handle TABs (bug#9749).
5295 (compilation-internal-error-properties)
5296 (compilation-next-error-function): Obey the target buffer's
5297 compilation-error-screen-columns.
5298
c4e7c63a
JB
52992011-11-09 Juanma Barranquero <lekktu@gmail.com>
5300
5301 * progmodes/meta-mode.el: Remove obsolete comments.
5302 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5303 Fix typos in docstrings.
5304
2cffd681
MR
53052011-11-09 Martin Rudalics <rudalics@gmx.at>
5306
5307 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5308 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5309 (window--resizable): New function. Make all callers of
5310 window-resizable call window--resizable instead.
5311 (window-resizable): Rewrite in terms of window--resizable.
5312
0edcba87
GM
53132011-11-08 Glenn Morris <rgm@gnu.org>
5314
5315 * progmodes/delphi.el (delphi-mode-syntax-table):
5316 Let define-derived-mode define a proper syntax table. (Bug#9994)
5317
4b0d61e3
SM
53182011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5319
5320 * window.el: Stay away from defsubst.
5321 (window-list-no-nils): Remove.
5322 (window-state-get-1, window-state-get): Use backquote instead.
5323
cd394be1 53242011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5325
4b0d61e3 5326 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5327 Fix incorrect use of default argument in `completing-read'.
5328
e1c2c6f2
MR
53292011-11-08 Martin Rudalics <rudalics@gmx.at>
5330
5331 * window.el (display-buffer-function, special-display-function):
5332 Mention display-buffer-record-window but do not mention
5333 help-setup parameter in doc-strings.
b3f4a882 5334 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5335
105216ed
CY
53362011-11-08 Chong Yidong <cyd@gnu.org>
5337
5338 * window.el (window-total-height, window-total-width): Doc fix.
5339 (window-body-size): Move from C.
5340 (window-body-height, window-body-width): Move to C.
5341
0a9f9ab5
SM
53422011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5343
5344 * window.el: Make special-display like display-buffer-alist (bug#9532).
5345 (display-buffer--special-action): New function, morphed
5346 from display-buffer--special.
5347 (display-buffer): Use it to handle special-display-buffers at higher
5348 priority (just after display-buffer-alist).
5349 (display-buffer-fallback-action, display-buffer--other-frame-action)
5350 (pop-to-buffer-same-window): Remove display-buffer--special.
5351
a769dd15
GM
53522011-11-07 Glenn Morris <rgm@gnu.org>
5353
5354 * calendar/cal-menu.el (cal-menu-set-date-title):
5355 Do nothing if not in a calendar. (Bug#9976)
5356
05a61ee3
SM
53572011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5358
5359 * files.el (find-file): Always use selected-window.
5360
be7f5545
MR
53612011-11-07 Martin Rudalics <rudalics@gmx.at>
5362
5363 * window.el (window-combinations): Make WINDOW argument
5364 mandatory. Rewrite doc-string.
5365 (walk-window-subtree, window-atom-check, window-min-delta)
5366 (window-max-delta, window--resize-this-window)
5367 (window--resize-root-window-vertically, window-tree)
5368 (balance-windows, window-state-put): Rewrite doc-strings as to
5369 not mention the term "subwindow".
5370 (window--resize-subwindows-skip-p): Rename to
5371 window--resize-child-windows-skip-p.
5372 (window--resize-subwindows-normal): Rename to
5373 window--resize-child-windows-normal.
5374 (window--resize-subwindows): Rename to
5375 window--resize-child-windows.
5376 (window-or-subwindow-p): Rename to window--in-subtree-p.
5377
3c6702ef
ML
53782011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5379
5380 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5381 Ensure that mbox format messages end in two newlines (Bug#9974).
5382
49745b39
CY
53832011-11-06 Chong Yidong <cyd@gnu.org>
5384
5385 * window.el (window-combination-p): Function deleted; its
5386 side-effect is not used in any existing code.
5387 (window-combinations, window-combined-p): Call window-*-child
5388 directly.
5389
24300f5f
CY
53902011-11-05 Chong Yidong <cyd@gnu.org>
5391
5392 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5393 (window-size-ignore, window-state-get): Callers changed.
5394 (window-normalize-window): Rename from window-normalize-any-window.
5395 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5396 (window-normalize-live-window): Delete.
447f16b8
CY
5397 (window-combination-p, window-combined-p, window-combinations)
5398 (walk-window-subtree, window-atom-root, window-min-size)
5399 (window-sizable, window-sizable-p, window-size-fixed-p)
5400 (window-min-delta, window-max-delta, window-resizable)
5401 (window-resizable-p, window-full-height-p, window-full-width-p)
5402 (window-current-scroll-bars, window-point-1, set-window-point-1)
5403 (window-at-side-p, window-in-direction, window-resize)
5404 (adjust-window-trailing-edge, maximize-window, minimize-window)
5405 (window-deletable-p, delete-window, delete-other-windows)
5406 (record-window-buffer, unrecord-window-buffer)
5407 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5408 (quit-window, split-window, window-state-put)
5409 (set-window-text-height, fit-window-to-buffer)
5410 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5411
89bd5ee1
EZ
54122011-11-04 Eli Zaretskii <eliz@gnu.org>
5413
53479029
EZ
5414 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5415 rfc2047-decode-string.
5416 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5417 warnings.
5418
89bd5ee1
EZ
5419 * window.el (window-body-height, window-body-width): Mention in
5420 the doc string that the return values are in frame's canonical
5421 units. (Bug#9949)
5422
bd17fdee
AM
54232011-11-03 Alan Mackenzie <acm@muc.de>
5424
5425 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5426 change in cc-engine.el.
5427
acc825c5
SM
54282011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5429
5430 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5431
1885e5b8
MR
54322011-11-02 Martin Rudalics <rudalics@gmx.at>
5433
5434 * window.el (quit-window): Call unrecord-window-buffer after
5435 showing another buffer in the window. (Bug#9937)
acc825c5 5436 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5437
ebe06da9
JB
54382011-11-02 Juanma Barranquero <lekktu@gmail.com>
5439
5440 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5441 Accept status with more than 9 shelves. (Bug#9935)
5442 Reported by Colin D Bennett <colin@gibibit.com>.
5443
4ee88440
MR
54442011-11-01 Martin Rudalics <rudalics@gmx.at>
5445
5446 * help.el (with-help-window): Don't reference
5447 temp-buffer-show-specifiers in doc-string.
5448
08e1d82c
AS
54492011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5450
5451 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5452 menu-item.
5453
84bd6e9e
VJL
54542011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5455
5456 * whitespace.el: New version 13.2.2.
5457 (whitespace-newline-mode): Disable properly. Reported by Sarah
5458 <EmacsWiki>.
5459
dba0634a
UJ
54602011-10-30 Ulf Jasper <ulf.jasper@web.de>
5461
5462 * net/newst-treeview.el: Remove "Time-stamp".
5463 (newsticker--group-manage-orphan-feeds): Do not call
5464 newsticker--treeview-tree-update.
db22a3c2
JB
5465 (newsticker-treeview-update, newsticker-treeview):
5466 Call newsticker--treeview-tree-update if necessary.
dba0634a 5467
3d8daefe
MR
54682011-10-30 Martin Rudalics <rudalics@gmx.at>
5469
5470 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5471 (window-iso-combinations): Remove "iso-" infix.
5472 Suggested by Chong Yidong.
3d8daefe
MR
5473 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5474 (window-max-delta-1, window-resize, window--resize-siblings)
5475 (window--resize-this-window, adjust-window-trailing-edge)
5476 (split-window, balance-windows-1)
5477 (shrink-window-if-larger-than-buffer):
5478 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5479 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5480
1bc4c3ae
SM
54812011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5482
5483 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5484 in place (bug#9907).
5485 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5486 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5487 (eshell-structure-basic-command, eshell-rewrite-while-command)
5488 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5489 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5490 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5491 (eshell-do-pipelines-synchronously, eshell-eval-command):
5492 Use backquotes and prefer setq to set.
5493 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5494 (eshell-macrop): Use functionp.
c1e2f5fa 5495 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5496
30b65d9c
CY
54972011-10-30 Chong Yidong <cyd@gnu.org>
5498
5499 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5500 instead of set-mark (Bug#9810).
5501
2d197ffb
CY
55022011-10-30 Chong Yidong <cyd@gnu.org>
5503
5504 * window.el (split-window-below, split-window-right): Rename from
5505 split-window-above-each-other and split-window-side-by-side
5506 respectively. All callers changed.
5507 (split-window-sensibly, split-window-sensibly): Use them.
5508 (split-window-keep-point): Doc fix.
5509
5510 * isearch.el: Add isearch-scroll property to split-window-below
5511 and split-window-right.
5512
5513 * follow.el (follow-mode):
5514 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5515 * progmodes/ada-xref.el (ada-gdb-application):
5516 * emulation/vip.el (vip-buffer-in-two-windows):
5517 * image-dired.el (image-dired-dired-with-window-configuration):
5518 * dired-x.el (dired-do-find-marked-files):
5519 * dired.el (dired-pop-to-buffer):
5520 * bs.el (bs--show-with-configuration):
5521 * vc/emerge.el (emerge-setup-windows):
5522 * textmodes/two-column.el (2C-two-columns):
5523 * textmodes/reftex-toc.el (reftex-toc):
5524 * progmodes/gdb-mi.el (gdb-setup-windows):
5525 * progmodes/fortran.el (fortran-window-create):
5526 * net/newst-treeview.el (newsticker--treeview-window-init):
5527 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5528 * emulation/tpu-edt.el (tpu-gold-map):
5529 * emulation/crisp.el (crisp-mode-map):
5530 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5531
38bb2ca8
CY
55322011-10-29 Chong Yidong <cyd@gnu.org>
5533
aa4de341
CY
5534 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5535
e1eb5385
CY
5536 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5537
5d2ece3c
CY
5538 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5539 forged Ispell output (Bug#7904).
5540
38bb2ca8
CY
5541 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5542
d0af9f77
SM
55432011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5544
5545 * doc-view.el: Avoid ugly errors about not finding nil.
5546 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5547 (doc-view-dvipdf-program, doc-view-unoconv-program)
5548 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5549 Avoid nil or absolute file name as default value.
5550 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5551
52bedd34
AM
55522011-10-28 Alan Mackenzie <acm@muc.de>
5553
db22a3c2 5554 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5555
7e43cfa5
AM
55562011-10-28 Alan Mackenzie <acm@muc.de>
5557
5558 Amend the handling of c-beginning/end-of-defun in nested declaration
5559 scopes.
5560
52bedd34
AM
5561 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5562 cc-langs.el. Change it to a defcustom.
7e43cfa5 5563
52bedd34
AM
5564 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5565 cc-vars.el.
7e43cfa5 5566
d0af9f77
SM
5567 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5568 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5569
52bedd34 5570 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5571 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5572 (c-widen-to-enclosing-decl-scope): New function.
5573 (c-while-widening-to-decl-block): New macro.
5574 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5575 outward for defun boundaries, and correspondingly change symbol
5576 `respect-enclosure' to `go-outward'.
5577 (c-declaration-limits): Change algorithm to report only the "innermost"
5578 defun's boundaries.
5579
1a2ce9ee
DD
55802011-10-28 Deniz Dogan <deniz@dogan.se>
5581
5582 * net/rcirc.el (rcirc-mode): Use hard newlines.
5583
bc97a826
AM
55842011-10-28 Alan Mackenzie <acm@muc.de>
5585
5586 Amend to indent and fontify macros "which include their own semicolon"
5587 correctly, using the "virtual semicolon" mechanism.
5588
52bedd34 5589 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5590
d0af9f77 5591 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5592 Recode to scan one line at a time rather than having \n and \r
58179cce 5593 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5594 (c-forward-label): Amend for virtual semicolons.
58179cce 5595 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5596
52bedd34
AM
5597 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5598 of the new C macros.
bc97a826 5599
52bedd34 5600 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5601 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5602 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5603 (c-opt-cpp-macro-define): Make into a full language variable.
5604 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5605 AWK Mode (including \n, \r) removed, no longer needed.
5606
d0af9f77
SM
5607 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5608 Invoke c-make-macro-with-semi-re.
bc97a826 5609
52bedd34
AM
5610 * progmodes/cc-vars.el (c-macro-with-semi-re):
5611 (c-macro-names-with-semicolon): New variables.
58179cce 5612 (c-make-macro-with-semi-re): New function.
bc97a826 5613
7a6c0941
SM
56142011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5615
5616 * vc/log-edit.el: Fill empty field rather than adding new one.
5617 (log-edit-add-field): New function.
5618 (log-edit-insert-changelog): Use it.
5619
b0c4cdcf
ML
56202011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5621
5622 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5623
ee1f1da9
SM
56242011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5625
5626 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5627 (gdb--check-interpreter): New function.
5628 (gdb): Use it.
5629
51bc5f8b
GM
56302011-10-27 Glenn Morris <rgm@gnu.org>
5631
416a2c45
GM
5632 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5633 (least-positive-float, least-negative-float)
5634 (least-positive-normalized-float, least-negative-normalized-float)
5635 (float-epsilon, float-negative-epsilon):
5636 Remove unnecessary declarations.
5637
5638 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5639 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5640 (least-positive-float, least-negative-float)
5641 (least-positive-normalized-float, least-negative-normalized-float)
5642 (float-epsilon, float-negative-epsilon): Add doc-strings,
5643 based on those in cl.texi.
5644
51bc5f8b
GM
5645 * files.el (set-visited-file-name): If the major-mode changed,
5646 reload the local variables. (Bug#9796)
5647
15de15c6
CY
56482011-10-27 Chong Yidong <cyd@gnu.org>
5649
5650 * subr.el (change-major-mode-after-body-hook): New hook.
5651 (run-mode-hooks): Run it.
5652
ee1f1da9
SM
5653 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5654 Use change-major-mode-before-body-hook.
15de15c6
CY
5655
5656 * simple.el (fundamental-mode):
5657 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5658 change introducing fundamental-mode-hook.
5659
5430d399
JB
56602011-10-26 Juanma Barranquero <lekktu@gmail.com>
5661
acc825c5 5662 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5663
ad74a69e
MA
56642011-10-26 Michael Albinus <michael.albinus@gmx.de>
5665
5666 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5667 tramp.el explicitly. (Bug#7583)
ad74a69e 5668
71d4c2a5
SM
56692011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5670
5671 * progmodes/octave-mod.el:
5672 * progmodes/octave-inf.el: Update maintainer.
5673
b1f6fa26
CY
56742011-10-26 Chong Yidong <cyd@gnu.org>
5675
5676 * subr.el (with-wrapper-hook): Rewrite doc.
5677
3f04efd6
MA
56782011-10-25 Michael Albinus <michael.albinus@gmx.de>
5679
5680 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5681 filenames "/method:foo:". (Bug#9793)
3f04efd6 5682
410488d3
SM
56832011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5684
5685 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5686 (bug#9865).
5687
c1ebb47e
GM
56882011-10-24 Glenn Morris <rgm@gnu.org>
5689
5690 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5691
7f5c46c7
MA
56922011-10-24 Michael Albinus <michael.albinus@gmx.de>
5693
5694 * notifications.el: Add the requirement of a running D-Bus session
5695 bus to the Commentary.
5696
db2440b6
JL
56972011-10-24 Juri Linkov <juri@jurta.org>
5698
5699 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5700 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5701 (Bug#9364)
5702
feecf435
JL
57032011-10-24 Juri Linkov <juri@jurta.org>
5704
5705 * info.el (Info-following-node-name-re): Add newline to the list
5706 of allowed characters for leading space. (Bug#9824)
5707
a3839de2
SM
57082011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5709
acc825c5
SM
5710 * progmodes/octave-inf.el (inferior-octave-mode-map):
5711 Fix C-c C-h binding.
a3839de2
SM
5712 * progmodes/octave-mod.el (octave-help): Remove.
5713
09388e76
MA
57142011-10-23 Michael Albinus <michael.albinus@gmx.de>
5715
5716 Sync with Tramp 2.2.3.
5717
5718 * net/tramp-cache.el (top): Pacify byte-compiler using
5719 `init-file-user' and `site-run-file'.
5720
5721 * net/trampver.el: Update release number.
5722
86c60681
CY
57232011-10-23 Chong Yidong <cyd@gnu.org>
5724
5725 * files.el (toggle-read-only): Remove obsolete comment about
5726 version control.
5727
5728 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5729 for toggle-read-only. Note that this hasn't called vc-next-action
5730 since 2008-05-02, though it wasn't documented at the time.
5731
a3839de2
SM
5732 * vc/ediff-init.el (ediff-toggle-read-only-function):
5733 Use toggle-read-only.
86c60681 5734
cd5495ff
AM
57352011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5736
5737 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5738 of c-parse-state.
5739
00b77525 5740 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5741 correct faulty logical expression.
cd5495ff
AM
5742 (c-parse-state-state, c-record-parse-state-state):
5743 (c-replay-parse-state-state): New defvar/defuns.
5744 (c-debug-parse-state): Use new functions.
5745
42ee24ed
MR
57462011-10-22 Martin Rudalics <rudalics@gmx.at>
5747
5748 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5749 last fix. Use window-in-direction correctly.
42ee24ed 5750
a7dee7e7
CY
57512011-10-21 Chong Yidong <cyd@gnu.org>
5752
5753 * progmodes/idlwave.el (idlwave-mode):
5754 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5755 require-final-newline; that's done in prog-mode.
5756 Suggested by Stefan Monnier.
a7dee7e7 5757
e07b9a6d
MR
57582011-10-21 Martin Rudalics <rudalics@gmx.at>
5759
5760 * mouse.el (mouse-drag-window-above)
5761 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5762 (mouse-drag-mode-line-1, mouse-drag-header-line)
5763 (mouse-drag-vertical-line-rightward-window): Remove.
5764 (mouse-drag-line): New function.
5765 (mouse-drag-mode-line, mouse-drag-header-line)
5766 (mouse-drag-vertical-line): Call mouse-drag-line.
5767 * window.el (window-at-side-p, windows-at-side): New functions.
5768
7e1361d9
UM
57692011-10-21 Ulrich Mueller <ulm@gentoo.org>
5770
5771 * tar-mode.el (tar-grind-file-mode):
5772 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5773
30fcaf3a
CY
57742011-10-21 Chong Yidong <cyd@gnu.org>
5775
5776 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5777 * progmodes/vera-mode.el (vera-mode):
5778 Use mode-require-final-newline.
30fcaf3a 5779
516eddb0
GM
57802011-10-20 Glenn Morris <rgm@gnu.org>
5781
db22a3c2 5782 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5783
10d5f513
CS
57842011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5785
5786 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5787
ac6c8639
CY
57882011-10-20 Chong Yidong <cyd@gnu.org>
5789
5790 * emulation/cua-base.el (cua-mode):
5791 * mail/footnote.el (footnote-mode):
5792 * mail/mailabbrev.el (mail-abbrevs-mode):
5793 * net/xesam.el (xesam-minor-mode):
5794 * progmodes/bug-reference.el (bug-reference-mode):
5795 * progmodes/cap-words.el (capitalized-words-mode):
5796 * progmodes/compile.el (compilation-minor-mode)
5797 (compilation-shell-minor-mode):
5798 * progmodes/gud.el (gud-tooltip-mode):
5799 * progmodes/hideif.el (hide-ifdef-mode):
5800 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5801 * progmodes/subword.el (subword-mode):
5802 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5803 * progmodes/which-func.el (which-function-mode):
5804 * term/tvi970.el (tvi970-set-keypad-mode):
5805 * term/vt100.el (vt100-wide-mode):
5806 * textmodes/flyspell.el (flyspell-mode):
5807 * textmodes/ispell.el (ispell-minor-mode):
5808 * textmodes/nroff-mode.el (nroff-electric-mode):
5809 * textmodes/paragraphs.el (use-hard-newlines):
5810 * textmodes/refill.el (refill-mode):
5811 * textmodes/reftex.el (reftex-mode):
5812 * textmodes/rst.el (rst-minor-mode):
5813 * textmodes/sgml-mode.el (html-autoview-mode)
5814 (sgml-electric-tag-pair-mode):
5815 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5816 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5817 * emulation/crisp.el (crisp-mode):
5818 * emacs-lisp/eldoc.el (eldoc-mode):
5819 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5820 minor mode behavior.
5821
aa42ab43
JL
58222011-10-19 Juri Linkov <juri@jurta.org>
5823
5824 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5825 the list of hard-coded chars with escape-glyph face.
5826
89400f1d
SM
58272011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5828
5829 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5830
305c07f6
MA
58312011-10-19 Michael Albinus <michael.albinus@gmx.de>
5832
5833 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5834 running process.
5835
13754b54
GM
58362011-10-19 Glenn Morris <rgm@gnu.org>
5837
5838 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5839 Ignore ignored files. (Bug#9726)
5840
06e21633
CY
58412011-10-19 Chong Yidong <cyd@gnu.org>
5842
5843 Doc fix for minor modes, stating that an omitted argument enables
5844 the mode unconditionally when called from Lisp.
5845
5846 * abbrev.el (abbrev-mode):
5847 * allout.el (allout-mode):
5848 * autoinsert.el (auto-insert-mode):
5849 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5850 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5851 (global-auto-revert-mode):
5852 * battery.el (display-battery-mode):
5853 * composite.el (global-auto-composition-mode)
5854 (auto-composition-mode):
5855 * delsel.el (delete-selection-mode):
5856 * desktop.el (desktop-save-mode):
5857 * dired-x.el (dired-omit-mode):
5858 * dirtrack.el (dirtrack-mode):
5859 * doc-view.el (doc-view-minor-mode):
5860 * double.el (double-mode):
5861 * electric.el (electric-indent-mode, electric-pair-mode):
5862 * emacs-lock.el (emacs-lock-mode):
5863 * epa-hook.el (auto-encryption-mode):
5864 * follow.el (follow-mode):
5865 * font-core.el (font-lock-mode):
5866 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5867 * help.el (temp-buffer-resize-mode):
5868 * hilit-chg.el (highlight-changes-mode)
5869 (highlight-changes-visible-mode):
5870 * hi-lock.el (hi-lock-mode):
5871 * hl-line.el (hl-line-mode, global-hl-line-mode):
5872 * icomplete.el (icomplete-mode):
5873 * ido.el (ido-everywhere):
5874 * image-file.el (auto-image-file-mode):
5875 * image-mode.el (image-minor-mode):
5876 * iswitchb.el (iswitchb-mode):
5877 * jka-cmpr-hook.el (auto-compression-mode):
5878 * linum.el (linum-mode):
5879 * longlines.el (longlines-mode):
5880 * master.el (master-mode):
5881 * mb-depth.el (minibuffer-depth-indicate-mode):
5882 * menu-bar.el (menu-bar-mode):
5883 * minibuf-eldef.el (minibuffer-electric-default-mode):
5884 * mouse-sel.el (mouse-sel-mode):
5885 * msb.el (msb-mode):
5886 * mwheel.el (mouse-wheel-mode):
5887 * outline.el (outline-minor-mode):
5888 * paren.el (show-paren-mode):
5889 * recentf.el (recentf-mode):
5890 * reveal.el (reveal-mode, global-reveal-mode):
5891 * rfn-eshadow.el (file-name-shadow-mode):
5892 * ruler-mode.el (ruler-mode):
5893 * savehist.el (savehist-mode):
5894 * scroll-all.el (scroll-all-mode):
5895 * scroll-bar.el (scroll-bar-mode):
5896 * server.el (server-mode):
5897 * shell.el (shell-dirtrack-mode):
5898 * simple.el (auto-fill-mode, transient-mark-mode)
5899 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5900 (line-number-mode, column-number-mode, size-indication-mode)
5901 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5902 * strokes.el (strokes-mode):
5903 * time.el (display-time-mode):
5904 * t-mouse.el (gpm-mouse-mode):
5905 * tool-bar.el (tool-bar-mode):
5906 * tooltip.el (tooltip-mode):
5907 * type-break.el (type-break-mode-line-message-mode)
5908 (type-break-query-mode):
5909 * view.el (view-mode):
5910 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5911 (global-whitespace-mode, global-whitespace-newline-mode):
5912 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5913
a3839de2
SM
5914 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5915 Fix autogenerated docstring.
06e21633 5916
5214e501
JL
59172011-10-19 Juri Linkov <juri@jurta.org>
5918
5919 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5920 by checking environment variables "DESKTOP_SESSION" and
5921 "XDG_CURRENT_DESKTOP". (Bug#9779)
5922
195f8db9
JL
59232011-10-19 Juri Linkov <juri@jurta.org>
5924
5925 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5926 (browse-url-chromium-program, browse-url-chromium-arguments):
5927 New defcustoms.
5928 (browse-url-default-browser): Check for `browse-url-chromium' and
5929 call `browse-url-chromium-program'.
5930 (browse-url-chromium): New command. (Bug#9779)
5931
343a34ff
JB
59322011-10-18 Juanma Barranquero <lekktu@gmail.com>
5933
5934 * facemenu.el (list-colors-duplicates): On Windows, detect more
5935 duplicates by assuming that only colors matching "^System" are
5936 special "system colors". (Bug#9722)
5937
6978a151
SM
59382011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5939
5940 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5941 to distinguish the author from the committer.
5942
6a80b297
MA
59432011-10-18 Michael Albinus <michael.albinus@gmx.de>
5944
5945 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5946
b31a5677
JK
59472011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5948
5949 * international/mule.el (sgml-html-meta-auto-coding-function):
5950 Add support for detecting encoding in HTML5 specified only as
5951 <meta charset="UTF-8">. Implementation just makes http-equiv and
5952 content-type parts from HTML4 encoding string optional. (Bug#9716)
5953
80c6d77f
GM
59542011-10-18 Glenn Morris <rgm@gnu.org>
5955
5956 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5957
08b0fee8
CY
59582011-10-18 Chong Yidong <cyd@gnu.org>
5959
5960 * faces.el (cursor): Doc fix.
5961
67e729a5
CY
59622011-10-17 Chong Yidong <cyd@gnu.org>
5963
5964 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5965
343a34ff 59662011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5967
5968 * dirtrack.el (dirtrack): Support shell buffers with path
5969 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5970
0bc06380
TZ
59712011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5972
5973 * json.el: Bump version to 1.3 and note change in History.
5974 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5975
8b79f3e0
SM
59762011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5977
5a7c536b
SM
5978 * comint.el (comint-insert-input, comint-send-input)
5979 (comint-get-old-input-default, comint-backward-matching-input)
5980 (comint-next-prompt): Use nil instead of `input' for field property of
5981 past user input (bug#114).
5982
96a8a0df
SM
5983 * minibuffer.el (completion--replace): Inherit surrounding properties
5984 (bug#114).
5985 (minibuffer-complete-and-exit): Use it.
5986
8b79f3e0
SM
5987 * comint.el (comint--table-subvert): Quote the all-completions output
5988 (bug#9160).
5989
b8f7ff0d
MR
59902011-10-17 Martin Rudalics <rudalics@gmx.at>
5991
8b79f3e0 5992 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5993
b8f7ff0d 5994 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5995 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5996 entries and separate them from frame entries.
5997
c235b555
GM
59982011-10-15 Glenn Morris <rgm@gnu.org>
5999
6000 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6001 Doc fixes.
6002
6bbfa6e1
CY
60032011-10-15 Chong Yidong <cyd@stupidchicken.com>
6004
8b79f3e0
SM
6005 * net/network-stream.el (network-stream-open-starttls):
6006 Improve detection of failure due to lack of TLS support.
ec5c990d 6007
6bbfa6e1
CY
6008 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6009 putting the input text in front and in bold.
6010
98488977
SM
60112011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6012
3d1337be
SM
6013 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6014
ee0b45e4
SM
6015 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6016 empty buffer.
6017
98488977
SM
6018 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6019 unread-command-events rather than pushing yet-another event.
6020
186f4720
EZ
60212011-10-14 Eli Zaretskii <eliz@gnu.org>
6022
6023 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6024 the explanation of the possible choices. Make the options passed
6025 to completing-read shorter.
6026
8b7a997c
AM
60272011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6028
6029 * textmodes/flyspell.el (flyspell-large-region): Make sure
6030 extended character mode is used if defined (Bug#1339).
6031
12587bbb
EZ
60322011-10-13 Eli Zaretskii <eliz@gnu.org>
6033
6034 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6035 character info for LRE, LRO, RLE, and RLO characters by appending
6036 an invisible PDF.
12587bbb 6037
bad41229
SM
60382011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6039
6040 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6041 even in case of error; add debug spec; simplify data flow.
6042 (with-timeout-handler): Remove.
6043
28dbc92f
MA
60442011-10-12 Michael Albinus <michael.albinus@gmx.de>
6045
6046 Fix Bug#6019, Bug#9315.
6047
6048 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6049 complete `buffer-file-name', the local file name part could look
6050 remotely (for example on VMS).
6051
6052 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6053 `tramp-run-real-handler'.
6054 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6055 already quoted by '"'.
6056
6057 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6058 Let `file-name-handler-alist' be nil, the local file name part
6059 could look remotely (for example on VMS).
6060
e1b0b23a
SM
60612011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6062
6063 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6064 from here...
6065 (flyspell-post-command-hook): ...to here.
6066
a120bde9
SM
60672011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6068
6069 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6070 if not needed.
6071 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6072 using completion. Protect against "slow" callers.
6073 Remove the "message hack".
6074
7ce7717b
JL
60752011-10-11 Juri Linkov <juri@jurta.org>
6076
6077 * isearch.el (isearch-lazy-highlight-word): New variable.
6078 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6079 Use it. (Bug#9727)
6080
c02ee9d6
GM
60812011-10-11 Glenn Morris <rgm@gnu.org>
6082
6083 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6084 like f90-previous-statement does.
6085
93e616fd 60862011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6087
1f190e73 6088 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6089 only in interactive use, to avoid error.
6090
af7b6078
SM
60912011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6092
6093 * minibuffer.el (completion-file-name-table): Fix last change,
6094 i.e. ignore normal errors but not the other ones.
6095
0563dae9
MR
60962011-10-10 Martin Rudalics <rudalics@gmx.at>
6097
6098 * window.el (special-display-buffer-names)
6099 (special-display-regexps): Remove some remnants of earlier
6100 changes from doc-strings.
366ca7f3
MR
6101 (quit-windows-on): New function.
6102
6103 * vc/vc.el (vc-revert, vc-rollback):
6104 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6105 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6106 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6107
49677495
MR
61082011-10-09 Martin Rudalics <rudalics@gmx.at>
6109
6110 * window.el (frame-auto-hide-function): Add version tag.
6111 (Bug#9699)
6112
56f2d1e1
MA
61132011-10-09 Michael Albinus <michael.albinus@gmx.de>
6114
6115 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6116 condition.
6117
112a6592
LL
61182011-10-09 Leo Liu <sdl.web@gmail.com>
6119
6120 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6121 (Bug#9701)
6122
0812589b
GM
61232011-10-08 Glenn Morris <rgm@gnu.org>
6124
6125 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6126 before the first code statement zero indent. (Bug#9690)
6127
b2b0776e
CY
61282011-10-08 Chong Yidong <cyd@stupidchicken.com>
6129
6130 * simple.el (count-words-region): Always count in the region.
6131 Report the number of lines and characters too.
6132 (count-words): New command, which counts in the buffer if the
6133 region is inactive, as count-words-region used to.
6134 (count-words--message): New function. Handle plurals.
6135 (count-lines-region): Make it an alias for count-words-region.
6136
6137 * bindings.el (esc-map): Replace count-lines-region with
6138 count-words-region.
6139
c557cd6b
MR
61402011-10-08 Martin Rudalics <rudalics@gmx.at>
6141
6142 * window.el (window--delete): Delete dedicated frame
6143 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6144 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6145
61a57ef4 61462011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6147
3a7d293b 6148 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6149
c3833279
CY
61502011-10-07 Chong Yidong <cyd@stupidchicken.com>
6151
6152 * bindings.el ([M-left],[M-right]): Bind to left-word and
6153 right-word respectively.
6154
21ce8245
GM
61552011-10-07 Glenn Morris <rgm@gnu.org>
6156
6157 * cus-start.el (debug-on-quit): Fix custom type.
6158
6d823bb2
LMI
61592011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6160
0181e193
LMI
6161 * subr.el (define-key-after): Clarify that the function is not
6162 useful for non-menu keymaps.
6163
6d823bb2
LMI
6164 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6165
8e3459ce 61662011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6167
21ce8245 6168 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6169 in current minibuffer (Fix bug with recursive minibuffers).
6170
a1c2d21e
CY
61712011-10-06 Chong Yidong <cyd@stupidchicken.com>
6172
6173 * progmodes/gdb-mi.el (gdb): Doc fix.
6174
5a4cf282
MR
61752011-10-05 Martin Rudalics <rudalics@gmx.at>
6176
6177 * window.el (frame-auto-hide-function): New option replacing
6178 frame-auto-delete. Suggested by Stefan Monnier.
6179 (window--delete): Call frame-auto-hide-function instead of
6180 investigating frame-auto-delete.
c96111ea
MR
6181 (window-point-1, set-window-point-1): New functions.
6182 (window-in-direction, record-window-buffer, window-state-get-1)
6183 (display-buffer-record-window): Use window-point-1 instead of
6184 window-point.
6185 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 6186
9854542e
SM
61872011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6188
6189 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6190
8943cfb0
GM
61912011-10-05 Glenn Morris <rgm@gnu.org>
6192
6193 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6194 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6195
647ab967
LL
61962011-10-05 Leo Liu <sdl.web@gmail.com>
6197
6198 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6199 works with buffer object.
6200
3ddfbced
SM
62012011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6202
6203 * mpc.el (mpc-tool-bar-map): Add labels.
6204
bdfa5dd2
GM
62052011-10-04 Glenn Morris <rgm@gnu.org>
6206
6207 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6208
0e2070b5
MR
62092011-10-04 Martin Rudalics <rudalics@gmx.at>
6210
6211 * window.el (window--delete): New function.
6212 (frame-auto-delete): Resuscitate option.
6213 (bury-buffer, replace-buffer-in-windows)
6214 (quit-window): Rewrite using window--delete.
6215 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6216 Pass display-buffer-mark-dedicated to window--display-buffer-2
6217 (Bug#9639).
6218
3dc61a09
SM
62192011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6220
915a9b64
SM
6221 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6222 returns a list (bug#9554). Add remote file name completion.
6223 * comint.el (comint--table-subvert): Curry and get quote&unquote
6224 functions as arguments.
6225 (comint--complete-file-name-data): Adjust call accordingly.
6226 * pcomplete.el (pcomplete--table-subvert): Remove.
6227 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6228
3dc61a09
SM
6229 * minibuffer.el (completion-table-case-fold): Use currying.
6230 (completion--styles-type, completion--cycling-threshold-type):
6231 New constants.
6232 (completion-styles, completion-category-overrides)
6233 (completion-cycle-threshold): Use them.
6234 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6235 completion-table-case-fold.
6236
8ea0a993
SB
62372011-10-03 Stephen Berman <stephen.berman@gmx.net>
6238
6239 * minibuffer.el (completion-category-overrides): Fix type of styles
6240 and add more user friendly tags (bug#9660).
6241
8c24b7f6
SM
62422011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6243
6244 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6245 (mule-input-method-string): New widget.
6246 (default-input-method, language-info-custom-alist): Use it.
6247
428fe61a
SM
62482011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6249
32c1fffd
SM
6250 * pcomplete.el: Require comint.
6251 (pcomplete--common-suffix): Remove.
6252 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6253 (pcomplete--table-subvert): Sync with comint--table-subvert.
6254 (pcomplete--entries): Use comint-completion-file-name-table.
6255 * comint.el (comint-unquote-filename): Simplify.
6256 (comint-completion-file-name-table): New function (bug#9616).
6257 (comint--complete-file-name-data): Use it.
6258
428fe61a
SM
6259 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6260 (pcmpl-gnu-tar-buffer): Remove.
6261 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
6262 around. Make sure pcomplete-suffix-list is only changed temporarily.
6263 Don't look inside the tar's file if it's too large.
428fe61a 6264
04c52e2f
CY
62652011-10-01 Chong Yidong <cyd@stupidchicken.com>
6266
ce3cefcc
CY
6267 * cus-edit.el (custom-mode-map):
6268 * epa.el (epa-key-list-mode-map):
6269 * man.el (Man-mode-map):
6270 * startup.el (splash-screen-keymap):
6271 * simple.el (special-mode-map): Use scroll-up-command and
6272 scroll-down-command.
6273
6274 * progmodes/idlw-help.el (idlwave-help-mode-map):
6275 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6276 * net/newst-plainview.el (newsticker-mode-map):
6277 * emulation/ws-mode.el (wordstar-mode-map):
6278 * emulation/vi.el (vi-com-map):
6279 * calc/calc-graph.el (calc-graph-show-dumb):
6280 * term/sun.el (terminal-init-sun):
6281 * term/ns-win.el (global-map):
6282 * progmodes/grep.el (grep-mode-map):
6283 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6284 * mail/rmail.el (rmail-mode-map):
6285 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6286
04c52e2f
CY
6287 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6288 custom-safe-themes as special.
6289
79adf8c8
JD
62902011-10-01 Julien Danjou <julien@danjou.info>
6291
6292 * notifications.el (notifications-notify): Fix docstring.
6293
63bd50d3
PS
62942011-10-01 Per Starbäck <per@starback.se>
6295
6296 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6297
199e4c7e
MR
62982011-09-30 Martin Rudalics <rudalics@gmx.at>
6299
6300 * startup.el (command-line-1): Fix last fix by inserting
6301 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 6302 (Bug#9605) and (Bug#9636)
199e4c7e 6303
fe5f08dd
EZ
63042011-09-29 Eli Zaretskii <eliz@gnu.org>
6305
6306 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6307 window is hscrolled, move by logical lines. (Bug#9607)
6308 (line-move-visual): Update the doc string to the above effect.
6309
b5516bbd
MR
63102011-09-29 Martin Rudalics <rudalics@gmx.at>
6311
ccee00c0
MR
6312 * window.el (display-buffer-record-window): When WINDOW is the
6313 selected window use `point' instead of `window-point'. (Bug#9626)
6314
b5516bbd
MR
6315 * startup.el (command-line-1): Use insert-before-markers when
6316 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6317
b5516bbd
MR
6318 * help.el (help-window): Remove variable.
6319
52aa0014
GM
63202011-09-29 Glenn Morris <rgm@gnu.org>
6321
6322 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6323
df9a7357
JB
63242011-09-29 Juanma Barranquero <lekktu@gmail.com>
6325
6326 * descr-text.el (describe-char-categories): Accept category
6327 descriptions more than one line long.
6328
a8406c20
SM
63292011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6330
88d9610c
SM
6331 * simple.el (delete-trailing-whitespace): Fix last change.
6332
a5daf810
SM
6333 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6334 Don't confuse "y => 3" as the beginning of a `y' operation.
6335
a8406c20
SM
6336 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6337 object has more than 4 slots (bug#9613).
6338
a239d4e9
JB
63392011-09-28 Juanma Barranquero <lekktu@gmail.com>
6340
6341 * subr.el (with-output-to-temp-buffer):
6342 * net/quickurl.el (quickurl, quickurl-browse-url):
6343 Fix typos in docstrings.
6344
693fbdb6
EZ
63452011-09-27 Eli Zaretskii <eliz@gnu.org>
6346
6347 * minibuffer.el (completion-styles)
6348 (completion-category-overrides): Cross reference each other in doc
6349 strings.
6350
8b457e28
GM
63512011-09-27 Glenn Morris <rgm@gnu.org>
6352
6353 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6354 to split-string. (Bug#9606)
6355
85a16208
LMI
63562011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6357
6358 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6359 (bug#9615).
6360
502f9ebd
CY
63612011-09-27 Chong Yidong <cyd@stupidchicken.com>
6362
6363 * emacs-lisp/package.el (list-packages): Fix echo area message.
6364
7690bdea
LL
63652011-09-27 Leo Liu <sdl.web@gmail.com>
6366
6367 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6368
e2ee6f30
MA
63692011-09-25 Michael Albinus <michael.albinus@gmx.de>
6370
6371 * net/dbus.el (dbus-unregister-object): Don't release services for
6372 registered signals. (Bug#9581)
6373
f3f98342
TZ
63742011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6375
6376 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6377 function that picks between cfengine 2 and 3 support
6378 automatically. Update docs accordingly.
6379
dd7aa8dd
KH
63802011-09-22 Kenichi Handa <handa@m17n.org>
6381
6382 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6383 ZERO.
6384 (indian-itrans-v5-table-for-tamil): New variable.
6385 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6386
3f2b07f8
KM
63872011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6388
6389 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6390 that's true if the current command involved collapsing of text.
6391 It's reset to false at the beginning of the next command.
6392 (allout-post-command-business): Move the cursor to the beginning
6393 of entry if the cursor is hidden and collapsing activity just
6394 happened.
6395
371d6a61
CY
63962011-09-24 Chong Yidong <cyd@stupidchicken.com>
6397
6398 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6399 tracking (Bug#9541).
6400
2ac2721a
UJ
64012011-09-24 Ulf Jasper <ulf.jasper@web.de>
6402
6403 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6404 (newsticker-show-news): Automatically load html rendering package
6405 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6406 because w3m-fill-column is let-bound" and the error "Symbol's value
6407 as variable is void: w3m-fill-column".
2ac2721a 6408
fac7ae53
MA
64092011-09-24 Michael Albinus <michael.albinus@gmx.de>
6410
6411 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6412 Release services only if they are defined. (Bug#9581)
6413
e08b633b
RS
64142011-09-23 Richard Stallman <rms@gnu.org>
6415
e488d29c
RS
6416 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6417 distinguish start of paragraph from start of its text.
6418
19c38752
RS
6419 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6420
e08b633b
RS
6421 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6422 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6423 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6424
0a39f27e
AS
64252011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6426
6427 * international/mule-diag.el (mule-diag): Insert a newline after
6428 each fontset description.
6429
db4e950d
SM
64302011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6431
6432 * simple.el (delete-trailing-whitespace):
6433 Document last change; simplify.
6434
eca3f3ea
PW
64352011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6436
d68e189a
PW
6437 * simple.el (delete-trailing-whitespace): Also delete
6438 extra newlines at the end of the buffer.
6439
eca3f3ea
PW
6440 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6441 (picture-newline): Use forward-line so as to ignore fields.
6442
01c157cc
SM
64432011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6444
6445 * subr.el (with-wrapper-hook): Fix edebug spec.
6446
022de23e
LMI
64472011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6448
6449 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6450 (bug#4538).
6451
91683089
MA
64522011-09-23 Michael Albinus <michael.albinus@gmx.de>
6453
eca3f3ea
PW
6454 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6455 Fix nasty bug using wrong cached values.
91683089 6456
5bdd6fa4
AM
64572011-09-23 Alan Mackenzie <acm@muc.de>
6458
6459 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6460
97adfb97
CY
64612011-09-23 Chong Yidong <cyd@stupidchicken.com>
6462
6463 * window.el (pop-to-buffer): Ensure right window is selected if we
6464 chose another frame.
6465
d4ef2b50
EZ
64662011-09-22 Eli Zaretskii <eliz@gnu.org>
6467
6468 * simple.el (what-cursor-position): Use get-char-property-change
6469 and next-single-char-property-change, to be able to show display
6470 properties that come from overlays as well as text properties.
6471
72258fe5
CY
64722011-09-22 Chong Yidong <cyd@stupidchicken.com>
6473
6474 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6475
6476 * cmuscheme.el (run-scheme, switch-to-scheme):
6477 * cus-edit.el (customize-group, custom-buffer-create)
6478 (customize-browse):
6479 * info.el (info):
6480 * shell.el (shell):
6481 * mail/sendmail.el (mail):
6482 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6483
8f098516
RS
64842011-09-22 Richard Stallman <rms@gnu.org>
6485
6486 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6487 move back only to line beg, don't move back over blank lines.
6488
e74f1bb6
MA
64892011-09-22 Michael Albinus <michael.albinus@gmx.de>
6490
6491 * files.el (copy-directory): Set directory attributes only in case
6492 they could be retrieved from the source directory. (Bug#9565)
6493
bfeef8b6
DK
64942011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6495
6496 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6497 (hs-find-block-beginning, hs-hide-level-recursive):
6498 Ignore strings as well as comments. (Bug#9502)
6499
7e423bb8
AS
65002011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6501
6502 * progmodes/sql.el (sql-comint-postgres):
6503 Convert port number to a string. (Bug#9566)
6504
b4d72fcf
MR
65052011-09-22 Martin Rudalics <rudalics@gmx.at>
6506
6507 * window.el (quit-window): Undedicate window when switching to
6508 previous buffer. Reported by Thierry Volpiatto
6509 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6510 (special-display-popup-frame): When popping up a new frame reset
6511 its previous buffers to nil. Simplify code.
b4d72fcf 6512
a7b88dc6
MA
65132011-09-21 Michael Albinus <michael.albinus@gmx.de>
6514
6515 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6516 and process filter, as done also in `shell-command'.
6517
cf4eacfd
MR
65182011-09-21 Martin Rudalics <rudalics@gmx.at>
6519
eca3f3ea 6520 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6521 Call set-window-start with NOFORCE argument t.
6522 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6523 (quit-window): Reword doc-string. Handle new format of
6524 quit-restore parameter. Don't delete window if it has a
6525 previous buffer we can show instead of the present one.
6526 (display-buffer-record-window): Rewrite using a new format for
6527 the quit-restore window parameter
6528 (special-display-popup-frame, display-buffer-same-window)
6529 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6530 (display-buffer-pop-up-window, display-buffer-use-some-window):
6531 Adapt symbol passed to display-buffer-record-window.
6532 * help.el (help-window-setup): Handle new format of quit-restore
6533 parameter.
6534
8d28cb95
SM
65352011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6536
94ab793f
SM
6537 * faces.el (face-list): Fix docstring (bug#9564).
6538
8d28cb95
SM
6539 * window.el (display-buffer--action-function-custom-type):
6540 Don't include internal functions in the Custom interface.
6541
3820edeb
JL
65422011-09-20 Juri Linkov <juri@jurta.org>
6543
6544 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6545 (Info-forward-node, Info-backward-node, Info-next-preorder)
6546 (Info-last-preorder): Use it. (Bug#9528)
6547
5147931d
JL
65482011-09-20 Juri Linkov <juri@jurta.org>
6549
6550 * info.el (Info-last-preorder): Visit last menu item only when
6551 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6552
cf499a1a
JD
65532011-09-20 Julien Danjou <julien@danjou.info>
6554
6555 * password-cache.el (password-cache-remove): Remove entries even if the
6556 value is nil, so that password with a nil value (negative caching) is
6557 possible to invalidate.
6558
f84e2fe2
LM
65592011-09-20 Lawrence Mitchell <wence@gmx.li>
6560
6561 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6562 all whitespace around breakpoint. (Bug#9553)
6563 (f90-find-breakpoint): Only break at whitespace inside a comment.
6564
78054a46
SM
65652011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6566
6567 * minibuffer.el (completion-file-name-table): Keep track of errors.
6568 (completion-table-with-predicate): Handle the case where pred1 is nil.
6569 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6570
345083b2
SM
65712011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6572
e24e27be
SM
6573 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6574 (debugger-return-value): Signal an error if the debugging context does
6575 not await any return value.
6576
345083b2
SM
6577 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6578 * image-mode.el (image-toggle-display-text)
6579 (image-toggle-display-image): Stay away from evil `intangible'.
6580
08d355e3
LL
65812011-09-19 Leo Liu <sdl.web@gmail.com>
6582
6583 * replace.el (occur-revert-arguments): Make it permanent-local.
6584 (occur-mode): Don't call font-lock-defontify.
6585
f01da43f
CY
65862011-09-19 Chong Yidong <cyd@stupidchicken.com>
6587
6588 * net/ldap.el (ldap-search-internal): Don't push empty search
6589 result (Bug#9508).
6590
b6072fa6
SM
65912011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6592
6593 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6594
443d6696
MA
65952011-09-19 Michael Albinus <michael.albinus@gmx.de>
6596
6597 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6598 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6599
7cc6e154
JL
66002011-09-18 Juri Linkov <juri@jurta.org>
6601
6602 * buff-menu.el (Buffer-menu-mode-map):
6603 * dired.el (dired-mode-map):
6604 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6605 (lisp-interaction-mode-map):
6606 * emacs-lisp/package.el (package-menu-mode-map):
6607 * epa.el (epa-key-list-mode-map):
6608 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6609 (menu-bar-options-menu):
6610 * outline.el (outline-mode-menu-bar-map):
6611 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6612 * vc/vc-dir.el (vc-dir-menu-map):
6613 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6614 Capitalize non-function content words in menu item strings.
6615
6616 * dired.el (dired-mode-map): Add menu item for
6617 `image-dired-dired-toggle-marked-thumbs'.
6618
80302a81
JL
66192011-09-18 Juri Linkov <juri@jurta.org>
6620
6621 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6622 to `isearch-case-fold-search' and restore its original value
6623 after the `isearch-mode' call.
6624
46c5cf66
JL
66252011-09-18 Juri Linkov <juri@jurta.org>
6626
6627 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6628 because `zgrep' returns 1 for successful matches (bug#9226).
6629
d18b513b
JL
66302011-09-18 Juri Linkov <juri@jurta.org>
6631
6632 * info.el (Info-extract-menu-node-name): Check the second match
6633 for empty string (second test-case of bug#9528).
6634 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6635 intermediate nodes to the history (first test-case of bug#9528).
6636
72753f87
JL
66372011-09-18 Juri Linkov <juri@jurta.org>
6638
6639 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6640 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6641
c9384295
JL
66422011-09-18 Juri Linkov <juri@jurta.org>
6643
1154d12e
JB
6644 * info.el (Info-file-supports-index-cookies):
6645 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6646 outputs one more line for long file names (bug#4142).
c9384295 6647
d473dce8
CY
66482011-09-18 Chong Yidong <cyd@stupidchicken.com>
6649
6650 * newcomment.el (comment-normalize-vars): If prompting for
6651 comment-start, set comment-start-skip too (Bug#8424).
6652
2176854d
JB
66532011-09-18 Johan Bockgård <bojohan@gnu.org>
6654
6655 * icomplete.el: Fix previous fix of Bug#5849.
6656 (icomplete-mode): Don't set completion-show-inline-help.
6657 (icomplete-minibuffer-setup): Set completion-show-inline-help
6658 locally during icompletion.
6659
3aace4e4
CY
66602011-09-18 Chong Yidong <cyd@stupidchicken.com>
6661
c940224f
CY
6662 * woman.el (woman2-process-escapes): Don't delete unrecognized
6663 escapes (Bug#7843).
6664
3aace4e4
CY
6665 * files.el (inhibit-first-line-modes-regexps): Add image files.
6666 (hack-local-variables-prop-line): Return nil for malformed
6667 prop-lines (Bug#9044).
6668
710dec63
MA
66692011-09-18 Michael Albinus <michael.albinus@gmx.de>
6670
6671 * net/tramp.el (top): Don't require 'shell.
6672 (tramp-methods): Fix docstring.
6673 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6674 Return complete remote file name. Handle "smb" case.
6675 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6676 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6677
6678 * net/tramp-compat.el (top): Require 'shell.
6679
6680 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6681 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6682 `tramp-current-host'.
6683 (tramp-get-remote-tmpdir): Remove.
6684
6685 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6686 `tramp-tmpdir' entries.
6687 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6688 (tramp-smb-handle-file-attributes): Ignore errors.
6689 (tramp-smb-wait-for-output): Check also for process end.
6690
5d5ac8ec
LMI
66912011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6692
6693 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6694 when sending QUIT (bug#9312).
6695
8c0f49f0
CY
66962011-09-17 Chong Yidong <cyd@stupidchicken.com>
6697
6698 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6699 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6700 occur-mode-display-occurrence.
6701 (occur-edit-mode): Add usage message.
6702 (occur-cease-edit): New command.
6703 (occur-after-change-function): Use text properties to find the
6704 position of the prefix text.
6705 (occur-engine): Set stickiness of prefix text properties.
6706
8f1383f7
GM
67072011-09-17 Glenn Morris <rgm@gnu.org>
6708
6709 * progmodes/etags.el (complete-tag):
6710 Fix call to completion-in-region. (Bug#9526)
6711
744ba0e3
JL
67122011-09-17 Juri Linkov <juri@jurta.org>
6713
6714 * textmodes/ispell.el (ispell-word): Add to the error message
6715 the word, ispell program name and current dictionary (bug#9121).
6716 (ispell-tex-arg-end): Capitalize "error" in the error message.
6717
d9bbf400
AS
67182011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6719
6720 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6721 check. (Bug#4251)
6722
8da11505
JL
67232011-09-17 Juri Linkov <juri@jurta.org>
6724
6725 * window.el (window-safe-min-height, window-safe-min-width):
6726 Fix typos (followup to bug#9522).
6727
a91adc7e
SJ
67282011-09-17 Sven Joachim <svenjoac@gmx.de>
6729
6730 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6731
064f328a
EZ
67322011-09-16 Eli Zaretskii <eliz@gnu.org>
6733
6734 * simple.el (line-move): If goal-column is set, move by logical
6735 lines, not by display lines. (Bug#971)
6736 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6737 to reflect the above change.
6738
e69df516
SM
67392011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6740
6741 * image.el (imagemagick-register-types): Use regexp-opt.
6742
cbb0f9ab
CY
67432011-09-15 Chong Yidong <cyd@stupidchicken.com>
6744
6745 * window.el (display-buffer-base-action): Rename from
6746 display-buffer-default-action. Make default value empty.
6747 (display-buffer-overriding-action): Convert to defvar.
6748 (display-buffer-fallback-action): New var.
6749
25322144
CY
67502011-09-15 Chong Yidong <cyd@stupidchicken.com>
6751
6752 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6753 declaration.
6754 (package--add-to-archive-contents): If there is a duplicate entry
6755 with an older version, remove it.
6756 (package-menu-mark-delete, package-menu-mark-install)
6757 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6758 (package-menu-mark-obsolete-for-deletion):
6759 Use package-menu-get-status instead of a regexp search.
25322144
CY
6760 (package-menu-get-status): Use tabulated-list-entry.
6761 (package-menu-mark-upgrades): New command.
d770725a 6762 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6763 (package-menu-execute): Do installation before deletion.
6764 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6765 instead of checking major-mode.
6766 (package-menu--find-upgrades): New function.
6767
7520339c
LMI
67682011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6769
6770 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6771 passwords in the log buffer.
65a046c4
LMI
6772 (smtpmail-process-filter): Update the process marker so that the
6773 "broken by peer" status message is inserted in the right place.
7520339c 6774
d3c30954
SM
67752011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6776
3fe48822
SM
6777 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6778 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6779 bibtex-completion-at-point-function.
6780 (bibtex-completion-at-point-function): Use them.
6781
1b8b3954
SM
6782 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6783
d3c30954
SM
6784 * mpc.el (mpc-constraints-tag-lookup): New function.
6785 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6786 also to browser "album|playlist".
6787
72779976
JL
67882011-09-14 Juri Linkov <juri@jurta.org>
6789
6790 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6791 (isearch-edit-string): Use length of `isearch-string' when
6792 `isearch-fail-pos' returns nil.
6793 (isearch-message): Remove duplicate code and call
6794 `isearch-fail-pos' with arg `t'.
6795
a0bf2bcd
CY
67962011-09-14 Chong Yidong <cyd@stupidchicken.com>
6797
17bb0a2d
CY
6798 * replace.el (occur-mode-goto-occurrence): Don't force using other
6799 window (Bug#9499).
6800
a0bf2bcd
CY
6801 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6802
f678e0b6
MR
68032011-09-14 Martin Rudalics <rudalics@gmx.at>
6804
6805 * window.el (display-buffer-window): Remove.
6806 (display-buffer-record-window): Use help-setup window parameter
6807 instead of variable display-buffer-window.
6808 (display-buffer-function, special-display-buffer-names)
6809 (special-display-function): Mention help-setup parameter instead
6810 of display-buffer-window in doc-string.
d3c30954
SM
6811 * help.el (help-window-setup): New argument help-window.
6812 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6813 Reword some messages.
6814 (with-help-window): Pass window used for displaying the buffer
6815 to help-window-setup. Don't set display-buffer-window.
6816
8e39b2e8
GM
68172011-09-13 Glenn Morris <rgm@gnu.org>
6818
6819 * emacs-lisp/debug.el (debugger-make-xrefs):
6820 Preserve point. (Bug#9462)
6821
85e9c04b
CY
68222011-09-13 Chong Yidong <cyd@stupidchicken.com>
6823
6824 * window.el (window-deletable-p): Use next-frame.
6825
1b36ed6a
MR
68262011-09-13 Martin Rudalics <rudalics@gmx.at>
6827
6828 * window.el (window-auto-delete): Remove.
6829 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6830 dedication and previous buffers.
1b36ed6a
MR
6831 (switch-to-prev-buffer): Don't delete window.
6832 (delete-windows-on): Delete a window's frame if and only if the
6833 window is dedicated.
6834 (replace-buffer-in-windows): Delete buffer's window or frame if
6835 and only if window is dedicated.
6836 (quit-window): Handle quit-restore as before last change.
4d61f28d 6837 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6838
ef8ef9fb
CY
68392011-09-13 Chong Yidong <cyd@stupidchicken.com>
6840
6841 * window.el (window-deletable-p): Never delete the last frame on a
6842 given terminal.
6843
b2cba41e
GM
68442011-09-13 Glenn Morris <rgm@gnu.org>
6845
6846 * help.el (describe-key-briefly): Copy previous standard-output change.
6847
51553db6 68482011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6849
6850 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6851
b7556719
GM
68522011-09-13 Glenn Morris <rgm@gnu.org>
6853
6854 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6855 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6856
64b51947
CY
68572011-09-12 Chong Yidong <cyd@stupidchicken.com>
6858
6859 * dired-aux.el (dired-mark-read-string): Don't return default
6860 value on empty input (Bug#9361).
6861 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6862 Omit initial minibuffer contents.
6863 (dired-do-chmod): Signal an error on empty input.
6864 (dired-mark-read-string): Don't return default on empty input.
6865
6866 * files.el (file-modes-symbolic-to-number): Doc fix.
6867
393a301e
SM
68682011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6869
6870 * international/mule-cmds.el (ucs-completions): Remove.
6871 (read-char-by-name): Use complete-with-action instead; add metadata.
6872
fa5660f9
CY
68732011-09-11 Chong Yidong <cyd@stupidchicken.com>
6874
6875 * window.el (display-buffer--action-function-custom-type)
6876 (display-buffer--action-custom-type): New vars.
6877 (display-buffer-alist, display-buffer-default-action)
6878 (display-buffer-overriding-action): Add defcustom types.
6879
4a592f66
CY
6880 * frame.el (delete-other-frames): Doc fix (Bug#276).
6881
73d56dbd
LMI
68822011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6883
6884 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6885
37ac18a3
CY
68862011-09-11 Chong Yidong <cyd@stupidchicken.com>
6887
6888 Change modes that used same-window-* vars to use switch-to-buffer.
6889
6890 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6891 Use switch-to-buffer.
6892
6893 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6894 (customize-browse, custom-buffer-create-other-window):
6895 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6896
6897 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6898 (Info-prev, Info-up, Info-speedbar-goto-node)
6899 (info-display-manual): Use switch-to-buffer.
6900 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6901
6902 * mail/sendmail.el (mail): Use switch-to-buffer.
6903 (mail-recover): Use switch-to-buffer-other-window.
6904
6905 * cmuscheme.el (run-scheme, switch-to-scheme):
6906 * ielm.el (ielm):
6907 * shell.el (shell):
6908 * net/rlogin.el (rlogin):
6909 * net/telnet.el (telnet, rsh):
6910 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6911
10195bd6
AS
69122011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6913
6914 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6915
b322f63a
LMI
69162011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6917
39d7fed6
LMI
6918 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6919 so don't mention it (bug#9301).
ba5a81f1 6920 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6921
ee0e9f11
LMI
6922 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6923 match `x', `w32' and `ns', like the manual says (bug#9029).
6924
0b1c89c1 6925 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6926 (process-kill-buffer-query-function): Mention the buffer name in
6927 the query.
0b1c89c1 6928
77549ea8
LMI
6929 * image-mode.el (image-next-line): The line parameter is mandatory
6930 (bug#9258).
6931
803ef892
LMI
6932 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6933 which can be useful (bug#9301).
6934
12980837
LMI
6935 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6936
91054f8f
LMI
6937 * subr.el (match-string): Mention that the current buffer should
6938 be the same as the search was done in (bug#9282).
6939
b322f63a
LMI
6940 * facemenu.el: Disable the remove-* commands if the mark isn't
6941 active (bug#9162).
6942
3199b96f
CY
69432011-09-10 Chong Yidong <cyd@stupidchicken.com>
6944
6945 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6946 of display-buffer.
6947 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6948
6949 * replace.el (occur-mode-goto-occurrence)
6950 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6951 and display-buffer.
6952
6953 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6954 display-buffer.
6955
6956 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6957 special-display and same-window variables.
6958 (mail-other-window): Use switch-to-buffer-other-window.
6959 (mail-other-frame): USe switch-to-buffer-other-frame.
6960
393a301e
SM
6961 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6962 Use display-buffer-other-frame.
3199b96f
CY
6963 (gdb-display-gdb-buffer): Use pop-to-buffer.
6964
6965 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6966
6967 * progmodes/python.el: Don't set same-window-buffer-names.
6968
6969 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6970
6971 * window.el (display-buffer-alist): Add *Python*.
6972
8319e0bf
CY
69732011-09-10 Chong Yidong <cyd@stupidchicken.com>
6974
6975 * window.el (display-buffer-alist): Add entry for buffers
6976 previously handled same-window-*.
6977 (display-buffer-alist, display-buffer-default-action)
6978 (display-buffer-overriding-action): Mark as risky.
6979 (display-buffer-alist): Document action function changes.
6980 (display-buffer--same-window-action)
6981 (display-buffer--other-frame-action): New variables.
6982 (switch-to-buffer, display-buffer-other-frame): Use them.
6983 (display-buffer): Rename reuse-frame entry to reusable-frames.
6984 (display-buffer-reuse-selected-window): Function deleted.
6985 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6986 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6987 (display-buffer-special): New function.
6988 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6989 display-buffer-reuse-or-pop-window. Split off special-display
6990 part into display-buffer-special.
6991 (display-buffer-use-some-window): Don't perform any special
6992 pop-up-frames handling.
6993 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 6994 (display-buffer--maybe-same-window): Rename from
0d3ff375 6995 display-buffer-maybe-same-window.
8319e0bf 6996
919a69aa
CY
6997 * info.el: Don't set same-window-regexps.
6998 (info-setup): New function.
6999 (info-other-window, info): Call it.
7000
7001 * cus-edit.el: Don't set same-window-regexps.
7002 (customize-group): New argument.
7003 (customize-group-other-window): Use it.
7004 (customize-face, customize-face-other-window): Likewise.
7005 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7006
8319e0bf
CY
7007 * net/rlogin.el:
7008 * net/telnet.el:
7009 * progmodes/gud.el: Don't set same-window-regexps.
7010
7011 * cmuscheme.el:
7012 * ielm.el:
7013 * shell.el:
7014 * mail/sendmail.el:
7015 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7016
25173000
JL
70172011-09-10 Juri Linkov <juri@jurta.org>
7018
7019 * isearch.el (isearch-edit-string): Remove obsolete mention of
7020 `C-w' (`isearch-yank-word-or-char') from docstring.
7021 (isearch-query-replace): Fix typo in docstring (bug#9466).
7022
056e44ef
JL
70232011-09-10 Juri Linkov <juri@jurta.org>
7024
7025 * paren.el (show-paren-function): Don't show escaped parens.
7026 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7027
c3760c17
EZ
70282011-09-10 Eli Zaretskii <eliz@gnu.org>
7029
7030 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7031 (mm-default-file-encoding): Remove autoload forms, they are
7032 replaced with autoload cookies in mml.el and mm-encode.el.
7033 (mail-add-attachment): New command.
7034 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7035 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7036 the doc string.
7037 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7038
fece895e
RT
70392011-09-10 Reuben Thomas <rrt@sc3d.org>
7040
e69df516
SM
7041 * simple.el (count-words-region): Use buffer if there's no region
7042 (bug#9429).
fece895e 7043
5e68ce4a
JL
70442011-09-09 Juri Linkov <juri@jurta.org>
7045
7046 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7047 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7048 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7049
0a6b9622
AM
70502011-09-09 Alan Mackenzie <acm@muc.de>
7051
7052 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7053 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7054
14a29deb
EZ
70552011-09-09 Eli Zaretskii <eliz@gnu.org>
7056
7057 Fix for Savannah bug#9392.
7058 * simple.el (mail-encode-mml): New defvar.
7059
7060 * mail/rmail.el (mail-encode-mml): Add a defvar.
7061 (rmail-enable-mime-composing): Default to t.
7062 (rmail-forward): Use MIME method of forwarding only if both
7063 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7064 Set mail-encode-mml non-nil if the MIME method was used.
7065
7066 * mail/sendmail.el (mml-to-mime): Add autoload form.
7067 (mail-encode-mml): Add a defvar.
7068 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7069 to nil.
7070 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7071 message through mml-to-mime, and reset mail-encode-mml to nil.
7072
28c45130
GM
70732011-09-09 Glenn Morris <rgm@gnu.org>
7074
7075 * woman.el (woman-if-body): When processing an .el block,
7076 do not delete the next .el block as well. (Bug#9447)
69f4b618 7077 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7078
9b1c252e
MR
70792011-09-08 Martin Rudalics <rudalics@gmx.at>
7080
7081 * window.el (window-deletable-p): Make sure window is live before
7082 invoking window-prev-buffers.
7083
567457e3
LL
70842011-09-08 Leo Liu <sdl.web@gmail.com>
7085
7086 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7087
97f05794
JL
70882011-09-08 Juri Linkov <juri@jurta.org>
7089
7090 * progmodes/compile.el (compilation-environment): Make it
7091 a defcustom (bug#8340).
7092
8b0874b5
MR
70932011-09-08 Martin Rudalics <rudalics@gmx.at>
7094
7095 * window.el (frame-auto-delete): Rename to window-auto-delete.
7096 Make it control auto-deletion of windows and/or frames.
7097 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7098 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7099 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7100 Rewrite handling of case when window/frame can be deleted.
7101 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7102 argument t. (Bug#9456)
8b0874b5 7103
4feb6e73
CY
71042011-09-07 Chong Yidong <cyd@stupidchicken.com>
7105
7106 * help-mode.el (help-mode): Restore autoload.
7107
91ab9c13
JL
71082011-09-07 Juri Linkov <juri@jurta.org>
7109
7110 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7111 `compilation-environment'. Set buffer-local
7112 `compilation-environment' to `thisenv' later after (funcall mode).
7113 (Bug#8340)
7114
7115 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7116 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7117 instead of replacing its value. (Bug#8340)
7118
0527e251
JL
71192011-09-07 Juri Linkov <juri@jurta.org>
7120
7121 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7122 based on text properties put by `grep-filter' instead of matching
7123 escape sequences.
7124 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7125 to the value of `grep-error-screen-columns' (bug#9438).
7126
249f792c
JL
71272011-09-07 Juri Linkov <juri@jurta.org>
7128
7129 * simple.el (next-error-highlight, next-error-highlight-no-select):
7130 Doc fix (bug#9432).
7131
ff7271b9
OT
71322011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7133
7134 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7135 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7136
183fc730
LL
71372011-09-07 Leo Liu <sdl.web@gmail.com>
7138
7139 * net/rcirc.el (rcirc-mode): Conditionally initialize
7140 rcirc-input-ring.
7141
77694924
SM
71422011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7143
7144 * emacs-lisp/find-func.el (find-function-C-source): Only set
7145 find-function-C-source-directory after checking that we found a source
7146 file there (bug#9440).
7147
d809b8eb
AM
71482011-09-06 Alan Mackenzie <acm@muc.de>
7149
7150 * isearch.el (isearch-other-meta-char): Wherever a key list is
7151 unread, "unread" the prefix arg, too. This fixes bug #8901.
7152
453de99f
OG
71532011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7154
7155 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7156
90439906
JL
71572011-09-05 Juri Linkov <juri@jurta.org>
7158
7159 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7160
f62bd846
JL
71612011-09-05 Juri Linkov <juri@jurta.org>
7162
7163 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7164 keeping point where processing of grep matches begins, and
7165 continue to delete remaining escape sequences from the same point.
7166 (grep-filter): Make leading zero optional in "0?1;31m" because
7167 git-grep emits "\033[1;31m" escape sequences unlike expected
7168 "\033[01;31m" as GNU Grep does (bug#9408).
7169 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7170
045820ec
JL
71712011-09-05 Juri Linkov <juri@jurta.org>
7172
7173 * subr.el (y-or-n-p): Capitalize "yes".
7174
f5e29b9b
MA
71752011-09-04 Michael Albinus <michael.albinus@gmx.de>
7176
7177 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7178 `tramp-cache-unload-hook' where appropriate.
7179 (tramp-methods): Rename `tramp-remote-sh' to
7180 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7181 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7182
7183 * net/tramp-sh.el (top): Don't require 'shell.
7184 (tramp-methods): Add `tramp-remote-shell' and
7185 `tramp-remote-shell-args' entries.
7186 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7187 (tramp-sh-handle-shell-command): Remove.
7188 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7189 Use `tramp-remote-shell'.
7190
2784c434
CY
71912011-09-03 Chong Yidong <cyd@stupidchicken.com>
7192
393a301e 7193 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
7194 (sendmail-query-once): Save directly to send-mail-function.
7195 Update message-send-mail-function too.
7196
7197 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7198
464cdf56
CS
71992011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7200
7201 * progmodes/python.el (python-mode-map): Use correct function to
7202 start python interpreter from menu-bar (as reported by Geert
7203 Kloosterman).
7204 (inferior-python-mode-map): Fix typo.
393a301e 7205 (python-shell-map): Remove.
464cdf56 7206
d37e5c87
DD
72072011-09-03 Deniz Dogan <deniz@dogan.se>
7208
7209 * net/rcirc.el (rcirc-print): Simplify code for
7210 rcirc-scroll-show-maximum-output. There is no need to walk
7211 through all windows to find the right one.
7212
f3ada0ee
CS
72132011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7214
7215 * help.el (help-return-method): Doc fix.
7216
1f3c99ca
MR
72172011-09-03 Martin Rudalics <rudalics@gmx.at>
7218
7219 * window.el (window-deletable-p): Don't return a non-nil value
7220 when there's a buffer that was shown in the window before.
7221 (Bug#9419)
393a301e
SM
7222 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7223 Set window's previous buffers to nil.
1f3c99ca 7224
a3cf097f
EZ
72252011-09-03 Eli Zaretskii <eliz@gnu.org>
7226
7227 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7228 newline before and after the tag line, so it doesn't interfere
7229 with determining the paragraph direction of bidirectional text.
7230
3d03de90
LL
72312011-09-03 Leo Liu <sdl.web@gmail.com>
7232
7233 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7234
c3313451
CY
72352011-09-02 Chong Yidong <cyd@stupidchicken.com>
7236
393a301e 7237 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
7238 (pop-to-buffer): Change interactive spec. Pass second argument
7239 directly to display-buffer.
7240 (display-buffer): Fix interactive spec. Use functionp to
7241 distinguish between a function and a list of functions.
7242
7243 * abbrev.el (edit-abbrevs):
7244 * arc-mode.el (archive-extract):
7245 * autoinsert.el (auto-insert):
7246 * bookmark.el (bookmark-bmenu-list):
7247 * files.el (find-file):
7248 * view.el (view-buffer):
7249 * progmodes/compile.el (compilation-goto-locus):
7250 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7251
89894cd8
CY
72522011-09-02 Chong Yidong <cyd@stupidchicken.com>
7253
7254 * window.el (display-buffer-alist): Doc fix.
7255 (display-buffer): Add docstring. Don't treat
7256 display-buffer-default specially.
7257 (display-buffer-reuse-selected-window)
7258 (display-buffer-same-window, display-buffer-maybe-same-window)
7259 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7260 (display-buffer-pop-up-window)
7261 (display-buffer-reuse-or-pop-window)
7262 (display-buffer-use-some-window): New functions.
7263 (display-buffer-default-action): Use them.
393a301e 7264 (display-buffer-default): Delete.
89894cd8
CY
7265 (pop-to-buffer-1): Fix choice of actions.
7266
ae0bc9fb
SM
72672011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7268
7269 * minibuffer.el (completion--insert-strings): Don't get confused by
7270 completion entries that end with an LF char.
7271
e9d90883
EZ
72722011-09-01 Eli Zaretskii <eliz@gnu.org>
7273
7274 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7275
437014c8
CY
72762011-09-01 Chong Yidong <cyd@stupidchicken.com>
7277
7278 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
7279 (display-buffer-same-window, display-buffer-other-window):
7280 New functions.
437014c8
CY
7281 (pop-to-buffer-1): New function. Use the above.
7282 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 7283 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
7284
7285 * view.el (view-buffer-other-window, view-buffer-other-frame):
7286 Just use pop-to-buffer.
7287
a5e063d5
TV
72882011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7289
7290 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7291
793d32bb
WH
72922011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7293
7294 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7295
d65e4c15
RS
72962011-08-31 Richard Stallman <rms@gnu.org>
7297
7298 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7299 of the separation of rmail-view-buffer from rmail-buffer.
7300 If you say no to "replace original", the decrypt is in the
7301 view buffer. If you say yes, the decrypt goes into the
7302 rmail buffer also.
7303
f818cd2a
MR
73042011-08-31 Martin Rudalics <rudalics@gmx.at>
7305
7306 * window.el (display-buffer-window): Rewrite doc-string.
7307 (display-buffer-record-window): New function.
7308 (display-buffer-macro-specifiers)
7309 (display-buffer-even-window-sizes, display-buffer-set-height)
7310 (display-buffer-set-width, display-buffer-in-window)
7311 (display-buffer-reuse-window, display-buffer-split-specifiers)
7312 (display-buffer-side-specifiers, display-buffer-split-window-1)
7313 (display-buffer-split-window, display-buffer-split-atom-window)
7314 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7315 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7316 (display-buffer-other-window-means-other-frame)
7317 (display-buffer-normalize-special)
7318 (display-buffer-normalize-default)
7319 (display-buffer-normalize-argument)
7320 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7321 (display-buffer-normalize-specifiers, display-buffer-frame)
7322 (display-buffer-same-window, display-buffer-same-frame)
7323 (display-buffer-other-window)
7324 (display-buffer-same-frame-other-window)
7325 (display-buffer-other-frame, pop-to-buffer-same-window)
7326 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7327 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7328 (switch-to-buffer-same-frame)
7329 (switch-to-buffer-other-window-same-frame)
7330 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7331 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7332 (display-buffer-alist-set): Remove.
7333 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7334 (special-display-regexps, special-display-function):
7335 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7336 parameter.
7337 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7338 (special-display-frame-alist, special-display-popup-frame)
7339 (same-window-buffer-names, same-window-regexps, same-window-p)
7340 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7341 (split-window-preferred-function, split-height-threshold)
7342 (split-width-threshold, window-splittable-p)
7343 (split-window-sensibly, window--try-to-split-window)
7344 (window--frame-usable-p, even-window-heights)
7345 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7346 (window--display-buffer-2, display-buffer-other-frame):
7347 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7348 (display-buffer-default, display-buffer-assq-regexp): New functions.
7349 (display-buffer-alist): Rewrite doc-string.
7350 (display-buffer-default-action)
7351 (display-buffer-overriding-action): New variables.
7352 (display-buffer, switch-to-buffer): Rewrite.
7353 (pop-to-buffer): Restore Emacs 23 behavior but use
7354 window-normalize-buffer-to-display.
7355 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7356 Restore Emacs 23 behavior but use
7357 window-normalize-buffer-to-switch-to.
7358 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7359 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7360 Rewrite using Emacs 23 options.
f818cd2a 7361
5bc3b51d
MA
73622011-08-31 Michael Albinus <michael.albinus@gmx.de>
7363
7364 * net/tramp.el (tramp-root-regexp): Remove.
7365 (tramp-completion-file-name-regexp-unified)
7366 (tramp-completion-file-name-regexp-separate)
7367 (tramp-completion-file-name-regexp-url): Don't use leading volume
7368 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7369 (tramp-drop-volume-letter): Simplify definition.
7370 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7371
b1a4f8e1
SM
73722011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7373
7374 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7375 (bug#9356).
7376
5664fa7b
RT
73772011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7378
b1a4f8e1 7379 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7380
9a45d6c3
JL
73812011-08-29 Juri Linkov <juri@jurta.org>
7382
7383 * isearch.el (isearch-done): Don't display message "Mark saved"
7384 when arg `edit' is non-nil to prevent its flicker in the echo area.
7385
fb87e0fb
CY
73862011-08-28 Chong Yidong <cyd@stupidchicken.com>
7387
7388 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7389 obsolete packages for deletion.
7390
09ac1c2a
CS
73912011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7392
7393 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7394 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7395 view-mode from help-mode.
7396 (help-xref-override-view-map): Remove.
7397 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7398 view-mode is not used anymore.
7399
7a1ff57f
CY
74002011-08-28 Chong Yidong <cyd@stupidchicken.com>
7401
7402 * server.el (server-port): Doc fix.
7403
b9696605
CY
7404 * cus-theme.el (custom-theme-choose-mode): Inherit from
7405 special-mode (Bug#9124).
7406 (custom-theme-choose-mode-map): Add special-mode to parent.
7407
ef8cdf8c
AM
74082011-08-28 Alan Mackenzie <acm@muc.de>
7409
7410 * progmodes/cc-fonts.el
7411 (c-make-font-lock-BO-decl-search-function): New function.
7412 (c-basic-matchers-after - "Fontify the clauses after various
7413 keywords"): Extract the three keyword lists for the 3 erroneous
7414 constructs from the list of four, and use the new function above
7415 in place of an old one.
7416
27de4e20
DD
74172011-08-28 Deniz Dogan <deniz@dogan.se>
7418
7419 * net/rcirc.el (rcirc-insert-prev-input)
7420 (rcirc-insert-next-input): Remove unused argument.
7421
356a3681
SM
74222011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7423
7424 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7425
3fc9b218
AM
74262011-08-27 Alan Mackenzie <acm@muc.de>
7427
7428 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7429 handle function pointer parameters properly.
7430
538a061c
MR
74312011-08-27 Martin Rudalics <rudalics@gmx.at>
7432
7433 * window.el (display-buffer-reuse-window): Fix case where
7434 selected window was reused with non-nil OTHER-WINDOW argument.
7435 (Bug#9381)
7436
35b1c40c
DD
74372011-08-27 Deniz Dogan <deniz@dogan.se>
7438
7439 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7440 oftc's NickServ messages.
7441
2f6a3e79
GM
74422011-08-27 Glenn Morris <rgm@gnu.org>
7443
7444 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7445
7254299e
CY
74462011-08-26 Chong Yidong <cyd@stupidchicken.com>
7447
7448 * emacs-lisp/package.el (package-install): Call package-initialize
7449 if called interactively.
7450
f8ccf167
LL
74512011-08-26 Leo Liu <sdl.web@gmail.com>
7452
7453 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7454
3e8cd5ce
JL
74552011-08-25 Juri Linkov <juri@jurta.org>
7456
7457 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7458 `search-whitespace-regexp' (bug#9364).
7459
93eb7113
JL
74602011-08-25 Juri Linkov <juri@jurta.org>
7461
7462 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7463 `regexp-search-ring' to their global values to protect from
7464 updating by `read-from-minibuffer' (bug#9185).
7465
f65d1611
JL
74662011-08-25 Juri Linkov <juri@jurta.org>
7467
7468 * textmodes/ispell.el (ispell-command-loop): Add newline
7469 at the end of the "Use option `i'..." line.
7470
f1cf7a31
JL
74712011-08-25 Juri Linkov <juri@jurta.org>
7472
7473 * battery.el (display-battery-mode): If `battery-status-function'
7474 or `battery-mode-line-format' is nil, display the message and set
7475 `display-battery-mode' to nil (bug#9363).
7476
0c95fcf7
EZ
74772011-08-25 Eli Zaretskii <eliz@gnu.org>
7478
7479 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7480 bidi-string-mark-left-to-right; they are unnecessary now.
7481
a2ebe600
DD
74822011-08-25 Deniz Dogan <deniz@dogan.se>
7483
7484 * net/quickurl.el: Documentation typo fixes.
7485
e4ed06f1
CY
74862011-08-25 Chong Yidong <cyd@stupidchicken.com>
7487
7488 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7489
e5f1c99e
GM
74902011-08-25 Glenn Morris <rgm@gnu.org>
7491
b2948976
GM
7492 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7493
e5f1c99e
GM
7494 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7495 (smtpmail-via-smtp): Handle nil response from smtp.
7496
f22f4808
JL
74972011-08-24 Juri Linkov <juri@jurta.org>
7498
7499 * proced.el (proced-marked): Inherit from `error' instead of
7500 `font-lock-warning-face'.
7501
7502 * ibuffer.el (ibuffer-marked-face): Change default face from
7503 `font-lock-warning-face' to `warning'.
7504 (ibuffer-deletion-face): Change default face from
7505 `font-lock-type-face' to `error'.
7506
7507 * battery.el (battery-update): Use the face `error' instead of
7508 `font-lock-warning-face' (bug#6117).
7509
6a93965e
JL
75102011-08-24 Juri Linkov <juri@jurta.org>
7511
7512 * faces.el (success): Change face color from "Green3" to
7513 "ForestGreen" on light background (bug#9353).
7514
1ed43b09
CY
75152011-08-24 Chong Yidong <cyd@stupidchicken.com>
7516
5664fa7b
RT
7517 * window.el (quit-window): Rename from quit-restore-window.
7518 Use same arglist as old quit-window.
1ed43b09
CY
7519 (frame-auto-delete): Doc fix.
7520
7521 * view.el (view-mode-exit): Use quit-window.
7522
11dcdbb2
JL
75232011-08-24 Juri Linkov <juri@jurta.org>
7524
7525 * isearch.el (isearch-ring-adjust1): Start visiting previous
7526 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7527 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7528 for empty search string (when the last search string is reused
7529 automatically) to adjust the isearch ring to the last element and
7530 prepare the correct index for further M-p commands (bug#9185).
7531
de62b4df
KH
75322011-08-24 Kenichi Handa <handa@m17n.org>
7533
7534 * international/ucs-normalize.el: If decomposition property of
7535 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7536 nil.
7537 (nfd, nfkd): Likewise.
7538
963b492b
SM
75392011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7540
7541 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7542 from process filters aren't reliably transmitted to the surrounding
7543 accept-process-output.
7544 (mpc-proc-check): New function.
7545 (mpc-proc-sync): Use it (bug#8293)
7546
93b6b5e1
SM
75472011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7548
7549 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7550 Add compatibility functions (bug#9313).
7551
bca633fb
EZ
75522011-08-23 Eli Zaretskii <eliz@gnu.org>
7553
b177498a
EZ
7554 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7555
6df6ae42 7556 * international/uni-bidi.el: Regenerate.
bca633fb 7557
0902a04e
KH
75582011-08-23 Kenichi Handa <handa@m17n.org>
7559
7560 * international/charprop.el:
7561 * international/uni-bidi.el:
7562 * international/uni-category.el:
7563 * international/uni-combining.el:
7564 * international/uni-comment.el:
7565 * international/uni-decimal.el:
7566 * international/uni-decomposition.el:
7567 * international/uni-digit.el:
7568 * international/uni-lowercase.el:
7569 * international/uni-mirrored.el:
7570 * international/uni-name.el:
7571 * international/uni-numeric.el:
7572 * international/uni-old-name.el:
7573 * international/uni-titlecase.el:
7574 * international/uni-uppercase.el: Regenerate.
7575
3bbf23bc
MR
75762011-08-23 Martin Rudalics <rudalics@gmx.at>
7577
7578 * help.el (help-window-setup): Fix message displayed when other
7579 window is reused. (Bug#9341)
7580
b3fd59bd
SM
75812011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7582
1802e444
SM
7583 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7584 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7585
b3fd59bd
SM
7586 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7587 Mark obsolete.
7588 * shell.el (shell-parse-pcomplete-arguments): New function.
7589 (shell-completion-vars): Use it instead (bug#9160).
7590
4eb61348
SM
75912011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7592
867cab74
SM
7593 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7594 strings and comments (bug#9333).
7595
4eb61348
SM
7596 * emacs-lisp/debug.el (debug-arglist): New function.
7597 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7598 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7599
262a1439
JL
76002011-08-22 Juri Linkov <juri@jurta.org>
7601
56ee679c
JL
7602 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7603 Revert regexp that highlights output switches to its old
7604 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7605
262a1439
JL
7606 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7607 to check for empty output (bug#9226).
7608
f13f86fb
CY
76092011-08-22 Chong Yidong <cyd@stupidchicken.com>
7610
7611 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7612 symbol-constituent as the default, as that stops font-lock from
7613 working properly (Bug#8843).
7614
c65c9622
LMI
76152011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7616
7617 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7618 `coding-system-for-*' around the process open call to avoid
7619 auth-source side effects.
e7f2c178 7620 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7621 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7622 probe hangs.
c65c9622 7623
23a8a5ab
CY
76242011-08-21 Chong Yidong <cyd@stupidchicken.com>
7625
ff98b2dd
CY
7626 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7627
23a8a5ab
CY
7628 * emacs-lisp/find-func.el (find-function-noselect): New arg
7629 lisp-only.
7630
7631 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7632 signal an error for built-in functions (Bug#6664).
7633
f5e3c598
LMI
76342011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7635
7636 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7637 (smtpmail-try-auth-methods): Use it.
7638
a3f2468a
CY
76392011-08-21 Chong Yidong <cyd@stupidchicken.com>
7640
2c34e8da
CY
7641 * font-lock.el (font-lock-fontify-region)
7642 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7643 (font-lock-default-unfontify-buffer)
7644 (font-lock-default-fontify-region)
7645 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7646
b3fd59bd
SM
7647 * progmodes/compile.el (compilation-error-properties):
7648 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7649 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7650 `ant' regexp.
ee31aabc 7651
a3f2468a
CY
7652 * net/browse-url.el (browse-url-firefox): Don't call
7653 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7654
8e999f70
GM
76552011-08-20 Glenn Morris <rgm@gnu.org>
7656
c21a496a
GM
7657 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7658
59ee0542
GM
7659 * tutorial.el (tutorial--default-keys): Update some default bindings.
7660
8e999f70
GM
7661 * files.el (hack-local-variables): Fully ignore case for "mode:".
7662
e3715033
AM
76632011-08-20 Alan Mackenzie <acm@muc.de>
7664
7665 Resolve invalid use of a regexp in regexp-opt.
7666
4d61f28d
JB
7667 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7668 detection for a java annotation.
e3715033 7669
4d61f28d 7670 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7671 detection for a java annotation.
7672
4d61f28d
JB
7673 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7674 handling for java.
e3715033
AM
7675 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7676
04ed2e9c
CY
76772011-08-20 Chong Yidong <cyd@stupidchicken.com>
7678
7679 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7680 (Bug#9274).
7681
826cee64
AM
76822011-08-20 Alan Mackenzie <acm@muc.de>
7683
58179cce 7684 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7685 such a construct. Mainly for when jit-lock etc. starts a chunk
7686 here.
7687
58179cce 7688 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7689 variable.
58179cce 7690 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7691 c-make-font-lock-search-function.
7692 (c-make-font-lock-search-function): Use the above function.
7693 (c-make-font-lock-context-search-function): New function.
7694 (c-cpp-matchers): Enhance the preprocessor expression case with
7695 the above function
7696 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7697 which takes an expression.
7698
7699 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7700
13009bd8
MR
77012011-08-20 Martin Rudalics <rudalics@gmx.at>
7702
7703 * window.el (display-buffer-reuse-window)
7704 (display-buffer-pop-up-window): Don't reuse or split a side
7705 window.
7706
9234ff7f
GM
77072011-08-19 Glenn Morris <rgm@gnu.org>
7708
7709 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7710 Downcase "Mode:". (Bug#9331)
9234ff7f 7711
f635daa1
CY
77122011-08-18 Chong Yidong <cyd@stupidchicken.com>
7713
7714 * international/characters.el: Add L and R categories.
7715
7716 * subr.el (bidi-string-mark-left-to-right): Rename from
7717 string-mark-left-to-right. Use category search.
7718
7719 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7720
bc987f8b
JL
77212011-08-18 Juri Linkov <juri@jurta.org>
7722
7723 * faces.el (error, warning, success): New faces with definitions
7724 copied from old default values of `font-lock-warning-face',
7725 `compilation-warning', `compilation-info' (bug#6117).
7726
7727 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7728
7729 * progmodes/compile.el (compilation-error): Inherit from `error'.
7730 (compilation-warning): Inherit from `warning'.
7731 (compilation-info): Inherit from `success'.
7732
7733 * dired.el (dired-marked): Inherit from `warning'.
7734 (dired-flagged): Inherit from `error'.
7735
57173b96
LMI
77362011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7737
3e79eb87
LMI
7738 * mail/smtpmail.el (auth-source): Require to avoid problems with
7739 binding variables (bug#9298). Also clean up some unused
7740 autoloads.
7741
b3fd59bd
SM
7742 * net/network-stream.el (network-stream-open-starttls):
7743 Support using starttls.el without using gnutls-cli.
57173b96 7744
02b404de
JL
77452011-08-17 Juri Linkov <juri@jurta.org>
7746
7747 * progmodes/grep.el (rgrep): Handle the case when
7748 `grep-find-command' is a cons cell (bug#9278).
7749
8c9177f2
MR
77502011-08-17 Martin Rudalics <rudalics@gmx.at>
7751
7752 * window.el (display-buffer-pop-up-frame): Run frame creation
7753 function with BUFFER current (as special-display-popup-frame
7754 does). Reported by Drew Adams.
7755
3644a0ab
DU
77562011-08-17 Daiki Ueno <ueno@unixuser.org>
7757
7758 * epa-mail.el: Simplify GnuPG group expansion using
7759 epg-expand-group.
7760 (epa-mail-group-alist, epa-mail-group-modtime)
7761 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7762 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7763 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7764 Remove.
7765
5e617bc2 77662011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7767
7768 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7769
9c4aeabf
AM
77702011-08-16 Alan Mackenzie <acm@muc.de>
7771
7772 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7773 Correct, to avoid the inside of macros.
7774
3a99bf64
RS
77752011-08-16 Richard Stallman <rms@gnu.org>
7776
04963aa8
RS
7777 * epa-mail.el: Handle GnuPG group definitions.
7778 (epa-mail-group-alist, epa-mail-group-modtime)
7779 (epa-mail-gnupg-conf-file): New variables.
7780 (epa-mail-parse-groups, epa-mail-sync-groups)
7781 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7782 (epa-mail-expand-recipients): New functions.
7783 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7784
177549d0
RS
7785 * mail/rmail.el (rmail-epa-decrypt): New command.
7786
fe38beef
RS
7787 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7788 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7789 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7790 (epa-decrypt-armor-in-region): Make error message clearer.
7791
934eacb9
SM
77922011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7793
7794 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7795 and "a2b" to "ab" for `prefix'.
7796
d024fb4e
CY
77972011-08-14 Chong Yidong <cyd@stupidchicken.com>
7798
7799 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7800 filter groups.
de148fee
CY
7801 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7802 Fourquet (Bug#8804).
d024fb4e 7803
62f1ca49
JB
78042011-08-12 Juanma Barranquero <lekktu@gmail.com>
7805
7806 * startup.el (argi): Declare as global variable (bug#9275).
7807
9ccaaa4b
CY
78082011-08-12 Chong Yidong <cyd@stupidchicken.com>
7809
7810 * subr.el (string-mark-left-to-right): Search the entire string
7811 for RTL script, not just the terminating character. Doc fix.
7812
a3dae87a
SM
78132011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7814
6cd18349
SM
7815 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7816 New function.
7817 (js--regexp-literal, js-syntax-propertize-function): Remove.
7818 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7819 (js-mode-map): Don't rebind electric keys.
7820 (js-insert-and-indent): Remove.
7821 (js-mode): Setup electric-layout and electric-indent instead.
7822
a3dae87a
SM
7823 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7824
9d5cb631
DU
78252011-08-12 Daiki Ueno <ueno@unixuser.org>
7826
7827 * epa.el (epa-progress-callback-function): Fix the logic of
7828 displaying progress.
7829 * epa-file.el (epa-file-insert-file-contents): Make progress
7830 display more user-friendly.
7831 (epa-file-write-region): Ditto.
7832
3e26a4a2
CY
78332011-08-10 Chong Yidong <cyd@stupidchicken.com>
7834
7835 * subr.el (string-mark-left-to-right): New function.
7836
7837 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7838 Use string-mark-left-to-right.
7839 (list-buffers-noselect): Caller changed.
7840
a3dae87a
SM
7841 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7842 Use string-mark-left-to-right.
3e26a4a2
CY
7843 (tabulated-list-print): Recenter after moving point.
7844
ac8cf6e6
JL
78452011-08-10 Juri Linkov <juri@jurta.org>
7846
7847 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7848 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7849 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7850
8d96c9a4
CY
78512011-08-09 Chong Yidong <cyd@stupidchicken.com>
7852
7853 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7854 (Bug#7554).
7855
7be1c708 78562011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7857
7858 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7859 character. (Bug#6594)
7860
37e11a63
CY
78612011-08-08 Chong Yidong <cyd@stupidchicken.com>
7862
839dde57
CY
7863 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7864 (image-dired--with-db-file): New macro.
7865 (image-dired-write-tags, image-dired-remove-tag)
7866 (image-dired-create-gallery-lists, image-dired-write-comments)
7867 (image-dired-get-comment, image-dired-mark-tagged-files)
7868 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7869 (image-dired-gallery-generate): Use insert-file-contents.
7870
37e11a63
CY
7871 * time.el (display-time-world-list, display-time-world-display):
7872 * time-stamp.el (time-stamp-string):
7873 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7874 set-time-zone-rule (Bug#7337).
7875
0b4946c4
DU
78762011-08-08 Daiki Ueno <ueno@unixuser.org>
7877
7878 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7879 (epg-error-to-string, epg-errors-to-string): New function.
7880 (epg-wait-for-completion): Reverse errors list.
7881 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7882 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7883 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7884 (epg-sign-keys, epg-generate-key-from-file)
7885 (epg-generate-key-from-string): Format errors by using
7886 epg-errors-to-string (bug#9255).
7887 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7888
75bfc667
JL
78892011-08-07 Juri Linkov <juri@jurta.org>
7890
7891 * faces.el (list-faces-display): Remove extra angle bracket
7892 from `help-mode-map'.
7893
7894 * info.el (Info-history-toc-nodes): Doc fix.
7895
7896 * longlines.el (longlines-mode): Doc fix.
7897
673e08bb
SM
78982011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7899
4640dd88
SM
7900 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7901 of statements and in a few more cases (bug#9183).
7902
673e08bb
SM
7903 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7904 New functions.
7905 (cl-transform-lambda): Use them (bug#9239).
7906
89b3f019
MR
79072011-08-05 Martin Rudalics <rudalics@gmx.at>
7908
7909 * window.el (display-buffer-same-window)
7910 (display-buffer-same-frame, display-buffer-other-window)
7911 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7912 (pop-to-buffer-other-window)
7913 (pop-to-buffer-same-frame-other-window)
7914 (pop-to-buffer-other-frame): Make them defuns.
7915 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7916
640c8776
SM
79172011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7918
7919 * subr.el (make-composed-keymap): Move from C. Change calling
7920 convention, and improve docstring to bring attention to a subtle point.
7921 * minibuffer.el (completing-read-default): Adjust accordingly.
7922
63648a95
MA
79232011-08-03 Michael Albinus <michael.albinus@gmx.de>
7924
7925 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7926 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7927
7928 * net/trampver.el: Update release number.
7929
b796c9b7
SM
79302011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7931
7932 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7933 "in" (bug#9190).
7934
2239d7d5
LMI
79352011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7936
e07dd7c3
LMI
7937 * mail/sendmail.el (sendmail-query-once): Restore the current
7938 buffer after querying (bug#9074).
7939
0e6a2bd7
LMI
7940 * dired.el (dired-flagged): Use different faces for marked and
7941 flagged files (bug#6117).
7942
ce887515
LMI
7943 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7944 (bug#4433).
7945
92f2affc
LMI
7946 * ido.el (ido-mode): Switch off the message if called
7947 non-interactively.
7948
57d5aff0
LMI
7949 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7950 before 587, since it appears that that's more likely to work for
7951 more people.
7952
98cd6c18 7953 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7954 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7955 exist.
7956
b96dec83
LMI
7957 * info.el: Remove the `Info-beginning-of-buffer' function
7958 (bug#8325).
7959
b796c9b7
SM
7960 * net/network-stream.el (network-stream-open-starttls):
7961 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7962
d90e2ea0
MR
79632011-08-01 Martin Rudalics <rudalics@gmx.at>
7964
7965 * window.el (display-buffer-in-window): Don't set dedicated status
7966 of window here (Bug#9215).
7967 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7968 (display-buffer-pop-up-side-window)
b796c9b7 7969 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7970
cca09170
SM
79712011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7972
7973 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7974 before binding generated-autoload-file.
7975
027b979c
DD
79762011-08-01 Deniz Dogan <deniz@dogan.se>
7977
7978 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7979
3c7ee4f3
MA
79802011-07-30 Michael Albinus <michael.albinus@gmx.de>
7981
7982 Sync with Tramp 2.2.2.
7983
7984 * net/trampver.el: Update release number.
7985
2cc8e51a
JL
79862011-07-30 Juri Linkov <juri@jurta.org>
7987
7988 * dired-aux.el (dired-touch-initial): Remove function.
7989 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7990 current time, and `default' to the last modification time of the
7991 current marked file (bug#6887).
7992
a514d856
JM
79932011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7994
7995 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7996 numeric argument to read-number (bug#9163).
a514d856 7997
8a7eddd7
MA
79982011-07-27 Michael Albinus <michael.albinus@gmx.de>
7999
8000 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8001 connection process, it could be nil.
8002
1ddd96f5
LL
80032011-07-27 Leo Liu <sdl.web@gmail.com>
8004
8005 Simplify url handling in rcirc-mode.
8006
8007 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8008 (rcirc-browse-url-at-mouse): Remove.
8009 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8010
b248a85d
AM
80112011-07-26 Alan Mackenzie <acm@muc.de>
8012
8013 Fontify bitfield declarations properly.
8014
8015 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8016 (c-symbol-chars): Now exported as a lang variable.
8017 (c-not-primitive-type-keywords): New lang variable.
8018
8019 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8020 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8021 parsed as a bitfield declaration.
b248a85d 8022
b796c9b7
SM
8023 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8024 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8025 (c-punctuation-in): New function.
8026 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8027 declarations properly.
8028
68575ab0
UJ
80292011-07-26 Ulf Jasper <ulf.jasper@web.de>
8030
8031 * calendar/icalendar.el (icalendar--all-events): Take care of
8032 multiple vcalendars in a single file.
b796c9b7 8033 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8034
0f0a88b9
DD
80352011-07-25 Deniz Dogan <deniz@dogan.se>
8036
8037 * image.el (insert-image): Clarifying docstring.
8038
0b3f36df
MA
80392011-07-24 Michael Albinus <michael.albinus@gmx.de>
8040
8041 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8042 `tramp-send-command-and-check' if there is no error.
8043 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8044
a9901f61
AM
80452011-07-22 Alan Mackenzie <acm@muc.de>
8046
8047 Prevent cc-langs.elc being loaded at run time.
8048
8049 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8050 cc-langs.
8051
4d61f28d 8052 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8053 "(require 'cc-langs)". Quote a form so it will evaluate at
8054 (cc-mode's) compilation time.
8055
11d074b2
MA
80562011-07-22 Michael Albinus <michael.albinus@gmx.de>
8057
8058 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8059 loading. (Bug#9114)
8060
938b94c8
MR
80612011-07-21 Martin Rudalics <rudalics@gmx.at>
8062
8063 * window.el (display-buffer-pop-up-window)
8064 (display-buffer-pop-up-side-window)
8065 (display-buffer-in-side-window): Call display-buffer-set-height
8066 and display-buffer-set-width after setting the new window's
b796c9b7 8067 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8068
bfa4f190
SS
80692011-07-20 Sam Steingold <sds@gnu.org>
8070
8071 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8072 (etags-tags-included-tables): Call `convert-standard-filename' on
8073 the file names contained in TAGS so that windows Emacs can handle
8074 TAGS files created by cygwin ctags.
8075
8ca42262
LMI
80762011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8077
8078 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8079 which apparently didn't work.
8080
5db2afd2 80812011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8082
5db2afd2
RW
8083 * proced.el (proced-send-signal): For *Marked Processes* buffer
8084 put point at beginning of buffer.
8085
92e15d10
SB
80862011-07-19 Stephen Berman <stephen.berman@gmx.net>
8087
8088 * proced.el (proced-format): Make header lines align with the text
8089 (bug#1779).
8090
1bfd59e5
LMI
80912011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8092
8093 * view.el (view-buffer): Allow running in `special' modes if we're
8094 visiting a file (bug#8615).
8095
f5aae37c
MR
80962011-07-19 Martin Rudalics <rudalics@gmx.at>
8097
8098 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8099 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8100 New functions.
f5aae37c
MR
8101 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8102 more accurately.
8103
bf2c1571
AM
81042011-07-18 Alan Mackenzie <acm@muc.de>
8105
8106 Fontify declarators properly when, e.g., a jit-lock chunk begins
8107 inside a declaration.
8108
8109 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8110
b796c9b7
SM
8111 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8112 New function.
bf2c1571
AM
8113 (c-complex-decl-matchers): Insert reference to
8114 c-font-lock-enclosing-decls.
8115
8116 * progmodes/cc-engine.el (c-backward-single-comment):
8117 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8118 to nil around calls to (forward-comment -1).
8119
4e190b80
LMI
81202011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8121
12dc863d
LMI
8122 * image.el (put-image): Doc typo fix.
8123
a762e966
LMI
8124 * progmodes/etags.el (tags-search): Doc typo fix.
8125
4e190b80
LMI
8126 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8127 password if we get errors 550 to 554.
8128
f019fb21
LMI
81292011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8130
b796c9b7 8131 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8132
81746738
LMI
8133 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8134 indentation character (bug#6380).
8135
3ee3a1b5
LMI
8136 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8137
c82f64de
LMI
8138 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8139 to clarify what the problem is (bug#4291).
8140
f019fb21
LMI
8141 * simple.el (current-kill): Clarify what
8142 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8143 (auto-fill-mode): Document `auto-fill-function' in relation to
8144 `auto-fill-mode' (bug#2470).
f019fb21 8145
0794775d
LM
81462011-07-16 Lawrence Mitchell <wence@gmx.li>
8147
8148 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8149 method if slot is read-only (bug#9035).
8150
be39b8cc
MR
81512011-07-16 Martin Rudalics <rudalics@gmx.at>
8152
b796c9b7 8153 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8154 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8155 selected before, see discussion of (Bug#8615), (Bug#6954).
8156 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8157
6ccf7859
GM
81582011-07-15 Glenn Morris <rgm@gnu.org>
8159
8160 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8161 Respect help-form.
6ccf7859 8162
87e86684
LM
81632011-07-09 Lawrence Mitchell <wence@gmx.li>
8164
8165 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8166 (gnutls-negotiate): Use it.
8167
d6066239
LMI
81682011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8169
b796c9b7
SM
8170 * net/gnutls.el (gnutls-negotiate):
8171 Upcase `gnutls-algorithm-priority'.
d6066239 8172
bd23ebc0
GM
81732011-07-15 Glenn Morris <rgm@gnu.org>
8174
c65bca65
GM
8175 * jka-compr.el (jka-compr-verbose): Move from here...
8176 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8177 Add missing :version tag.
8178 * info.el: No need to require jka-compr when compiling.
bd23ebc0 8179
478615cc
LMI
81802011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8181
7b41decb
LMI
8182 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8183 (gnutls-negotiate): Use it.
8184
dbc44fcd
LMI
8185 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8186
06789f97
LMI
8187 * info.el (Info-beginning-of-buffer): New command.
8188 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8189 announcing `b' as the key (bug#8325).
ab896c37 8190 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 8191
c39da690
LMI
8192 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8193
3aa5f34b
LMI
8194 * international/mule-cmds.el
8195 (describe-specified-language-support): Make the error message
8196 clearer (bug#8905).
8197
4bf0979f
LMI
8198 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8199
478615cc
LMI
8200 * isearch.el (isearch-barrier): Add a doc string, since it's
8201 mentioned in a function doc string (bug#8678).
8202
75c68aa1
MR
82032011-07-15 Martin Rudalics <rudalics@gmx.at>
8204
8205 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8206 buffer argument (Bug#9083) and self-identifying label argument.
8207
a7c33da2
GM
82082011-07-15 Glenn Morris <rgm@gnu.org>
8209
8210 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8211
2f5c6024
LMI
82122011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8213
8214 * man.el (Man-fontify-manpage): Fix message when formatting the
8215 man page (bug#7929).
8216
0bb23927 82172011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
8218
8219 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8220 argument LRM; if non-nil, append an invisible LRM character to the
8221 buffer name.
8222 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8223 last argument non-nil, when formatting buffer names.
0bb23927
EZ
8224 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8225 paragraph direction.
cce4b0a7 8226
621ef9ab
LMI
82272011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8228
d1583c48
LMI
8229 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8230 the man page name (bug#7929).
8231
6a57fb5f
LMI
8232 * image.el (put-image): Mention the `put-image' overlay property
8233 (bug#7834).
8234
d7956b14
LMI
8235 * scroll-bar.el (set-scroll-bar-mode): Mention that
8236 `scroll-bar-mode' lists the values (bug#7772).
8237
5b2d4a66
LMI
8238 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8239 command (bug#7729).
8240
7509a874
LMI
8241 * rect.el (apply-on-rectangle): Return the point after the last
8242 operation.
8243 (string-rectangle): Go to the point after the last operation
8244 (bug#7522).
8245
4fe74b19
LMI
8246 * printing.el (pr-toggle-region): Clarify the documentation
8247 slightly (bug#7493).
8248
b796c9b7
SM
8249 * time.el (display-time-update):
8250 Allow `display-time-mail-function' to return nil (bug#7158).
8251 Fix suggested by Detlev Zundel.
ab283561 8252
fc233c9d
LMI
8253 * vc/diff.el (diff): Clarify the order the file names are read
8254 (bug#7111).
8255
43f5740b
LMI
8256 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8257 the doc string (bug#7015).
8258
f2182a76
LMI
8259 * font-lock.el (font-lock-maximum-decoration): Mention what
8260 numeric levels mean (bug#6935).
8261
621ef9ab
LMI
8262 * startup.el (initial-buffer-choice): Don't mention the `none'
8263 selection, which is against policy.
8264
adc47434
MR
82652011-07-14 Martin Rudalics <rudalics@gmx.at>
8266
b796c9b7
SM
8267 * window.el (display-buffer-normalize-special):
8268 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 8269
7e5bfb8f
EZ
82702011-07-14 Eli Zaretskii <eliz@gnu.org>
8271
8272 * subr.el (version<, version<=, version=): Mention "-CVS" and
8273 "-12345" alpha version numbers.
8274
27fa387a
CY
82752011-07-14 Chong Yidong <cyd@stupidchicken.com>
8276
8277 * bindings.el: Add advertised binding for set-mark-command
8278 (Bug#5772).
8279
8bdfa064
CY
82802011-07-14 Chong Yidong <cyd@stupidchicken.com>
8281
8282 * bindings.el (mode-line-other-buffer):
8283 * bookmark.el (bookmark-bmenu-2-window):
8284 * bs.el (bs-cycle-next, bs-cycle-previous):
8285 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8286 switch-to-buffer.
8287
8288 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 8289 Delete.
8bdfa064 8290
5eba16a3
JB
82912011-07-14 Juanma Barranquero <lekktu@gmail.com>
8292
8293 * follow.el (follow-debug-message, follow-redisplay):
8294 * jka-cmpr-hook.el (with-auto-compression-mode):
8295 Fix typos in docstrings.
8296
15853710
LMI
82972011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8298
a28e4607
LMI
8299 * subr.el (with-silent-modifications): Clarify somewhat what the
8300 macro inhibits (bug#6525).
8301
15853710
LMI
8302 * simple.el (eval-expression): Note what it does if called
8303 interactively (bug#6495).
8304
bee0fcef
CY
83052011-07-13 Chong Yidong <cyd@stupidchicken.com>
8306
b796c9b7
SM
8307 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8308 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8309
8310 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8311 Remove switch-to-buffer.
8312
58274504
LMI
83132011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8314
bd2fcc8d
LMI
8315 * files.el (make-directory): Clarify that an error will be raised
8316 if there's an error (bug#6397).
8317
0f04b32c
LMI
8318 * startup.el (initial-buffer-choice): Add `none' as a choice
8319 (bug#6234).
8320
465c5fc8
LMI
8321 * subr.el (add-hook): Clarify section about buffer-local hooks
8322 (bug#6218).
8323
58274504
LMI
8324 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8325
bead9a43
JB
83262011-07-13 Juanma Barranquero <lekktu@gmail.com>
8327
8328 * tabify.el (untabify): Preserve the current column so that point
8329 doesn't move (bug#6032).
8330
3af98a7b
LMI
83312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8332
b796c9b7
SM
8333 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8334 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8335
6240145a
GM
83362011-07-13 Glenn Morris <rgm@gnu.org>
8337
8338 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8339 (dired-insert-directory): Give a message the first time
8340 if ls is found not to support --dired.
8341
1d8c2ccc
LMI
83422011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8343
8344 * simple.el (toggle-truncate-lines): Clarify what is toggled
8345 (bug#5580). Text by Drew Adams.
8346
5fc4038e
CY
83472011-07-13 Chong Yidong <cyd@stupidchicken.com>
8348
8349 * simple.el (blink-matching-open): Make the error message from the
8350 last change less verbose.
8351
bf6012e5
DN
83522011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8353
8354 * font-lock.el (font-lock-comment-face): Use the high contrast
8355 "yellow" color for font-lock-comment-face on low color terminals
8356 using a dark background color (bug#4221).
8357
343c3b5a
LMI
83582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8359
7e9505c5
LMI
8360 * dired.el (dired-insert-set-properties): Make the doc string
8361 reflect what it does now (bug#5325).
8362
c26fdcf5
LMI
8363 * simple.el (blink-matching-open): Say that we were unable to find
8364 the match within the limit, if we're limited (bug#5122).
8365
bb388cc5
LMI
8366 * international/mule-cmds.el (prefer-coding-system): Add an
8367 example (bug#4869).
8368
343c3b5a
LMI
8369 * progmodes/etags.el (tags-search): Document `file-list-form'
8370 (bug#4731).
8371
2a517d45
LM
83722011-07-13 Lawrence Mitchell <wence@gmx.li>
8373
8374 * net/browse-url.el (browse-url-default-browser)
8375 (browse-url-browser-function): Make the default browser choice a
8376 bit more logical (bug#4300). Also clean up the doc string.
8377
b6c78ef2
JB
83782011-07-13 Juanma Barranquero <lekktu@gmail.com>
8379
8380 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8381 binary endings (bug#4440).
8382
1c4dd947
LMI
83832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8384
a2014063
LMI
8385 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8386 which can be pretty annoying (bug#8971).
8387
9c9c2d88
LMI
8388 * jka-compr.el (jka-compr-verbose): New variable, and use
8389 throughout (bug#8971).
8390
1c4dd947
LMI
8391 * info.el (Info-find-file): Fall back on the installation
8392 directory if we can't find the info node anywhere else.
8393
a1c9f41b
SO
83942011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8395
8396 * vc/vc.el (vc-revert-file):
8397 Don't set file time-stamp in the past. (Bug#5181)
8398
536f3d36
LMI
83992011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8400
7152b011
LMI
8401 * files.el (after-find-file): Give a better error message when
8402 trying to find a symlink that points to a file that doesn't exist
8403 (bug#4398).
8404
536f3d36
LMI
8405 * progmodes/cc-vars.el: Remove (probably) misleading comment
8406 (bug#4396).
8407
460c0fba
JB
84082011-07-12 Johan Bockgård <bojohan@gnu.org>
8409
8410 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8411
7a6bda45
CY
84122011-07-12 Chong Yidong <cyd@stupidchicken.com>
8413
8414 * mouse-sel.el: Hack restoring functionality, while keeping
8415 compatibility with 2010-07-03 changes to mouse selection.
8416 (mouse-sel-primary-overlay): New var.
8417 (mouse-sel-selection-alist): Use it.
8418 (mouse-sel-mode): Doc fix; remove points that are default features
8419 of mouse.el.
8420
c79598ef
JB
84212011-07-12 Johan Bockgård <bojohan@gnu.org>
8422
8423 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8424 Fix previous fix (bug#2490).
8425
ff8be6ef
RW
84262011-07-12 Roland Winkler <winkler@gnu.org>
8427
b796c9b7
SM
8428 * textmodes/bibtex.el (bibtex-initialize):
8429 Use pop-to-buffer-same-window.
ff8be6ef
RW
8430 (bibtex-search-entries): Fix interactive call.
8431
296ba3ee
LMI
84322011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8433
f5242a02 8434 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8435 Fontise bytecomp Error lines more correctly (bug#2490).
8436 Fix suggested by Johan Bockgård.
f5242a02 8437
296ba3ee
LMI
8438 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8439
8440 * dired-x.el (dired-guess-default): Use `delete-dups'.
8441
f69fd0d2
CY
84422011-07-12 Chong Yidong <cyd@stupidchicken.com>
8443
8444 * dired.el (dired-mark-prompt):
8445 * dired-aux.el (dired-read-shell-command): Doc fix.
8446
eab5dc07
LMI
84472011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8448
b796c9b7
SM
8449 * mail/sendmail.el (sendmail-query-once):
8450 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8451 emacs -Q.
8452
8453 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8454
eab5dc07
LMI
8455 * cus-edit.el (custom-file): Take an optional no-error variable.
8456 (customize-save-variable): Set the variable, and give a warning if
8457 running under "emacs -q".
8458
a1e65d42
JB
84592011-07-11 Juanma Barranquero <lekktu@gmail.com>
8460
8461 * loadhist.el (unload-feature-special-hooks):
8462 Add `auto-coding-functions', `fill-nobreak-predicate' and
8463 `find-directory-functions' (bug#5327).
8464
1d52da10
LMI
84652011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8466
be958f1d
LMI
8467 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8468
5bedb26c
LMI
8469 * cus-edit.el (custom-guess-name-alist): -alist variables should
8470 use the `alist' type (bug#3120). Suggested by Drew Adams.
8471
1d52da10
LMI
8472 * printing.el: Add documentation to all the `pr-toggle-' commands.
8473
cd394be1 84742011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8475
8476 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8477 backends where it makes sense (bug#2623).
8478
dcc88d8a
LMI
84792011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8480
c3de9feb
LMI
8481 * dired-x.el (dired-guess-default): Remove duplicate shell command
8482 entries (bug#2028).
8a93078b 8483 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8484 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8485
dcc88d8a
LMI
8486 * subr.el (remove-duplicates): New conveniency function.
8487
505e3645
LMI
84882011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8489
8490 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8491 (bug#1526).
8492
84932011-07-10 Martin Rudalics <rudalics@gmx.at>
8494
8495 * window.el (display-buffer-normalize-default): Don't invert
8496 meaning of even-window-heights. Reported by Eli Zaretskii
8497 <eliz@gnu.org>.
8498
455e4fa1
BR
84992011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8500
8501 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8502
8e0bc3e9
CY
85032011-07-10 Chong Yidong <cyd@stupidchicken.com>
8504
8505 * window.el (display-buffer): Fix arguments to
8506 display-buffer-reuse-window in last change.
8507
fa7c3228
CY
8508 * faces.el (link): Use a less saturated blue on light backgrounds.
8509
8510 * startup.el (fancy-startup-text, fancy-about-text)
8511 (fancy-startup-tail): Use font-lock faces, for background safety.
8512
c0a7f300
BN
85132011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8514
b796c9b7
SM
8515 * emulation/viper-cmd.el (viper-change-state-to-vi):
8516 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8517
4dc2a129
MR
85182011-07-09 Martin Rudalics <rudalics@gmx.at>
8519
8520 * window.el (display-buffer-default-specifiers): Remove.
8521 (display-buffer-macro-specifiers): Remove default specifiers.
8522 (display-buffer-alist): Default to nil.
b796c9b7 8523 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8524 (display-buffer-pop-up-window): Allow splitting internal
8525 windows. Check whether a live window was created.
8526 (display-buffer-other-window-means-other-frame)
8527 (display-buffer-normalize-arguments): Rename to
8528 display-buffer-normalize-argument and rewrite. Set the
8529 other-window specifier.
8530 (display-buffer-normalize-special): New function.
8531 (display-buffer-normalize-options): Rename to
8532 display-buffer-normalize-default and rewrite.
8533 (display-buffer-normalize-options-inhibit): Remove.
8534 (display-buffer-normalize-specifiers): Rewrite.
8535 (display-buffer): Process other-window specifier and call
8536 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8537 more faithfully.
b796c9b7 8538 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8539 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8540 (display-buffer-in-window, display-buffer-alist-set):
8541 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8542 <tassilo@member.fsf.org>.
8543
2d43b8c9
LL
85442011-07-09 Leo Liu <sdl.web@gmail.com>
8545
8546 * register.el (insert-register): Restore accidental change on
8547 2011-06-26. (Bug#9028)
8548
7f9b7c53
GM
85492011-07-09 Glenn Morris <rgm@gnu.org>
8550
8551 * subr.el (remq): Handle the empty list. (Bug#9024)
8552
f042cfd8
AS
85532011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8554
8555 * mail/sendmail.el (send-mail-function): No longer delay custom
8556 initialization.
8557 * custom.el (custom-initialize-delay): Doc fix.
8558
856b2f11
SM
85592011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8560
8561 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8562
afae1d68
MA
85632011-07-08 Michael Albinus <michael.albinus@gmx.de>
8564
8565 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8566 human-friendly prompt.
8567
0757af94
SM
85682011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8569
8570 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8571 provided by a particular plugin.
8572
d760b731
LMI
85732011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8574
8575 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8576 save customizations (with "emacs -Q"), just set the variable
8577 instead of erroring out.
8578
8579 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8580
cd79ce90
JL
85812011-07-08 Juri Linkov <juri@jurta.org>
8582
8583 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8584 (archive-zip-update-case): Use 7z if found by `executable-find'.
8585 The order of searching the available programs is the same as in
8586 `archive-zip-extract' (bug#8968).
8587
14cc04aa
CY
85882011-07-07 Chong Yidong <cyd@stupidchicken.com>
8589
8590 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8591 (menu-bar-options-menu): Tweak descriptions.
8592
0a1848ec
LMI
85932011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8594
8595 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8596 menu items into verb phrases (bug#1421). Also refill to fit under
8597 80 columns.
8598
f5bd0689
CY
85992011-07-07 Chong Yidong <cyd@stupidchicken.com>
8600
538e85c6
CY
8601 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8602 (Info-read-node-name): Doc fix (Bug#1084).
8603
f5bd0689
CY
8604 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8605 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8606 (end-of-sexp, beginning-of-sexp)
8607 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8608 (forward-symbol, forward-same-syntax, word-at-point)
8609 (sentence-at-point): Doc fix (Bug#1144).
8610
56ec5115
LMI
86112011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8612
f3f8e37f
LMI
8613 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8614 should cover it (bug#1281).
8615
0757af94 8616 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8617
e9fce1ac 8618 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8619 negotiation fails, then possibly try again with a non-encrypted
8620 connection (bug#9017).
8621
56ec5115
LMI
8622 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8623 be used.
8624
c2f9aec8
RS
86252011-07-07 Richard Stallman <rms@gnu.org>
8626
8627 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8628 property, and handle its changed format.
8629 Look for the correct line number.
8630 Use file's line contents (but not past first =) to find
8631 correct line in message.
8632
ef7b981d 86332011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8634
8635 * international/characters.el (build-unicode-category-table):
8636 Delete it.
0757af94 8637 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8638
0757af94 8639 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8640 to src/chartab.c.
8641 (get-char-code-property): Call unicode-property-table-internal to
8642 load a file. Call get-unicode-property-internal where necessary.
8643 (put-char-code-property): Call unicode-property-table-internal to
8644 load a file. Call put-unicode-property-internal where necessary.
8645 put-unicode-property-internal where necessary.
0757af94
SM
8646 (char-code-property-description):
8647 Call unicode-property-table-internal to load a file.
c805dec0
KH
8648
8649 * international/charprop.el:
8650 * international/uni-bidi.el:
8651 * international/uni-category.el:
8652 * international/uni-combining.el:
8653 * international/uni-comment.el:
8654 * international/uni-decimal.el:
8655 * international/uni-decomposition.el:
8656 * international/uni-digit.el:
8657 * international/uni-lowercase.el:
8658 * international/uni-mirrored.el:
8659 * international/uni-name.el:
8660 * international/uni-numeric.el:
8661 * international/uni-old-name.el:
8662 * international/uni-titlecase.el:
8663 * international/uni-uppercase.el: Regenerate.
8664
8665 * loadup.el: Load international/charprop.el before
8666 international/characters.
8667
e14b388a
CY
86682011-07-07 Chong Yidong <cyd@stupidchicken.com>
8669
8670 * window.el (next-buffer, previous-buffer): Signal an error if
8671 called from a minibuffer window.
8672
8673 * bindings.el: Revert 2011-07-04 change.
8674
354cf0ba
RS
86752011-07-06 Richard Stallman <rms@gnu.org>
8676
8677 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8678 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8679 Treat markers like ints.
8680 (rmail-mime-entity): Doc fix.
8681
a48868a7
LMI
86822011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8683
4906cd3d
LMI
8684 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8685 defcustom again for backwards compatibility.
8686
e0457abe
LMI
8687 * simple.el (shell-command-on-region): Fill.
8688
d67f7e1f
LMI
8689 * dired-aux.el (dired-kill-line): Add a doc string.
8690
fe204702
LMI
8691 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8692 to "\\sw\\|\\s_" (bug#358).
8693
a48868a7
LMI
8694 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8695 (dired-unmark-backward): Ditto.
8696 (dired-flag-backup-files): Ditto.
8697
8698 * dired-x.el (dired-mark-sexp): Ditto.
8699
aa8a705c
RS
87002011-07-06 Richard Stallman <rms@gnu.org>
8701
8702 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8703 (rmail-mime-entity): New arg TRUNCATED.
8704 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8705 New functions.
8706 (rmail-mime-save): Warn if entity is truncated.
8707 (rmail-mime-toggle-hidden): Likewise, for showing.
8708 (rmail-mime-process-multipart): Record when an entity is truncated.
8709
a9a936b9
RS
8710 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8711 if ENTITY is a string.
8712
1f2b92cb
LMI
87132011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8714
f4f73198 8715 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8716 of faces when `M-C-x'-ing their definitions (bug#8378).
8717 Also clean up the code slightly.
f4f73198 8718
12b16734 8719 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8720 because that makes the colors go away.
12b16734 8721
f0691d22
LMI
8722 * mail/sendmail.el (send-mail-function): Change the default to
8723 `sendmail-query-once'.
9e87df06 8724 (sendmail-query-once): Add an autoload cookie.
f0691d22 8725
1f2b92cb
LMI
8726 * net/network-stream.el (network-stream-open-starttls): Try using
8727 a plain connection even if the server offered STARTTLS, and we
8728 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8729 capability. This should make smtpmail.el work in slightly more
8730 configurations.
8731
1cdd2a1b
MA
87322011-07-06 Michael Albinus <michael.albinus@gmx.de>
8733
8734 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8735 New defun.
8736 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8737
fbcc67e2
MM
87382011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8739
8740 * progmodes/sql.el: Version 3.0
0757af94 8741 (sql-product-alist): Add product :completion-object,
fbcc67e2 8742 :completion-column, and :statement attributes.
0757af94 8743 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8744 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8745 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8746 ansi keywords.
8747 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8748 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8749 (sql-oracle-show-reserved-words): New function for development.
8750 (sql-product-font-lock): Simplify for source code buffers.
8751 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8752 New functions.
8753 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8754 (sql-mode-map): Add statement movement functions.
8755 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8756 New variable.
fbcc67e2
MM
8757 (sql-statement-regexp, sql-beginning-of-statement)
8758 (sql-end-of-statement, sql-signum): New functions.
0757af94 8759 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8760 (sql-show-sqli-buffer): Bug fix.
8761 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8762 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8763 with sql-interactive-mode.
8764 (sql-save-connection): Save buffer local settings.
0757af94 8765 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8766 (sql-product-interactive): Bug fix.
8767 (sql-preoutput-hold): New variable.
8768 (sql-interactive-remove-continuation-prompt): Bug fixes.
8769 (sql-debug-redirect): New variable.
8770 (sql-str-literal): New function.
8771 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8772 Redesign.
fbcc67e2
MM
8773 (sql-oracle-save-settings, sql-oracle-restore-settings)
8774 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8775 (sql-completion-object, sql-completion-column)
8776 (sql-completion-sqlbuf): New variables.
8777 (sql-build-completions-1, sql-build-completions)
8778 (sql-try-completion): New functions.
8779 (sql-read-table-name): Use them.
8780 (sql-contains-names): New buffer local variable.
8781 (sql-list-all, sql-list-table): Use it.
8782 (sql-oracle-completion-types): New variable.
8783 (sql-oracle-completion-object, sql-sqlite-completion-object)
8784 (sql-postgres-completion-object): New functions.
8785
d4eaeab1
GM
87862011-07-06 Glenn Morris <rgm@gnu.org>
8787
8788 * window.el (pop-to-buffer): Doc fix.
8789
322b7dab 87902011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8791
8792 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8793
322b7dab 87942011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8795
322b7dab 8796 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8797
322b7dab 8798 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8799
605dd5bf
CY
88002011-07-05 Chong Yidong <cyd@stupidchicken.com>
8801
8802 * button.el (button): Inherit from link face. Suggested by Dan
8803 Nicolaescu.
8804
7dbfa719
SM
88052011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8806
3db614b0
SM
8807 * progmodes/gdb-mi.el: Fit in 80 columns.
8808 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8809 switch-to-buffer.
8810
7dbfa719
SM
8811 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8812 if imenu is simply not configured (bug#8941).
8813
919d884a
KM
88142011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8815
8816 * allout.el (allout-post-undo-hook): New allout outline-change
8817 event hook to signal undo activity.
8818 (allout-post-command-business): Run allout-post-undo-hook if an
8819 undo just occurred.
7dbfa719
SM
8820 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8821 * allout-widgets.el (allout-widgets-after-undo-function):
8822 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8823 in the vicinity of an undo.
8824 (allout-widgets-mode): Include allout-widgets-after-undo-function
8825 on the new allout-post-undo-hook.
8826
450a0f09
SM
88272011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8828
8829 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8830 Let define-derived-mode define it.
8831 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8832 cycles of abbrev-table inheritance (bug#8998).
8833
2de69e00
RW
88342011-07-05 Roland Winkler <winkler@gnu.org>
8835
8836 * textmodes/bibtex.el: Add support for biblatex.
8837 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8838 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8839 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8840 (bibtex-entry-alist, bibtex-field-alist): New variables.
8841 (bibtex-entry-field-alist): Obsolete alias for
8842 bibtex-BibTeX-entry-alist.
8843 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8844 (bibtex-set-dialect): New command.
8845 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8846 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8847 Bind via bibtex-set-dialect.
2de69e00
RW
8848 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8849 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8850 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8851 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8852 Define via bibtex-set-dialect.
450a0f09
SM
8853 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8854 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8855 (bibtex-vec-push, bibtex-vec-incr): New functions.
8856 (bibtex-format-entry, bibtex-field-list)
8857 (bibtex-print-help-message, bibtex-validate)
8858 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8859
2dcdbdd9
SM
88602011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8861
8862 * progmodes/compile.el (compilation-goto-locus):
8863 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8864 * bs.el (bs-cycle-next, bs-cycle-previous):
8865 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8866 * bindings.el (mode-line-other-buffer):
8867 * autoinsert.el (auto-insert):
8868 * arc-mode.el (archive-extract):
8869 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8870
b27640fe
JB
88712011-07-05 Juanma Barranquero <lekktu@gmail.com>
8872
8873 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8874 Fix check of `emacs-lock-unlockable-modes'.
8875 Coerce true values of `emacs-lock--try-unlocking' to t.
8876
53bbe3ad
JB
88772011-07-05 Juanma Barranquero <lekktu@gmail.com>
8878
8879 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8880 * emacs-lock.el: New file.
8881
1d3cdbc7
JD
88822011-07-05 Julien Danjou <julien@danjou.info>
8883
8884 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8885 than `boundp' to check if face is set.
8886
9173deec
JB
88872011-07-05 Juanma Barranquero <lekktu@gmail.com>
8888
8889 * register.el (registerv-make):
8890 * window.el (window-min-height): Fix typos in docstrings.
8891
869795d6
JD
88922011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8893
9173deec 8894 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8895 Update doc string.
8896
b768cdcd
JB
88972011-07-04 Juanma Barranquero <lekktu@gmail.com>
8898
8899 * server.el (server-execute): Catch quit and call
8900 `server-return-error' to pass the error back to emacsclient and
8901 close the connection (bug#8942).
8902
13aa217b
KM
89032011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8904
8905 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8906 insecure exception for current topic. Also note that auto-saves
8907 are handled differently.
8908
5d3385a0 8909 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
8910 State variables for tracking auto-save inhibition situation.
8911
8912 (allout-write-contents-hook-handler): Rename from
8913 'allout-write-file-hook-handler', and describe how it depends on
8914 write-contents-functions sensitivity to non-nil value to prevent
8915 file write.
8916
8917 (allout-auto-save-hook-handler): Remove. auto-save does not check
8918 this in individual buffers, only in the starting buffer, so this
8919 is not the right way for us to inhibit auto-save in a buffer
8920 according to its condition.
8921
8922 (allout-mode): Use new allout-write-contents-hook-handler, and
8923 only with write-contents-functions. Remove auto-save provisions -
8924 they're implemented elsewhere.
8925
8926 (allout-before-change-handler): If undo is in progress, note that
8927 for attention of allout-post-command-business.
8928
8929 (allout-post-command-business): If the command we're following was
8930 an undo, check for change in the status of encrypted items and
8931 adjust auto-save inhibitions accordingly.
8932
8933 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8934 according to whether there are or aren't any plain-text topics
8935 pending encryption.
8936
2dcdbdd9 8937 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8938 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8939 if there are plain-text topics pending encryption.
13aa217b
KM
8940
8941 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8942 buffer-saved-size and some allout state to not inhibit auto-saves
8943 if there are no longer any plain-text topics pending encryption.
8944
0757af94
SM
8945 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8946 No longer provide for exemption of the current topic.
13aa217b 8947
ac89b32c
JL
89482011-07-04 Juri Linkov <juri@jurta.org>
8949
8950 Add 7z operations to delete and save changed members (bug#8968).
8951 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8952 New defcustoms.
8953 (archive-7z-write-file-member): New function.
8954 (archive-7z-summarize): Fix the number of dashes in the
8955 listing output.
8956
8fa39615
SM
89572011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8958
8959 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8960 (bug#8958).
8961
2f11b3f1
CY
89622011-07-04 Chong Yidong <cyd@stupidchicken.com>
8963
d66fef2b
CY
8964 * bindings.el: Ignore next-buffer and previous-buffer in
8965 minibuffer-local-map.
8966
2f11b3f1
CY
8967 * font-lock.el (font-lock-builtin-face): Change light background
8968 color to dark slate blue (Bug#6693).
8969
f932a347
WD
89702011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8971
8972 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8973
c8af70e1
SM
89742011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8975
8976 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8977 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8978 Add switch-to-buffer.
8979
f158badc
LMI
89802011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8981
8982 * isearch.el (isearch-search-fun-function): Clarify further the
8983 meaning of the function returned.
8984
6d95bd46
MA
89852011-07-04 Michael Albinus <michael.albinus@gmx.de>
8986
8987 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8988
8989 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8990 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8991 Use it.
8992 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8993 `tramp-default-remote-path' does not exist.
8994 (tramp-send-command-and-read): New optional argument NOERROR.
8995 (tramp-open-connection-setup-interactive-shell)
8996 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8997 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8998 (tramp-process-sentinel): Flush also process' connection property.
8999 (tramp-sh-handle-start-file-process): Do not set process
9000 sentinel. It is done now ...
9001 (tramp-maybe-open-connection): ... here. (Bug#8929)
9002
909e6b67
MK
90032011-07-04 MON KEY <monkey@sandpframing.com>
9004
9005 * play/animate.el (animate-string): Doc fixes and allow changing
9006 the buffer name (bug#5417).
9007
90082011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9009
c8af70e1 9010 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9011
f34755dc
PE
90122011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9013
396cec72
PE
9014 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9015 This is simpler and helps future-proof the code.
9016 (timer-until): Use time-subtract and float-time.
08235028 9017 (timer--time-less-p): Use time-less-p.
f34755dc 9018
56e6cc31
JB
90192011-07-04 Juanma Barranquero <lekktu@gmail.com>
9020
3abb79e5
JB
9021 * type-break.el (timep): Use the value of `float-time' to avoid a
9022 byte-compiler warning.
9023
56e6cc31
JB
9024 * server.el (server-eval-and-print): Return any result, even nil.
9025
7b9430b4
PE
90262011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9027
9028 * type-break.el: Accept time formats that the builtins accept.
9029 (timep, type-break-time-difference): Accept any format that
9030 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9031 This is simpler and helps future-proof the code.
9032 (type-break-time-difference): Round rather than ignoring
9033 subseconds components.
9034
3034e9e7
LMI
90352011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9036
9037 * info.el (Info-apropos-matches): Make non-interactive, since it
9038 doesn't seem to do anything useful as a command (bug#8829).
9039
1485f4c0
CY
90402011-07-03 Chong Yidong <cyd@stupidchicken.com>
9041
9042 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9043 Move from faces.el.
1485f4c0
CY
9044 (frame-default-terminal-background): New function.
9045
9046 * custom.el (custom-push-theme): Don't record faces in `changed'
9047 theme; this doesn't work correctly for per-frame face settings.
9048 (disable-theme): Use face-set-after-frame-default to reset faces.
9049 (custom--frame-color-default): New function.
9050
9fa3dd45
LMI
90512011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9052
c8af70e1 9053 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9054 (bug#8769).
9055
6cbbc20c
KR
90562011-03-29 Kevin Ryde <user42@zip.com.au>
9057
9058 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9059 `perl-Test2' extend to match possible "fail #N" rep count
9060 (bug#8377).
9061
c7f98048
LMI
90622011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9063
65676592
LMI
9064 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9065 `smtpmail-via-smtp' now returns the error instead of nil.
9066
c7f98048
LMI
9067 * isearch.el (isearch-search-fun-function): Clarify the doc string
9068 (bug#8101).
9069
56e6cc31 90702011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9071
9072 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9073 unnecessary spaces (bug#8987).
9074
2b216704
LMI
90752011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9076
9077 * net/network-stream.el (open-network-stream): Use the
9078 :end-of-capability command thoughout.
9079
90802011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9081
9082 * net/network-stream.el (open-network-stream): Add the
9083 :end-of-capability command parameter, used by pop3.el.
9084
36adf6ce
LMI
90852011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9086
1ca0da0e
LMI
9087 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9088
fc00f69c
LMI
9089 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9090 for list)" (bug#6475).
9091
28fd8759 9092 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9093 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9094 an error (bug#6297).
9095
0dd8b6da
LMI
9096 * man.el (Man-reference-regexp): Allow matching possible
9097 word-wrapped references (bug#6289).
9098
ce1438d6
LMI
9099 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9100 for consistency with the other vc buffers (bug#6197).
9101 (vc-checkin): Ditto.
9102
9103 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9104
36adf6ce
LMI
9105 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9106
e83cc1f7
LMI
91072011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9108
8a20ca4c
LMI
9109 * custom.el (defcustom): Clarify that :set is only used in the
9110 Customize user interface (bug#6089).
9111
83319045
LMI
9112 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9113 associated with a file, refuse to run instead of erroring out
9114 (bug#6084).
9115
a8392169
LMI
9116 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9117 the doc string, since it appears that using `fill-column' always
9118 controls the width (bug#7845).
9119
e83cc1f7
LMI
9120 * simple.el (shell-command-on-region): Say where the error output
9121 went if `shell-command-default-error-buffer' is set (bug#6857).
9122
e47ca23b
KM
91232011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9124
9125 * allout.el (allout-yank-processing): Adjust cursor position for
9126 backwards-deleted space.
9127
9128 (allout-rebullet-heading): Register changes with
9129 allout-exposure-changed-hook, so the modified topic is properly
9130 decorated.
9131
5cf56143
LMI
91322011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9133
08549772
LMI
9134 * minibuffer.el (completion-in-region): Document PREDICATE
9135 (bug#7136).
9136
48e96771
LMI
9137 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9138 of keyword/argument pairs (bug#6904).
9139
c8af70e1
SM
9140 * replace.el (multi-occur):
9141 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9142
e17d05e2
LMI
91432011-07-02 Drew Adams <drew.adams@oracle.com>
9144
9145 * dired.el (dired-mark-if): Make the message about whether it's
9146 marking or unmarking clearer (bug#8523).
9147
063b0e45
LMI
91482011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9149
9150 * disp-table.el (display-table-print-array): New function.
9151 (describe-display-table): Use it to print the vectors more pretty
9152 (Bug#8859).
9153
28545e04
MR
91542011-07-02 Martin Rudalics <rudalics@gmx.at>
9155
9156 * window.el (window-state-get-1): Don't assign clone numbers.
9157 Add clone-of item to list of window parameters.
9158 (window-state-put-2): Don't process clone numbers.
9159 (display-buffer-alist): Fix doc-string.
9160
3349e122
SM
91612011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9162
9163 * subr.el (remq): Don't allocate if it's not needed.
9164 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9165 (keymap--merge-bindings): New functions.
9166 (keymap-canonicalize): Use them to refine the canonicalization.
9167 * minibuffer.el (minibuffer-local-completion-map)
9168 (minibuffer-local-must-match-map): Move initialization from C.
9169 (minibuffer-local-filename-completion-map): Move initialization from C;
9170 don't inherit from anything here.
9171 (minibuffer-local-filename-must-match-map): Make obsolete.
9172 (completing-read-default): Use make-composed-keymap to combine
9173 minibuffer-local-filename-completion-map with either
9174 minibuffer-local-must-match-map or
9175 minibuffer-local-filename-completion-map.
9176
d224ac83
GM
91772011-07-01 Glenn Morris <rgm@gnu.org>
9178
3de63bf8
GM
9179 * type-break.el (type-break-time-sum): Use dolist.
9180
d224ac83
GM
9181 * textmodes/flyspell.el (flyspell-word-search-backward):
9182 Replace CL function.
9183
1a1e3f32
SM
91842011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9185
fe3f64d5
SM
9186 * mouse.el (mouse--strip-first-event): New function.
9187 (function-key-map): Use it to map fringe clicks to normal clicks
9188 by default.
9189
eb604e34
SM
9190 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9191 (vc-bzr-revision-completion-table): Add support for annotate and date.
9192
1a1e3f32
SM
9193 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9194 inherit from parent.
9195
5bd35902
LMI
91962011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9197
ace6c69c 9198 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 9199 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 9200
191e2bed
LMI
9201 * dired.el (dired-mode): Fix up the doc string as suggested by
9202 Drew Adams (bug#8817).
9203
5bd35902
LMI
9204 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9205 cookie, since the manual says that it should be possible to add
9206 this function to `find-file-hook' (bug#8709).
9207
eee8207a
TZ
92082011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9209
9210 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9211 here. Noted Ted Zlatanov as the maintainer.
9212 (cfengine-common-settings, cfengine-common-syntax): New functions
9213 to set up common things between `cfengine-mode' and
9214 `cfengine3-mode'.
9215 (cfengine3-mode): New mode.
9216 (cfengine3-defuns cfengine3-defuns-regex
9217 (cfengine3-class-selector-regex cfengine3-category-regex)
9218 (cfengine3-vartypes cfengine3-font-lock-keywords)
9219 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 9220 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 9221
36b148cf
MA
92222011-07-01 Michael Albinus <michael.albinus@gmx.de>
9223
9224 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9225
9226 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9227
0bf4ba9a
MR
92282011-07-01 Martin Rudalics <rudalics@gmx.at>
9229
9230 * window.el (same-window-buffer-names, same-window-regexps)
9231 (same-window-p, special-display-frame-alist)
9232 (special-display-popup-frame, special-display-function)
9233 (special-display-buffer-names, special-display-regexps)
9234 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9235 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9236 (split-window-preferred-function, split-height-threshold)
9237 (split-width-threshold, even-window-heights)
9238 (display-buffer-mark-dedicated, window-splittable-p)
9239 (split-window-sensibly, window-safely-shrinkable-p):
9240 Un-obsolete.
9241 (display-buffer): Don't spread args with function specifier
9242 because special-display-popup-frame won't like it.
9243
35837f51
PE
92442011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9245
d0672f86
PE
9246 Time-stamp simplifications and fixes.
9247 These improve accuracy slightly, and future-proof the code
9248 against some potential changes to current-time format.
9249
b9444d97
PE
9250 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9251 by using time-since and float-time.
9252
0ef923dc
PE
9253 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9254 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9255 + NNN microseconds".
9256
2f81380d
PE
9257 * type-break.el (type-break-time-sum): Rewrite using time-add.
9258
845b5c3e
PE
9259 * play/hanoi.el (hanoi-current-time-float): Remove.
9260 All uses replaced by float-time.
9261
ee6f1be0
PE
9262 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9263 This yields a more-accurate answer.
9264 (rng-time-to-float): Remove; no longer needed.
9265
fe955043
PE
9266 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9267
5777162a
PE
9268 * calendar/timeclock.el (timeclock-seconds-to-time):
9269 Defalias to seconds-to-time, since they're the same thing.
9270
3103f8b6 9271 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 9272 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
9273 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9274
0e61a35f
SM
92752011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9276
9277 * window.el (bury-buffer): Don't iconify the only frame.
9278 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9279 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9280
ddd63a1e
CY
92812011-07-01 Chong Yidong <cyd@stupidchicken.com>
9282
0e61a35f
SM
9283 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9284 Add mouse-yank-primary.
ddd63a1e 9285
055f4923
TZ
92862011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9287
9288 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9289
6a2fb145
SM
92902011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9291
9292 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9293 (find-library-name): Use it to find relative load names when provided
9294 absolute file name (bug#8803).
9295
fd4983f2
LMI
92962011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9297
887d14ad
LMI
9298 * textmodes/flyspell.el (flyspell-word): Consider words that
9299 differ only in case as potential doublons (bug#5687).
9300
c53dc7fc
LMI
9301 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9302 Remove two rather uninteresting debugging-like messages to make
9303 debbugs.el more silent.
9304
fd4983f2
LMI
9305 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9306 a password-like phrase.
9307
7a71b18d 93082011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9309
9310 * progmodes/cc-guess.el: New file.
9311
6a2fb145 9312 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9313
9314 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9315 derived from `c-basic-common-init'.
9316
9317 * progmodes/cc-mode.el (top-level): Require cc-guess.
9318 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9319
1fa280a3
LM
93202011-06-30 Lawrence Mitchell <wence@gmx.li>
9321
9322 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9323
e6597158
AM
93242011-06-30 Alan Mackenzie <acm@muc.de>
9325
1fa280a3
LM
9326 * progmodes/cc-engine.el (c-guess-continued-construct):
9327 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9328 lock is disabled. Name this case as "CASE G".
9329
68ba37fb
KM
93302011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9331
9332 * allout.el (allout-yank-processing): Fix injection of extra space
9333 between bullet and non-whitespace character in first topic when
9334 pasting, ensuring that the actual spacing in the pasted topic
9335 following the bullet char is preserved. This extra space was
9336 causing pasted encrypted topics to get a decrypted status even
9337 when the content was actually still encrypted. Now the decryption
9338 status from before the paste is preserved.
9339
9340 (allout-flag-region): Set all allout overlays so they evaporate
9341 when reduced to zero length (evanescent), to prevent overlay
9342 leakage.
9343
887a0b34
GM
93442011-06-30 Glenn Morris <rgm@gnu.org>
9345
94b9acce
GM
9346 * w32-fns.el (w32-charset-info-alist): Declare.
9347
1d9b46d4
GM
9348 * find-dired.el (find-grep-options): Simplify.
9349
cc232200
GM
9350 * term/ns-win.el (ns-set-resource): Declare.
9351
28e77c46
GM
9352 * ses.el (row, col): Declare dynamic variables honestly.
9353
887a0b34
GM
9354 * textmodes/reftex-parse.el (index-tags): Declare.
9355
658d8eb8
CY
93562011-06-30 Chong Yidong <cyd@stupidchicken.com>
9357
9358 * cus-edit.el (customize-push-and-save): New function.
9359
9360 * files.el (hack-local-variables-confirm): Use it.
9361
1fa280a3
LM
9362 * custom.el (load-theme): New arg NO-CONFIRM.
9363 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9364 (custom-enabled-themes): Doc fix.
9365
9366 * cus-theme.el (customize-create-theme)
9367 (custom-theme-merge-theme): Callers to load-theme changed.
9368
bb617717
LMI
93692011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9370
d61bdd5d
LMI
9371 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9372 short URLs have at least one dot in them (bug #7614).
9373
bb617717
LMI
9374 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9375 nil, because using a pty is apparently too slow (bug #895).
9376
2f31f37a
LMI
93772011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9378
9379 * mail/sendmail.el (sendmail-query-once): New function.
9380 (sendmail-query-once-function): New variable.
9381
3076b24e
GM
93822011-06-29 Glenn Morris <rgm@gnu.org>
9383
faf2a174
GM
9384 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9385
3076b24e
GM
9386 * ses.el (top-level): Require cl when compiling.
9387 (ses-set-localvars): Fix error statement.
9388 Call it at compile time to silence a storm of warnings.
9389
5386012d
MR
93902011-06-29 Martin Rudalics <rudalics@gmx.at>
9391
9392 * window.el (normalize-live-buffer): Rename to
9393 window-normalize-buffer.
9394 (normalize-live-frame): Rename to window-normalize-frame.
9395 (normalize-any-window): Rename to window-normalize-any-window.
9396 (normalize-live-window): Rename to window-normalize-live-window.
9397 (make-window-atom): Rename to window-make-atom.
9398 (window-resize-reset): Rename to window--resize-reset.
9399 (window-resize-reset-1): Rename to window--resize-reset-1.
9400 (resize-mini-window): Rename to window--resize-mini-window.
9401 (resize-subwindows-skip-p): Rename to
9402 window--resize-subwindows-skip-p.
9403 (resize-subwindows-normal): Rename to
9404 window--resize-subwindows-normal.
9405 (resize-subwindows): Rename to window--resize-subwindows.
9406 (resize-other-windows): Rename to window--resize-siblings.
9407 (resize-this-window): Rename to window--resize-this-window.
9408 (resize-root-window): Rename to window--resize-root-window.
9409 (resize-root-window-vertically): Rename to
9410 window--resize-root-window-vertically.
9411 (normalize-buffer-to-display): Rename to
9412 window-normalize-buffer-to-display.
9413 (normalize-buffer-to-switch-to): Rename to
9414 window-normalize-buffer-to-switch-to.
9415 Correspondingly update all callers of the functions listed
9416 above.
9417 (display-buffer-alist, display-buffer-normalize-arguments)
9418 (display-buffer-normalize-options, display-buffer)
9419 (display-buffer-alist-set): Use "function" instead of
9420 "fun-with-args".
9421
1176868d
CY
94222011-06-28 Chong Yidong <cyd@stupidchicken.com>
9423
9424 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9425 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9426 debbugs.gnu.org. Mention acknowledgment email.
9427
20a7a65f
LMI
94282011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9429
9430 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9431 buffer multibyteness, since it shouldn't matter.
9432
5f45cca5
MR
94332011-06-28 Martin Rudalics <rudalics@gmx.at>
9434
9435 * window.el (display-buffer-in-side-window): Handle dedicated
9436 windows as in display-buffer-reuse-window.
9437 (display-buffer-normalize-alist): Use value of override
9438 specifier.
9439 (display-buffer-normalize-specifiers): Use value of
9440 other-window-means-other-frame specifier.
9441 (display-buffer-alist): Rewrite some texts in widgets.
9442 (display-buffer): Spread arguments when calling function
9443 specified by fun-with-args.
9444
ad85fe1f
DD
94452011-06-28 Deniz Dogan <deniz@dogan.se>
9446
1fa280a3
LM
9447 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9448 Unnest `let'.
da68c4c8 9449
ad85fe1f
DD
9450 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9451 selectors (Bug#5732).
ec49bd31 9452 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9453
a08cc025
JA
94542011-06-27 Jari Aalto <jari.aalto@cante.net>
9455
9456 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9457 (eshell-ls-date-format): New defcustom.
9458 (eshell-ls-file): Use it.
9459
e2b551c5
SM
94602011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9461
9462 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9463
8982b231
KY
94642011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9465
9466 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9467 (ange-ftp-make-tmp-name): New arg.
9468 (ange-ftp-file-local-copy): Use it.
9469
36c9fa27
J
94702011-06-27 Jambunathan K <kjambunathan@gmail.com>
9471
9472 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9473 no-conversion (Bug#8870).
9474
d68443dc
MR
94752011-06-27 Martin Rudalics <rudalics@gmx.at>
9476
9477 * window.el (window-right, window-left, window-child)
9478 (window-child-count, window-last-child)
9479 (window-iso-combination-p, walk-window-tree-1)
9480 (window-atom-check-1, window-tree-1, delete-window)
9481 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9482 new naming conventions - window-vchild, window-hchild,
9483 window-next and window-prev are now called window-top-child,
9484 window-left-child, window-next-sibling and window-prev-sibling
9485 respectively.
d615d6d2
MR
9486 (resize-window-reset): Rename to window-resize-reset.
9487 (resize-window-reset-1): Rename to window-resize-reset-1.
9488 (resize-window): Rename to window-resize.
9489 (window-min-height, window-min-width)
9490 (resize-mini-window, resize-this-window, resize-root-window)
9491 (resize-root-window-vertically, adjust-window-trailing-edge)
9492 (enlarge-window, shrink-window, maximize-window)
9493 (minimize-window, delete-window, quit-restore-window)
9494 (split-window, balance-windows, balance-windows-area-adjust)
9495 (balance-windows-area, window-state-put-2)
9496 (display-buffer-even-window-sizes, display-buffer-set-height)
9497 (display-buffer-set-width, set-window-text-height)
9498 (fit-window-to-buffer): Rename all "resize-window" prefixed
9499 calls to use the "window-resize" prefix convention.
9500 (display-buffer-alist): Fix symbol for label specifier.
9501 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9502 corresponding specifier.
9503 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9504
b6458526
VB
95052011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9506
9507 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9508 convention.
9509 (ses-call-printer): Does not pass an empty string to formatter when the
9510 cell is empty to keep from barking printer Calc math-format-value.
9511
d31fd9ac
RS
95122011-06-27 Richard Stallman <rms@gnu.org>
9513
43d5bf84
RS
9514 * battery.el (battery-mode-line-limit): New variable.
9515 (battery-update): Handle it.
9516
d31fd9ac
RS
9517 * mail/rmailmm.el (rmail-mime-process-multipart):
9518 Handle truncated messages.
9519
819a6054
GM
95202011-06-27 Glenn Morris <rgm@gnu.org>
9521
9522 * progmodes/flymake.el (flymake-err-line-patterns):
9523 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9524
cedc73f2
VB
95252011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9526
819a6054 9527 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9528 (ses--clean-!, ses--clean-_): New functions.
9529 (ses-range): Add configurability of readout order, and conversion
9530 to Calc vector.
9531
5e5d49b6
VB
9532 * ses.el (ses-repair-cell-reference-all): New function.
9533 (ses-cell-symbol): Set macro as safe, so that it can be used in
9534 formulas.
9535
56e6cc31 9536 * ses.el: Update cycle detection algorithm.
90ca8b49 9537 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9538 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9539 (ses-set-localvars): New function.
9540 (ses-make-cell): Add property-list as a cell element.
9541 (ses-cell-property-get-fun, ses-cell-property-get)
9542 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9543 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9544 New functions.
90ca8b49
VB
9545 (ses-cell-property-set, ses-cell-property-pop)
9546 (ses-cell-property-get-handle): New macro.
9547 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9548 New aliases, used for code readability.
9549 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9550 cycle detection.
9551 (ses-self-reference-early-detection): New defcustom.
fac916bf 9552 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9553 (ses-mode): Use ses-set-localvars.
9554 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9555 before lauching the update processing.
9556 (ses-initialize-Dijkstra-attempt): New function.
9557 (ses-recalculate-cell): Update for cycle detection based on
9558 Dijkstra algorithm.
9559
2bb63e81
VB
9560 * ses.el: Fix commenting and indenting convention.
9561
c9d29fb8
SM
95622011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9563
9564 * bs.el (bs-cycle-next): Complete last change.
9565
d8e4b68b
JB
95662011-06-27 Drew Adams <drew.adams@oracle.com>
9567
9568 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9569
40098786
LMI
95702011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9571
c9d29fb8
SM
9572 * net/network-stream.el (network-stream-open-starttls):
9573 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9574 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9575
40098786
LMI
9576 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9577 to binary to possibly avoid line encoding issues on Windows (among
9578 other things).
9579
468d09d4
LMI
95802011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9581
9582 * net/network-stream.el (open-network-stream): Return an :error
9583 saying what the problem was, if possible.
9584
9585 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9586 server.
9587
9588 * net/network-stream.el (network-stream-open-starttls): If we
9589 wanted to use STARTTLS, and the server offered it, but we weren't
9590 able to because we had no STARTTLS support, then close the connection.
9591 (open-network-stream): Return an :error element, if present.
9592
16f07dd7
CY
95932011-06-26 Chong Yidong <cyd@stupidchicken.com>
9594
88821ca0
CY
9595 * hl-line.el (hl-line-sticky-flag): Doc fix.
9596 (global-hl-line-sticky-flag): New option (Bug#8323).
9597 (global-hl-line-highlight): Obey it.
9598
16f07dd7
CY
9599 * vc/vc.el (vc-revert-show-diff): Default to t.
9600
6b5ccddf
KM
96012011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9602
c9d29fb8
SM
9603 * allout-widgets.el (allout-widgets-post-command-business):
9604 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9605 undecorated when an isearch is continued past, and isearch
9606 automatically collapses them. This leads to "widget leaks", where
9607 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9608 hidden widgets can slow down cursor travel, substantially.
9609 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9610 so we're doing without this nicety.
9611
9612 (allout-widgets-tally-string): Don't try to do a hash-table-count
9613 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9614 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9615 *Messages* when allout-widgets-maintain-tally is t.
9616
355f2e07
MR
96172011-06-26 Martin Rudalics <rudalics@gmx.at>
9618
9619 * window.el (display-buffer-normalize-argument): Rename to
9620 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9621 LABEL argument. Respect special-display-function when popping up
9622 a new frame. Fix code searching for a window showing the buffer
9623 on another frame.
c9d29fb8
SM
9624 (display-buffer-normalize-specifiers):
9625 Call display-buffer-normalize-arguments.
355f2e07
MR
9626 (display-buffer-in-window): Don't undedicate the window if its
9627 buffer remains the same.
9628 Reported by Drew Adams <drew.adams@oracle.com>.
9629 (display-buffer-alist): Add choice for same-window macro
9630 specfier.
9631 (display-buffer): Mention special meaning of LABEL argument in
9632 doc-string. Fix quoting. Don't pop up a new frame even as
9633 fallback.
9634
7ca8fc42
JB
96352011-06-26 Juanma Barranquero <lekktu@gmail.com>
9636
9637 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9638 avoid deleting the current window in some cases (bug#8911).
9639
bc312254
AS
96402011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9641
9642 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9643 (Bug#8934)
9644
2db18f3f
LMI
96452011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9646
c9d29fb8
SM
9647 * net/network-stream.el (network-stream-open-starttls):
9648 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9649 (network-stream-open-tls): Ditto.
9650
6302e0d3
LL
96512011-06-26 Leo Liu <sdl.web@gmail.com>
9652
9653 * register.el (registerv): New struct.
9654 (registerv-make): New function.
c9d29fb8
SM
9655 (jump-to-register, describe-register-1, insert-register):
9656 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9657 struct. (Bug#8415)
9658
5fdd4046
CY
96592011-06-26 Chong Yidong <cyd@stupidchicken.com>
9660
2afef60a
CY
9661 * vc/vc.el (vc-revert-show-diff): New defcustom.
9662 (vc-diff-internal): New arg specifying diff buffer.
9663 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9664 reuse an existing *vc-diff* buffer (Bug#8927).
9665
5fdd4046
CY
9666 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9667
e93db24a
GM
96682011-06-26 Glenn Morris <rgm@gnu.org>
9669
9670 * progmodes/f90.el (f90-critical-indent): New option.
9671 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9672 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9673 (f90-mode): Doc fix.
9674 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9675 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9676 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9677 (f90-match-end): Handle block, critical.
9678
eefff499
GM
96792011-06-25 Glenn Morris <rgm@gnu.org>
9680
f6ba4cc9
GM
9681 * calendar/diary-lib.el (diary-included-files): Doc fix.
9682 (diary-include-files): New function, extracted from
9683 diary-include-other-diary-files and diary-mark-included-diary-files.
9684 (diary-include-other-diary-files, diary-mark-included-diary-files):
9685 Just call diary-include-files.
9686 (diary-mark-entries): Reset diary-included-files on first call.
9687
16712304
GM
9688 * calendar/diary-lib.el (diary-mark-entries)
9689 (diary-mark-included-diary-files):
9690 Visit included diary-files in temp buffers.
9691
5d8e0d43
GM
9692 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9693 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9694 (f90-start-block-re, f90-imenu-generic-expression)
9695 (f90-looking-at-program-block-start, f90-no-block-limit):
9696 Add support for submodules.
9697
ccf7a5d5
GM
9698 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9699 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9700
11fdef7d 97012011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9702
9703 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9704 buffer-file-type before setting its value, to avoid disastrous
eefff499 9705 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9706
74f53697
JB
97072011-06-25 Juanma Barranquero <lekktu@gmail.com>
9708
9709 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9710
9711 * ses.el (ses-unload-function):
9712 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9713
9714 * proced.el (proced-unload-function):
9715 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9716
18a4ce5e
AR
97172011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9718
9719 * server.el (server-create-window-system-frame): Add parameters arg.
9720 (server-process-filter): Doc fix. Handle frame-parameters.
9721
519d22cc
JB
97222011-06-25 Juanma Barranquero <lekktu@gmail.com>
9723
9724 Fix bug#8730, bug#8781.
9725
9726 * loadhist.el (unload--set-major-mode): New function.
9727 (unload-feature): Use it.
9728
9729 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9730 (python-unload-function): New function.
9731
c206f5b0
SM
97322011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9733
9734 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9735
f9ad64f3
GS
97362011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9737
9738 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9739 the candidates list.
9740
7d0da90e
JB
97412011-06-24 Juanma Barranquero <lekktu@gmail.com>
9742
9743 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9744
14b4e83d
RS
97452011-06-23 Richard Stallman <rms@gnu.org>
9746
9747 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9748 (rmail-variables): Set next-error-move-function.
9749 (rmail-what-message): Take argument POS.
9750 (rmail-next-error-move): New function.
9751
273d2baf
SM
97522011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9753
9754 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9755 messages for adjacent non-terminals.
9756
56c2cc9a
RS
97572011-06-23 Richard Stallman <rms@gnu.org>
9758
9759 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9760 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9761 (rmail-start-mail): Don't specify use of rmail-mail-return;
9762 that's done by mail-bury now.
9763 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9764
d59eb518
MA
97652011-06-23 Michael Albinus <michael.albinus@gmx.de>
9766
9767 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9768 SIZE is a number.
9769
02cfc6d6
MR
97702011-06-23 Martin Rudalics <rudalics@gmx.at>
9771
9772 * window.el (get-lru-window, get-mru-window)
9773 (get-largest-window): Never return a minibuffer window.
9774 (display-buffer-pop-up-window): Fix a bug that could lead to
9775 reusing the minibuffer window.
9776 (display-buffer): Pass original specifier argument to
9777 display-buffer-function instead of the normalized one.
9778 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9779
4e323265
LL
97802011-06-22 Leo Liu <sdl.web@gmail.com>
9781
9782 * minibuffer.el (completing-read-function)
9783 (completing-read-default): Move from minibuf.c
9784
7a70468f
RS
97852011-06-22 Richard Stallman <rms@gnu.org>
9786
50718fc2
RS
9787 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9788 to Rmail even if not started by a special Rmail command.
9789
7a70468f
RS
9790 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9791 Copy the buffer currently showing just one message.
9792
297dde5a
RW
97932011-06-22 Roland Winkler <winkler@gnu.org>
9794
9795 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9796 (bibtex-clean-entry): First delete the old key so that a
9797 customized algorithm for generating the new key does not get
9798 confused by the old key.
9799 (bibtex-url): Obey regexp of first step.
9800 (bibtex-search-entries): Do not use add-to-list with local
9801 list-var.
9802
97bb1093
LMI
98032011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9804
9805 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9806 stored a user name, then query for the password first, instead of
9807 waiting for SMTP to give an error message and the trying again.
9808
1c0f1a19
JD
98092011-06-22 Lawrence Mitchell <wence@gmx.li>
9810
9811 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9812 BUFFER in call-process.
9813
396f7c9d
LMI
98142011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9815
9816 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9817 QUIT twice.
ddb7ffee
LMI
9818 (smtpmail-try-auth-methods): Require user name and password from
9819 auth-source.
396f7c9d 9820
8998d1b3
MR
98212011-06-22 Martin Rudalics <rudalics@gmx.at>
9822
9823 * window.el (display-buffer-default-specifiers)
9824 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9825 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9826 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9827
9828 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9829 (special-display-frame-alist, special-display-popup-frame):
9830 Remove duplicate declarations. These are now in window.el.
9831
4ea31e07
LMI
98322011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9833
c9d29fb8
SM
9834 * mail/smtpmail.el (smtpmail-via-smtp):
9835 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9836 server supports it. SMTP servers that support STARTTLS commonly
9837 require it.
9838
9839 * net/network-stream.el (network-stream-open-starttls): Support
9840 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9841 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9842
95f41d9a
LMI
9843 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9844 upgrades with `open-network-stream', and rely solely on
9845 auth-source for all credentials. Big changes throughout the file,
9846 but in particular:
c9d29fb8
SM
9847 (smtpmail-auth-credentials): Remove.
9848 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9849 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9850 MAIL FROM, too.
95f41d9a 9851
c9d29fb8
SM
9852 * net/network-stream.el (network-stream-open-starttls):
9853 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9854 STARTTLS.
9855 (auth-source): Require.
9856 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9857 (network-stream-certificate): Change cert-cert to cert and
9858 cert-key to key.
4ea31e07 9859
065ec2c7
MA
98602011-06-21 Michael Albinus <michael.albinus@gmx.de>
9861
9862 * net/tramp-cache.el (top): Don't load the persistency file when
9863 "emacs -Q" has been called.
9864
cd93b359
DR
98652011-06-21 Tim Harper <timcharper@gmail.com>
9866
d8e4b68b
JB
9867 * term/ns-win.el (ns-initialize-window-system):
9868 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9869 resource to NO as it is not yet supported by the NS port.
9870
ae9c0411
JB
98712011-06-21 Juanma Barranquero <lekktu@gmail.com>
9872
9873 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9874 (list-dynamic-libraries): ...not here.
9875
7f3f739f
LL
98762011-06-21 Leo Liu <sdl.web@gmail.com>
9877
9878 * subr.el (sha1): Implement sha1 using secure-hash.
9879
327c8fb1
MR
98802011-06-21 Martin Rudalics <rudalics@gmx.at>
9881
9882 * window.el (display-buffer-alist): In default value do not
9883 enforce searching a window on any but the selected frame.
9884 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9885 (display-buffer-select-window): Remove function.
9886 (display-buffer-in-window): When a window on another frame gets
9887 reused, do not select it any more but just raise its frame if
9888 necessary (Bug#8851) and (Bug#8856).
9889 (display-buffer-normalize-options): Handle pop-up-frames related
9890 options more faithfully.
9891 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9892 window if it is on another frame.
c9d29fb8
SM
9893 (display-buffer-alist, display-buffer-default-specifiers):
9894 Don't make new frame unsplittable by default.
9e9de014
MR
9895 (display-buffer-normalize-argument): Fix doc-string typo and use
9896 'same-frame-other-window instead of 'other-window when associating
9897 with display-buffer-macro-specifiers.
327c8fb1 9898
7cf3f556
VB
98992011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9900
9901 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9902 New functions.
9903 (5x5-mode-map, 5x5-mode-menu): Bind them.
9904 (5x5-draw-grid): Tweak the solver's rendering.
9905
60a406cf
SM
99062011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9907
9908 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9909 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9910
d8e4b68b 99112011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9912
9913 * menu-bar.el: Use function variable instead of switch-to-buffer.
9914 (menu-bar-select-buffer-function): New variable.
60a406cf 9915 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9916
478d6f95
SM
99172011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9918
9919 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9920 variable's status.
9921
ca530739
JD
99222011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9923
9924 * x-dnd.el (x-dnd-version-from-flags)
9925 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9926 and long as number (Bug#8899).
9927 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9928
bcd70d97
SM
99292011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9930
60a406cf 9931 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9932 (completion-try-completion, completion-all-completions): Compute the
9933 metadata argument if it's missing; make it optional (bug#8795).
9934
60a406cf 9935 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9936 (widget-complete): Use new :completion-function property.
9937 (widget-completions-at-point): New function.
9938 (default): Use :completion-function instead of :complete.
60a406cf
SM
9939 (widget-default-completions): Rename from widget-default-complete;
9940 Rewrite.
bcd70d97
SM
9941 (widget-string-complete, widget-file-complete, widget-color-complete):
9942 Remove functions.
9943 (file, symbol, function, variable, coding-system, color):
9944 * international/mule-cmds.el (default-input-method, charset)
9945 (language-info-custom-alist):
9946 * cus-edit.el (face): Use new property :completions.
9947
9948 * progmodes/pascal.el (pascal-completions-at-point): New function.
9949 (pascal-mode): Use it.
9950 (pascal-mode-map): Use completion-at-point.
9951 (pascal-toggle-completions): Make obsolete.
9952 (pascal-complete-word, pascal-show-completions):
9953 * progmodes/octave-mod.el (octave-complete-symbol):
9954 Redefine as obsolete alias.
9955 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9956 Signal absence of completion info for old Octave,
9957 (inferior-octave-complete): Redefine as obsolete alias.
9958 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9959 (meta-completions-at-point): Rename from meta-complete-symbol and
9960 adapt it for use on completion-at-point-functions.
9961 (meta-common-mode): Use it.
9962 (meta-looking-at-backward, meta-match-buffer): Remove.
9963 (meta-complete-symbol): Redefine as obsolete alias.
9964 (meta-common-mode-map): Use completion-at-point.
9965 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9966 (makefile-mode-map): Use completion-at-point.
9967 (makefile-completions-at-point): Rename from makefile-complete and
9968 adapt it for use on completion-at-point-functions.
9969 (makefile-mode): Use it.
9970 (makefile-complete): Redefine as obsolete alias.
9971
aebf69c8
DD
99722011-06-20 Deniz Dogan <deniz@dogan.se>
9973
9974 * net/rcirc.el: Delete trailing whitespaces once and for all.
9975
bfbbb27d
DC
99762011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9977
9978 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9979
d264a46b
CY
99802011-06-19 Chong Yidong <cyd@stupidchicken.com>
9981
4ca009e5
CY
9982 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9983
d264a46b
CY
9984 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9985
fbf5b3ce
MR
99862011-06-19 Martin Rudalics <rudalics@gmx.at>
9987
9988 * window.el (display-buffer-other-window-means-other-frame):
9989 Call display-buffer-normalize-alist.
9990 (display-buffer-normalize-specifiers-1): Rename to
9991 display-buffer-normalize-argument. New argument other-frame.
9992 Rewrite.
9993 (display-buffer-normalize-specifiers-2): Rename to
9994 display-buffer-normalize-options.
9995 (display-buffer-normalize-alist-1): New function.
9996 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
9997 display-buffer-normalize-alist.
9998 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9999 (display-buffer-normalize-options-inhibit): New variable.
10000 (display-buffer-normalize-specifiers): Rewrite calling
10001 display-buffer-normalize-alist,
10002 display-buffer-normalize-argument, and
10003 display-buffer-normalize-options. Don't call the latter if
10004 display-buffer-normalize-options-inhibit is non-nil.
10005 (frame-auto-delete): New option.
10006 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10007 (window-list-no-nils, window-state-ignored-parameters)
10008 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10009 (window-state-put-1, window-state-put-2, window-state-put):
10010 New functions.
9a028c23
MR
10011 (display-buffer-normalize-options): Move special-display-p group
10012 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10013
6d10d800
CY
100142011-06-18 Chong Yidong <cyd@stupidchicken.com>
10015
6420d28b
CY
10016 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10017 groups (Bug#8776).
10018 (rx-submatch-n): New function.
10019 (rx): Document it.
10020
ddb8b596
CY
10021 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10022 (Bug#8768).
10023
10024 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10025
77080289
CY
10026 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10027
61dfb316
CY
10028 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10029 anytime existing face settings are present (Bug#8889).
10030
6d10d800
CY
10031 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10032 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10033 Remove unused argument.
10034
be3fb2b8
MR
100352011-06-18 Martin Rudalics <rudalics@gmx.at>
10036
bcd70d97
SM
10037 * window.el (display-buffer-default-specifiers):
10038 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10039 pop-up-window-min-width, and another reuse-window specifier
10040 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10041 (display-buffer-normalize-specifiers-2):
10042 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10043 pop-up-windows is unset. Add a reuse-window specifier for the
10044 case popping up a new window fails.
10045 (special-display-popup-frame): Remove double quoting.
28dec25a 10046 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10047
1c6d8c76
SM
100482011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10049
10050 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10051 according to comint-completion-addsuffix.
10052
10053 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10054 (pcomplete-suffix-list): Mark as obsolete.
10055 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10056 pcomplete-seen in the closure.
10057 (pcomplete-comint-setup): Setup completion-at-point as well.
10058 (pcomplete--entries): New function.
10059 (pcomplete--env-regexp): New var.
10060 (pcomplete-entries): Rewrite to work with partial-completion and
10061 without relying on pcomplete-suffix-list.
10062 (pcomplete-pare-list): Remove, unused.
10063
25aef8b8
MR
100642011-06-17 Martin Rudalics <rudalics@gmx.at>
10065
10066 * window.el (display-buffer-alist): Set pop-up-window-min-height
10067 and pop-up-window-min-width in default value. Reported by
10068 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10069 other-window-means-other-frame.
10070 (display-buffer-macro-specifiers): Comment out entry for
10071 other-window specifier.
10072 (display-buffer-other-window-means-other-frame): New function.
10073 (display-buffer-normalize-specifiers-1): New arguments
10074 buffer-name and label. Treat other-window case specially.
10075 (display-buffer-normalize-specifiers-2): Treat other-window case
10076 specially.
10077 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10078 (display-buffer-normalize-specifiers):
10079 Call display-buffer-normalize-specifiers-3.
25aef8b8 10080
dbad4f69
MR
100812011-06-17 Martin Rudalics <rudalics@gmx.at>
10082
10083 * window.el (same-window-p): Fix two typos introduced when
10084 adding with-no-warnings.
d1067961
MR
10085 (display-buffer-normalize-specifiers-1): Don't check
10086 pop-up-frames for 'unset initialization.
10087 (display-buffer-normalize-specifiers-2): Major rewrite using
10088 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10089 (pop-up-frames, display-buffer-reuse-frames)
10090 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10091 Suggested by David Engster <deng@randomsample.de>.
10092 (even-window-heights): Initialize to 'unset.
10093 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10094 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10095 other window case.
dbad4f69 10096
9b9c9e3a
MR
100972011-06-16 Martin Rudalics <rudalics@gmx.at>
10098
bcd70d97
SM
10099 * window.el (display-buffer-normalize-specifiers-1):
10100 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10101 second argument of display-buffer (Bug#8865).
981d5c09
MR
10102 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10103 (switch-to-buffer-other-window-same-frame)
10104 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10105 Adams (Bug#8875).
9c2755e9
MR
10106 (display-buffer): Don't check noninteractive when calling
10107 display-buffer-pop-up-frame.
10108 (display-buffer-pop-up-frame): Never pop up a frame in
10109 noninteractive mode (Bug#8857).
67222e1d
MR
10110 (enlarge-window, shrink-window): Don't report an error when the
10111 window can't be resized as requested (Bug#8862).
9b9c9e3a 10112
2b75be67
SM
101132011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10114
9ffdd3ba
SM
10115 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10116
cb581a67
SM
10117 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10118
2b75be67
SM
10119 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10120
8c0e3589
AM
101212011-06-15 Alan Mackenzie <acm@muc.de>
10122
cb581a67
SM
10123 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10124 for declarators, disable knr checking to speed up for normal files.
10125 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10126
b96e6cde
LMI
101272011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10128
4bba86e6
LMI
10129 * net/network-stream.el (open-network-stream): Add the keyword
10130 :always-query-capabilities for the case where you want to force a
10131 `plain' network connection, but the protocol still requires the
10132 capabilitiy command (i.e., SMTP and EHLO).
10133
2b75be67 10134 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10135 consistency with other `-live-p' functions.
10136
efdcdbf8
SM
101372011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10138
10139 * window.el (same-window-buffer-names, same-window-regexps)
10140 (special-display-frame-alist, special-display-popup-frame)
10141 (special-display-function, special-display-buffer-names)
10142 (special-display-regexps, pop-up-frame-alist)
10143 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10144 (pop-up-windows, split-window-preferred-function)
10145 (split-height-threshold, split-width-threshold, even-window-heights)
10146 (display-buffer-mark-dedicated): Don't encourage the use of
10147 display-buffer-alist from Elisp code.
10148
c5cde042
DN
101492011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10150
10151 * progmodes/python.el (python-mode): Derive from prog-mode.
10152 * progmodes/ps-mode.el (ps-mode):
10153 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10154 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10155 * progmodes/ld-script.el (ld-script-mode): Likewise.
10156
baa1c9ab
MR
101572011-06-15 Martin Rudalics <rudalics@gmx.at>
10158
10159 * window.el (display-buffer-alist): Trim default value to avoid
10160 popping up a new frame (Bug#8857) or reusing an arbitrary window
10161 on another frame.
10162 (display-buffer): Do not fall back on popping up a new frame in
10163 batch mode (Bug#8857).
10164
c5dd5a51
CY
101652011-06-14 Chong Yidong <cyd@stupidchicken.com>
10166
10167 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10168 (custom-theme-summary): New function.
10169 (customize-themes): Use it.
10170
d647b7c4
GM
101712011-06-13 Glenn Morris <rgm@gnu.org>
10172
10173 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10174
9481c002
MR
101752011-06-13 Martin Rudalics <rudalics@gmx.at>
10176
357f93d2
MR
10177 * help.el (help-window): Remove variable.
10178 (help-window-point-marker, temp-buffer-max-height)
10179 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10180 (help-print-return-message): Don't set help-window.
10181 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10182 (help-window-setup-finish): Remove.
10183 (help-window-display-message, help-window-setup)
10184 (with-help-window): Major rewrite based on new
10185 display-buffer-window variable.
10186
10187 * help-mode.el (help-mode-finish): Remove help-window related
10188 code.
10189
10190 * view.el (view-exits-all-viewing-windows): Remove reference to
10191 view-return-to-alist in doc-string.
10192 (view-return-to-alist): Make obsolete.
10193 (view-buffer): Call pop-to-buffer-same-window and remove
10194 undo-window code.
10195 (view-buffer-other-window): Call pop-to-buffer-other-window and
10196 simplify code. Ignore second argument.
10197 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10198 simplify code. Ignore second argument.
10199 (view-return-to-alist-update): Make obsolete.
10200 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10201 Rewrite using quit-restore window parameters.
2b75be67
SM
10202 (view-mode-exit): Rename second argument to EXIT-ONLY.
10203 Rewrite using quit-restore-window.
357f93d2
MR
10204 (View-exit, View-exit-and-edit, View-leave, View-quit)
10205 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10206 appropriate arguments.
10207 (view-end-message): Use quit-restore window parameter.
10208
9481c002
MR
10209 * window.el (display-buffer-function): Rewrite doc-string.
10210 (display-buffer-window, display-buffer-alist): New variables.
10211 (display-buffer-split-specifiers)
10212 (display-buffer-side-specifiers)
10213 (display-buffer-macro-specifiers): New constants.
10214 (display-buffer-even-window-sizes, display-buffer-set-height)
10215 (display-buffer-set-width, display-buffer-select-window)
10216 (display-buffer-in-window, display-buffer-reuse-window)
10217 (display-buffer-split-window-1, display-buffer-split-window)
10218 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10219 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10220 (display-buffer-in-side-window, normalize-buffer-to-display)
10221 (display-buffer-normalize-specifiers-1)
10222 (display-buffer-normalize-specifiers-2)
2b75be67
SM
10223 (display-buffer-normalize-specifiers, display-buffer-frame):
10224 New functions.
9481c002
MR
10225 (display-buffer): Major rewrite.
10226 (display-buffer-other-window, display-buffer-other-frame)
10227 (pop-to-buffer, switch-to-buffer-other-window)
10228 (switch-to-buffer-other-frame): Rewrite.
10229 (display-buffer-same-window, display-buffer-same-frame)
10230 (display-buffer-same-frame-other-window)
10231 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10232 (pop-to-buffer-other-window)
10233 (pop-to-buffer-same-frame-other-window)
10234 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10235 (switch-to-buffer-other-window-same-frame): New functions.
10236 (same-window-p, special-display-p): Rewrite disabling warnings.
10237 Make obsolete.
10238 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10239 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10240 Make obsolete
10241 (same-window-buffer-names, same-window-regexps)
10242 (special-display-frame-alist, special-display-popup-frame)
10243 (special-display-function, special-display-buffer-names)
10244 (special-display-regexps, pop-up-frame-alist)
10245 (pop-up-frame-function, split-window-preferred-function)
10246 (split-height-threshold, split-width-threshold)
10247 (even-window-heights): Make obsolete.
10248
9db51aca
GM
102492011-06-12 Glenn Morris <rgm@gnu.org>
10250
10251 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 10252 Misc simplifications.
9db51aca 10253
39cffb44
MR
102542011-06-12 Martin Rudalics <rudalics@gmx.at>
10255
10256 * window.el (window-safely-shrinkable-p): Restore function which
10257 was inadvertently removed in change from 2011-06-11. Declare as
10258 obsolete.
10259
2b75be67
SM
10260 * calendar/calendar.el (calendar-generate-window):
10261 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
10262 window-safely-shrinkable-p.
10263
a8955be7
GM
102642011-06-12 Glenn Morris <rgm@gnu.org>
10265
10266 * progmodes/fortran.el (fortran-mode-syntax-table):
10267 * progmodes/f90.el (f90-mode-syntax-table):
10268 Set % to punctuation. (Bug#8820)
10269 (f90-find-tag-default): Remove, no longer needed.
10270
f0d4059d
DC
102712011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10272
10273 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10274
1100a63c
CY
102752011-06-11 Chong Yidong <cyd@stupidchicken.com>
10276
10277 * image.el (image-animated-p): Return animation delay in seconds.
10278 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10279 (image-animate-timeout): Remove DELAY argument. Don't assume
10280 every subimage has the same delay; get it from image-animated-p.
10281 (image-animate): Caller changed.
10282
def722bf
MA
102832011-06-11 Michael Albinus <michael.albinus@gmx.de>
10284
10285 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10286 to ignored backtrace functions.
10287
0a2bb1a9
GM
102882011-06-11 Glenn Morris <rgm@gnu.org>
10289
10290 * calendar/appt.el (appt-disp-window-function): Doc fix.
10291 (appt-check): Handle overlapping appointments. (Bug#8337)
10292
6198ccd0
MR
102932011-06-11 Martin Rudalics <rudalics@gmx.at>
10294
10295 * window.el (window-tree-1, window-tree): New functions, moving
10296 the latter to window.el.
10297 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10298 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10299 (bw-refresh-edges): Remove.
10300 (balance-windows-1, balance-windows-2): New functions.
10301 (balance-windows): Rewrite in terms of window tree functions,
10302 balance-windows-1 and balance-windows-2.
10303 (bw-adjust-window): Remove.
10304 (balance-windows-area-adjust): New function with functionality of
10305 bw-adjust-window but using resize-window.
2b75be67
SM
10306 (set-window-text-height): Rewrite doc-string.
10307 Use normalize-live-window and resize-window.
10308 (enlarge-window-horizontally, shrink-window-horizontally):
10309 Rename argument to DELTA.
6198ccd0
MR
10310 (window-buffer-height): New function.
10311 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10312 Rewrite using new window resize routines.
2b75be67
SM
10313 (kill-buffer-and-window, mouse-autoselect-window-select):
10314 Use ignore-errors instead of condition-case.
6198ccd0
MR
10315 (quit-window): Call delete-frame instead of delete-windows-on
10316 for the only buffer on frame.
10317
9397e56f
MR
103182011-06-10 Martin Rudalics <rudalics@gmx.at>
10319
10320 * loadup.el (top-level): Load window before files for the sake
10321 of replace-buffer-in-windows.
10322
10323 * files.el (read-buffer-to-switch)
10324 (switch-to-buffer-other-window)
2b75be67
SM
10325 (switch-to-buffer-other-frame, display-buffer-other-frame):
10326 Move to window.el.
9397e56f
MR
10327
10328 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10329 (previous-buffer): Move to window.el.
10330
10331 * bindings.el (unbury-buffer): Move to window.el.
10332
10333 * window.el (delete-other-windows-vertically): Move after
10334 definition of delete-other-windows.
10335 (other-window, delete-windows-on, replace-buffer-in-windows):
10336 Move here from window.c.
10337 (record-window-buffer, unrecord-window-buffer)
10338 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10339 (switch-to-next-buffer): New functions.
10340 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10341 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10342 (previous-buffer): Move here from simple.el.
10343 Call switch-to-prev-buffer.
9397e56f
MR
10344 (bury-buffer): Move here from buffer.c. Switch to previous
10345 buffer when window cannot be deleted.
10346 (unbury-buffer): Move here from bindings.el.
10347 (ctl-x-map): Move binding for other-window from window.c to
10348 here.
10349 (read-buffer-to-switch, switch-to-buffer-other-window)
10350 (switch-to-buffer-other-frame): Move here from files.el.
10351 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10352 (switch-to-buffer): Move here from buffer.c.
10353 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10354
562dd5e9
MR
103552011-06-10 Martin Rudalics <rudalics@gmx.at>
10356
10357 * window.el (window-min-height, window-min-width): Move here
10358 from window.c. Add defcustoms and rewrite doc-strings.
10359 (resize-mini-window, resize-window): New functions.
10360 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10361 Move here from window.c.
10362 (maximize-window, minimize-window): New functions.
10363 (delete-window, delete-other-windows, split-window): Move here
10364 from window.c.
10365 (window-split-min-size): New function.
10366 (split-window-keep-point): Mention split-window-above-each-other
10367 instead of split-window-vertically.
2b75be67 10368 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10369 Rename split-window-vertically to split-window-above-each-other
10370 and provide defalias for old definition.
10371 (split-window-side-by-side, split-window-horizontally):
10372 Rename split-window-horizontally to split-window-side-by-side
10373 and provide defalias for the old definition.
562dd5e9
MR
10374 (ctl-x-map): Move bindings for delete-window,
10375 delete-other-windows and enlarge-window here from window.c.
10376 Replace bindings for split-window-vertically and
10377 split-window-horizontally by bindings for
10378 split-window-above-each-other and split-window-side-by-side.
10379
10380 * cus-start.el (all): Remove entries for window-min-height and
10381 window-min-width. Add entries for window-splits and
10382 window-nest.
10383
f0da764a
GM
103842011-06-09 Glenn Morris <rgm@gnu.org>
10385
80675c21
GM
10386 * calendar/appt.el (appt-mode-line): New function.
10387 (appt-check, appt-disp-window): Use it.
10388
f0da764a
GM
10389 * files.el (hack-one-local-variable-eval-safep):
10390 Allow minor-modes with explicit +/-1 arguments.
10391
59f623b7
TZ
103922011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10393
10394 * term/xterm.el (xterm): Add defgroup.
10395 (xterm-extra-capabilities): Add defcustom to supply known xterm
10396 capabilities, skip querying them, or query them (default).
10397 (terminal-init-xterm): Use it.
10398 (terminal-init-xterm-modify-other-keys): New function to set up
10399 modifyOtherKeys support to simplify `terminal-init-xterm'.
10400
9aab8e0d
MR
104012011-06-09 Martin Rudalics <rudalics@gmx.at>
10402
10403 * window.el (resize-window-reset, resize-window-reset-1)
10404 (resize-subwindows-skip-p, resize-subwindows-normal)
10405 (resize-subwindows, resize-other-windows, resize-this-window)
10406 (resize-root-window, resize-root-window-vertically)
10407 (window-deletable-p, window-or-subwindow-p)
10408 (frame-root-window-p): New functions.
10409
e8b08aee
GM
104102011-06-09 Glenn Morris <rgm@gnu.org>
10411
10412 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10413 (ange-ftp-get-files): Use it.
10414
254c37a5
AK
104152011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10416
10417 * mail/sendmail.el (mail-recover-1, mail-recover):
10418 * files.el (recover-file, recover-session):
10419 Handle dired-listing-switches not being just a single short option.
10420
35d7dbd3
GM
104212011-06-09 Glenn Morris <rgm@gnu.org>
10422
10423 * calendar/appt.el (appt-display-message, appt-disp-window):
10424 Handle lists of appointments.
10425
387522b2
MR
104262011-06-08 Martin Rudalics <rudalics@gmx.at>
10427
2b75be67
SM
10428 * window.el (one-window-p): Move down in code.
10429 Rewrite doc-string.
10430 (window-current-scroll-bars): Rewrite doc-string.
10431 Normalize live window argument.
387522b2
MR
10432 (walk-windows, get-window-with-predicate, count-windows):
10433 Rewrite doc-string. Use window-list-1.
10434 (window-in-direction-2, window-in-direction, get-mru-window):
10435 New functions.
10436
d8e4b68b 104372011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10438
10439 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10440 Doc fix (Bug#8713).
10441
104422011-06-08 Chong Yidong <cyd@stupidchicken.com>
10443
10444 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10445
104462011-06-08 Juanma Barranquero <lekktu@gmail.com>
10447
10448 * loadhist.el (unload-feature-special-hooks):
10449 Add `comint-output-filter-functions'.
10450
0de12c52
IK
104512011-06-08 Ivan Kanis <gnu@kanis.fr>
10452
10453 * calendar/appt.el (appt-check): Move some initializations into the let.
10454
f3d1777e
MR
104552011-06-08 Martin Rudalics <rudalics@gmx.at>
10456
10457 * window.el (window-height): Defalias to window-total-height.
10458 (window-width): Defalias to window-body-width.
10459
18af70d0
CY
104602011-06-07 Chong Yidong <cyd@stupidchicken.com>
10461
10462 * image-mode.el (image-toggle-animation): New command.
10463 (image-mode-map): Bind it to RET.
10464 (image-mode): Update message.
10465 (image-toggle-display-image): Avoid a spurious cache flush.
10466 (image-transform-rotation): Doc fix.
10467 (image-transform-properties): Return quickly in the normal case.
10468 (image-animate-loop): Rename from image-animate-max-time.
10469
2b75be67 10470 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10471 (create-animated-image): Remove unnecessary function.
10472 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10473 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10474 (image-animate-timer): Use car-safe.
10475 (image-animate-timeout): Rename argument.
10476
190b47e6
MR
104772011-06-07 Martin Rudalics <rudalics@gmx.at>
10478
10479 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10480 window.c. Rename first argument to ALL-FRAMES.
10481 Rephrase doc-strings.
10482 (get-buffer-window-list): Rewrite using window-list-1.
10483 Rephrase doc-string.
a1511caf
MR
10484 (window-safe-min-height, window-safe-min-width): New constants.
10485 (window-size-ignore, window-min-size, window-min-size-1)
10486 (window-sizable, window-sizable-p, window-size-fixed-1)
10487 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10488 (window-max-delta-1, window-max-delta, window-resizable)
10489 (window-resizable-p, window-total-height, window-total-width)
10490 (window-body-width): New functions.
10491 (window-full-height-p, window-full-width-p): Rewrite using
10492 window-total-size.
10493 (window-body-height): Rewrite using window-body-size.
190b47e6 10494
85cc1f11
MR
104952011-06-06 Martin Rudalics <rudalics@gmx.at>
10496
10497 * window.el (window-right, window-left, window-child)
10498 (window-child-count, window-last-child, window-any-p)
10499 (normalize-live-buffer, normalize-live-frame)
10500 (normalize-any-window, normalize-live-window)
10501 (window-iso-combination-p, window-iso-combined-p)
10502 (window-iso-combinations)
10503 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10504 (windows-with-parameter, window-with-parameter)
10505 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10506 (window-atom-check, window-side-check, window-check):
10507 New functions.
85cc1f11
MR
10508 (ignore-window-parameters, window-sides, window-sides-vertical)
10509 (window-sides-slots): New variables.
10510 (window-size-fixed): Move down in code. Minor doc-string fix.
10511
e7156492
AS
105122011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10513
10514 * comint.el (comint-dynamic-complete-as-filename)
10515 (comint-dynamic-complete-filename): Correctly call
10516 completion-in-region.
10517
7e821d0d
DD
105182011-06-05 Deniz Dogan <deniz@dogan.se>
10519
10520 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10521 in last change.
10522
ac09b8a1
DD
105232011-06-05 Deniz Dogan <deniz@dogan.se>
10524
10525 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10526 (rcirc): Use it to prompt for encryption.
10527
34699b85
RW
105282011-06-05 Roland Winkler <winkler@gnu.org>
10529
10530 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10531 (bibtex-search-entries): New command bound to C-c C-a.
10532 (bibtex-display-entries): New function.
10533
004dedd3
RW
105342011-06-05 Roland Winkler <winkler@gnu.org>
10535
10536 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10537 (bibtex-insert-kill): After yanking insert newline if necessary.
10538 (bibtex-initialize): Call bibtex-string-files-init only once.
10539 (bibtex-mode): Do not call easy-menu-add.
10540 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10541 (bibtex-yank): Set arg properly if nil.
10542
022fe7ce
RW
105432011-06-05 Roland Winkler <winkler@gnu.org>
10544
2b75be67
SM
10545 * textmodes/bibtex.el (bibtex-search-entry-globally):
10546 New variable.
022fe7ce
RW
10547 (bibtex-search-entry): Use it.
10548
b7c3692a
RW
105492011-06-05 Roland Winkler <winkler@gnu.org>
10550
10551 * textmodes/bibtex.el (bibtex-entry-format): New option
10552 sort-fields.
10553 (bibtex-format-entry, bibtex-reformat): Honor this option.
10554 (bibtex-parse-entry): Return fields in proper order.
10555
8eda563d
JB
105562011-06-05 Juanma Barranquero <lekktu@gmail.com>
10557
10558 * doc-view.el (doc-view-remove-if): Move computation of result out
10559 of `dolist' to silence misleading lexical-binding warning.
10560
7dbe3dbc
CY
105612011-06-04 Chong Yidong <cyd@stupidchicken.com>
10562
10563 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10564 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10565
0c33dd17
MA
105662011-06-04 Michael Albinus <michael.albinus@gmx.de>
10567
10568 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10569 "SunOS 5.10".
10570
f8f91c2b
MA
105712011-06-04 Michael Albinus <michael.albinus@gmx.de>
10572
10573 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10574 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10575 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10576 (tramp-parse-putty):
10577 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10578 (tramp-completion-function-alist-ssh)
10579 (tramp-completion-function-alist-telnet)
10580 (tramp-completion-function-alist-su)
10581 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10582 cookie.
10583
10584 * net/tramp-ftp.el:
10585 * net/tramp-sh.el:
10586 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10587 load "tramp.el" `tramp-set-completion-function'.
10588
e17d9003
SM
105892011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10590
10591 * shell.el: Require and use pcomplete.
10592 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10593 (shell-completion-vars): Set pcomplete-default-completion-function.
10594
6c4cab03
DD
105952011-06-04 Deniz Dogan <deniz@dogan.se>
10596
10597 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10598 `memq' (Bug#8799).
10599
ea9fafe0
SM
106002011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10601
10602 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10603
b3e945d3
JB
106042011-06-02 Juanma Barranquero <lekktu@gmail.com>
10605
10606 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10607 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10608 * vc/log-view.el (log-view-beginning-of-defun):
10609 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10610 (smerge-refine-forward, smerge-refine-chopup-region):
10611 Silence warning for unused `dotimes' counter variables.
10612
7d520089
SM
106132011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10614
10615 * net/tramp.el (tramp-with-progress-reporter): Rename from
10616 with-progress-reporter. Use `declare'.
10617 * net/tramp-smb.el:
10618 * net/tramp-sh.el:
10619 * net/tramp-gvfs.el: Update all uses.
10620
a1c2400f
JB
106212011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10622
10623 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10624 buffer isn't killed before making it current.
10625
2403c841
SM
106262011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10627
10628 Silence various byte-compiler warnings.
10629 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10630 `access-type' and new obsolescence format.
10631 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10632 new format.
10633 (byte-compile-check-variable): New `access-type' argument.
10634 Only warn if the access-type is obsolete.
10635 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10636 (byte-compile-variable-set): Adjust callers.
10637 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10638 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10639 setting it as obsolete.
10640 * simple.el (minibuffer-completing-symbol):
10641 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10642 access as obsolete.
10643 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10644 obsolete yet.
10645 * international/quail.el (quail-mouse-choose-completion): Remove unused
10646 code referring to obsolete var.
10647 (quail-choose-completion-string): Remove.
10648 * server.el (server-clients-with, server-kill-buffer-query-function)
10649 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10650 * proced.el (proced-send-signal):
10651 * emacs-lisp/lisp.el (lisp-complete-symbol):
10652 Replace completion-annotate-function with completion-extra-properties.
10653
2462470b
SM
106542011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10655
fb5b2591
SM
10656 * simple.el (goto-line): Use read-number.
10657 (overriding-map-is-bound): Remove.
10658 (saved-overriding-map): Change default.
10659 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10660 Take the map as argument.
10661 (universal-argument, negative-argument, digit-argument): Use it.
10662 (restore-overriding-map): Adjust.
10663 (do-auto-fill): Use fill-forward-paragraph.
10664 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10665
fd6fa53f
SM
10666 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10667 (minibuffer-inactive-mode): New major mode.
10668 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10669 the *Messages* buffer" hack.
10670 (mouse-popup-menubar): Don't burp if the event is a normal key.
10671
2462470b
SM
10672 Miscellaneous tweaks.
10673 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10674 lexical scoping as in subr.el's dolist and dotimes.
10675 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10676 Silence compiler warning.
10677 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10678 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10679 * international/ccl.el (ccl-compile): Trivial simplification.
10680 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10681 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10682 `printflag' argument.
10683 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10684 Purecopy the whole obsolescence data.
10685
108bf785
LL
106862011-06-01 Leo Liu <sdl.web@gmail.com>
10687
10688 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10689 improve doc-string as suggested by Marco Pessotto
10690 <melmothx@gmail.com>.
10691 (rcirc-print): Fix last change.
10692
30a23501
SM
106932011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10694
10695 * minibuffer.el (complete-with-action): Return nil for the metadata and
10696 boundaries of non-functional tables.
10697 (completion-table-dynamic): Return nil for the metadata.
10698 (completion-table-with-terminator): Add default case, using
10699 complete-with-action.
10700 (completion--metadata): New function.
10701 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10702 to try and avoid pathological performance problems.
10703 (completion--embedded-envvar-table): Return `category' metadata.
10704
bcd54f83
LMI
107052011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10706
10707 * subr.el (process-alive-p): New tiny convenience function.
10708
e227544d
SM
107092011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10710
10711 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10712 content but also its previous major mode.
10713
e8296fdc
HE
107142011-05-31 Helmut Eller <eller.helmut@gmail.com>
10715
4d61f28d 10716 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10717 *Backtrace* buffer when we exit with C-M-c.
10718
620c53a6
SM
107192011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10720
10721 * minibuffer.el: Add metadata method to completion tables.
10722 (completion-category-overrides): New defcustom.
10723 (completion-metadata, completion--field-metadata)
10724 (completion-metadata-get, completion--styles)
10725 (completion--cycle-threshold): New functions.
10726 (completion-try-completion, completion-all-completions):
10727 Add `metadata' argument to choose completion-styles.
10728 (completion--do-completion): Use metadata to choose cycling.
10729 (completion-all-sorted-completions): Use metadata for sorting.
10730 Remove :completion-cycle-penalty which is not needed any more.
10731 (completion--try-word-completion): Add `metadata' argument.
10732 (minibuffer-completion-help): Check metadata for annotation function
10733 and sorting.
10734 (completion-file-name-table): Return `category' metadata.
10735 (minibuffer-completing-file-name): Make obsolete.
10736 * simple.el (minibuffer-completing-symbol): Make obsolete.
10737 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10738 completion-try-completion.
10739
1257e755
SM
107402011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10741
10742 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10743
3767e706
LL
107442011-05-30 Leo Liu <sdl.web@gmail.com>
10745
10746 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10747 (rcirc-print): Decode all incoming messages (bug#8744).
10748 (rcirc-decode-coding-system): Allow value nil for automatic coding
10749 system detection.
3767e706 10750
d1a5d56a
GM
107512011-06-01 Glenn Morris <rgm@gnu.org>
10752
10753 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10754
e8cbec34
CY
107552011-05-29 Chong Yidong <cyd@stupidchicken.com>
10756
10757 * image.el (image-animate-max-time): Allow nil and t values.
10758 Default to nil.
10759 (create-animated-image): Doc fix.
10760 (image-animate-start): Remove second arg; just use
10761 image-animate-max-time.
10762 (image-animate-timeout): Doc fix. Args changed.
10763
10764 * image-mode.el (image-toggle-display-image): Ensure that the
10765 image spec passed to the animate timer is the same object as in
58179cce 10766 the buffer's display property (Bug#6981).
e8cbec34
CY
10767 (image-transform-properties): Doc fix.
10768
10769 * image.el (image-animate-max-time): Default to nil.
10770
159daf87
MR
107712011-05-29 Martin Rudalics <rudalics@gmx.at>
10772
10773 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10774 entire buffer list (Bug#8184).
10775
d66c4c7c
CY
107762011-05-29 Chong Yidong <cyd@stupidchicken.com>
10777
10778 * image.el (imagemagick-types-inhibit)
10779 (imagemagick-register-types): Doc fix.
10780
80aec780
DD
107812011-05-29 Deniz Dogan <deniz@dogan.se>
10782
10783 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10784 default.
10785
1dd3c2d9
CY
107862011-05-29 Chong Yidong <cyd@stupidchicken.com>
10787
10788 * select.el: Don't perform clipboard-manager saving in hooks;
10789 leave the hooks empty.
10790
60e56523
LL
107912011-05-28 Leo Liu <sdl.web@gmail.com>
10792
10793 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10794 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10795 (occur-edit-mode): New major mode (Bug#8463).
10796 (occur-after-change-function): New function.
10797 (occur-engine): Give Occur tags a read-only property.
10798
2b1e1a22
KR
107992011-05-28 Kevin Ryde <user42@zip.com.au>
10800
10801 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10802
5d344e88
CY
108032011-05-28 Chong Yidong <cyd@stupidchicken.com>
10804
8e6ca83d
CY
10805 * bindings.el (help-echo): Make the initial non-indicator dash
10806 empty on graphical terminals (Bug#7295).
10807
5d344e88
CY
10808 * files.el (auto-mode-alist): Move config rule after the
10809 in-stripping one (Bug#8547).
10810
bfbbace7
CY
10811 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10812
fbeba6e2
CY
10813 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10814 setting (Bug#8740).
10815
60ed8c72
AA
108162011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10817
4ac619f0
AA
10818 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10819 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10820 (Bug#8539).
60ed8c72 10821
23db196e
CY
108222011-05-28 Chong Yidong <cyd@stupidchicken.com>
10823
10824 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10825
5012f24c
DK
108262011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10827
10828 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10829 (hs-hide-block-at-point, hs-find-block-beginning)
10830 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10831 (Bug#8279).
10832
6a639b16
GM
108332011-05-28 Glenn Morris <rgm@gnu.org>
10834
10835 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10836
d43eaf2c
CY
108372011-05-28 Chong Yidong <cyd@stupidchicken.com>
10838
5199bde1
CY
10839 * help-fns.el (describe-function-1): If the function is a derived
10840 major mode, print the parent mode.
10841
d43eaf2c
CY
10842 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10843 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10844
423428a8
SM
108452011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10846
0ff8e1ba 10847 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10848 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10849 * progmodes/etags.el (tags-completion-at-point-function):
10850 * info-look.el (info-lookup-completions-at-point): Mark as
10851 non-exclusive.
10852 (info-complete): Adjust accordingly.
10853
423428a8
SM
10854 * info-look.el: Convert to lexical-binding and completion-at-point.
10855 (info-lookup-completions-at-point): New function.
10856 (info-complete): Use it and completion-in-region.
10857
b74aa22b
DA
108582011-05-28 Drew Adams <drew.adams@oracle.com>
10859
10860 * isearch.el: Let M-e start with point at the first mismatched char.
10861 (isearch-fail-pos): New function.
10862 (isearch-edit-string): Use it.
10863
66e2e71d
DK
108642011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10865
10866 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10867
b1890b0f 108682011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10869
10870 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10871 traversal functions for avl-trees.
10872 (avl-tree--stack): New struct.
10873 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10874 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10875 (avl-tree--do-enter): Add optional `updatefun' arg.
10876 Change return value.
eb95d01d 10877 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10878 (avl-tree--do-delete): Add `test' and `nilflag' args.
10879 Change return value.
eb95d01d
TC
10880 (avl-tree-member): Add optional `nilflag'
10881 (avl-tree-member-p): New function.
10882 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10883 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10884 (avl-tree-stack-empty-p): New functions.
10885
3769ddcf
TC
10886 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10887 avl-tree--del-balance1 and make it work both ways.
10888 (avl-tree--del-balance2): Remove.
10889 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10890 make it work both ways.
10891 (avl-tree--enter-balance2): Remove.
10892 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10893 New macros.
10894 (avl-tree--mapc, avl-tree-map): Add direction argument.
10895
eb95d01d 108962011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10897
10898 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10899
a9f737ee
CY
109002011-05-27 Chong Yidong <cyd@stupidchicken.com>
10901
10902 * select.el: Support clipboard managers with built-in function
10903 x-clipboard-manager-save, via delete-frame-functions and
10904 kill-emacs-hook.
10905 (xselect-convert-to-targets): Add MULTIPLE target to list.
10906 (xselect-convert-to-save-targets): New function.
10907
c92a1e54
KH
109082011-05-27 Kenichi Handa <handa@m17n.org>
10909
10910 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10911 let-binding rfc2047-encode-encoded-words to nil.
10912
e145f188
GM
109132011-05-27 Glenn Morris <rgm@gnu.org>
10914
5ec8a862
GM
10915 * mail/emacsbug.el: Don't require url-util.
10916
4b29d9fb
GM
10917 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10918
e145f188
GM
10919 * files.el (set-auto-mode):
10920 Also respect mode: entries at the end of the file. (Bug#8586)
10921
7d15102b
GM
109222011-05-26 Glenn Morris <rgm@gnu.org>
10923
98f593b8
GM
10924 * files.el (hack-local-variables-prop-line, hack-local-variables):
10925 Downcase mode names, as seems to be traditional.
27b48e63 10926 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10927
7d15102b
GM
10928 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10929 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10930
51d5b4ec
JD
109312011-05-25 Julien Danjou <julien@danjou.info>
10932
10933 * textmodes/rst.el (rst-define-level-faces): Do not define face
10934 symbol if it is already defined.
10935
91513f63
VB
109362011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10937
10938 * play/5x5.el (5x5-new-game, 5x5-randomize):
10939 Reset 5x5-solver-output to nil when a new grid is cast.
10940 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10941 these debugging traces, as defmacro breaks the compiled code.
10942
4d90d6d0
DK
109432011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10944
10945 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10946
e1b90ef6
LL
109472011-05-24 Leo Liu <sdl.web@gmail.com>
10948
10949 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10950 (vc-bzr-sha1): Adapt.
10951
d8e4b68b 10952 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10953
10954 * bindings.el: Provide sha1 feature.
10955
db0406bb 109562011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10957
10958 * mail/sendmail.el: Require `rfc2047'.
10959 (mail-insert-from-field): Do not perform RFC2047 encoding.
10960 (mail-encode-header): New function.
10961 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10962 buffer to the return value of select-message-coding-system.
10963 Call mail-encode-header.
b8d747b9
KH
10964
10965 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10966
db0406bb 109672011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10968
4d90d6d0
DK
10969 * mail/supercite.el (sc-default-cite-frame):
10970 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10971
eb8a5e9b
GM
109722011-05-24 Glenn Morris <rgm@gnu.org>
10973
f8630703
GM
10974 * progmodes/python.el (brm-menu): Declare.
10975
8831bbed
GM
10976 * emulation/viper.el (viper-set-hooks): Declare.
10977
eb8a5e9b
GM
10978 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10979 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10980 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10981 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10982 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10983 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10984
a2a25d24
SM
109852011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10986
10987 Add an :exit-function for completion-at-point.
10988
10989 * minibuffer.el (completion--done): New fun.
10990 (completion--do-completion): Use it. New arg `expect-exact'.
10991 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10992 since completion--do-completion does it for us now.
10993 (minibuffer-force-complete): Use completion--done and
10994 completion--replace. Handle sole-completion case with more care.
10995 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10996 (completion-extra-properties): New var.
10997 (completion-annotate-function): Make obsolete.
10998 (minibuffer-completion-help): Adjust accordingly.
10999 Use completion-list-insert-choice-function.
11000 (completion-at-point, completion-help-at-point):
11001 Bind completion-extra-properties.
11002 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11003 * simple.el (completion-list-insert-choice-function): New var.
11004 (completion-setup-function): Preserve it.
11005 (choose-completion): Pay attention to it, shuffle the code a bit.
11006 (choose-completion-string): New arg `insert-function'.
11007
11008 * textmodes/bibtex.el: Convert to lexical binding.
11009 (bibtex-mode-map): Use completion-at-point.
11010 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11011 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11012 (bibtex-complete): Define as obsolete alias.
11013 (bibtex-complete-internal): Remove.
11014 (bibtex-format-entry): Remove unused sub-group in regexp.
11015 * shell.el (shell--command-completion-data)
11016 (shell-environment-variable-completion):
11017 * pcomplete.el (pcomplete-completions-at-point):
11018 * comint.el (comint--complete-file-name-data): Use :exit-function
11019 instead of completion-table-with-terminator so it also works for
11020 choose-completion.
11021
e44e373d
SM
110222011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11023
4f91a816
SM
11024 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11025
782fc819
SM
11026 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11027 (bug#8710).
11028
e44e373d
SM
11029 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11030
381987c3
KM
110312011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11032
11033 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11034 customization variable and implement: If non-nil, auto-fill will
11035 be inhibited while on topic's header line.
11036
b776bc70
VB
110372011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11038
11039 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11040 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11041 always have a solution in grid size = 5 cases.
11042 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11043 (5x5-solver-output, 5x5-log-buffer): New vars.
11044 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11045 Make these variables buffer local to achieve 5x5 multi-session-ness.
11046 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11047 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11048 (5x5-solve-suggest): New funs.
11049 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11050 randomize a grid so that we ensure that there is always a solution.
11051 (5x5-make-random-grid): Allow other movement than flipping.
11052
7de88b6e
KR
110532011-05-23 Kevin Ryde <user42@zip.com.au>
11054
11055 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11056 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11057 advice and passes PREDICATE.
11058
b1ef1257
SM
110592011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11060
bbca48fe
SM
11061 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11062 byte-compile-lambda if it's actually a lambda.
11063
b1ef1257
SM
11064 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11065 Fix function quoting. Use backquote better.
11066
92a9cc65
YS
110672011-05-22 Yuanle Song <sylecn@gmail.com>
11068
11069 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11070 matching (Bug#8516).
11071
f0fb8059
JA
110722011-01-22 Jari Aalto <jari.aalto@cante.net>
11073
11074 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11075 different face (Bug#8178).
11076
d5b44c93
CY
110772011-05-22 Chong Yidong <cyd@stupidchicken.com>
11078
11079 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11080 defface (Bug#8144).
11081
79106a44
SM
110822011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11083
9c848d8a
SM
11084 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11085 funcall as well (bug#8712). Warn when performing those conversions.
11086 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11087
79106a44
SM
11088 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11089
88dfa756
GM
110902011-05-22 Glenn Morris <rgm@gnu.org>
11091
11092 * files.el (hack-local-variables-prop-line): Small simplifications.
11093 (hack-local-variables, hack-local-variables-prop-line):
11094 If MODE-ONLY, return the mode, rather than just `t'.
11095
b7cf2c79
SM
110962011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11097
11098 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11099
3f1a8558
GM
111002011-05-21 Glenn Morris <rgm@gnu.org>
11101
7e4ccca3
GM
11102 * files.el (hack-local-variables-prop-line, hack-local-variables):
11103 If only interested in the mode, don't bother doing the other stuff.
11104
637d46ca
GM
11105 * image-mode.el (image-after-revert-hook):
11106 Redraw all frames on which the image is visible. (Bug#8567)
11107
973d955b
GM
11108 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11109
3f1a8558
GM
11110 * wid-edit.el (widget-checklist-match-inline):
11111 Fix 2011-04-19 change. (Bug#8649)
11112
96479927
SM
111132011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11114
1dcf791f
SM
11115 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11116 Also allow singlespace after single-letter capitals followed by a dot.
11117
96479927
SM
11118 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11119 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11120
35fd0881
N
111212011-05-20 Nix <nix@esperi.org.uk>
11122
11123 * files.el (basic-save-buffer-2):
11124 Fix handling of break-hardlink-on-save with non-existent files.
11125
82745640
DD
111262011-05-19 Deniz Dogan <deniz@dogan.se>
11127
11128 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11129 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11130
4a720484
GM
111312011-05-19 Glenn Morris <rgm@gnu.org>
11132
d1f21341
GM
11133 * progmodes/f90.el (f90-type-def-re):
11134 Handle "type, bind(c)". (Bug#8691)
11135
4a720484
GM
11136 * emacs-lisp/autoload.el (batch-update-autoloads):
11137 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11138
2fb0a219
MA
111392011-05-18 Michael Albinus <michael.albinus@gmx.de>
11140
11141 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11142 property for the correct connection in case of multihops.
11143
e565dd37
GM
111442011-05-18 Glenn Morris <rgm@gnu.org>
11145
c2571358 11146 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11147 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11148
e565dd37
GM
11149 Rationalize calendar handling of day and month abbrev-arrays.
11150 * calendar/calendar.el (calendar-customized-p): New function.
11151 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11152 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11153 Add :set function.
11154 (calendar-abbrev-length, calendar-day-abbrev-array)
11155 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11156 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11157 Elements may no longer be nil.
11158 (calendar-day-name, calendar-month-name):
11159 Update for changed nature of abbrev arrays.
11160 * calendar/diary-lib.el (diary-name-pattern):
11161 Update for changed nature of abbrev arrays.
11162 (diary-mark-entries-1): Update calendar-make-alist calls.
11163 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11164 * calendar/cal-html.el (cal-html-day-abbrev-array):
11165 Simply inherit from calendar-day-abbrev-array.
11166
1d99a745
SM
111672011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11168
11169 * progmodes/grep.el (grep-mode): Disable default
11170 compilation-directory-matcher setting (bug#8684).
11171
7c1d9aa0
MA
111722011-05-17 Michael Albinus <michael.albinus@gmx.de>
11173
11174 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11175 instead of "head" and "tail". There were problems with SunOS 5.9,
11176 and it performs better.
11177
3952e9d8
GM
111782011-05-17 Glenn Morris <rgm@gnu.org>
11179
2dd12e7f
GM
11180 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11181
e4157b9c
GM
11182 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11183 Replace obsolete function.
11184
8e249bbd
GM
11185 * shell.el (pcomplete-parse-arguments-function): Declare.
11186
3952e9d8
GM
11187 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11188 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11189 (appt-check): Doc fixes.
11190 (appt-disp-window-function, appt-delete-window-function):
11191 Remove needless special case in custom :type.
11192 (appt-display-count): Default to 0, not nil.
11193 (appt-check): Reset appt-display-count to 0, not nil.
11194
c71a0d48 111952011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 11196
c71a0d48
GM
11197 * progmodes/python.el (python-font-lock-keywords):
11198 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 11199
31d55be9
SM
112002011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11201
11202 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11203
3bfacb2f
KR
112042011-05-16 Kevin Ryde <user42@zip.com.au>
11205
11206 * info-look.el (makefile-automake-mode): New setups, looking in
11207 automake manual, then makefile-mode.
11208 (makefile-mode): Remove automake manual, have it just in
11209 makefile-automake-mode since there's various things different or
11210 not relevant to plain make.
11211 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11212 believe a hypothetical automake-mode would go to makefile-mode,
11213 not the other way around.
11214
c8e83751
CY
112152011-05-15 Chong Yidong <cyd@stupidchicken.com>
11216
5e9e35cd
CY
11217 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11218 hunk-end tags (Bug#8672).
11219
c8e83751
CY
11220 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11221 vc-annotate-show-diff-revision-at-line (Bug#8671).
11222
50b23e5a
GM
112232011-05-14 Glenn Morris <rgm@gnu.org>
11224
7210a739
GM
11225 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11226 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
11227 (change-log-font-lock-keywords): Also handle multiple author lines
11228 with leading tabs. (Bug#8644)
7210a739 11229
4691905a
GM
11230 * calendar/appt.el (appt-check): Rename some local variables.
11231 Some simplification/reordering.
11232
50b23e5a
GM
11233 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11234 (feedmail-sendmail-f-doesnt-sell-me-out)
11235 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11236 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11237 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
11238 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11239 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
11240 (feedmail-binmail-gnulinuxish-template):
11241 Rename from feedmail-binmail-linuxish-template.
11242 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11243 Use insert-buffer-substring.
11244
215cda7c
BC
112452011-05-14 Bill Carpenter <bill@carpenter.org>
11246
11247 * mail/feedmail.el (feedmail-patch-level): Increase.
11248 (feedmail-debug): New custom group.
11249 (feedmail-confirm-outgoing-timeout)
11250 (feedmail-sendmail-f-doesnt-sell-me-out)
11251 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11252 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11253 (feedmail-sender-line, feedmail-from-line)
11254 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 11255 (feedmail-spray-this-address)
215cda7c
BC
11256 (feedmail-spray-address-fiddle-plex-list)
11257 (feedmail-queue-use-send-time-for-date)
11258 (feedmail-queue-use-send-time-for-message-id)
11259 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11260 (feedmail-buffer-eating-function):
11261 Doc fixes.
11262 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11263 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11264 (feedmail-message-action-scroll-down): New functions.
11265 (feedmail-queue-directory, feedmail-queue-draft-directory):
11266 Use expand-file-name.
11267 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11268 Remove C-v help entry.
11269 (feedmail-queue-buffer-file-name): New variable.
11270 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11271 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11272 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11273 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11274 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11275 (feedmail-message-action-toggle-spray)
11276 (feedmail-run-the-queue-no-prompts)
11277 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11278 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11279 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11280 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11281 (feedmail-envelope-deducer, feedmail-fiddle-from)
11282 (feedmail-fiddle-sender, feedmail-default-date-generator)
11283 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11284 (feedmail-fiddle-spray-address)
11285 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11286 (feedmail-fiddle-list-of-fiddle-plexes)
11287 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11288 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11289 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11290 Change default. Doc fix.
11291 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11292 (feedmail-binmail-linuxish-template): New constant.
11293 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11294 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11295 (feedmail-send-it): Add debug call.
11296 Use feedmail-queue-buffer-file-name, and
11297 feedmail-send-it-immediately-wrapper.
11298 (feedmail-message-action-send): Add debug call.
11299 Use feedmail-send-it-immediately-wrapper.
11300 (feedmail-queue-express-to-queue): Add debug call.
11301 Run feedmail-queue-express-hook.
11302 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11303 (feedmail-message-action-help-blat):
11304 Rename from feedmail-queue-send-edit-prompt-help-first.
11305 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11306 Check line-endings. Handle errors better.
11307 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11308 Doc fix. Add debug call.
11309 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11310 Use feedmail-queue-send-edit-prompt-inner.
11311 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11312 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11313 from feedmail-queue-send-edit-prompt.
11314 (feedmail-queue-send-edit-prompt-help)
11315 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11316 (feedmail-tidy-up-slug): Add debug call.
11317 Respect feedmail-queue-slug-suspect-regexp.
11318 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11319 (feedmail-dump-message-to-queue): Add debug call.
11320 Expand queue-directory.
11321 (feedmail-dump-message-to-queue): Change message slightly.
11322 Use feedmail-say-chatter.
11323 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11324 (feedmail-send-it-immediately-wrapper): New function.
11325 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11326 Insert empty string rather than newline. Handle full-frame case.
11327 Use catch/throw. Use feedmail-say-chatter.
11328 (feedmail-fiddle-from): Try mail-host-address.
11329 (feedmail-default-message-id-generator): Doc fix.
11330 Bind system-time-locale. Handle missing end.
11331 (feedmail-fiddle-x-mailer): Add debug call.
11332 Handle feedmail-x-mailer-line being nil.
11333 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11334 Add debug call. Use buffer-substring-no-properties.
11335 (feedmail-say-debug, feedmail-say-chatter): New functions.
11336 (feedmail-find-eoh): Give an explicit error.
11337
42c7e61e
UJ
113382011-05-13 Ulf Jasper <ulf.jasper@web.de>
11339
c2571358 11340 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11341 family from helvetica to sans.
c2571358 11342 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11343 etc/images/newsticker.
11344
c2571358 11345 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11346 family from helvetica to sans.
11347
11348 * net/newst-plainview.el (newsticker-new-item-face)
11349 (newsticker-old-item-face, newsticker-immortal-item-face)
11350 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11351 (newsticker-statistics-face): Change default family from
42c7e61e 11352 helvetica to sans.
c2571358 11353 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11354 etc/images/newsticker.
11355
5d3385a0
JB
11356 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11357 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11358 auto-marking.
11359
8497a297
DV
113602011-05-13 Didier Verna <didier@xemacs.org>
11361
11362 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11363 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11364 TODO entries.
8497a297
DV
11365 (lisp-lambda-list-keyword-parameter-indentation)
11366 (lisp-lambda-list-keyword-parameter-alignment)
11367 (lisp-lambda-list-keyword-alignment): New customizable user options.
11368 (lisp-indent-defun-method): Improve docstring.
11369 (extended-loop-p): Fix comment.
11370 (lisp-indent-lambda-list-keywords-regexp): New variable.
11371 (lisp-indent-lambda-list): New function.
11372 (lisp-indent-259): Use it.
11373 (lisp-indent-defmethod): Support for more than one
11374 method qualifier and properly indent methods lambda-lists.
11375 (defgeneric): Provide a missing common-lisp-indent-function property.
11376
f278f87f
SM
113772011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11378
11379 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11380 bounds for the empty string (bug#8667).
11381
5233edd7
GM
113822011-05-13 Glenn Morris <rgm@gnu.org>
11383
5237a44f
GM
11384 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11385
8340026c 11386 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11387 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11388
5233edd7 11389 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11390 (appt-time-msg-list): Doc fix.
a5464014 11391 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11392
92d10796
AS
113932011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11394
11395 * progmodes/ld-script.el (ld-script-keywords)
11396 (ld-script-builtins): Update keywords list.
11397
914a0ae1
SM
113982011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11399
c89be45f
SM
11400 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11401
914a0ae1
SM
11402 * shell.el (shell-completion-vars): New function.
11403 (shell-mode):
11404 * simple.el (read-shell-command): Use it.
11405 (blink-matching-open): No need for " [...]" in minibuffer-message.
11406
98dc3df3
GM
114072011-05-12 Glenn Morris <rgm@gnu.org>
11408
11409 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11410 (appt-check): Simplify.
11411
d2fc7e3d 114122011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11413
4d61f28d 11414 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11415 literal "/dev/null".
11416
d2fc7e3d 114172011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11418
11419 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11420 Fix typo.
11421
d2fc7e3d 114222011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11423
3f254caa
SM
11424 * progmodes/which-func.el (which-function):
11425 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11426 which might not be defined (Bug#8260).
11427
d45885f7
GM
114282011-05-12 Glenn Morris <rgm@gnu.org>
11429
11430 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11431 Let byte-compile-initial-macro-environment always take precedence.
11432
488086f4
SM
114332011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11434
11435 * net/rcirc.el: Add support for SSL/TLS connections.
11436 (rcirc-server-alist): New field `encryption'.
11437 (rcirc): Check `encryption' settings.
11438 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11439 Merge make-local-variable into `set'.
11440 (rcirc--connection-open-p): New function.
11441 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11442 the process is not a network process (e.g. running gnutls-cli).
11443 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11444 Make rcirc-(en|de)code-coding-system local here.
11445 (rcirc-mode): Merge make-local-variable into `set'.
11446 (rcirc-parent-buffer): Make permanent buffer-local.
11447 (rcirc-multiline-minor-mode): Don't do it here.
11448 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11449 there's no server buffer.
11450
7d3b9d44
GM
114512011-05-11 Glenn Morris <rgm@gnu.org>
11452
f64049c6
GM
11453 * newcomment.el (comment-kill): Prefix "unused" local.
11454
93c9df73
GM
11455 * term/w32console.el (get-screen-color): Declare.
11456
7d3b9d44
GM
11457 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11458 Handle symbol elements of byte-compile-initial-macro-environment.
11459
9e2dd53f
LL
114602011-05-10 Leo Liu <sdl.web@gmail.com>
11461
488086f4
SM
11462 * bookmark.el (bookmark-bmenu-mode-map):
11463 Bind bookmark-bmenu-search to `/'.
8b340240 11464
9e2dd53f 11465 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11466 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11467 (Footnote-unicode): New function.
11468 (footnote-style-alist): Add unicode style to the list.
11469 (footnote-style): Doc fix.
9e2dd53f 11470
79b70037
GM
114712011-05-10 Jim Meyering <meyering@redhat.com>
11472
11473 Fix doubled-word typos.
11474 * international/quail.el (quail-insert-kbd-layout): and and -> and
11475 * kermit.el: and and -> and
11476 * net/ldap.el (ldap-search-internal): to to -> to
11477 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11478 * progmodes/js.el (js-mode): and and -> and
11479 * textmodes/artist.el (artist-move-to-xy): at at -> at
11480 (artist-draw-region-trim-line-endings): if if -> if
11481 And Safetyc -> Safety.
11482 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11483
b8f82dc1 114842011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11485 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11486
11487 * files.el (hack-one-local-variable-eval-safep):
11488 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11489
4f99f44b
GM
114902011-05-10 Glenn Morris <rgm@gnu.org>
11491
11492 * calendar/diary-lib.el (diary-list-entries-hook)
11493 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11494 (diary-nongregorian-marking-hook, diary-list-entries)
11495 (diary-include-other-diary-files, diary-mark-entries)
11496 (diary-mark-included-diary-files): Doc fixes.
11497
84f29e6b
JB
114982011-05-09 Juanma Barranquero <lekktu@gmail.com>
11499
11500 * misc.el: Require tabulated-list.el during compilation.
11501
9bedd73a
CY
115022011-05-09 Chong Yidong <cyd@stupidchicken.com>
11503
488086f4
SM
11504 * progmodes/compile.el (compilation-start):
11505 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11506 (compilation-filter-hook): Doc fix.
11507
797c735c
DD
115082011-05-09 Deniz Dogan <deniz@dogan.se>
11509
11510 * wdired.el: Remove outdated installation comment. Fix usage
11511 comment.
11512
5f4b1dfe
JB
115132011-05-09 Juanma Barranquero <lekktu@gmail.com>
11514
11515 * misc.el: Implement new command `list-dynamic-libraries'.
11516 (list-dynamic-libraries--loaded-only-p): New variable.
11517 (list-dynamic-libraries--refresh): New function.
11518 (list-dynamic-libraries): New command.
11519
4c44026c
CY
115202011-05-09 Chong Yidong <cyd@stupidchicken.com>
11521
488086f4
SM
11522 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11523 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11524 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11525 higher priority to avoid clobbering by gnu.
11526
027f966d
CY
115272011-05-08 Chong Yidong <cyd@stupidchicken.com>
11528
11529 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11530 if the face has existing theme settings (Bug#8454).
11531
085f5d7d
CY
115322011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11533
488086f4
SM
11534 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11535 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11536
2a86a00c
RS
11537 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11538 special file names `.' and `..' (Bug#8259).
11539
d9c54a06
CY
115402011-05-08 Chong Yidong <cyd@stupidchicken.com>
11541
488086f4
SM
11542 * progmodes/grep.el (grep-mode-font-lock-keywords):
11543 Remove buffer-changing entries.
d9c54a06
CY
11544 (grep-filter): New function.
11545 (grep-mode): Add it to compilation-filter-hook.
11546
11547 * progmodes/compile.el (compilation-filter-hook)
11548 (compilation-filter-start): New defvars.
11549 (compilation-filter): Call compilation-filter-hook prior to
11550 updating the process mark.
11551
c4662635
SM
115522011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11553
11554 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11555
b0512a1d
EZ
115562011-05-07 Eli Zaretskii <eliz@gnu.org>
11557
605c9376
EZ
11558 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11559 mailclient-send-it even if window-system is nil. (Bug#8595)
11560
c4662635
SM
11561 * term/w32console.el (terminal-init-w32console):
11562 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11563 background-mode. (Bug#8597)
11564
d1dc2cc2
SM
115652011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11566
11567 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11568 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11569 New functions.
11570 (defgeneric, eieio--defmethod): Use them.
11571 (eieio-defgeneric): Remove.
11572 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11573
915d1300
GM
115742011-05-07 Glenn Morris <rgm@gnu.org>
11575
a3961c3e
GM
11576 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11577 Use let rather than let*.
11578 (timeclock-find-discrep): Remove unused local.
11579
314347b9
GM
11580 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11581
915d1300
GM
11582 * calendar/appt.el (appt-time-msg-list): Doc fix.
11583
275b59b0
NF
115842011-05-06 Noah Friedman <friedman@splode.com>
11585
11586 * apropos.el (apropos-print-doc): Only use
11587 emacs-lisp-docstring-fill-column when it is bound to an integer,
11588 per that variable's documentation.
11589
6c19f744
SM
115902011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11591
11592 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11593 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11594
60f884b2
GM
115952011-05-06 Glenn Morris <rgm@gnu.org>
11596
5006e634
GM
11597 * calendar/appt.el (appt-message-warning-time): Doc fix.
11598 (appt-warning-time-regexp): New option.
11599 (appt-make-list): Respect appt-message-warning-time.
11600
548d0a63
GM
11601 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11602 New options.
11603 (diary-add-to-list): Strip comments from the displayed string.
11604 (diary-mode): Set comment-start and comment-end.
11605
60f884b2
GM
11606 * vc/diff-mode.el (smerge-refine-subst): Declare.
11607 (diff-refine-hunk): Don't require smerge-mode when compiling.
11608
989681bb
JB
116092011-05-06 Juanma Barranquero <lekktu@gmail.com>
11610
11611 * simple.el (list-processes): Return nil as the docstring says.
11612
a6bc05e1
MA
116132011-05-05 Michael Albinus <michael.albinus@gmx.de>
11614
11615 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11616 to "".
11617 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11618 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11619 determining of binary transfer. (Bug#7383)
11620
23c22e9a
MA
116212011-05-05 Michael Albinus <michael.albinus@gmx.de>
11622
c4662635
SM
11623 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11624 Fix port computation bug. (Bug#8618)
23c22e9a 11625
0bff894f
GM
116262011-05-05 Glenn Morris <rgm@gnu.org>
11627
b8296902
GM
11628 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11629
1f522ce8
GM
11630 * simple.el (shell-dynamic-complete-functions)
11631 (comint-dynamic-complete-functions): Declare.
11632
cf5bee67
GM
11633 * net/network-stream.el (gnutls-negotiate):
11634 * simple.el (tabulated-list-print): Fix declarations.
11635
11636 * progmodes/gud.el (syntax-symbol, syntax-point):
11637 Remove unnecessary and incorrect declarations.
11638
0bff894f
GM
11639 * emacs-lisp/check-declare.el (check-declare-scan):
11640 Handle byte-compile-initial-macro-environment in bytecomp.el
11641
9869b3ae
SM
116422011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11643
11644 Fix earlier half-done eieio-defmethod change (bug#8338).
11645 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11646 Streamline and change calling convention.
11647 (defmethod): Adjust accordingly and simplify.
11648 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11649 new eieio--defmethod.
11650 (slot-boundp): Minor CSE simplification.
11651
9c1d5ac5
MZ
116522011-05-05 Milan Zamazal <pdm@zamazal.org>
11653
11654 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11655 (glasses-make-readable): Use glasses-separate-capital-groups.
11656
455c834e
JB
116572011-05-05 Juanma Barranquero <lekktu@gmail.com>
11658
11659 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11660 (warning-series): Doc fix.
11661 (display-warning): Don't try to create the buffer if we just found it.
11662
9ed7c8cb
CY
116632011-05-04 Chong Yidong <cyd@stupidchicken.com>
11664
11665 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11666 (autoload-find-generated-file): New function.
11667 (generate-file-autoloads): Bind generated-autoload-file to
11668 buffer-file-name.
9869b3ae
SM
11669 (update-file-autoloads, update-directory-autoloads):
11670 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11671 output file (Bug#7989).
11672 (batch-update-autoloads): Doc fix.
11673
0898ca10
JB
116742011-05-04 Juanma Barranquero <lekktu@gmail.com>
11675
11676 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11677
31dfb76c
GM
116782011-05-04 Glenn Morris <rgm@gnu.org>
11679
f330b642
GM
11680 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11681 function, so it follows changes in calendar-date-style.
11682 (diary-fancy-date-matcher): New function.
11683 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11684 (diary-fancy-font-lock-fontify-region-function):
11685 Use diary-fancy-date-pattern as a function.
11686
31dfb76c
GM
11687 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11688 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11689
48e79d6a
TZ
116902011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11691
11692 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11693 instead of positional arguments. Allow :keylist and :crlfiles
11694 arguments.
11695 (open-gnutls-stream): Call it.
11696
11697 * net/network-stream.el (network-stream-open-starttls): Adjust to
11698 call `gnutls-negotiate' with :process and :hostname arguments.
11699
dd5a5ee0
SM
117002011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11701
ef80fc09
SM
11702 * minibuffer.el (completion--message): New function.
11703 (completion--do-completion, minibuffer-complete)
11704 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11705 (completion--do-completion): Don't ignore completion-auto-help when in
11706 icomplete-mode.
11707
dd5a5ee0
SM
11708 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11709 internal encoding (e.g. tibetan zero is not whitespace).
11710 (global-whitespace-mode): Prefer save-current-buffer.
11711 (whitespace-trailing-regexp): Remove useless save-match-data.
11712 (whitespace-empty-at-bob-regexp): Minor simplification.
11713
b7d22a83
CY
117142011-05-03 Chong Yidong <cyd@stupidchicken.com>
11715
11716 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11717
5192af46
AM
117182011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11719
11720 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11721 Use `concat' to create string for insertion.
5192af46 11722
5767d190
SM
117232011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11724
11725 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11726 Avoid open-line which runs post-self-insert-hook.
11727 (bibtex-fill-entry): Remove unused `end' var.
11728
bf242939
AM
117292011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11730
5767d190
SM
11731 * textmodes/ispell.el (ispell-add-per-file-word-list):
11732 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11733
25666126
LL
117342011-05-03 Leo Liu <sdl.web@gmail.com>
11735
11736 * isearch.el (isearch-yank-pop): New command.
5767d190 11737 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11738 (isearch-forward): Mention it.
11739
52d3c2d0
SM
117402011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11741
1bcace58
SM
11742 * simple.el (minibuffer-complete-shell-command): Remove.
11743 (minibuffer-local-shell-command-map): Use completion-at-point.
11744 (read-shell-command): Setup completion vars here instead.
11745 (read-expression-map): Bind TAB to symbol completion.
11746
52d3c2d0
SM
11747 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11748 error directly rather via storing it into `results'.
11749
35813471
LL
117502011-05-02 Leo Liu <sdl.web@gmail.com>
11751
11752 * vc/diff.el: Fix description.
11753
e793a940
LMI
117542011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11755
11756 * server.el (server-eval-at): New function.
11757
8de66e05
LMI
117582011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11759
11760 * net/network-stream.el (open-network-stream): Take a :nowait
11761 parameter and pass it on to `make-network-process'.
11762 (network-stream-open-plain): Ditto.
11763
dcb79f20
AS
117642011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11765
11766 * faces.el (face-spec-set-match-display): Don't match toolkit
11767 options on terminal frames.
11768
14a7fbd8
SM
117692011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11770
7eabc1be
SM
11771 * progmodes/pascal.el: Use lexical binding.
11772 (pascal-mode-map): Remove author preferences.
11773
14a7fbd8
SM
11774 * pcomplete.el (pcomplete-std-complete): Don't abuse
11775 completion-at-point.
11776
50f84510
JB
117772011-04-28 Juanma Barranquero <lekktu@gmail.com>
11778
6e087a44
JB
11779 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11780 removing code that has been dead since 1991 or so.
11781
50f84510
JB
11782 * startup.el (command-line): When warning about "_emacs", use a
11783 delayed warning to allow the user to filter it out.
11784
0ba690bd
DD
117852011-04-28 Deniz Dogan <deniz@dogan.se>
11786
11787 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11788 user has not joined.
11789
08abfaad
SM
117902011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11791
11792 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11793 aren't any completions at point.
11794
638f053a
JB
117952011-04-28 Juanma Barranquero <lekktu@gmail.com>
11796
11797 * subr.el (display-delayed-warnings): New function.
11798 (delayed-warnings-hook): New variable.
11799
8fff8daa
SM
118002011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11801
08abfaad
SM
11802 * minibuffer.el (completion-at-point, completion-help-at-point):
11803 Don't presume that a given completion-at-point-function will always
11804 use the same calling convention.
11805
8fff8daa
SM
11806 * pcomplete.el (pcomplete-completions-at-point):
11807 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11808 pcomplete-seen is non-nil.
11809 (pcomplete-comint-setup): Also recognize the new comint/shell
11810 completion functions.
11811 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11812 pcomplete-seen is non-nil.
11813
841a1577 118142011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11815
841a1577 11816 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11817 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11818 the first character in the entry. This allows for code to add its
211ec907
UJ
11819 own uid to the entry.
11820 (icalendar--convert-float-to-ical): Add export of
11821 `diary-float'-entries save for those with the optional DAY
11822 argument.
11823
2a782793
DC
118242011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11825
11826 * subr.el (shell-quote-argument): Use alternate escaping strategy
11827 when we spot a variable reference in a string.
11828
0438ce91
DC
118292011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11830
11831 * cus-start.el (all): Define customization for debug-on-event.
11832
841a1577 118332011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11834
11835 * subr.el (shell-quote-argument): Escape correctly under Windows.
11836
d090ed6c
SM
118372011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11838
11839 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11840
bfd31217
MA
118412011-04-25 Michael Albinus <michael.albinus@gmx.de>
11842
d090ed6c
SM
11843 * net/tramp.el (tramp-process-actions): Add POS argument.
11844 Delete region between POS and (pos).
bfd31217 11845
d090ed6c
SM
11846 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11847 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11848 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11849
11850 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11851 position in `tramp-process-actions' call.
11852
11853 * net/trampver.el: Update release number.
11854
e92f3bd3
SM
118552011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11856
850256b5
SM
11857 * custom.el (defcustom): Obey lexical-binding.
11858
e92f3bd3
SM
11859 Fix octave-inf completion problems reported by Alexander Klimov.
11860 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11861 Inherit from octave-mode-syntax-table.
11862 (inferior-octave-mode): Set info-lookup-mode.
11863 (inferior-octave-completion-at-point): New function.
11864 (inferior-octave-complete): Use it and completion-in-region.
11865 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11866 comint-filename-completion.
11867 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11868 symbol elements which shouldn't be word elements.
11869 (octave-font-lock-keywords, octave-beginning-of-defun)
11870 (octave-function-header-regexp): Adjust regexps accordingly.
11871 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11872
cd22b309
JB
118732011-04-25 Juanma Barranquero <lekktu@gmail.com>
11874
11875 * net/gnutls.el (gnutls-errorp): Declare before first use.
11876
8b492194
TZ
118772011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11878
11879 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11880 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11881 default trustfile exists before going to use it. Add missing
5a5fa834 11882 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11883 Reported by Claudio Bley <claudio.bley@gmail.com>.
11884 (open-gnutls-stream): Add usage example.
11885
11886 * net/network-stream.el (network-stream-open-starttls): Give host
11887 parameter to `gnutls-negotiate'.
11888 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11889 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11890
841a1577 118912011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11892
cd22b309
JB
11893 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11894 Use correct match group (bug#8438).
05842630 11895
3ba7869c
CY
118962011-04-24 Chong Yidong <cyd@stupidchicken.com>
11897
512e3ae1
CY
11898 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11899 (package-menu--generate): New arg specifying packages to show.
11900 (package-menu-refresh, package-menu-execute, list-packages):
11901 Callers changed.
11902 (package-show-package-list): New function, replacing deleted
11903 package--list-packages (renamed because it is non-internal).
11904
11905 * finder.el (finder-list-matches): Use package-show-package-list
11906 instead of deleted package--list-packages.
11907
e92f3bd3
SM
11908 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11909 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11910 (vc-annotate-mode-map): Bind it to RET.
11911
7031be6d
UR
119122011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11913
11914 * progmodes/etags.el (next-file): Don't use set-buffer to change
11915 buffers (Bug#8478).
11916
4ef177aa
CY
119172011-04-24 Chong Yidong <cyd@stupidchicken.com>
11918
c8d173eb
CY
11919 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11920
4ef177aa
CY
11921 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11922 (apropos-accumulator): Doc fix.
11923 (apropos-function, apropos-macro, apropos-command)
11924 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11925 (apropos-plist): Add face property.
11926 (apropos-symbols-internal): Fix indentation.
11927 (apropos-print): Simplify help, and recognize apropos-multi-type.
11928 (apropos-print-doc): Use button-type-get to extract the button's
11929 face property. Fill docstring (Bug#8352).
11930
4ffd0d6b 119312011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11932
11933 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11934
c6c32125 11935 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11936 (mpuz-mode-map): Use mapc.
c6c32125
JB
11937 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11938 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11939 Fix typos in docstrings.
11940
58d468b4
JB
11941 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11942 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11943
6470c3c6
JB
11944 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11945
4ffd0d6b 119462011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11947
11948 * minibuffer.el (completion--do-completion): Avoid the "Next char
11949 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11950
3ad8bad0
CY
11951 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11952 mouse-2 into unread-command-events, it is interpreted correctly.
11953
71d73c9c 11954 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11955 (image-toggle-display): Doc fix.
71d73c9c 11956
841a1577 119572011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11958
4ffd0d6b
GM
11959 * textmodes/page.el (what-page): Use line-number-at-pos to
11960 calculate line number (Bug#6825).
6e1dbaa9 11961
c2fb1b60
JB
119622011-04-22 Juanma Barranquero <lekktu@gmail.com>
11963
11964 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11965 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11966 Pass argument NO-DEFAULT to `find-tag-interactive'.
11967
e02f48d7
JB
119682011-04-22 Juanma Barranquero <lekktu@gmail.com>
11969
11970 Lexical-binding cleanup.
11971
11972 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11973 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11974 * progmodes/ada-prj.el (ada-prj-initialize-values)
11975 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11976 (ada-prj-show-value):
11977 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11978 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11979 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11980 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11981 * progmodes/bug-reference.el (bug-reference-push-button):
11982 * progmodes/fortran.el (fortran-line-length):
11983 * progmodes/glasses.el (glasses-change):
11984 * progmodes/octave-mod.el (octave-fill-paragraph):
11985 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11986 (python-pdbtrack-grub-for-buffer, python-sentinel):
11987 * progmodes/sql.el (sql-save-connection):
11988 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11989 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11990 Mark unused parameters.
11991
11992 * progmodes/compile.el (compilation--flush-directory-cache)
11993 (compilation--flush-parse, compile-internal): Mark unused parameters.
11994 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11995 (compilation-next-error-function): Remove unused variable `timestamp'.
11996
11997 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11998 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11999
12000 * progmodes/dcl-mode.el (dcl-end-of-command):
12001 Remove unused variable `start'.
12002 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12003 (dcl-option-value-basic, dcl-option-value-offset)
12004 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12005 Mark unused parameters.
12006 (dcl-save-local-variable): Remove unused variable `val'.
12007 (mode): Declare.
12008
12009 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12010 Mark unused parameters.
12011 (delphi-ignore-changes): Move before first use.
12012 (delphi-charset-token-at): Remove unused variable `start'.
12013 (delphi-else-start): Remove unused variable `if-count'.
12014 (delphi-comment-block-start, delphi-comment-block-end):
12015 Remove unused variable `kind'.
12016 (delphi-indent-line): Remove unused variable `new-point'.
12017
12018 * progmodes/ebrowse.el (ebrowse-files-list)
12019 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12020 Mark unused parameters. Don't quote `lambda'.
12021 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12022 Don't quote `lambda'.
12023 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12024 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12025 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12026 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12027 Use `ignore-errors'.
12028 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12029 (ebrowse-view/find-file-and-search-pattern)
12030 (ebrowse-view/find-member-declaration/definition):
12031 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12032 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12033 Rename parameter PREFIX-ARG to PREFIX.
12034 (ebrowse-tags-read-name): Remove unused variables `start' and
12035 `member-info'.
12036 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12037 to `tags-file'.
12038
12039 * progmodes/etags.el (local-find-tag-hook): Declare.
12040 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12041 Mark unused parameters.
12042
12043 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12044 (executable-interpret): Mark unused parameter.
12045
12046 * progmodes/flymake.el (flymake-process-sentinel)
12047 (flymake-after-change-function)
12048 (flymake-create-temp-with-folder-structure)
12049 (flymake-get-include-dirs-dot): Mark unused parameters.
12050 (flymake-safe-delete-directory): Remove unused variable `err'.
12051
12052 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12053 (speedbar-timer-fn, speedbar-line-text)
12054 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12055 (speedbar-center-buffer-smartly): Declare functions.
12056 (gdb-find-watch-expression): Remove unused variable `array'.
12057 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12058 (gdb-starting): Mark unused parameters.
12059 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12060 (gdb-table-string): Remove unused variable `res'.
12061 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12062 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12063 (gdb-display-buffer): Remove unused variable `cur-size'.
12064
12065 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12066 allow lexical-binding compilation.
12067 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12068 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12069 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12070 Mark unused parameters.
12071 (gud-gdb-marker-filter): Remove unused variable `match'.
12072 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12073 lambda expressions and funcall them, instead of using `fset'.
12074
12075 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12076 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12077
12078 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12079 variable `header-beg'; use `let'.
12080
12081 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12082 `restart', `last-sexp' and `at-do'.
12083
12084 * progmodes/js.el (js--debug): Mark unused parameter.
12085 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12086 (js--splice-into-items): Remove unused variable `item'.
12087 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12088
12089 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12090 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12091 (makefile-complete): Remove unused variable `try'.
12092 (makefile-fill-paragraph, makefile-match-function-end):
12093 Mark unused parameters.
12094
12095 * progmodes/octave-inf.el (inferior-octave-complete):
12096 Remove unused variable `proc'.
12097 (inferior-octave-output-digest): Mark unused parameter.
12098
12099 * progmodes/perl-mode.el (perl-calculate-indent):
12100 Remove unused variable `err'.
12101
12102 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12103 (prolog-indent-line): Mark unused parameters.
12104 (prolog-indent-line): Remove unused variable `beg'.
12105
12106 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12107 (reporter-dont-compact-list): Declare.
12108
12109 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12110 Remove unused variable `char'.
12111 (sh-debug): Mark unused parameter.
12112 (sh-get-indent-info): Remove unused variable `start'.
12113 (sh-calculate-indent): Remove unused variable `var'.
12114
12115 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12116 (simula-electric-keyword): Remove unused variable `null'.
12117 (simula-search-backward, simula-search-forward): Remove unused
12118 variables `begin' and `end'.
12119
12120 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12121 Remove unused variable `pos'.
12122 (vera-electric-tab, vera-comment-uncomment-region):
12123 Mark unused parameters.
12124 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12125
7ede3b65
CY
121262011-04-22 Chong Yidong <cyd@stupidchicken.com>
12127
12128 * emacs-lisp/package.el (package--builtins, package-alist)
12129 (package-load-descriptor, package-built-in-p, package-activate)
12130 (define-package, package-installed-p)
12131 (package-compute-transaction, package-buffer-info)
12132 (package--push): Doc fix. Distinguish more clearly between
12133 version strings and version lists.
12134
121656e9
JB
121352011-04-21 Juanma Barranquero <lekktu@gmail.com>
12136
12137 Lexical-binding cleanup.
12138
12139 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12140 (5x5-make-mutate-best):
12141 * play/fortune.el (fortune-in-buffer):
12142 * play/gomoku.el (gomoku-init-display):
12143 * play/solitaire.el (solitaire, solitaire-do-check):
12144 * play/tetris.el (tetris-default-update-speed-function):
12145 Mark unused parameters.
12146
12147 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12148 (bubbles--shift): Remove unused variable `char-org'.
12149 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12150 (bubbles--show-images): Remove unused variable `char'.
12151
12152 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12153 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12154 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12155 (decipher-analyze-buffer): Use ?\s.
12156 (decipher-make-checkpoint): Remove unused variable `mapping'.
12157
12158 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12159
12160 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12161 Remove unused variable `result'; use `let'.
12162
12163 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12164 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12165 (gametree-children-shown-p, gametree-compute-reduced-score):
12166 Use `ignore-errors'.
12167
12168 * play/handwrite.el (ps-lpr-switches): Declare.
12169 (handwrite): Remove unused variables `pmin' and `lastp'.
12170
12171 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12172
12173 * play/landmark.el (landmark-init-display)
12174 (landmark-update-naught-weights): Mark unused parameters.
12175 (landmark-y): Remove unused variable `noise'. Simplify.
12176 (landmark-human-plays): Remove unused variable `score'.
12177
12178 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12179 (mpuz-try-proposal): Remove unused variable `game'.
12180
12181 * play/zone.el (life-patterns): Declare.
12182
80f499c7
JB
121832011-04-20 Juanma Barranquero <lekktu@gmail.com>
12184
12185 * vc/vc.el (ediff-vc-internal): Declare function.
12186
024ff170
SM
121872011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12188
c0a193ea
SM
12189 * shell.el: Use lexical-binding and std completion UI.
12190 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12191 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12192 comint-preoutput-filter-functions rather than on
12193 comint-output-filter-functions.
12194 (shell-command-completion, shell--command-completion-data)
12195 (shell-filename-completion, shell-environment-variable-completion)
12196 (shell-c-a-p-replace-by-expanded-directory): New functions.
12197 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12198 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12199 (shell-dynamic-complete-environment-variable): Use them.
12200 (shell-dynamic-complete-as-environment-variable)
12201 (shell-dynamic-complete-as-command): Remove.
12202 (shell-match-partial-variable): Match past point.
12203 * comint.el: Clean up use of completion-at-point-functions.
12204 (comint-completion-at-point): New function.
12205 (comint-mode): Use it completion-at-point-functions.
12206 (comint-dynamic-complete): Make it obsolete.
12207 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12208 (comint-c-a-p-replace-by-expanded-history): New function.
12209 (comint-dynamic-complete-functions)
12210 (comint-replace-by-expanded-history): Use it.
12211 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12212 termination strings. Try harder to avoid second try-completion.
12213 (completion-in-region-mode-map): Disable bindings that don't work yet.
12214
2dbaa080
SM
12215 * comint.el: Use lexical-binding. Require CL.
12216 (comint-dynamic-complete-functions): Use comint-filename-completion.
12217 (comint-completion-addsuffix): Tweak custom type.
12218 (comint-filename-completion, comint--common-suffix)
12219 (comint--common-quoted-suffix, comint--table-subvert)
12220 (comint--complete-file-name-data): New functions.
12221 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12222 (comint-dynamic-list-filename-completions): Use them.
12223 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 12224
2dbaa080
SM
12225 * minibuffer.el (completion-in-region-mode):
12226 Keep completion-in-region-mode--predicate global.
12227 (completion-in-region--postch):
12228 Assume completion-in-region-mode--predicate is not null.
12229
c79a6f38
SM
12230 * progmodes/flymake.el (flymake-start-syntax-check-process):
12231 Obey `dir'. Simplify.
12232
024ff170
SM
12233 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12234 we're in VC after all.
12235
1c6c854e
CS
122362011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12237
12238 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 12239 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
12240 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12241
bed7f140
SM
122422011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12243
332e62ab
SM
12244 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12245 add sanity check.
12246
bed7f140
SM
12247 * obsolete/erc-hecomplete.el: Make obsolete.
12248 * obsolete/: Standardize obsolescence info in the header.
12249
f195c582
GM
122502011-04-20 Glenn Morris <rgm@gnu.org>
12251
12252 * calendar/solar.el (solar-horizontal-coordinates):
12253 Use the longitude argument rather than `calendar-longitude'.
12254 (solar-date-next-longitude): Remove unused locals.
12255
cb79b8c0
VJL
122562011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12257
12258 * whitespace.el: New version 13.2.1.
12259
122602011-04-20 felix <EmacsWiki> (tiny change)
12261
d8e4b68b 12262 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
12263 switching between major modes on a file.
12264
602ea69d
SM
122652011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12266
12267 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12268 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12269 multi-line comments as well.
12270
06b60517
JB
122712011-04-19 Juanma Barranquero <lekktu@gmail.com>
12272
12273 Lexical-binding cleanup.
12274
12275 * arc-mode.el (archive-mode-revert):
12276 * cmuscheme.el (scheme-interactively-start-process):
12277 * custom.el (custom-initialize-delay):
12278 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12279 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12280 * emacs-lock.el (emacs-lock-clear-sentinel):
12281 * ezimage.el (defezimage):
12282 * follow.el (follow-avoid-tail-recenter):
12283 * fringe.el (set-fringe-mode-1):
12284 * generic-x.el (bat-generic-mode-compile):
12285 * help-mode.el (help-info-variable, help-do-xref)
12286 (help-mode-revert-buffer):
12287 * help.el (view-emacs-todo):
12288 * iswitchb.el (iswitchb-completion-help):
12289 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12290 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12291 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12292 * locate.el (locate-update):
12293 * longlines.el (longlines-encode-region)
12294 (longlines-after-change-function):
12295 * outline.el (outline-isearch-open-invisible):
12296 * ps-def.el (declare-function, charset-dimension, char-width)
12297 (encode-char):
12298 * ps-mule.el (ps-mule-plot-string):
12299 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12300 (recentf-edit-list-select, recentf-edit-list-validate)
12301 (recentf-open-files-action):
12302 * rect.el (delete-whitespace-rectangle-line)
12303 (rectangle-number-line-callback):
12304 * register.el (window-configuration-to-register)
12305 (frame-configuration-to-register):
12306 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12307 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12308 (xselect-convert-to-targets, xselect-convert-to-delete)
12309 (xselect-convert-to-filename, xselect-convert-to-charpos)
12310 (xselect-convert-to-lineno, xselect-convert-to-colno)
12311 (xselect-convert-to-os, xselect-convert-to-host)
12312 (xselect-convert-to-user, xselect-convert-to-class)
12313 (xselect-convert-to-name, xselect-convert-to-integer)
12314 (xselect-convert-to-atom, xselect-convert-to-identity):
12315 * subr.el (declare, ignore, process-kill-without-query)
12316 (text-clone-maintain):
12317 * terminal.el (te-get-char, te-tic-sentinel):
12318 * tool-bar.el (tool-bar-make-keymap):
12319 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12320 * type-break.el (type-break-mode, type-break-noninteractive-query):
12321 * view.el (View-back-to-mark):
12322 * wid-browse.el (widget-browse-action, widget-browse-widget)
12323 (widget-browse-widgets, widget-browse-sexp):
12324 * widget.el (define-widget-keywords):
12325 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12326 Mark unused parameters.
12327
12328 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12329 (align-areas): Remove unused variable `look'.
12330 (align-region): Remove unused variables `real-end' and `pos-list'.
12331
12332 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12333
12334 * bindings.el (mode-line-modified, mode-line-remote):
12335 Mark unused parameters.
12336 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12337
12338 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12339 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12340
12341 * comint.el (comint-history-isearch-pop-state)
12342 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12343 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12344 (comint-substitute-in-file-name): Doc fix.
12345
12346 * completion.el (cmpl-statistics-block): Mark unused parameter.
12347 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12348 (save-completions-to-file, load-completions-from-file):
12349 Remove unused local variable `e'.
12350
12351 * composite.el (compose-chars): Remove unused variable `len'.
12352 (lgstring-insert-glyph): Remove unused variable `g'.
12353 (compose-glyph-string): Remove unused variables `ascent',
12354 `descent', `lbearing' and `rbearing'.
12355 (compose-glyph-string-relative): Remove unused variables
12356 `lbearing', `rbearing' and `wadjust'.
12357 (compose-gstring-for-graphic): Remove unused variables `header',
12358 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12359 (compose-gstring-for-terminal): Remove unused variables `header'
12360 and `nchars'. Use `let', not `let*'.
12361
12362 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12363 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12364 (Custom-buffer-done, custom-buffer-create-internal)
12365 (custom-browse-visibility-action, custom-browse-group-tag-action)
12366 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12367 (widget-magic-mouse-down-action, custom-toggle-parent)
12368 (custom-add-parent-links, custom-toggle-hide-variable)
12369 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12370 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12371 (custom-face-menu-create, custom-variable-menu-create, get)
12372 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12373 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12374 (customize-apropos): Remove unused variable `tests'.
12375 (custom-group-value-create): Remove unused variable `hidden-p'.
12376 (sort-fold-case): Declare.
12377
12378 * cus-theme.el (custom-reset-standard-faces-list)
12379 (custom-reset-standard-variables-list): Declare.
12380 (customize-create-theme, custom-theme-revert, custom-theme-write)
12381 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12382 Mark unused parameters.
12383
12384 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12385
12386 * delim-col.el (delimit-columns-max): Move defvar before first use.
12387
12388 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12389 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12390
12391 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12392 (auto-insert): Declare.
12393 (desktop-restore-file-buffer): Rename desktop-* parameters;
12394 mark unused ones.
12395 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12396 (desktop-buffer): Rename desktop-* parameters.
12397
12398 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12399 (dframe-reposition-frame-xemacs, dframe-help-echo)
12400 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12401 Mark unused parameters.
12402
12403 * dired-aux.el (backup-extract-version-start, overwrite-query)
12404 (overwrite-backup-query, rename-regexp-query)
12405 (rename-non-directory-query): Declare.
12406 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12407 (dired-add-entry): Remove unused variable `orig-file-name'.
12408 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12409 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12410 `dired-copy-preserve-time' directly.
12411 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12412 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12413
12414 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12415 (dired-virtual-revert, dired-make-relative-symlink):
12416 Mark unused parameters.
12417 (manual-program): Declare.
12418 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12419 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12420 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12421
12422 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12423
12424 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12425
12426 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12427 Declare.
12428
12429 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12430
12431 * electric.el (Electric-command-loop): Rename parameter
12432 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12433
12434 * expand.el (expand-in-literal): Remove unused variable `here'.
12435
12436 * facemenu.el (facemenu-add-new-color):
12437 Remove unused variable `docstring'.
12438
12439 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12440 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12441 (face-attr-construct): Mark unused parameter. Doc fix.
12442 (read-color): Remove unused variable `hex-string'.
12443
12444 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12445 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12446 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12447 (display-buffer-other-frame): Remove unused variable `old-window'.
12448 (kill-buffer-hook): Declare.
12449 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12450 Mark unused parameters.
12451 (after-find-file): Pass 1 to `auto-save-mode', not t.
12452
12453 * files-x.el (auto-insert): Declare.
12454 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12455
12456 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12457 variable `buf'. Mark unused parameter.
06b60517
JB
12458 (find-lisp-insert-directory): Mark unused parameter.
12459
12460 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12461 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12462 (format-common-tail): Remove, unused.
12463 (format-deannotate-region): Remove unused variable `loc'.
12464 (format-annotate-region): Remove unused variable `p'.
12465 (format-annotate-single-property-change): Remove unused variables
12466 `default' and `tail'.
12467
12468 * forms.el (read-file-filter): Declare.
12469 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12470
12471 * frame.el (frame-creation-function-alist): Mark unused parameter.
12472 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12473
12474 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12475 Remove unused parameters.
12476 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12477 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12478
12479 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12480 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12481 (hfy-prepare-tag-map): Mark unused parameters.
12482 (htmlfontify-buffer): Use `called-interactively-p'.
12483
12484 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12485 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12486 (ibuffer-do-occur): Mark unused parameters.
12487 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12488 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12489
12490 * ibuffer.el: Don't quote `lambda'.
12491 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12492 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12493 Mark unused parameters.
12494
12495 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12496 (ido-completing-read): Mark unused parameters.
12497 (ido-copy-current-word): Mark unused parameters;
12498 remove unused variable `name'.
12499 (ido-sort-merged-list): Remove unused parameter `dirs'.
12500
12501 * ielm.el (ielm-input-sender): Mark unused parameter.
12502 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12503 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12504 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12505 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12506 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12507
12508 * image-dired.el (image-dired-display-thumbs): Remove unused
12509 variables `curr-file' and `count'.
12510 (image-dired-remove-tag): Remove unused variable `start'.
12511 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12512 variable `curr-file'
12513 (image-dired-rotate-original): Remove unused variable `temp-file'.
12514 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12515 Remove unused variable `file'.
12516 (image-dired-gallery-generate): Remove unused variable `curr'.
12517 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12518
12519 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12520
12521 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12522
12523 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12524
12525 * isearch.el (minibuffer-history-symbol): Declare.
12526 (isearch-edit-string): Remove unused variable `err'.
12527 (isearch-message-prefix, isearch-message-suffix):
12528 Mark unused parameters.
12529
12530 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12531
12532 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12533
12534 * makesum.el (double-column): Remove unused variable `cnt'.
12535
12536 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12537 (ido-ignore-item-temp-list): Declare.
12538
12539 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12540 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12541 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12542 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12543 `mouse-col-delta'.
12544
12545 * mouse-sel.el (mouse-extend-internal):
12546 Remove unused variable `orig-window-frame'.
12547
12548 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12549 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12550 Move declarations before first use.
12551 (pcomplete-opt): Mark unused parameters; doc fix.
12552
12553 * proced.el (proced-revert): Mark unused parameter.
12554 (proced-send-signal): Remove unused variable `err'.
12555
12556 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12557 Rename parameter PREFIX-ARG to ARG.
12558 (ps-basic-plot-string, ps-basic-plot-whitespace):
12559 Mark unused parameters.
12560
12561 * replace.el (replace-count): Define.
12562 (occur-revert-function): Mark unused parameters.
12563 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12564 (isearch-case-fold-search, isearch-string): Declare.
12565 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12566 bind `case-fold-search'. Remove unused variables `beg' and `end',
12567 and simplify.
12568 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12569 COUNT and bind `replace-count'.
12570 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12571 to COUNT.
12572
12573 * savehist.el (print-readably, print-string-length): Declare.
12574
12575 * shadowfile.el (shadow-expand-cluster-in-file-name):
12576 Remove unused variable `cluster'.
12577 (shadow-copy-file): Remove unused variable `i'.
12578 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12579 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12580 (shadow-define-literal-group, shadow-define-regexp-group)
12581 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12582
12583 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12584 (shell): Use `called-interactively-p'.
12585 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12586
12587 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12588 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12589 (delete-backward-char): Remove unused variable `ocol'.
12590 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12591 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12592 (event-apply-hyper-modifier, event-apply-shift-modifier)
12593 (event-apply-control-modifier, event-apply-meta-modifier):
12594 Mark unused parameters.
12595 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12596 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12597
12598 * speedbar.el (speedbar-ignored-directory-expressions)
12599 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12600 (speedbar-find-file, speedbar-dir-follow)
12601 (speedbar-directory-buttons-follow, speedbar-tag-find)
12602 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12603 (speedbar-buffers-line-directory, speedbar-buffer-click):
12604 Mark unused parameters.
12605 (speedbar-tag-file): Remove unused variable `mode'.
12606 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12607
12608 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12609
12610 * talk.el (talk): Remove unused variable `display'.
12611
12612 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12613 (tar-write-region-annotate): Mark unused parameter.
12614
12615 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12616 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12617 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12618 warning by another.
12619
12620 * time-stamp.el (time-stamp-string-preprocess):
12621 Remove unused variable `require-padding'.
12622
12623 * tree-widget.el (widget-glyph-enable): Declare.
12624 (tree-widget-action): Mark unused parameter.
12625
12626 * w32-fns.el (x-get-selection): Mark unused parameter.
12627 (autoload-make-program, generated-autoload-file): Declare.
12628
12629 * wdired.el (wdired-revert): Mark unused parameters.
12630 (wdired-xcase-word): Remove unused variable `err'.
12631
12632 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12633 (whitespace-help-scroll): Remove unused variable `data-help'.
12634
12635 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12636 (widget-image-insert, widget-after-change, default)
12637 (widget-default-format-handler, widget-default-notify)
12638 (widget-default-prompt-value, widget-info-link-action)
12639 (widget-url-link-action, widget-function-link-action)
12640 (widget-variable-link-action, widget-file-link-action)
12641 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12642 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12643 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12644 (widget-insert-button-action, widget-delete-button-action, visibility)
12645 (widget-documentation-link-action, widget-documentation-string-action)
12646 (widget-const-prompt-value, widget-regexp-match, symbol)
12647 (widget-coding-system-prompt-value)
12648 (widget-key-sequence-value-to-external, sexp)
12649 (widget-sexp-value-to-internal, character, vector, cons)
12650 (widget-choice-prompt-value, widget-boolean-prompt-value)
12651 (widget-color--choose-action): Mark unused parameters.
12652 (widget-item-match-inline, widget-choice-match-inline)
12653 (widget-checklist-match, widget-checklist-match-inline)
12654 (widget-group-match): Rename parameter VALUES to VALS.
12655 (widget-field-value-set): Remove unused variable `size'.
12656 (widget-color-action): Remove unused variables `value' and `start'.
12657
12658 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12659 variable `dir'. Doc fix.
06b60517
JB
12660 (windmove-find-other-window): Don't pass it.
12661
12662 * window.el (count-windows): Mark unused parameter.
12663 (bw-adjust-window): Remove unused variable `err'.
12664
12665 * woman.el (woman-file-name): Remove unused variable `default'.
12666 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12667 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12668 (global-font-lock-mode): Declare.
12669 (woman-decode-region): Mark unused parameter.
12670 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12671
12672 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12673 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12674 (x-dnd-handle-moz-url): Remove unused variable `title'.
12675 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12676
12677 * xml.el (xml-parse-tag, xml-parse-attlist):
12678 Remove unused variable `pos'.
12679
bc4f7f3d
GM
126802011-04-19 Glenn Morris <rgm@gnu.org>
12681
12682 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12683 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12684 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12685 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12686 * calendar/cal-html.el (cal-html-insert-minical):
12687 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12688 (calendar-mark-date-pattern):
12689 Prefix "unused" locals.
12690
12691 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12692 optional argument `style'.
12693
12694 * calendar/appt.el (appt-make-list):
12695 * calendar/cal-china.el (calendar-chinese-date-string):
12696 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12697 (diary-hebrew-yahrzeit):
12698 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12699 * calendar/calendar.el (calendar-generate-window):
12700 * calendar/time-date.el (time-to-days):
12701 Remove unused local variables.
12702
16a43933
CY
127032011-04-18 Chong Yidong <cyd@stupidchicken.com>
12704
12705 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12706 glyphless-char-display table.
12707 (tabulated-list-glyphless-char-display): New var.
12708
7eed1860
SS
127092011-04-18 Sam Steingold <sds@gnu.org>
12710
12711 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12712 to acknowledgments.
12713
4d2d1ccd
GM
127142011-04-17 Glenn Morris <rgm@gnu.org>
12715
12716 * calendar/diary-lib.el (diary-sexp-entry):
12717 * calendar/holidays.el (holiday-sexp):
12718 Set debug-on-error rather than the removed stack-trace-on-error.
12719
239da61d
GM
127202011-04-16 Glenn Morris <rgm@gnu.org>
12721
12722 * progmodes/f90.el: Use lexical-binding.
12723 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12724
8b05752a
SM
127252011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12726
daca8ba5
SM
12727 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12728 (mail-mode): Setup mailalias completion here instead.
12729 * mail/mailalias.el: Use lexical-binding.
12730 (pattern, mailalias-done): Declare dynamic.
12731 (mail-completion-at-point-function): New function, from mail-complete.
12732 (mail-complete): Use it.
12733 (mail-completion-expand): New function.
12734 (mail-get-names): Use it.
12735 (mail-directory, mail-directory-process, mail-directory-stream):
12736 Don't use `pattern' for lexically bound arg.
12737
6f542485
SM
12738 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12739
037e7c3f
SM
12740 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12741 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12742 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12743
8b05752a
SM
12744 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12745 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12746 (byte-interactive-p): Define them again, for use when inlining
12747 old code.
12748
49093f60
JB
127492011-04-15 Juanma Barranquero <lekktu@gmail.com>
12750
12751 * loadup.el: Use `string-to-number', not `string-to-int'.
12752
b5b8e7de
SM
127532011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12754
12755 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12756 gud-gdb-complete-command.
12757 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12758 (gud-gdb-completion-at-point): New function.
12759 (gud-gdb-completions): Remove.
12760
f42efeb5
MA
127612011-04-14 Michael Albinus <michael.albinus@gmx.de>
12762
49093f60
JB
12763 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12764 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12765 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12766 whether `executable-find' is bound.
f42efeb5
MA
12767
12768 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12769
e240cc21
SM
127702011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12771
12772 * minibuffer.el (completion-in-region-mode-predicate)
12773 (completion-in-region-mode--predicate): New vars.
12774 (completion-in-region, completion-in-region--postch)
12775 (completion-in-region-mode): Use them.
12776 (completion--capf-wrapper): Also return the hook function.
12777 (completion-at-point, completion-help-at-point):
12778 Adjust and provide a predicate.
c2bd2ab0
SM
12779
12780 Preserve arg names for advice of subr and lexical functions (bug#8457).
12781 * help-fns.el (help-function-arglist): Consolidate the subr and
12782 new-byte-code cases. Add argument `preserve-names' to extract names
12783 from the docstring when needed.
12784 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12785 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12786 (ad-arglist): Use help-function-arglist's new arg.
12787 (ad-definition-type): Use cond.
12788
c183f693
JB
127892011-04-13 Juanma Barranquero <lekktu@gmail.com>
12790
06641a47
JB
12791 * autorevert.el (auto-revert-handler):
12792 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12793 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12794 Don't quote lambda.
12795
c183f693
JB
12796 * image-mode.el (image-transform-set-scale):
12797 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12798
1e3b6001
G
127992011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12800
12801 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12802 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12803 Upgrades via gnutls-cli are too slow to be done opportunistically.
12804
2d6af8dd
JB
128052011-04-12 Juanma Barranquero <lekktu@gmail.com>
12806
12807 * dframe.el (dframe-current-frame): Remove spurious quote.
12808
c0749a51
GM
128092011-04-12 Glenn Morris <rgm@gnu.org>
12810
088d0d61
GM
12811 * calendar/cal-tex.el (cal-tex-end-document):
12812 Try to automatically use latin1 input if needed.
12813
c0749a51
GM
12814 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12815 Don't try to cons a mark onto an empty element.
12816
5c90fde0
LL
128172011-04-11 Leo Liu <sdl.web@gmail.com>
12818
12819 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12820 buffers.
12821 (ido-kill-buffer-at-head): Support killing virtual buffers.
12822
369e974d
CY
128232011-04-10 Chong Yidong <cyd@stupidchicken.com>
12824
12825 * minibuffer.el (completion-show-inline-help): New var.
12826 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12827 (minibuffer-force-complete, minibuffer-complete-word):
12828 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12829
12830 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12831 to avoid interference from inline help (Bug#5849).
12832
37f1c930
LL
128332011-04-10 Leo Liu <sdl.web@gmail.com>
12834
099c39a4
JB
12835 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12836 Fix typo.
37f1c930 12837
a32d4040
CY
128382011-04-09 Chong Yidong <cyd@stupidchicken.com>
12839
12840 * image-mode.el (image-toggle-display-image): Signal an error if
12841 not in Image mode.
12842 (image-transform-mode, image-transform-resize)
12843 (image-transform-set-rotation): Doc fix.
daca8ba5 12844 (image-transform-set-resize): Delete.
a32d4040
CY
12845 (image-transform-set-scale, image-transform-fit-to-height)
12846 (image-transform-fit-to-width): Handle image-toggle-display-image
12847 and image-transform-resize directly.
12848
099c39a4 128492011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12850
12851 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12852 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12853 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12854 (doc-view-mode-map): Add bindings for the new functions.
12855
099c39a4 128562011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12857
4d61f28d 12858 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12859 Fix typo in docstring.
12860
3726838a
EZ
128612011-04-08 Eli Zaretskii <eliz@gnu.org>
12862
04f33f1e
EZ
12863 * files.el (file-size-human-readable): Produce one digit after
12864 decimal, like "ls -lh" does.
12865
12866 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12867 the file size representation.
12868
3726838a
EZ
12869 * simple.el (list-processes): If async subprocesses are not
12870 available, error out with a clear error message.
12871
cbb59342
CY
128722011-04-08 Chong Yidong <cyd@stupidchicken.com>
12873
12874 * help.el (help-form-show): New function, to be called from C.
12875 Put help-form output in a buffer named differently than *Help*.
12876
e3971c44
EZ
128772011-04-08 Eli Zaretskii <eliz@gnu.org>
12878
12879 * files.el (file-size-human-readable): New function.
12880
12881 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12882 computing the representation inline. Don't require `cl'.
12883
12544bbe
GM
128842011-04-08 Glenn Morris <rgm@gnu.org>
12885
a1de6c6a
GM
12886 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12887
3c4671f4
GM
12888 * net/browse-url.el (browse-url-firefox):
12889 Test system-type, not system-configuration.
12890
b605679c
GM
12891 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12892 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12893 Use log-edit-empty-buffer-p. (Bug#7598)
12894
56442f0c
GM
12895 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12896 (rlogin-mode-map): Initialize in the defvar.
12897 (rlogin): Use ignore-errors.
12898
12544bbe
GM
12899 * replace.el (occur-mode-map): Some fixes for menu items.
12900
eb237b0f
AH
129012011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12902
12903 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12904
7d668f2c
CY
129052011-04-06 Chong Yidong <cyd@stupidchicken.com>
12906
e67a13ab
CY
12907 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12908 issuing unused warnings.
12909
12910 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12911 macro directly.
12912
7d668f2c
CY
12913 * simple.el: Lisp reimplement of list-processes. Based on an
12914 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12915 (process-menu-mode): New major mode.
12916 (list-processes--refresh, list-processes):
12917 (process-menu-visit-buffer): New functions.
12918
12919 * files.el (save-buffers-kill-emacs): Don't assume any return
12920 value of list-processes, which is undocumented anyway.
12921
a83ec3c9
CY
129222011-04-06 Chong Yidong <cyd@stupidchicken.com>
12923
12924 * emacs-lisp/tabulated-list.el: New file.
12925
e91a96fe
CY
12926 * emacs-lisp/package.el: Use Tabulated List mode.
12927 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12928 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12929 table format using Tabulated List mode variables.
12930 (package--push): New macro, replacing package-list-maybe-add.
12931 (package-menu--generate): Use package--push. Renamed from
12932 package--generate-package-list.
12933 (package-menu-refresh, list-packages): Use it.
daca8ba5 12934 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12935 Return insertion data instead of inserting it directly.
099c39a4
JB
12936 (package-menu-describe-package, package-menu-execute):
12937 Use tabulated-list-get-id.
e91a96fe
CY
12938 (package-menu-mark-delete, package-menu-mark-install)
12939 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12940 (package-menu-mark-obsolete-for-deletion):
12941 Use tabulated-list-put-tag.
e91a96fe
CY
12942 (package--list-packages, package-menu-revert)
12943 (package-menu-get-package, package-menu-get-version)
12944 (package-menu-sort-by-column): Functions deleted.
12945 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12946 (package-menu--status-predicate, package-menu--version-predicate)
12947 (package-menu--name-predicate)
12948 (package-menu--description-predicate): Handle arguments in the
12949 Tabulated List format.
12950 (package-list-packages-no-fetch): Call list-packages.
12951
3e214b50
JB
129522011-04-06 Juanma Barranquero <lekktu@gmail.com>
12953
12954 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12955 (after-find-file): Don't bind it.
3e214b50
JB
12956 (revert-buffer-in-progress-p): New variable.
12957 (revert-buffer): Bind it.
12958 Pass nil for `after-find-file-from-revert-buffer'.
12959
12960 * saveplace.el (save-place-find-file-hook): Use new variable
12961 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12962
3f0f1700
GM
129632011-04-06 Glenn Morris <rgm@gnu.org>
12964
c0274801
GM
12965 * Makefile.in (AUTOGEN_VCS): New variable.
12966 (autoloads): Use $AUTOGEN_VCS.
12967
3f0f1700
GM
12968 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12969 * calendar/calendar.el (calendar-mode-map):
12970 Check for toolkit scroll bars. (Bug#8305)
12971
41ea9e48
CY
129722011-04-05 Chong Yidong <cyd@stupidchicken.com>
12973
12974 * minibuffer.el (completion-in-region--postch)
12975 (completion-in-region-mode): Remove unnecessary messages.
12976
6194c800
JB
129772011-04-05 Juanma Barranquero <lekktu@gmail.com>
12978
33256f14
JB
12979 * font-lock.el (font-lock-refresh-defaults):
12980 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12981 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12982
6194c800
JB
12983 * info.el (Info-directory-list, Info-read-node-name-2)
12984 (Info-split-parameter-string): Doc fixes.
12985 (Info-virtual-nodes): Reflow docstring.
12986 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12987 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12988 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12989 Fix typos in docstrings.
12990 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12991 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12992 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12993 (Info-restore-desktop-buffer): Mark unused parameters.
12994 (Info-directory-find-file, Info-directory-find-node)
12995 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12996 (Info-virtual-index-find-node, Info-apropos-find-file)
12997 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12998 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12999 (Info-virtual-index): Remove unused local variable `nodename'.
13000
b87a8200 130012011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13002
b87a8200
DD
13003 * net/rcirc.el: Update my e-mail address.
13004 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13005
3b2ff876
CY
130062011-04-05 Chong Yidong <cyd@stupidchicken.com>
13007
13008 * startup.el (command-line): Save the cursor's theme-face
13009 directly, instead of using face-override-spec.
13010
13011 * custom.el (load-theme): Minor optimization in assigning faces.
13012
8d17e7ca
JB
130132011-04-04 Juanma Barranquero <lekktu@gmail.com>
13014
13015 * help-fns.el (describe-variable): Complete all variables having
13016 documentation, including keywords.
13017 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13018
2fbc1934
JB
130192011-04-04 Juanma Barranquero <lekktu@gmail.com>
13020
13021 Convert to lexical-binding.
13022
13023 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13024 (bs--get-marked-string, bs--get-modified-string)
13025 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13026 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13027 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13028
13029 * ehelp.el (electric-help-execute-extended)
13030 (electric-help-ctrl-x-prefix):
13031 * hexl.el (hexl-revert-buffer-function):
13032 * linum.el (linum-after-change, linum-after-scroll):
13033 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13034
13035 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13036
74f50695
DU
130372011-04-04 Daiki Ueno <ueno@unixuser.org>
13038
13039 * epa-dired.el:
13040 * epa-mail.el:
13041 * epa-hook.el:
13042 * epa-file.el:
13043 * epa.el:
13044 * epg.el: Use lexical binding.
13045
c11325f7
CY
130462011-04-03 Chong Yidong <cyd@stupidchicken.com>
13047
0d9e9a12
CY
13048 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13049
c11325f7 13050 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13051 dictionary case for flyspell-mark-duplications-exceptions.
13052 Use regexp matching for languages.
c11325f7
CY
13053 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13054 default dictionary (Bug#7926).
13055
da91b5f2
CY
130562011-04-02 Chong Yidong <cyd@stupidchicken.com>
13057
099c39a4
JB
13058 * emacs-lisp/package.el (package--with-work-buffer):
13059 Recognize https URLs.
da91b5f2 13060
099c39a4
JB
13061 * net/network-stream.el: Move from gnus/proto-stream.el.
13062 Change prefix to network-stream throughout.
da91b5f2
CY
13063 (open-protocol-stream): Merge into open-network-stream, leaving
13064 open-protocol-stream as an alias. Handle nil BUFFER args.
13065
13066 * subr.el (open-network-stream): Move to net/network-stream.el.
13067
afa8e9f6
GM
130682011-04-02 Glenn Morris <rgm@gnu.org>
13069
1d2e369d
GM
13070 * find-dired.el (find-exec-terminator): New option.
13071 (find-ls-option): Test for -ls support.
13072 (find-ls-subdir-switches): Test for -b in find-ls-option.
13073 (find-dired, find-grep-dired): Doc fixes.
13074 (find-dired): Use find-exec-terminator.
13075
8abb7da8 13076 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13077 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13078 (find-name-arg): Remove purecopy.
8abb7da8 13079
f3ca7378
GM
13080 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13081 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13082 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13083 accordingly. Don't add the null-device if not needed.
13084
afa8e9f6
GM
13085 * files.el (save-some-buffers): Doc fix.
13086
35eae264
EZ
130872011-04-02 Eli Zaretskii <eliz@gnu.org>
13088
13089 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13090
26b51db5
JB
130912011-04-01 Juanma Barranquero <lekktu@gmail.com>
13092
13093 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13094 Use `dolist' rather than `mapcar'.
13095
7200d79c
SM
130962011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13097
03408648 13098 Add lexical binding.
7200d79c 13099
03408648
SM
13100 * subr.el (apply-partially): Use new closures rather than CL.
13101 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13102 (dolist, dotimes): Use slightly different expansion for lexical code.
13103 (functionp): Move to C.
13104 (letrec): New macro.
13105 (with-wrapper-hook): Use it and apply-partially instead of CL.
13106 (eval-after-load): Preserve lexical-binding.
13107 (save-window-excursion, with-output-to-temp-buffer): Turn them
13108 into macros.
7200d79c 13109
03408648
SM
13110 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13111
13112 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13113 than the arglist.
13114 (help-add-fundoc-usage): Don't add `Not documented'.
13115 (help-function-arglist): Handle closures, subroutines, and new
13116 byte-code-functions.
13117 (help-make-usage): Remove leading underscores.
13118 (describe-function-1): Handle closures.
13119 (describe-variable): Use special-variable-p for completion.
13120
13121 * files.el (lexical-binding): Declare safe.
f488fb65 13122
03408648
SM
13123 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13124 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13125 (pcase): Add `let' pattern.
13126 Change memoization so it actually works.
13127 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13128 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13129 <let>: New case.
f488fb65 13130
03408648
SM
13131 * emacs-lisp/macroexp.el: Use lexical binding.
13132 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13133 Don't convert ' to #' without checking that it's indeed quoting
13134 a lambda.
13135
13136 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13137 Use eval-sexp-add-defvars.
03408648
SM
13138 (eval-sexp-add-defvars): New fun.
13139
13140 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13141
13142 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13143 Don't autoload.
13144 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13145 than the internal `byte-compile-lambda'.
13146 (defmethod): Don't hide code under quotes.
13147 (eieio-defmethod): New `code' argument.
13148
13149 * emacs-lisp/eieio-comp.el: Remove.
13150
13151 * emacs-lisp/edebug.el (edebug-eval-defun)
13152 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13153 (edebug-toggle): Avoid `eval'.
13154
13155 * emacs-lisp/disass.el (disassemble-internal): Handle new
13156 `closure' objects.
13157 (disassemble-1): Handle new byte codes.
13158
13159 * emacs-lisp/cl.el (pushnew): Silence warning.
13160
13161 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13162 (cl-byte-compile-throw): Remove.
13163 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13164
13165 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13166 closures.
13167
13168 * emacs-lisp/cconv.el: New file.
13169
13170 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13171 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13172 (byte-compile-initial-macro-environment):
13173 Handle declare-function here.
13174 (byte-compile--lexical-environment): New var.
13175 (byte-stack-ref, byte-stack-set, byte-discardN)
13176 (byte-discardN-preserve-tos): New lap codes.
13177 (byte-interactive-p): Don't use any more.
13178 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13179 New macros.
13180 (byte-compile-lapcode): Use them and handle new lap codes.
13181 (byte-compile-obsolete): Remove.
13182 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13183 (byte-compile-arglist-warn): Check late def of inlinable funs.
13184 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13185 since they should have been expanded by now.
13186 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13187 (byte-compile-from-buffer): Remove unused second arg.
13188 (byte-compile-preprocess): New function.
13189 (byte-compile-toplevel-file-form): New function to distinguish
13190 file-form calls from outside from file-form calls from hunk-handlers.
13191 (byte-compile-file-form): Simplify.
13192 (byte-compile-file-form-defsubst): Remove.
13193 (byte-compile-file-form-defmumble): Simplify now that
13194 byte-compile-lambda always returns a byte-code-function.
13195 (byte-compile): Preprocess.
13196 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13197 Remove, not used any more.
13198 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13199 (byte-compile-make-args-desc): New funs.
13200 (byte-compile-lambda): Handle lexical functions. Always return
13201 a byte-code-function.
13202 (byte-compile-reserved-constants): New var, to make up room for
13203 closed-over variables.
13204 (byte-compile-constants-vector): Obey it.
13205 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13206 (byte-compile-macroexpand-declare-function): New function.
13207 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13208 byte-code-functions.
13209 (byte-compile-form): Check obsolescence here.
13210 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13211 (byte-compile-variable-ref): Remove.
13212 (byte-compile-dynamic-variable-op): New fun.
13213 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13214 (byte-compile-variable-set): New funs.
13215 (byte-compile-discard): Add 2 args.
13216 (byte-compile-stack-ref, byte-compile-stack-set)
13217 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13218 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13219 macroexpand-all instead.
13220 (byte-compile-quote-form): Remove.
13221 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13222 (byte-compile-bind, byte-compile-unbind): New funs.
13223 (byte-compile-let): Handle let* and lexical binding.
13224 (byte-compile-let*): Remove.
13225 (byte-compile-catch, byte-compile-unwind-protect)
13226 (byte-compile-track-mouse, byte-compile-condition-case):
13227 Handle a new :fun-body form, used for lexical scoping.
13228 (byte-compile-save-window-excursion)
13229 (byte-compile-with-output-to-temp-buffer): Remove.
13230 (byte-compile-defun): Simplify.
13231 (byte-compile-stack-adjustment): New fun.
13232 (byte-compile-out): Use it.
13233 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13234
13235 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13236 handler any more.
13237
13238 * emacs-lisp/byte-opt.el: Use lexical binding.
13239 (byte-inline-lapcode): Remove (to bytecomp).
13240 (byte-compile-inline-expand): Pay attention to inlining to/from
13241 lexically bound code.
13242 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13243 any more.
13244 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13245 any more and don't call compiler-macros.
13246 (byte-compile-splice-in-already-compiled-code): Remove.
13247 (byte-code): Don't inline any more.
13248 (disassemble-offset): Receive `bytes' as argument rather than via
13249 dynamic scoping.
13250 (byte-compile-tag-number): Declare before first use.
13251 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13252 `return' even if make-spliceable.
13253 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13254 obsolete interactive-p.
13255 (byte-optimize-lapcode): Optimize new lap-codes.
13256 Don't trip up on new form of `byte-constant' lap code.
13257
13258 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13259
13260 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13261
13262 * custom.el (custom-initialize-default, custom-declare-variable):
13263 Use `defvar'.
13264
13265 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13266 New variables.
13267 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13268 (COMPILE_FIRST): Add macroexp and cconv.
13269 * makefile.w32-in: Mirror changes in Makefile.in.
13270
13271 * vc/cvs-status.el:
13272 * vc/diff-mode.el:
13273 * vc/log-edit.el:
13274 * vc/log-view.el:
13275 * vc/smerge-mode.el:
13276 * textmodes/bibtex-style.el:
13277 * textmodes/css.el:
13278 * startup.el:
13279 * uniquify.el:
da91b5f2
CY
13280 * minibuffer.el:
13281 * newcomment.el:
13282 * reveal.el:
13283 * server.el:
13284 * mpc.el:
13285 * emacs-lisp/smie.el:
13286 * doc-view.el:
13287 * dired.el:
03408648
SM
13288 * abbrev.el: Use lexical binding.
13289
0f0c1f27
EZ
132902011-04-01 Eli Zaretskii <eliz@gnu.org>
13291
13292 * info.el (info-display-manual): New function.
13293
c82b2579
SM
132942011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13295
13296 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13297
221ddf68
TH
132982011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13299
13300 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 13301 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 13302
cba6e77e
GM
133032011-03-31 Glenn Morris <rgm@gnu.org>
13304
e040639f
GM
13305 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13306
cba6e77e
GM
13307 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13308
6d0f1c9e
CS
133092011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13310
13311 * progmodes/python.el (python-default-interpreter)
13312 (python-python-command-args, python-jython-command-args)
13313 (python-which-shell, python-which-args, python-which-bufname)
13314 (python-file-queue, python-comint-output-filter-function)
13315 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13316 variables and functions.
13317
3e2d70fd
SM
133182011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13319
13320 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13321 (completion-in-region-mode): New minor mode.
13322 (completion-in-region): Use it.
13323 (completion-in-region--data, completion-in-region-mode-map): New vars.
13324 (completion-in-region--postch): New function.
13325 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13326 New vars.
13327 (completion--capf-wrapper): New function.
13328 (completion-at-point): Use it to track well-behavedness of
13329 hook functions.
13330 (completion-help-at-point): New command.
13331
f3e4086c
JM
133322011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13333
13334 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13335 syntax class to search for whitespace on a single line
13336 (Message-ID: <4D938140.4030905@redhat.com>).
13337
eb7ffc14
LL
133382011-03-30 Leo Liu <sdl.web@gmail.com>
13339
13340 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13341 New commands.
13342 (edit-abbrevs-map): Bind them here.
13343 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13344
d806ab68
KM
133452011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13346
13347 * allout.el (allout-hide-by-annotation, allout-flag-region):
13348 Reduce possibility of overlay leakage by making them volatile.
13349
13350 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13351 hash is not shared between buffers. Mode initialization is
13352 responsible for giving it a useful starting value.
13353 (allout-item-span): Reduce possibility of overlay leakage by
13354 making them volatile.
13355 (allout-widgets-count-buttons-in-region): Add diagnostic function
13356 for tracking down button overlay leaks.
13357
ea622834
LL
133582011-03-29 Leo Liu <sdl.web@gmail.com>
13359
13360 * ido.el (ido-read-internal): Use the default history var
13361 minibuffer-history if no HISTORY is specified.
13362
b62f8267
G
133632011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13364
03408648
SM
13365 * net/imap.el (imap-shell-open, imap-process-connection-type):
13366 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13367 Kerberos, SSL, other subprocesses.
13368
947b6566
LL
133692011-03-28 Leo Liu <sdl.web@gmail.com>
13370
13371 * abbrev.el (abbrev-table-empty-p): New function.
13372 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13373 nonempty ones. (Bug#5937)
13374
5ffb62aa
JD
133752011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13376
13377 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13378
7a097943
LL
133792011-03-27 Leo Liu <sdl.web@gmail.com>
13380
13381 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13382 for foreground and background colors.
13383 (ansi-color-make-color-map): Adapt.
13384
c5b40130
LL
133852011-03-25 Leo Liu <sdl.web@gmail.com>
13386
1f48f7d2
LL
13387 * midnight.el (midnight-time-float): Remove. Note it calculates
13388 the microsecond component incorrectly and seconds-to-time does the
13389 same job.
625897ec 13390 Remove redundant (require 'timer).
1f48f7d2 13391
c5b40130
LL
13392 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13393 (ido-completions): Remove unused arguments. (Bug#8329)
13394
d86d2721
SM
133952011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13396
13397 * minibuffer.el (completion--flush-all-sorted-completions):
13398 Remove itself from hook.
13399 (completion-at-point): Let the functions perform the completion
13400 immediately and return nil or t.
13401 * comint.el (comint-dynamic-complete-functions): Now identical to
13402 completion-at-point-functions.
13403 (comint-dynamic-list-input-ring): Remove unused var `index'.
13404 (comint--match-partial-filename, comint--unquote&expand-filename):
13405 New funs, split from comint-match-partial-filename.
13406 (comint-dynamic-complete): Use completion-at-point.
13407 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13408
e8974c48
DA
134092011-03-24 Drew Adams <drew.adams@oracle.com>
13410
13411 * thingatpt.el: Support `defun'.
13412
def71b5e
LL
134132011-03-23 Leo Liu <sdl.web@gmail.com>
13414
cb5af48e
LL
13415 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13416
def71b5e
LL
13417 * help-mode.el (help-mode-finish): Tweak regexp.
13418
927c53e7
GM
134192011-03-23 Glenn Morris <rgm@gnu.org>
13420
18d05bed
GM
13421 * eshell/esh-opt.el (eshell-eval-using-options):
13422 Do not bind unused local variable `eshell-option-stub'.
13423
927c53e7
GM
13424 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13425
9d0da923
JB
134262011-03-22 Juanma Barranquero <lekktu@gmail.com>
13427
13428 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13429 keymap variable in `with-no-warnings' to avoid a warning when the
13430 keymap has been already `defconst'ed.
13431
4b978a67
LL
134322011-03-22 Leo Liu <sdl.web@gmail.com>
13433
13434 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13435 encode all chars in abbrevs; otherwise use emacs-mule or
13436 utf-8-emacs. (Bug#8308)
13437
5fd62452
JB
134382011-03-22 Juanma Barranquero <lekktu@gmail.com>
13439
0b1596c6
JB
13440 * simple.el (backward-delete-char-untabify):
13441 Avoid warning about using `delete-backward-char'.
13442
5fd62452
JB
13443 * image.el (image-type-file-name-regexps): Make it variable.
13444 `imagemagick-register-types' modifies it, and the user may want
13445 to add new extensions for known image types.
13446 (imagemagick-register-types): Throw error if not using ImageMagick.
13447
0b4e93f1
LL
134482011-03-22 Leo Liu <sdl.web@gmail.com>
13449
13450 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13451 located before rcirc-prompt-end-marker.
13452 (rcirc-complete): Error if point is not after rcirc prompt.
13453 Handle the case when table is nil.
9882e214 13454 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13455
fccee4ab
CY
134562011-03-22 Chong Yidong <cyd@stupidchicken.com>
13457
13458 * custom.el (custom--inhibit-theme-enable): Make it affect only
13459 custom-theme-set-variables and custom-theme-set-faces.
13460 (provide-theme): Ignore custom--inhibit-theme-enable.
13461 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13462 (custom-enabling-themes): Delete variable.
d86d2721
SM
13463 (enable-theme): Accept only loaded themes as arguments.
13464 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13465 (custom-enabled-themes): Forbid themes from setting this.
13466 Eliminate use of custom-enabling-themes.
13467 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13468
af896da6
LL
134692011-03-21 Leo Liu <sdl.web@gmail.com>
13470
13471 * ido.el (ido-read-internal): Add ido-selected to history instead
13472 of user input.
13473
78f64af0
SM
134742011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13475
13476 * subr.el (deferred-action-list, deferred-action-function):
13477 Mark obsolete.
13478
b16ac1ec
LL
134792011-03-21 Leo Liu <sdl.web@gmail.com>
13480
810f7698
LL
13481 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13482 change on 2011-02-13 (bug#8309).
13483
b16ac1ec
LL
13484 * minibuffer.el (read-file-name-function): Change default value.
13485 (read-file-name--defaults): Rename from read-file-name-defaults.
13486 (read-file-name-default): Rename from read-file-name.
13487 (read-file-name): Call read-file-name-function.
13488
4e05e67e
GM
134892011-03-21 Glenn Morris <rgm@gnu.org>
13490
13491 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13492 Doc fixes.
13493
4359915b
CY
134942011-03-21 Chong Yidong <cyd@stupidchicken.com>
13495
13496 * cus-theme.el: Add missing provide statement.
13497 (customize-create-theme): Extract theme value correctly.
13498 (custom-theme-visit-theme): Autoload.
13499 (customize-create-theme): Prompt before inserting default faces.
13500
1fe275ee
JB
135012011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13502
13503 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13504 units and musical notes.
13505
cd394be1 135062011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13507
13508 * ido.el (ido-read-internal): Use completing-read-default.
13509 (ido-completing-read): Fix compatibility with completing-read.
13510
7d476bde
CO
135112011-03-20 Christian Ohler <ohler@gnu.org>
13512
13513 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13514 (ert-delete-all-tests): Use `called-interactively-p' rather than
13515 `interactive-p'.
13516 (ert--make-xrefs-region): Respect END.
13517
fe0fb33e
CY
135182011-03-19 Chong Yidong <cyd@stupidchicken.com>
13519
ff854b0b
CY
13520 * dired-aux.el (dired-create-directory): Signal an error if the
13521 directory already exists (Bug#8246).
13522
fe0fb33e
CY
13523 * facemenu.el (list-colors-display): Call list-faces-display
13524 inside with-help-window.
13525 (list-colors-print): Use display property to align the final
13526 column, instead of checking window-width.
13527
576bce32
EZ
135282011-03-19 Eli Zaretskii <eliz@gnu.org>
13529
4d61f28d 13530 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13531 windows-nt systems.
13532 (emerge-protect-metachars): Quote correctly for ms-dos and
13533 windows-nt systems.
13534
89c41d68 135352011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13536
13537 * info.el (info-initialize): Replace all uses of `:' with
13538 path-separator for compatibility with non-Unix systems.
13539 Cache quoting of path-separator. (Bug#8258)
13540
b14e3e21 135412011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13542
13543 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13544 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13545 (mouse-avoidance-mode): Fix typos in docstrings.
13546
4525ce3e
CY
135472011-03-19 Chong Yidong <cyd@stupidchicken.com>
13548
13549 * startup.el (package-subdirectory-regexp): Move from package.el.
13550 Omit \\` and \\', and let callers add them.
13551
13552 * emacs-lisp/package.el (package-strip-version)
13553 (package-load-all-descriptors): Add \\` and \\' to
13554 package-subdirectory-regexp before using it.
13555 (package-untar-buffer): New arg DIR; ensure that file untars only
13556 into this expected directory. Remove superfluous delete-region.
13557 (package-unpack): Caller changed.
13558 (package-tar-file-info): Use package-subdirectory-regexp.
13559
a904a09a 135602011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13561
a904a09a
SM
13562 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13563 diff-mode-shared-map (bug#8284).
13564 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13565
135662011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13567
13568 * calendar/time-date.el (format-seconds): Use assoc instead of
13569 assoc-string, since assoc-string doesn't exist in XEmacs.
13570
171fc304
JB
135712011-03-17 Juanma Barranquero <lekktu@gmail.com>
13572
13573 * custom.el (custom-known-themes): Reflow docstring.
13574 (custom-theme-load-path): Fix typo in docstring.
13575 (load-theme): Fix typo in error message.
13576 (custom-available-themes, custom-variable-theme-value):
13577 Use `let', not `let*'.
13578
d71990a1
JB
135792011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13580
13581 * calc/README: Mention inclusion of musical notes.
13582
13583 * calc/calc-units.el (calc-lu-quant): Rename from
13584 `calc-logunits-quantity'.
13585 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13586 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13587 (calc-db): Rename from `calc-dblevel'.
13588 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13589 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13590 (calc-np): Rename from `calc-nplevel'.
13591 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13592 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13593 (calc-lu-plus): Rename from `calc-logunits-add'.
13594 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13595 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13596 (calc-lu-minus): Rename from `calc-logunits-sub'.
13597 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13598 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13599 (calc-lu-times): Rename from `calc-logunits-mul'.
13600 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13601 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13602 (calc-lu-divide): Rename from `calc-logunits-div'.
13603 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13604 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13605
13606 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13607 functions being autoloaded.
13608
13609 * calc/calc.el (calc-lu-power-reference): Rename from
13610 `calc-logunits-power-reference'.
13611 (calc-lu-field-reference): Rename from
13612 `calc-logunits-field-reference'.
13613
7a71b18d
GM
13614 * calc/calc-help.el (calc-l-prefix-help):
13615 Mention musical note functions.
d71990a1 13616
40c2934b
SM
136172011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13618
13619 * minibuffer.el (completion-all-sorted-completions):
13620 Use :completion-cycle-penalty text property if present.
13621
b0911414
KM
136222011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13623
13624 * allout.el (allout-yank-processing): Adjust for new rebulleting
13625 regime so bullet being yanked is used without prompting the user
13626 for a choice.
13627
8a05b668
JB
136282011-03-16 Juanma Barranquero <lekktu@gmail.com>
13629
13630 * startup.el (command-line): Warn the user that _emacs is deprecated.
13631
5ba5fb81
JB
136322011-03-16 Juanma Barranquero <lekktu@gmail.com>
13633
13634 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13635 (delphi-verbose, delphi-comment-face, delphi-string-face)
13636 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13637 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13638 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13639 (delphi-new-comment-line, delphi-font-lock-defaults)
13640 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13641 Fix typos in docstrings.
13642
2dab465b
KM
136432011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13644
5ba5fb81 13645 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13646 Invert the roles of character and string values for INSTEAD, so a
13647 string is used for the more common case of a defaulting prompt.
13648
0adf5618
SM
136492011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13650
13651 * progmodes/ruby-mode.el (ruby-backward-sexp):
13652 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13653 * play/gamegrid.el (gamegrid-make-face):
13654 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13655 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13656 * notifications.el (notifications-notify):
13657 * net/xesam.el (xesam-search-engines):
13658 * net/quickurl.el (quickurl-list-insert):
13659 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13660
d72700e5
CY
136612011-03-15 Chong Yidong <cyd@stupidchicken.com>
13662
13663 * startup.el (command-line): Update package subdirectory regexp.
13664
49c5410a
SM
136652011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13666
c6eee9aa
SM
13667 * allout.el (allout-abbreviate-flattened-numbering)
13668 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13669
49c5410a
SM
13670 * subr.el (read-char-choice): Only show the cursor after the prompt,
13671 not after the answer.
13672
047b2bb9
KR
136732011-03-15 Kevin Ryde <user42@zip.com.au>
13674
13675 * help-fns.el (variable-at-point): Skip leading quotes, if any
13676 (bug#8253).
13677
0a57d256
SM
136782011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13679
13680 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13681 warning message.
13682
77c992bc
MA
136832011-03-14 Michael Albinus <michael.albinus@gmx.de>
13684
13685 * shell.el (shell): When called interactively, offer to change the
13686 shell file name on remote hosts.
13687
eebc475d
TZ
136882011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13689
13690 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13691 integration for LDAP parameters. The host, base, user or binddn,
13692 and secret tokens can be specified in a netrc file, for instance.
13693 This is optional because an `auth-source' parameter must be
13694 specified in the search attributes.
13695
9d05d1ba
JB
136962011-03-13 Juanma Barranquero <lekktu@gmail.com>
13697
13698 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13699
09d9db2c
GM
137002011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13701
13702 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13703 into declaration. Remove redundant and harmful binding.
13704
137052011-03-12 Eli Zaretskii <eliz@gnu.org>
13706
13707 * files.el (file-ownership-preserved-p): Pass `integer' as an
13708 explicit 2nd argument to `file-attributes'. If the file's owner
13709 is the Administrators group on Windows, and the current user is
13710 Administrator, consider that a match.
13711
13712 * server.el (server-ensure-safe-dir): Consider server directory
13713 safe on MS-Windows if its owner is the Administrators group while
13714 the current Emacs user is Administrator. Use `=' to compare
13715 numerical UIDs, since they could be integers or floats.
13716
219bd536
JB
137172011-03-12 Juanma Barranquero <lekktu@gmail.com>
13718
13719 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13720
f3afd36b
MA
137212011-03-12 Michael Albinus <michael.albinus@gmx.de>
13722
13723 Sync with Tramp 2.2.1.
13724
13725 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13726
13727 * net/trampver.el: Update release number.
13728
3aaaa6f1
SM
137292011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13730
94642599
SM
13731 * progmodes/compile.el (compilation--previous-directory): Fix up
13732 various nil/dead-marker mismatches (bug#8014).
13733 (compilation-directory-properties, compilation-error-properties):
13734 Don't call it at a position past the one we're about to change.
13735
3aaaa6f1
SM
13736 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13737 Disable obsolescence warnings in the file that declares it.
13738
14239447
KM
137392011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13740
099c39a4
JB
13741 * allout-widgets.el (allout-widgets-tally):
13742 Initialize allout-widgets-tally as a hash table rather than nil to
13743 prevent mode-line redisplay warnings. Also, clarify the module
13744 description and fix a comment typo.
14239447 13745
135e287c
JB
137462011-03-11 Juanma Barranquero <lekktu@gmail.com>
13747
13748 * help-fns.el (describe-variable): Don't complete keywords.
13749 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13750
ffbf300e
CY
137512011-03-10 Chong Yidong <cyd@stupidchicken.com>
13752
ba08b241
CY
13753 * emacs-lisp/package.el (package-version-join): Impose a standard
13754 string representation for pre/alpha/beta version lists.
13755 (package-unpack-single): Standardize the directory name by passing
13756 it through package-version-join.
13757 (package-strip-rcs-id): Accept any version string that does not
13758 signal an error in version-to-list.
ffbf300e 13759
f346fd6b
MA
137602011-03-10 Michael Albinus <michael.albinus@gmx.de>
13761
13762 * simple.el (delete-trailing-whitespace): Return nil for the
13763 benefit of `write-file-functions'.
13764
ccb55d27
GM
137652011-03-10 Glenn Morris <rgm@gnu.org>
13766
5ceaac0c
GM
13767 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13768
02da65ff
GM
13769 * vc/vc-git.el (vc-git-program): New option.
13770 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13771 (vc-git--call): Use it.
13772
b2f603cc
GM
13773 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13774
5772caab
GM
13775 * cus-edit.el (Custom-newline): If no button at point, look
13776 for a subgroup button at start-of-line. (Bug#2298)
13777
ccb55d27
GM
13778 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13779
ec6ecaed
JD
137802011-03-10 Julien Danjou <julien@danjou.info>
13781
13782 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13783 `cursor-type' is nil.
13784
9d5aa01d
JB
137852011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13786
13787 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13788
b6a5875b
KM
137892011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13790
7a71b18d 13791 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13792 preserves the existing header prefix, rebulleting it if necessary,
13793 rather than replacing it. This is necessary for proper operation
13794 of cooperative addons like allout-widgets.
1154d12e
JB
13795 (allout-make-topic-prefix, allout-rebullet-heading):
13796 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13797 value as alternate bullet to be used, instead of prompting the user
13798 for a bullet character.
b6a5875b 13799
ee545c35
MA
138002011-03-09 Michael Albinus <michael.albinus@gmx.de>
13801
d86d2721
SM
13802 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13803 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13804 `tramp-default-port'.
13805
c47971d7
DD
138062011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13807
13808 * net/rcirc.el (rcirc-handler-001): Remove useless
13809 with-rcirc-process-buffer.
13810 (rcirc-check-auth-status): Swap arguments to string-match.
13811
13522cb4
GM
138122011-03-09 Glenn Morris <rgm@gnu.org>
13813
0be6f4f1
GM
13814 * shell.el (shell-mode):
13815 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13816
13522cb4
GM
13817 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13818 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13819
515de2e3
CY
138202011-03-08 Chong Yidong <cyd@stupidchicken.com>
13821
13822 * emacs-lisp/package.el (package-refresh-contents)
13823 (package-menu-execute): Use condition-case-no-debug.
13824
b511b994
MA
138252011-03-08 Michael Albinus <michael.albinus@gmx.de>
13826
13827 * simple.el (shell-command-to-string): Use `process-file'.
13828
13829 * emacs-lisp/package.el (package-tar-file-info): Handle also
13830 remote files.
13831
d86d2721
SM
13832 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13833 Use `equal' for upload base check.
b511b994 13834
25bbfb31
AM
138352011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13836
13837 * textmodes/texinfo.el (texinfo-environments):
13838 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13839
be996521
GM
138402011-03-08 Glenn Morris <rgm@gnu.org>
13841
e9c8529f
GM
13842 * cus-start.el (cursor-in-non-selected-windows):
13843 Fix :set quoting oddness. (Bug#8192)
13844
be996521
GM
13845 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13846 in some setf expressions. (Bug#2159)
13847
2bb5649e
CY
138482011-03-08 Chong Yidong <cyd@stupidchicken.com>
13849
13850 * custom.el (custom-available-themes): Return themes in
13851 alphabetical order.
13852
33383987 13853See ChangeLog.15 for earlier changes.
e3d51b27
MR
13854
13855;; Local Variables:
13856;; coding: utf-8
e3d51b27
MR
13857;; End:
13858
acaf905b 13859 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13860
13861 This file is part of GNU Emacs.
13862
13863 GNU Emacs is free software: you can redistribute it and/or modify
13864 it under the terms of the GNU General Public License as published by
13865 the Free Software Foundation, either version 3 of the License, or
13866 (at your option) any later version.
13867
13868 GNU Emacs is distributed in the hope that it will be useful,
13869 but WITHOUT ANY WARRANTY; without even the implied warranty of
13870 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13871 GNU General Public License for more details.
13872
13873 You should have received a copy of the GNU General Public License
13874 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.