* lisp/emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
71adb94b
SM
12012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2
2eb87922
SM
3 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4 conversion to backquotes (bug#11652).
5
71adb94b
SM
6 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7 * emacs-lisp/cl-lib.el (cl--defalias): New function.
8 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11 (cl-ninth, cl-tenth): Mark them as inlinable.
12 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
13 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
14 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
15 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
16 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
17 (cl-list*, cl-adjoin): Don't put an autoload manually.
18 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
19 (cl--compiler-macro-list*): Add autoload cookie.
20 (cl--compiler-macro-cXXr): New function.
2eb87922 21
71adb94b
SM
22 * help-fns.el (help-fns--compiler-macro): New function extracted from
23 describe-function-1; follow aliases and use `compiler-macro' property.
24 (describe-function-1): Use it.
25
a6674402
CY
262012-06-11 Chong Yidong <cyd@gnu.org>
27
28 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
29 is uninstalled, if imagemagick is installed.
30
bb3faf5b
SM
312012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
32
33 * emacs-lisp/cl-lib.el: Use lexical-binding.
34 (cl-map-extents, cl-maclisp-member): Remove.
35 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
36 (cl--set-substring, cl--block-wrapper, cl--block-throw)
37 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
38 * emacs-lisp/cl-extra.el: Use lexical-binding.
39 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
40 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
41 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
42 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
43 * emacs-lisp/cl-seq.el: Use lexical-binding.
44 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
45 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
46 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
47 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
48 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
49 CL's internals.
50
2fe4b125
MA
512012-06-11 Michael Albinus <michael.albinus@gmx.de>
52
53 Sync with Tramp 2.2.6-pre.
54
55 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
56 `print-length' and `print-level' to nil, in order to avoid
57 truncation. Reported by Christopher Schmidt
58 <christopher@ristopher.com>.
59
60 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
61
62 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
63 New defmacro.
64 (tramp-compat-copy-directory): Add optional argument
65 COPY-CONTENTS. It is not handled yet.
66
67 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
68 (tramp-ftp-file-name-p): Simplify.
69
70 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
71 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
72 connection vector.
73
74 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
75 (tramp-methods): Do not use `tramp-password-end-of-line'.
76 (tramp-completion-function-alist-putty): Handle UNIX case.
77 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
78 (tramp-do-file-attributes-with-stat)
79 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
80 gid as real numbers. They could run out of integer range on cygwin.
81 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
82 (tramp-sh-handle-expand-file-name): Handle hops.
83 (tramp-open-connection-setup-interactive-shell): Use
84 `tramp-cleanup'. Move check for busyboxes ...
85 (tramp-find-shell): ... here. Simplify implementation. Set
86 "remote-shell" property also for alternative shells.
87 (tramp-remote-coding-commands): Check "test -c /dev/stdout". If
88 failing, a regular file would be written otherwise. Reported by
89 Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
90 (tramp-find-inline-encoding): Cache the coding commands in the
91 process cache. Apply test command on the remote side, if defined.
92 (tramp-find-inline-compress): Cache the compress commands in the
93 process cache.
94 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
95 when requested. Handle hops.
96 (tramp-current-connection): New defvar.
97 (tramp-maybe-open-connection): Use `tramp-cleanup'. Throw
98 `suppress', if there was a failed connection shortly before.
99 Handle user interrupt. (Bug#10187)
100 (tramp-get-inline-compress, tramp-get-inline-coding): Read
101 connection properties from the process cache.
102
103 * net/tramp-smb.el (tramp-smb-server-version)
104 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar): New
105 defconsts.
106 (tramp-smb-prompt): Extend for powershell prompt.
107 (tramp-smb-file-name-handler-alist): Add handlers for
108 `process-file', `shell-command' and `start-file-process'.
109 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
110 (tramp-smb-winexe-shell-command-switch): New defcustoms.
111 (tramp-smb-file-name-p): Simplify.
112 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
113 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
114 (tramp-smb-shell-quote-argument): New defuns.
115 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
116 Implement using "tar". By this, time-stamps are preserved.
117 (tramp-smb-handle-copy-file): Handle also the case of directories.
118 (tramp-smb-do-file-attributes-with-stat)
119 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities): Use
120 `tramp-get-connection-buffer').
121 (tramp-smb-handle-rename-file): Use "rename", when source and
122 target are on the same share.
123 (tramp-smb-maybe-open-connection): Handle wrong passwords. Use
124 `tramp-smb-server-version'.
125 (tramp-smb-wait-for-output): Remove prompt.
126
127 * net/tramp.el (top): Require 'cl.
128 (tramp-methods, tramp-rsh-end-of-line): Remove
129 `tramp-password-end-of-line' from docstring.
130 (tramp-save-ad-hoc-proxies): New defcustom.
131 (tramp-completion-function-alist): Adapt docstring.
132 (tramp-default-password-end-of-line): Remove defcustom.
133 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
134 (tramp-user-regexp, tramp-file-name-regexp-unified)
135 (tramp-file-name-regexp-url): Extend regexp by hop separator.
136 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
137 (tramp-remote-file-name-spec-regexp): New defconst.
138 (tramp-file-name-structure): Extend structure for hops.
139 (tramp-get-method-parameter): Move up.
140 (tramp-file-name-p, tramp-dissect-file-name)
141 (with-parsed-tramp-file-name): Handle hops.
142 (tramp-file-name-hop): New defun.
143 (tramp-make-tramp-file-name): New optional arg HOP.
144 (tramp-message-show-progress-reporter-message): New defvar.
145 (tramp-with-progress-reporter): Use it. We cannot use
146 `tramp-message-show-message' here, because this suppresses also
147 error buffers.
148 (tramp-error-with-buffer): Suppress buffer view, if
149 `tramp-message-show-message' is nil. Use
150 `tramp-get-connection-buffer'.
151 (tramp-cleanup): New defun.
152 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
153 (tramp-file-name-handler): If `debug-on-error' is set, propagate
154 an error unchanged.
155 (tramp-completion-handle-file-name-all-completions): Handle hops.
156 Fix an error when called from ido.
157 (tramp-completion-dissect-file-name): Use better local variable
158 name. Add hop to the vector.
159 (tramp-handle-insert-file-contents): Use progress-reporter for the
160 whole scenario.
161 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
162 to `t'.
163 (tramp-check-for-regexp): Simplify search.
164 (tramp-enter-password): Remove it. Move implementation ...
165 (tramp-action-password): ... here.
166 (tramp-mode-string-to-int, tramp-local-host-p)
167 (tramp-make-tramp-temp-file, tramp-read-passwd)
168 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff): Set
169 tramp-autoload cookie.
170
171 * net/trampver.el: Update release number.
172
1732012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
174 Michael Albinus <michael.albinus@gmx.de>
175
176 * net/tramp.el (tramp-set-completion-function): Fix docstring.
177 (tramp-parse-group, tramp-parse-file)
178 (tramp-parse-shostkeys-sknownhosts): New defuns.
179 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
180 (tramp-parse-shosts-group, tramp-parse-sconfig)
181 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
182 (tramp-parse-sknownhosts, tramp-parse-hosts)
183 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
184 Use them.
185 (tramp-parse-passwd-group, tramp-parse-netrc-group)
186 (tramp-parse-putty-group): Don't narrow.
187 (tramp-parse-putty): Make a loop.
188 (tramp-file-name-handler): Catch the `suppress' signal.
189
72834e10
CY
1902012-06-11 Chong Yidong <cyd@gnu.org>
191
192 * image.el (imagemagick-register-types): Put the ImageMagick entry
193 at the end of image-type-file-name-regexps.
194
a4712e11
JB
1952012-06-11 Johan Bockgård <bojohan@gnu.org>
196
197 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
198 (pcase, pcase-let*, pcase-dolist): Use them.
199
82ad98e3
SM
2002012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
201
202 * emacs-lisp/pcase.el (pcase--let*): New function.
203 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
204 (pcase--expand): Use macroexp-let².
205
f80efb86
SM
2062012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
207
208 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
209 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
210 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
211 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
212 * emacs-lisp/derived.el: Use pcase instead of `cl'.
213 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
214
31ca4639 2152012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 216
31ca4639
CY
217 * mail/rmail.el (rmail-yank-current-message): Leave point at
218 correct position. (Bug#11660)
94f0aa34 219
31ca4639 2202012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 221
31ca4639 222 * allout-widgets.el: Fix code header.
9e1b8ec4 223
31ca4639 2242012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 225
f80efb86
SM
226 * cus-edit.el (customize-changed-options-previous-release):
227 Bump to 24.1.
31ca4639 228
642b6d30
AS
2292012-06-09 Andreas Schwab <schwab@linux-m68k.org>
230
231 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
232
4f5d2ba1
CY
2332012-06-09 Chong Yidong <cyd@gnu.org>
234
235 * ebuff-menu.el (electric-buffer-list): Preserve header line.
236
e75852fd
MR
2372012-06-09 Martin Rudalics <rudalics@gmx.at>
238
239 * window.el (special-display-popup-frame): Don't use
240 window--display-buffer (Bug#11651).
241
1e48e282
EZ
2422012-06-09 Eli Zaretskii <eliz@gnu.org>
243
8a26b487
EZ
244 Fix parallel builds: make sure loaddefs.el is not being written
245 while Lisp files are compiled.
246 (compile): Don't depend on 'mh-autoloads'.
247 (compile-CMD, compile-SH): Depend on 'autoloads'.
248 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
249
1e48e282
EZ
250 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
251
6175e34b
CY
2522012-06-09 Chong Yidong <cyd@gnu.org>
253
254 * face-remap.el (face-remap-add-relative, face-remap-set-base)
255 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
256 Doc fixes (Bug#11225).
257
d9857e53
SM
2582012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
259
260 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
261 a function if there's a clear indication that it has a compiler-macro.
262 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
263 (macro-declarations-alist): Add arglist to declaration functions.
264 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
265 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
266 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
267 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
268 Also add autoload to find the compiler macro.
269 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
270 (cl--compiler-macro-member, cl--compiler-macro-assoc)
271 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
272 (cl--compiler-macro-get): New functions, replacing calls to
273 cl-define-compiler-macro.
274 (cl-typep) [compiler-macro]: Use macroexp-let².
275
f81298f8 2762012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
277
278 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
279 string properly, fixes Bug#11473.
280
4b56d0fe
CY
2812012-06-08 Chong Yidong <cyd@gnu.org>
282
283 * faces.el (set-face-attribute): Doc fix.
284 (modify-face): Don't use :bold and :italic.
285 (error, warning, success): Tweak definitions.
286
287 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
288 (custom-modified, custom-set, custom-changed, custom-themed)
289 (custom-saved, custom-button, custom-button-mouse)
290 (custom-button-pressed, custom-state, custom-comment-tag)
291 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
292 (custom-group-subtitle): Use new-style face specs.
293 (custom-invalid-face, custom-rogue-face, custom-modified-face)
294 (custom-set-face, custom-changed-face, custom-saved-face)
295 (custom-button-face, custom-button-pressed-face)
296 (custom-documentation-face, custom-state-face)
297 (custom-comment-face, custom-comment-tag-face)
298 (custom-variable-tag-face, custom-variable-button-face)
299 (custom-face-tag-face, custom-group-tag-face-1)
300 (custom-group-tag-face): Remove obsolete face alias.
301
302 * epa.el (epa-validity-high, epa-validity-medium)
303 (epa-validity-low, epa-mark, epa-field-name, epa-string)
304 (epa-field-name, epa-field-body):
305 * font-lock.el (font-lock-comment-face, font-lock-string-face)
306 (font-lock-keyword-face, font-lock-builtin-face)
307 (font-lock-function-name-face, font-lock-variable-name-face)
308 (font-lock-type-face, font-lock-constant-face):
309 * ido.el (ido-first-match, ido-only-match, ido-subdir)
310 (ido-virtual, ido-indicator, ido-incomplete-regexp):
311 * speedbar.el (speedbar-button-face, speedbar-file-face)
312 (speedbar-directory-face, speedbar-tag-face)
313 (speedbar-selected-face, speedbar-highlight-face)
314 (speedbar-separator-face):
315 * whitespace.el (whitespace-newline, whitespace-space)
316 (whitespace-hspace, whitespace-tab, whitespace-trailing)
317 (whitespace-line, whitespace-space-before-tab)
318 (whitespace-space-after-tab, whitespace-indentation)
319 (whitespace-empty):
320 * emulation/cua-base.el (cua-global-mark):
321 * eshell/em-prompt.el (eshell-prompt):
322 * net/newst-plainview.el (newsticker-new-item-face)
323 (newsticker-old-item-face, newsticker-immortal-item-face)
324 (newsticker-obsolete-item-face, newsticker-date-face)
325 (newsticker-statistics-face, newsticker-default-face):
326 * net/newst-reader.el (newsticker-feed-face)
327 (newsticker-extra-face, newsticker-enclosure-face):
328 * net/newst-treeview.el (newsticker-treeview-face)
329 (newsticker-treeview-new-face, newsticker-treeview-old-face)
330 (newsticker-treeview-immortal-face)
331 (newsticker-treeview-obsolete-face)
332 (newsticker-treeview-selection-face):
333 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
334 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
335 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
336 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
337 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
338 (nxml-outline-active-indicator, nxml-outline-ellipsis):
339 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
340 (mpuz-text):
341 * progmodes/vera-mode.el (vera-font-lock-number)
342 (vera-font-lock-function, vera-font-lock-interface):
343 * textmodes/table.el (table-cell): Use new-style face specs, and
344 don't use the old :bold and :italic attributes.
345
346 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
347 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
348 (ebrowse-member-class, ebrowse-progress): Likewise.
349 (ebrowse-tree-mark-face, ebrowse-root-class-face)
350 (ebrowse-file-name-face, ebrowse-default-face)
351 (ebrowse-member-attribute-face, ebrowse-member-class-face)
352 (ebrowse-progress-face): Remove obsolete faces.
353
354 * progmodes/flymake.el (flymake-errline, flymake-warnline):
355 Inherit from error and warning faces respectively.
356
357 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
358 Likewise.
f80efb86
SM
359 (flyspell-incorrect-face, flyspell-duplicate-face):
360 Remove obsolete aliases.
4b56d0fe 361
03310646
MA
3622012-06-08 Michael Albinus <michael.albinus@gmx.de>
363
364 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
365 Avoid infloop.
366
513749ee
SM
3672012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
368
369 * startup.el (argv, argi): Make lexically scoped.
370 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
371 * emacs-lisp/cl-macs.el: Use lexical-binding.
372 Rename cl-bind-* to cl--bind-*.
373 * files.el: Don't require `cl' since it doesn't use it.
374 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
375
595ef4ad
JB
3762012-06-08 Juanma Barranquero <lekktu@gmail.com>
377
378 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
379 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
380 instead of calling external sort utility.
381 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
382
e9f66fcb
EZ
3832012-06-08 Eli Zaretskii <eliz@gnu.org>
384
385 * descr-text.el (describe-char): Mention how to insert the
386 character, if the current input method doesn't support it.
387 See the discussion in this thread for the details:
388 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
389
3d10db47
SS
3902012-06-08 Sam Steingold <sds@gnu.org>
391
392 * bindings.el (global-map): Bind XF86Forward to next-buffer and
393 XF86Back to previous-buffer.
394 (minibuffer-local-map): Bind them to next-history-element and
395 previous-history-element respectively.
396 * help-mode.el (help-mode-map): Bind them to help-go-forward and
397 help-go-back respectively.
398 * info.el (Info-mode-map): Bind them to Info-history-forward and
399 Info-history-back respectively.
400 These are the keys next to Up on the ThinkPad keyboard.
401
de7e2b36
SM
4022012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
403
404 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
405 * emacs-lisp/cl-macs.el: Provide itself.
406 (cl--labels-convert-cache): New var.
407 (cl--labels-convert): New function.
408 (cl-flet, cl-labels): New implementation with new semantics, relying on
409 lexical-binding.
410 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
411 (cl-closure-vars, cl--function-convert-cache)
412 (cl--function-convert): Move from cl-macs.el.
413 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
414 rename by removing the "cl-" prefix.
415 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
416
6fa6c4ae
SM
4172012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
418
419 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
420 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
421 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
422 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
423 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
424 (cl-hash-table-count): Add old compatibility aliases.
425
426 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
427 Use macroexpand-all-environment instead.
428 (cl--old-macroexpand): New var.
429 (cl--sm-macroexpand): New function.
430 (cl-symbol-macrolet): Use it during macro expansion.
431 (cl--function-convert-cache): New var.
432 (cl--function-convert): New function, extracted from
433 cl-macroexpand-all.
434 (cl-lexical-let): Use it.
435
436 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
437 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
438 (cl-member): Remove old alias.
439
440 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
441 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
442 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
443 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
444 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
445 (cl-macroexpand-cmacs): Remove var.
446 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
447 Use macroexpand-all instead.
448
4dd1c416
SM
4492012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
450
451 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
452 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
453 (macroexp-copyable-p): New functions and macros.
454 * emacs-lisp/edebug.el (edebug-unwrap):
455 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
456 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
457 (pcase--let*): Remove.
458 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
459 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
460 macroexp-const-p instead.
461 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
462
463 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
464 instead of "cl-" for internal definitions. Use macroexp-const-p.
465 (cl-old-bc-file-form): Remove var.
466 (cl-const-exprs-p): Remove fun.
467 (cl-labels, cl-macrolet): Use backquote.
468 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
469 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
470 (cl-define-setf-expander): Rename from cl-define-setf-method.
471 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
472
473 * international/mule-cmds.el: Don't require CL.
474 (view-hello-file): Don't use `letf'.
475
ed8bd4d7
SM
4762012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
477
7287f2f3
SM
478 * tmm.el (tmm-prompt): Use string-prefix-p.
479 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
480 (tmm-add-prompt): Use minibuffer-completion-help.
481 (tmm-delete-map): Remove.
482
ed8bd4d7
SM
483 * subr.el (kbd): Make it its own function.
484
7b4cdbf4
SM
4852012-06-07 Stefan Merten <smerten@oekonux.de>
486
487 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
488 Silence compiler warnings. Fix versions.
ed8bd4d7 489 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 490 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 491 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
492 (rst-package-emacs-version-alist): Correct Emacs version to
493 represent major merge with upstream.
ed8bd4d7 494 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 495
2b48d721
GM
4962012-06-06 Glenn Morris <rgm@gnu.org>
497
498 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
499 Only print environment variables if set.
500
fa779ab0
SM
5012012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
502
503 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
504 (macroexp--cons): Rename from maybe-cons.
505 (macroexp--accumulate): Rename from macroexp-accumulate.
506 (macroexp--all-forms): Rename from macroexpand-all-forms.
507 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
508 (macroexp--expand-all): Rename from macroexpand-all-1.
509
628299e0
SS
5102012-06-06 Sam Steingold <sds@gnu.org>
511
512 * calendar/calendar.el (calendar-in-read-only-buffer):
513 Call `special-mode' to enable the standard read-only keybindings.
514
b7bb5838
SM
5152012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
516
517 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
518 with "loading" messages (bug#11635).
519
dfb308ba
MA
5202012-06-06 Michael Albinus <michael.albinus@gmx.de>
521
522 * files.el (enable-remote-dir-locals): New option.
523 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
524
0372ee92
MA
525 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
526 Ensure, that the temp directory is local.
527
528 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
529 `temporary-file-directory'.
530
eed0bb91
MA
531 * progmodes/python.el (python-send-region): Ensure, that the
532 temporary file is created also in the remote case.
533
7a58f64d
GM
5342012-06-06 Glenn Morris <rgm@gnu.org>
535
f7dd4e98
GM
536 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
537 (vc-rcs-update-changelog): Use it.
538
276d5f5d
GM
539 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
540
7a58f64d
GM
541 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
542 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
543 (vc-sccs-diff): Replace use of the external vcdiff script.
544
daed4003
GM
5452012-06-05 Glenn Morris <rgm@gnu.org>
546
547 * ledit.el: Move to obsolete/.
548
48c455c7
SS
5492012-06-05 Sam Steingold <sds@gnu.org>
550
551 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
552 patch (Bug#11140).
553
57a7d507
SM
5542012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
555
d32926ff
SM
556 * emacs-list/cust-print.el: Move to obsolete.
557
53aacf21
SM
558 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
559 compiler-macro expansion.
560
57a7d507
SM
561 Add native compiler-macro support.
562 * emacs-lisp/macroexp.el (macroexpand-all-1):
563 Support compiler-macros directly. Properly follow aliases and apply
564 the compiler macros more thoroughly.
565 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
566 macroexpand now properly follows aliases.
567 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
568 (cl-compiler-macroexpand): Use new prop.
569 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
570
571 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
572
51a5f9d8
MR
5732012-06-05 Martin Rudalics <rudalics@gmx.at>
574
575 * window.el (get-lru-window, get-mru-window, get-largest-window):
576 New argument NOT-SELECTED to avoid picking the selected window.
577 (window--display-buffer-1, window--display-buffer-2): Replace by
578 new function window--display-buffer
579 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
580 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
581 Use window--display-buffer.
51a5f9d8
MR
582 (display-buffer-use-some-window): Remove temporary dedication
583 hack by calling get-lru-window and get-largest-window with
584 NOT-SELECTED argument non-nil. Call window--display-buffer.
585
08f9f738
GM
5862012-06-05 Glenn Morris <rgm@gnu.org>
587
588 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
589 Replace external vcdiff script.
590
e364a2b7
SM
5912012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
592
593 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
594
041df390
CY
5952012-06-04 Chong Yidong <cyd@gnu.org>
596
e364a2b7
SM
597 * image.el (imagemagick-types-inhibit): Revert last change.
598 Add INFO and M.
47b36b94 599 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 600
7c1898a7
SM
6012012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
602
603 * emacs-lisp/cl-lib.el: Rename from cl.el.
604 * emacs-lisp/cl.el: New compatibility file.
605 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
606 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
607 to obey the "cl-" prefix.
608 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
609
0c3461de
GM
6102012-06-03 Glenn Morris <rgm@gnu.org>
611
1e266c88
GM
612 * emacs-lisp/authors.el (authors-aliases): Addition.
613
0c3461de
GM
614 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
615 Fix :version.
616
d8a52e15
SM
6172012-06-03 Stefan Merten <smerten@oekonux.de>
618
619 * textmodes/rst.el: Add comments.
620 (rst-transition, rst-adornment): New faces.
621 (rst-adornment-faces-alist): Make default safe to reevaluate.
622 Fixes
623 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
624 Improve customization tags.
625 (rst-define-level-faces): Clarify meaning.
626
5205d6f6
CY
6272012-06-03 Chong Yidong <cyd@gnu.org>
628
629 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
630 (compilation-mode-line-run, compilation-mode-line-exit):
631 New faces.
5205d6f6
CY
632 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
633
757ee657
JD
6342012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
635
7c1898a7
SM
636 * progmodes/which-func.el (which-func-update-ediff-windows):
637 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 638
5f2c76c6
CY
6392012-06-03 Chong Yidong <cyd@gnu.org>
640
641 * bindings.el: Remove explicit help text from format-mode-line.
642 It is now supplied by mode-line-default-help-echo.
643 (mode-line-front-space, mode-line-end-spaces)
644 (mode-line-misc-info): New variables.
645 (mode-line-modes, mode-line-position): Move the default value to
646 the variable definition.
647 (mode-line-default-help-echo): New defcustom.
383f7350
CY
648 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
649 (mode-line-modified-help-echo): New functions.
650 (mode-line-mule-info, mode-line-modified): Use them.
651 (mode-line-eol-desc, propertized-buffer-identification):
652 Consistency fixes for help text.
cbe46e5f
CY
653 (mode-line-coding-system-map): Allow using mouse-3 to invoke
654 set-buffer-file-coding-system (Bug#289).
655 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 656
f2d6a3df
SM
6572012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
658
659 * simple.el (execute-extended-command): Set real-this-command
660 (bug#11506).
661
37269466
CY
6622012-06-02 Chong Yidong <cyd@gnu.org>
663
664 Remove incorrect uses of "modeline" in comments, docstrings, and
665 function/variable names (Bug#10329).
666
667 * cus-edit.el (mode-line):
668 * dframe.el (dframe-mouse-hscroll):
669 * emacs-lisp/re-builder.el:
670 * emacs-lisp/easy-mmode.el (define-minor-mode):
671 * frame.el (set-frame-name):
672 * help.el (lookup-minor-mode-from-indicator):
673 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
674 * progmodes/cc-cmds.el (c-toggle-auto-newline)
675 (c-toggle-hungry-state):
676 * progmodes/antlr-mode.el (antlr-language-alist):
677 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
678 * progmodes/vhdl-mode.el (vhdl-mode):
679 * progmodes/which-func.el (which-func, which-func-cleanup-function):
680 * term/ns-win.el (ns-face-at-pos):
681 * term/sup-mouse.el (sup-mouse-report):
682 * textmodes/flyspell.el (flyspell-mode-line-string):
683 * textmodes/ispell.el (ispell-highlight-face):
684 * textmodes/reftex-global.el:
685 * vc/vc-arch.el (vc-arch-mode-line-string):
686 * vc/vc-cvs.el (vc-cvs-mode-line-string):
687 * vc/vc-git.el (vc-git-mode-line-string):
688 * vc/vc-hooks.el (vc-display-status)
689 (vc-default-mode-line-string):
690 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
691
692 * ansi-color.el (ansi-color-faces-vector): Change default faces.
693
694 * dired.el (dired-sort-set-mode-line): Rename from
695 dired-sort-set-modeline. All callers changed.
696
697 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
698 eshell-status-in-modeline.
699
700 * foldout.el (foldout-mode-line-string): Rename from
701 foldout-modeline-string. All callers changed.
702 (foldout-update-mode-line): Rename from foldout-update-modeline.
703
704 * subr.el (redraw-modeline): Make into obsolete alias.
705
706 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
707 timeclock-modeline-display. Make old name an alias.
708 (timeclock-update-mode-line): Likewise. All callers changed.
709 (timeclock-mode-line-display): No need to check before using
710 add-hook.
711 (timeclock-relative, timeclock-day-over-hook)
712 (timeclock-use-elapsed, timeclock-mode-string)
713 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
714
715 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
716 crisp-mode-modeline-string.
717
718 * play/solitaire.el (solitaire-build-mode-line): Rename from
719 solitaire-build-modeline. All callers changed.
720
721 * play/zone.el (zone-hiding-mode-line): Rename from
722 zone-hiding-modeline. All callers changed.
723 (zone): Remove unusued `modeline-hidden-level' property.
724
725 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
726 xscheme-modeline-initialize. All callers changed.
727
728 * strokes.el (strokes-lighter): Rename from
729 strokes-modeline-string.
730
731 * textmodes/sgml-mode.el (html-face-tag-alist)
732 (html-tag-face-alist): Use mode-line face instead of obsolete
733 alias modeline.
734
42152ee4
SM
7352012-06-02 Stefan Merten <smerten@oekonux.de>
736
737 * textmodes/rst.el: Always require `cl'.
4cf9b38d 738 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 739
95f520b5
CY
7402012-06-02 Chong Yidong <cyd@gnu.org>
741
742 * image.el (imagemagick-enabled-types): Rename from
743 imagemagick-types-enable. Add many more types.
744 (imagemagick-types-inhibit): Change default to nil.
745 (imagemagick-filter-types): Caller changed.
746
4a5f187a
SM
7472012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
748
03fef3e6
SM
749 * emacs-lisp/cl-macs.el: Use backquotes.
750 (cl-transform-function-property): Use eval-and-compile rather than
751 abusing `require'.
752 (defstruct): Use declare-function instead of with-no-warnings.
753
4a5f187a
SM
754 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
755 (byte-compile-output-docform): Re-add the print-circle bindings.
756 (byte-compile-fix-header): Use #$ just because it's shorter.
757 (byte-compile-output-file-form): Remove defun/defmacro.
758
bd56924f
MR
7592012-06-01 Martin Rudalics <rudalics@gmx.at>
760
761 * simple.el (choose-completion): Remove now obsolete binding for
762 owindow.
763
046e38ce
MA
7642012-06-01 Michael Albinus <michael.albinus@gmx.de>
765
766 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
767 in order to avoid "Stack overflow in regexp matcher".
768
32d72c2f
GM
7692012-05-31 Glenn Morris <rgm@gnu.org>
770
771 * image.el: For clarity, call imagemagick-register-types at
772 top-level, rather than relying on a custom :initialize.
773 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
774 (imagemagick-filter-types): New function. (Bug#7406)
775 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
776 If disabling support, remove elements altogether rather
777 than using an impossible regexp.
778 (imagemagick-types-inhibit): Give it the default init function.
779
dd41169b
SM
7802012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
781
4a5f187a
SM
782 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
783 Handle arbitrary file name lengths (Bug#11585).
dd41169b 784
efc00ab1 7852012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
786
787 * desktop.el (desktop-read): Clear previous and next buffers for
788 all windows and bury *Messages* buffer (bug#11556).
789
500fcedc
SM
7902012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
791
792 Add `declare' for `defun'. Align `defmacro's with it.
793 * emacs-lisp/easy-mmode.el (define-minor-mode)
794 (define-globalized-minor-mode): Don't autoload the var definitions.
795 * emacs-lisp/byte-run.el: Use lexical-binding.
796 (defun-declarations-alist, macro-declarations-alist): New vars.
797 (defmacro, defun): Use them.
798 (make-obsolete, define-obsolete-function-alias)
799 (make-obsolete-variable, define-obsolete-variable-alias):
800 Use `declare'.
801 (macro-declaration-function): Mark obsolete.
802 * emacs-lisp/autoload.el: Use lexical-binding.
803 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
804
6e8a1786
AM
8052012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
806
807 * textmodes/ispell.el (ispell-with-no-warnings):
808 Define as a macro.
500fcedc
SM
809 (ispell-kill-ispell, ispell-change-dictionary):
810 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
811 `interactive-p'.
812
61b108cc
SM
8132012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
814
815 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
816 (macro-declaration-function): Move var from C code.
817 (macro-declaration-function): Define function with defalias.
818 * emacs-lisp/macroexp.el (macroexpand-all-1):
819 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
820 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
821 defun/defmacro any more.
822 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
823 Provide fallback for unknown arglist.
824 (byte-compile-arglist-warn): Change calling convention.
825 (byte-compile-output-file-form): Move print-vars binding.
826 (byte-compile-output-docform): Simplify accordingly.
827 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
828 (byte-compile-defmacro-declaration): Remove.
829 (byte-compile-file-form-defmumble): Generalize to defalias.
830 (byte-compile-output-as-comment): Return byte-positions.
831 Simplify callers accordingly.
832 (byte-compile-lambda): Use `assert'.
833 (byte-compile-defun, byte-compile-defmacro): Remove.
834 (byte-compile-file-form-defalias):
835 Use byte-compile-file-form-defmumble.
836 (byte-compile-defalias-warn): Remove.
837
6d3f7c2f
SM
8382012-05-29 Stefan Merten <smerten@oekonux.de>
839
840 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 841 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
842
843 (rst-mode-abbrev-table): Merge definition.
844 (rst-mode): Make sure `font-lock-defaults' is buffer local.
845 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
846
6dbaa1c7
UJ
8472012-05-29 Ulf Jasper <ulf.jasper@web.de>
848
849 * calendar/icalendar.el
850 (icalendar-export-region): Export UID properly.
851
8522012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
853 * calendar/icalendar.el (icalendar-import-format):
854 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
855 (icalendar-import-format-uid): New.
856 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
857 Export UID.
858
6876a58d
SM
8592012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
860
861 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
862 different alternative patterns.
863 (pcase-codegen): Be more careful to preserve identity.
864 (pcase--u1): Don't forget to mark vars as used.
865
866 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
867 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
868 (byte-compile-from-buffer): ...rather than here.
869
870 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
871 functions from byte-compile-function-environment.
872
46b7967e
TN
8732012-05-29 Troels Nielsen <bn.troels@gmail.com>
874
875 * window.el (window-deletable-p): Avoid deleting the root window
876 of a frame with an active minibuffer.
877
69d565e2
MR
8782012-05-29 Martin Rudalics <rudalics@gmx.at>
879
880 * simple.el (choose-completion): Use quit-window (Bug#11567).
881
a149fa51
CY
8822012-05-29 Chong Yidong <cyd@gnu.org>
883
884 * whitespace.el (whitespace-cleanup): Fix usage of
885 whitespace-empty-at-bob-regexp (Bug#11492).
886
2b311310
AH
8872012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
888
889 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
890 revert (Bug#11488).
891
b9cb2387
JL
8922012-05-29 Juri Linkov <juri@jurta.org>
893
894 * isearch.el (isearch-mode-map): Bind `M-s _' to
895 `isearch-toggle-symbol'. Bind `M-s c' to
896 `isearch-toggle-case-fold'.
897 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
898 (isearch-forward): Add `M-s _' to the docstring.
899 (isearch-forward-symbol, isearch-toggle-case-fold)
900 (isearch-symbol-regexp): New functions. (Bug#11381)
901
d5e61c1c
JL
9022012-05-29 Juri Linkov <juri@jurta.org>
903
904 * isearch.el (isearch-word): Add docstring. (Bug#11381)
905 (isearch-occur, isearch-search-and-update): If `isearch-word' is
906 a function, call it to get the regexp.
907 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
908 property `isearch-message-prefix' instead of the string "word ".
909 (isearch-search-fun-default): For the case of `isearch-word',
910 return a lambda that calls re-search-forward/re-search-backward
911 with a regexp returned by `word-search-regexp' or by the function
912 in `isearch-word'.
913
8cbd80f7
JL
9142012-05-29 Juri Linkov <juri@jurta.org>
915
916 * isearch.el (isearch-search-fun-default): New function.
917 (isearch-search-fun): Move default part to the new function
918 `isearch-search-fun-default'.
919 (isearch-search-fun-function): Set the default value to
920 `isearch-search-fun-default'. (Bug#11381)
921
922 * comint.el (comint-history-isearch-end):
923 Use `isearch-search-fun-default'.
924 (comint-history-isearch-search): Use `isearch-search-fun-default'
925 and remove spacial case for `isearch-word'.
926 (comint-history-isearch-wrap): Remove spacial case for
927 `isearch-word'.
928
929 * hexl.el (hexl-isearch-search-function):
930 Use `isearch-search-fun-default'.
931
932 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
933 Use `word-search-regexp' for `isearch-word'.
934
935 * misearch.el (multi-isearch-search-fun):
936 Use `isearch-search-fun-default'.
937
938 * simple.el (minibuffer-history-isearch-search):
939 Use `isearch-search-fun-default' and remove spacial case for
940 `isearch-word'.
941 (minibuffer-history-isearch-wrap): Remove spacial case for
942 `isearch-word'.
943
944 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
945 Remove spacial case for `isearch-word'.
946 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
947
85c8c5b6
AM
9482012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
949
950 Decrease XEmacs incompatibilities.
951 * textmodes/flyspell.el (flyspell-check-pre-word-p):
952 Use `string-match'.
953 (flyspell-delete-region-overlays): Use alternative definition for
954 XEmacs.
955 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
956 (flyspell-word): Use `process-kill-without-query' if XEmacs.
957 (flyspell-mode-on): Use `interactive-p' if XEmacs.
958 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
959 `define-obsolete-face-alias' under XEmacs, but old method.
960
961 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
962 `with-no-warnings' definition or Emacs alias.
963 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
964 (ispell-word): Do not use `region-p' if XEmacs.
965
8cab9efc
AM
9662012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
967
968 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
969 Check for `ispell-dictionary-base-alist' instead of full
970 `ispell-dictionary-alist'.
971 (ispell-init-process): Show spellchecker when starting new Ispell
972 process.
973
fda91268
RZ
9742012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
975
976 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
977 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
978
694ea8e3
JB
9792012-05-27 Juanma Barranquero <lekktu@gmail.com>
980
981 * version.el (motif-version-string, gtk-version-string)
982 (ns-version-string): Declare.
983
e4d4f539
JL
9842012-05-27 Juri Linkov <juri@jurta.org>
985
986 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
987 after the `eval-defun-1' specialcaseing
988 like in `edebug-eval-defun' (bug#10181).
989
990 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
991 like in `eval-defun-1'.
992
33017faf 9932012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 994
fda91268
RZ
995 * mail/sendmail.el (mail-yank-region):
996 Recognize rmail-yank-current-message in addition to insert-buffer.
997 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
998 a *mail* buffer created through rmail-start-mail with sendmail as
999 mail-user-agent.
1000
33017faf
GM
10012012-05-27 Chong Yidong <cyd@gnu.org>
1002
1003 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1004 Default to 256 (Bug#11267).
1005
1006 * help.el (describe-mode): Doc fix.
1007
04188bb9
GM
10082012-05-26 Glenn Morris <rgm@gnu.org>
1009
38264cc9
GM
1010 * w32-fns.el (w32-init-info): Remove.
1011 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1012
eb7afdad
GM
1013 * info.el (info-initialize): For self-contained NS builds, put the
1014 included info/ directory at the front. (Bug#2791)
1015
04188bb9
GM
1016 * paths.el (Info-default-directory-list): Make it a defcustom,
1017 mainly so that we can use custom-initialize-delay.
1018
a179e3f7
SM
10192012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1020
43416392
SM
1021 * subr.el (buffer-has-markers-at): Mark obsolete.
1022
a179e3f7 1023 * subr.el (lambda): Use declare.
43416392 1024
a179e3f7
SM
1025 * emacs-lisp/lisp-mode.el (lambda):
1026 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1027
34a008d9
AH
10282012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1029
1030 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1031
0a3b289f
GM
10322012-05-26 Glenn Morris <rgm@gnu.org>
1033
1034 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1035
758c81e8
GM
10362012-05-25 Glenn Morris <rgm@gnu.org>
1037
f9f334f0
GM
1038 * paths.el: Remove no-byte-compile.
1039 * loadup.el: No need to load paths.el uncompiled.
1040
87eb79c2
GM
1041 * image.el (imagemagick-types-inhibit): Doc fix.
1042
758c81e8
GM
1043 * version.el: Remove no-byte-compile and associated formatting.
1044 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1045 is ancient code from when there was an "inc-vers.el".
1046
e7e85dc0
SM
10472012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1048
1049 * progmodes/gdb-mi.el: Minor style changes.
1050 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1051 Turn into minor modes.
1052 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1053 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1054 (gdb-shell): Remove unneeded let-binding.
1055 (gdb-get-many-fields): Eliminate O(n²) behavior.
1056
f31237a4
EZ
10572012-05-25 Eli Zaretskii <eliz@gnu.org>
1058
1059 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1060 platforms that don't link in fontset.c.
1061
bc1b21bb
JL
10622012-05-25 Juri Linkov <juri@jurta.org>
1063
1064 Use the same diff color scheme as in modern VCSes (bug#10181).
1065
1066 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1067 to avoid confusion with `diff-added' that now uses green colors.
1068 (diff-removed): Use shades of red.
1069 (diff-added): Use shades of green.
1070 (diff-changed): Leave just the yellow color.
1071 (diff-use-changed-face): New variable.
1072 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1073 how to highlight context diff changes.
1074 (diff-refine-change): Use shades of yellow.
1075 (diff-refine-removed): New face that uses shades of red.
1076 (diff-refine-added): New face that uses shades of green.
1077 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1078 `diff-refine-removed' in the call to `smerge-refine-subst'
1079 depending on the value of `diff-use-changed-face'.
1080
1081 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1082 (smerge-other): Use shades of green.
1083 (smerge-base): Use shades of yellow.
1084 (smerge-refined-change): Empty face.
1085 (smerge-refined-removed): New face that uses shades of red.
1086 (smerge-refined-added): New face that uses shades of green.
1087 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1088 args `props-r' and `props-a', and use them. Doc fix.
1089 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1090 on its value use different faces `smerge-refined-change',
1091 `smerge-refined-removed', `smerge-refined-added' in the call to
1092 `smerge-refine-subst'.
1093
1094 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1095 Add face condition `min-colors 88' with shades of red.
1096 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1097 `min-colors 88' with shades of green.
1098 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1099 `min-colors 88' with shades of yellow.
1100
6df9112c
GM
11012012-05-24 Glenn Morris <rgm@gnu.org>
1102
ead5edc0
GM
1103 * paths.el (prune-directory-list, remote-shell-program): Move to...
1104 * files.el (prune-directory-list, remote-shell-program): ...here.
1105 For the latter, delay initialization, prefer ssh, just search PATH.
1106
f18b81e6
GM
1107 * paths.el (term-file-prefix): Move to faces.el (the only user).
1108 * faces.el (term-file-prefix): Move here, make it a defcustom.
1109
ee2f89a6
GM
1110 * paths.el (news-directory, news-path, news-inews-program):
1111 Move to gnus/nnspool.el.
61a583ca 1112
f8815e4c
GM
1113 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1114
c8f3b42c
GM
1115 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1116 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1117 Make the latter a defcustom, with a delayed initialization.
1118
6df9112c
GM
1119 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1120 These were deleted from Gnus itself late 2010.
1121
5dadff36
JB
11222012-05-22 Juanma Barranquero <lekktu@gmail.com>
1123
9e1701c6
JB
1124 * progmodes/which-func.el (which-func-ff-hook):
1125 Check against user-error, not error.
1126
bd7239f5 1127 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
1128 cl-specs.el, which no longer exists.
1129
3290526d
GM
11302012-05-22 Glenn Morris <rgm@gnu.org>
1131
1132 * info.el (info-emacs-bug): New command.
1133 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1134 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1135
ff0c3cfb
GM
11362012-05-21 Glenn Morris <rgm@gnu.org>
1137
1138 * makefile.w32-in (update-subdirs-SH):
1139 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1140
5814f126
SM
11412012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1142
a52c0aa0
SM
1143 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1144
5814f126
SM
1145 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1146 Simplify Maven regexp, and make sure the file can't start with a space
1147 (bug#11517).
1148
b847032c
GM
11492012-05-21 Glenn Morris <rgm@gnu.org>
1150
1151 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1152 Scrap superfluous subshells.
1153
3858bfe7
SM
11542012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1155
1156 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1157 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1158
d14b0029
JB
11592012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1160
1161 * calc/calc.el (calc-ensure-consistent-units): New variable.
1162
a52c0aa0
SM
1163 * calc/calc-units.el (math-consistent-units-p)
1164 (math-check-unit-consistency): New functions.
1165 (calc-quick-units, calc-convert-units):
1166 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1167 is non-nil.
d14b0029
JB
1168 (calc-extract-units): Fix typo.
1169
60c4db3a
SM
11702012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1171
77f3b62e
SM
1172 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1173
60c4db3a
SM
1174 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1175 (flyspell-default-deplacement-commands): Don't spell check after
1176 repeated window/frame switches (e.g. triggered by mouse-movement).
1177 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1178 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1179 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1180 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1181 Remove unused vars.
1182 (flyspell-get-casechars, flyspell-get-not-casechars):
1183 Simplify; Don't bother removing a ] just to add it back.
1184 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1185
b1a10716
RS
11862012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1187
1188 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1189 New functions.
bd7239f5 1190 (math-function-table): Add support for more C functions.
b1a10716 1191
3f1b25b5
AM
11922012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1193
1194 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1195 (flyspell-debug-signal-word-checked): Protect delay handling for
1196 otherchars against empty otherchars.
1197
b581bb5c
SM
11982012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1199
1200 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1201 their respective macro declarations.
1202 * skeleton.el (define-skeleton):
1203 * progmodes/compile.el (define-compilation-mode):
1204 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1205 (define-ibuffer-filter):
1206 * emacs-lisp/generic.el (define-generic-mode):
1207 * emacs-lisp/easy-mmode.el (define-minor-mode)
1208 (define-globalized-minor-mode):
1209 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1210 * emacs-lisp/byte-run.el (defsubst):
1211 * custom.el (deftheme): Add doc-string metadata.
1212
70b8ef8f
SM
12132012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1214
1215 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1216
b1198e17
SM
12172012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1218
9abdc45d
SM
1219 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1220
b1198e17
SM
1221 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1222 * emacs-lisp/cl-macs.el: Idem.
1223 * emacs-lisp/cl-specs.el: Remove.
1224
4735906a
SM
12252012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1226
1227 Minor renaming of internal CL functions and variables.
1228 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1229 (cl--position): Rename from cl-position.
1230 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1231 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1232 (cl--random-state): Rename from *random-state*.
1233
ac348012
SM
12342012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1235
1236 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1237 parens around the arg list (bug#11499).
1238
a0a79cde
JL
12392012-05-17 Juri Linkov <juri@jurta.org>
1240
1241 * isearch.el (word-search-regexp, word-search-backward)
1242 (word-search-forward, word-search-backward-lax)
1243 (word-search-forward-lax): Move functions from search.c
1244 (bug#10145, bug#11381).
1245
65034a51
AM
12462012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1247
1248 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1249 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1250 normal word components.
1251
1a72a195
SM
12522012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1253
1254 * minibuffer.el (completion--sifn-requote): Fix last change.
1255 (minibuffer-local-must-match-filename-map):
1256 Move define-obsolete-variable-alias before its var.
1257
fdb058c2
SM
12582012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1259
c41045e6
SM
1260 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1261
036dfb8b
SM
1262 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1263 behavior.
1264 (completion--string-equal-p): New function.
1265 (completion--twq-all): Use it to get better assertion failure data.
1266
2473256d
SM
1267 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1268 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1269 (shell--requote-argument): New functions.
1270 (shell-completion-vars): Use them.
1271 (shell--parse-pcomplete-arguments): Rename from
1272 shell-parse-pcomplete-arguments.
1273 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1274 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1275 Obey comint-file-name-quote-list.
1276
fdb058c2
SM
1277 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1278 (smie-indent-keyword): Use it.
1279
51fa99f1
SM
12802012-05-14 Stefan Merten <smerten@oekonux.de>
1281
1282 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1283
e18afed7 12842012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1285
1286 * net/rlogin.el (rlogin-mode-map): Fix last change.
1287
e18afed7 12882012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1289
1290 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1291 the following \r\n using a single `process-send-string', since the
1292 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1293 with two `process-send-string's (Bug#11444).
8633b1f4 1294
e18afed7 12952012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1296
fdb058c2
SM
1297 * shell.el (shell-parse-pcomplete-arguments):
1298 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1299
2d21d7f6
WJ
13002012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1301
e18afed7 1302 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1303 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1304 (image-transform-width, image-transform-fit-width): New functions.
1305 (image-transform-properties): Use them.
1306 (image-transform-check-size): New function.
1307 (image-toggle-display-image): Use it (for testing).
1308 (image-transform-set-rotation): Reduce angle mod 360.
1309 Delete obsolete comment.
1310
7102e6d0
WJ
13112012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1312
1313 * image-mode.el: Fix scaling (bug#11399).
1314 (image-transform-resize): Doc fix.
1315 (image-transform-properties): Default scale is 1 and height should
1316 be an integer.
1317
06bc5e6e
SM
13182012-05-13 Johan Bockgård <bojohan@gnu.org>
1319
1320 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1321 than hard-coding `car', to fix misbehavior when moving forward.
1322
0ae03b6a
CY
13232012-05-13 Chong Yidong <cyd@gnu.org>
1324
1325 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1326 (tabulated-list-entries, tabulated-list-padding)
1327 (tabulated-list-sort-key): Make permanent-local.
1328
1329 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1330 (electric-buffer-list): Put electric buffer menu
1331 command descriptions in this docstring, instead of the docstring
1332 of electric-buffer-menu-mode. Code cleanups.
1333 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1334 Electric-buffer-menu-mode.
1335 (electric-buffer-update-highlight): Minor code cleanup.
1336
205a7391
MA
13372012-05-13 Michael Albinus <michael.albinus@gmx.de>
1338
1339 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1340 (Bug#11447)
1341
e5bd0a28
SM
13422012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1343
1344 Move define-obsolete-variable-alias before the var's definition.
1345 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1346 * tooltip.el (tooltip-hook):
1347 * textmodes/reftex-toc.el (reftex-toc-map):
1348 * textmodes/reftex-sel.el (reftex-select-label-map)
1349 (reftex-select-bib-map):
1350 * textmodes/reftex-index.el (reftex-index-map)
1351 (reftex-index-phrases-map):
1352 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1353 * progmodes/meta-mode.el (meta-mode-map):
1354 * novice.el (disabled-command-hook):
1355 * loadhist.el (unload-hook-features-list):
1356 * frame.el (blink-cursor):
1357 * files.el (find-file-not-found-hooks, write-file-hooks)
1358 (write-contents-hooks):
1359 * emulation/tpu-edt.el (GOLD-map):
1360 * emacs-lock.el (emacs-lock-from-exiting):
1361 * emacs-lisp/generic.el (generic-font-lock-defaults):
1362 * emacs-lisp/chart.el (chart-map):
1363 * dos-fns.el (register-name-alist):
1364 * dired-x.el (dired-omit-files-p):
1365 * desktop.el (desktop-enable):
1366 * cus-edit.el (custom-mode-hook):
1367 * buff-menu.el (buffer-menu-mode-hook):
1368 * bookmark.el (bookmark-read-annotation-text-func)
1369 (bookmark-exit-hooks):
1370 * allout.el (allout-mode-deactivate-hook)
1371 (allout-exposure-change-hook, allout-structure-added-hook)
1372 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1373 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1374 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1375 comes before the corresponding variable's definition.
1376
ac59c2f6
CY
13772012-05-12 Chong Yidong <cyd@gnu.org>
1378
1379 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1380 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1381 (Buffer-menu-mode-map): Bind it.
1382 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1383
dee6c9a3
SM
13842012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1385
2171cea5
SM
1386 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1387 (prolog-upper-case-string, prolog-lower-case-string)
1388 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1389 (prolog-use-smie, prolog-smie-grammar): New vars.
1390 (prolog-smie-forward-token, prolog-smie-backward-token)
1391 (prolog-smie-rules): New funs.
1392 (prolog-comment-indent): Remove.
1393 (prolog-mode-variables): Use default comment indentation instead.
1394 Setup SMIE.
1395 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1396 (prolog-mode): Don't call them any more.
1397 (prolog-electric-colon, prolog-electric-dash)
1398 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1399
aa0382bd
SM
1400 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1401
dbacb4bd
SM
1402 * minibuffer.el (completion--twq-all): Again, allow case differences.
1403
13bdd94c
SM
1404 * term.el: Move keymap initialization code to be more idiomatic.
1405 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1406 (term-terminal-menu): Move initialization into declaration.
1407 (term-escape-char): Let the user set it in her .emacs.
1408
ff46c759
SM
1409 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1410 Provide SMIE-based indentation (not enabled by default yet).
1411 (sh-mode-map): Don't bind electric keys.
1412 Use electric-pair-mode instead of skeleton-pair.
1413 (sh-assignment-regexp): Fit within 80 columns.
1414 (sh-indent-supported): Specify actual shell name instead of boolean.
1415 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1416 (sh-maybe-here-document): Use it. Make obsolete.
1417 (sh-electric-here-document-mode) New minor mode.
1418 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1419 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1420 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1421 (sh-smie-rc-grammar, sh-use-smie): New vars.
1422 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1423 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1424 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1425 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1426 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1427 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1428 (sh-set-shell): Use smie-setup if requested.
1429
dee6c9a3
SM
1430 * term.el (term-set-escape-char): Properly set term-escape-char.
1431 See http://stackoverflow.com/questions/10524656.
1432
9f9aa044
CY
14332012-05-10 Chong Yidong <cyd@gnu.org>
1434
1435 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1436 Use url-generic-parse-url, and handle host names and Windows
1437 filenames properly.
1438 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1439 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1440 URL schemes to work on.
1441 (ffap--toggle-read-only): New function.
1442 (ffap-read-only, ffap-read-only-other-window)
1443 (ffap-read-only-other-frame): Use it.
1444 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1445 necessary for ffap-url-unwrap-remote.
1446
836d29b3
DA
14472012-05-10 Dave Abrahams <dave@boostpro.com>
1448
1449 * cus-start.el (create-lockfiles): Add it.
1450
00fd78ed
CY
14512012-05-09 Chong Yidong <cyd@gnu.org>
1452
1453 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1454 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1455
666b903b 14562012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1457
1458 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1459
666b903b 14602012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1461
1462 * ansi-color.el (ansi-color-process-output): Check for validity of
1463 comint-last-output-start before using it. This avoids a bad
1464 interaction with gdb-mi's input/output buffer.
1465
666b903b 14662012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1467
1468 * files.el (dir-locals-read-from-file):
1469 Mention dir-locals in any error message.
1470
666b903b 14712012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1472
1473 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1474 package (Bug#11410).
1475
f677562b
CY
1476 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1477 variables into description.
1478
666b903b 14792012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1480
1481 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1482 shell-delimiter-argument-list (bug#11348).
1483 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1484
b499d8d0
JB
14852012-05-09 Juanma Barranquero <lekktu@gmail.com>
1486
8f6b6da8
JB
1487 * textmodes/rst.el: Silence byte-compiler warnings.
1488 (rst-re-alist, rst-reset-section-caches): Move around.
1489 (rst-re): Use `characterp', not `char-valid-p'.
1490 (font-lock-beg, font-lock-end): Declare.
1491
4824146a
JB
1492 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1493 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1494
b499d8d0
JB
1495 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1496
ad89bb83
GM
14972012-05-08 Glenn Morris <rgm@gnu.org>
1498
1499 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1500
8bba5a75
SM
15012012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1502
49ed9c8e
SM
1503 * vc/log-edit.el: Add GNU coding standards highlighting.
1504 (log-edit-font-lock-gnu-style)
1505 (log-edit-font-lock-gnu-keywords): New vars.
1506 (log-edit-font-lock-keywords): New fun.
1507 (log-edit-mode): Don't fold case in font-lock.
1508 (log-edit-font-lock-keywords): Do not assume case-folding.
1509
07d00b56
SM
1510 * imenu.el: Misc cleanup. Make docstrings out of comments.
1511 Use lexical-binding.
1512 (imenu--index-alist, imenu--last-menubar-index-alist)
1513 (imenu-menubar-modified-tick): Use defvar-local.
1514 (imenu--split-menu): Remove unused var.
1515 (imenu--cleanup-seen): Declare as global.
1516 (imenu--cleanup): Use dolist.
1517
8bba5a75
SM
1518 * subr.el (defvar-local): Add debug spec and doc-string position.
1519
5075bdb5
GM
15202012-05-08 Glenn Morris <rgm@gnu.org>
1521
c052c904
GM
1522 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1523 * language/english.el, language/georgian.el, language/greek.el:
1524 * language/japanese.el, language/khmer.el, language/korean.el:
1525 * language/lao.el, language/misc-lang.el, language/romanian.el:
1526 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1527 * language/thai.el, language/utf-8-lang.el:
1528 Remove no-byte-compile setting.
1529
5075bdb5
GM
1530 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1531
06f679a7
AH
15322012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1533
1534 * progmodes/make-mode.el (makefile-browse):
1535 Remove unnecessary interactive. (Bug#11324)
1536
03794570
GM
15372012-05-07 Glenn Morris <rgm@gnu.org>
1538
af8630f4
GM
1539 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1540
03794570
GM
1541 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1542
f0809a9d
SM
15432012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1544
28be5ce7
SM
1545 * loadup.el: Preload newcomment.el.
1546 * newcomment.el: Move autoload-only code to toplevel.
1547
f0809a9d
SM
1548 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1549 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1550 Handle new :right-align column property.
1551 (tabulated-list-print-col): Idem, plus use `display' text-property to
1552 try and preserve alignment for variable pitch fonts.
1553
1241b724
CY
15542012-05-07 Chong Yidong <cyd@gnu.org>
1555
1556 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1557 (tabulated-list-use-header-line): New var.
1558 (tabulated-list-init-header): Use it.
1559 (tabulated-list-print-fake-header): New function.
1560 (tabulated-list-print): Use it.
1561 (tabulated-list-sort-button-map): Add non-header-line commands.
1562 (tabulated-list-init-header): Add column name property to basic
1563 labels as well.
1564 (tabulated-list-col-sort): Handle non-header-line button case.
1565 (tabulated-list--sort-by-column-name): Fix a corner case.
1566
f0809a9d
SM
1567 * buff-menu.el (list-buffers--refresh):
1568 Handle Buffer-menu-use-header-line.
1241b724 1569
e5f9458f
CY
15702012-05-06 Chong Yidong <cyd@gnu.org>
1571
1572 * buff-menu.el: Convert to Tabulated List mode.
1573 (Buffer-menu-buffer+size-width): Make obsolete.
1574 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1575 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1576 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1577 documentation into docstring of buffer-menu.
1578 (Buffer-menu-toggle-files-only): Add an informative message.
1579 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1580 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1581 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1582 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1583 (Buffer-menu-execute, Buffer-menu-select)
1584 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1585 (Buffer-menu-bury): Use Tabulated List machinery.
1586 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1587 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1588 Delete.
e5f9458f
CY
1589 (list-buffers--refresh): New function.
1590 (list-buffers-noselect): Use it.
1591 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1592 (Buffer-menu--pretty-file-name): New helper functions.
1593
1594 * loadup.el: Preload tabulated-list.
1595
1596 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1597 tabulated-list-sort-column.
1598 (tabulated-list-init-header): Add the initial aligning space even
1599 if tabulated-list-padding is zero.
1600
e129292c
CS
16012012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1602
1603 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1604 whose cdr is not a cons cell correctly (bug#11038).
1605
6632d361
CY
16062012-05-06 Chong Yidong <cyd@gnu.org>
1607
e129292c
CS
1608 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1609 Accept additional plist in column descriptors.
6632d361
CY
1610 (tabulated-list-init-header): Obey it.
1611 (tabulated-list-get-entry): New function.
1612 (tabulated-list-put-tag): Use it. Use string-width instead of
1613 length.
1614 (tabulated-list--column-number): New function.
1615 (tabulated-list-print): Use it.
e129292c
CS
1616 (tabulated-list-print-col): New function.
1617 Set `tabulated-list-column-name' property on each column's text.
6632d361 1618 (tabulated-list-print-entry): Use it.
e129292c
CS
1619 (tabulated-list-delete-entry, tabulated-list-set-col):
1620 New functions.
6632d361
CY
1621 (tabulated-list-sort-column): New command (Bug#11337).
1622
3cc99f68
CY
1623 * buff-menu.el (list-buffers): Move C-x C-b binding from
1624 buff-menu.el to bindings.el.
1625
1626 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1627 :advertised-binding feature.
1628
52b61776
TN
16292012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1630
1631 * progmodes/compile.el (compilation-internal-error-properties):
1632 Calculate start position correctly when end-col is set but
1633 end-line is not (Bug#11382).
1634
ebfe2597
WJ
16352012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1636
1637 * man.el (Man-unindent): Use text-property-default-nonsticky to
1638 prevent untabify from inheriting face properties (Bug#11408).
1639
6d3f7c2f
SM
16402012-05-05 Stefan Merten <smerten@oekonux.de>
1641
1642 * textmodes/rst.el: Major merge with upstream development up to
1643 Docutils SVN r7399 / rst.el V1.2.1.
1644
1645 Clarify maintainership and authors.
1646
1647 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1648 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1649 (rst-official-version, rst-official-cvs-rev, rst-version)
1650 (rst-package-emacs-version-alist): New functions and variables
1651 for version information.
1652
1653 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1654 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1655 (rst-mode-syntax-table, rst-mode): New and corrected functions
1656 and variables representing reStructuredText features.
1657
1658 (rst-re): New function for reStructuredText regexes. Use in
1659 many places.
1660
1661 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1662 (rst-mode-map): Rebind keys.
1663
1664 (rst-mode-lazy, rst-font-lock-keywords)
1665 (rst-font-lock-extend-region)
1666 (rst-font-lock-extend-region-internal)
1667 (rst-font-lock-extend-region-extend)
1668 (rst-font-lock-find-unindented-line-limit)
1669 (rst-font-lock-find-unindented-line-match)
1670 (rst-adornment-level, rst-font-lock-adornment-level)
1671 (rst-font-lock-adornment-match)
1672 (rst-font-lock-handle-adornment-pre-match-form)
1673 (rst-font-lock-handle-adornment-matcher): Major revision of
1674 font-locking. Integrate with other code. Use `jit-lock-mode'.
1675
1676 (rst-preferred-adornments, rst-adjust-hook)
1677 (rst-new-adornment-down, rst-preferred-bullets)
1678 (rst-preferred-bullets, rst-indent, rst-indent-width)
1679 (rst-indent-field, rst-indent-literal-normal)
1680 (rst-indent-literal-minimized, rst-indent-comment): Change,
1681 extend and improve customization.
1682
1683 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1684 (rst-normalize-cursor-position, rst-get-decoration)
1685 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1686 (rst-rstrip, rst-toc-insert-find-delete-contents)
1687 (rst-shift-fill-region, rst-compute-bullet-tabs)
1688 (rst-debug-print-tabs, rst-debug-mark-found)
1689 (rst-shift-region-guts, rst-shift-region-right)
1690 (rst-shift-region-left, rst-use-char-classes)
1691 (rst-font-lock-keywords-function)
1692 (rst-font-lock-indentation-point)
1693 (rst-font-lock-find-unindented-line-begin)
1694 (rst-font-lock-find-unindented-line-end)
1695 (rst-font-lock-find-unindented-line)
1696 (rst-font-lock-adornment-point, rst-font-lock-level)
1697 (rst-adornment-level-alist): Remove functions and variables.
1698
1699 (rst-compare-adornments, rst-get-adornment-match)
1700 (rst-suggest-new-adornment, rst-get-adornments-around)
1701 (rst-adornment-complete-p, rst-get-next-adornment)
1702 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1703 (rst-straighten-adornments): Standardize function names to
1704 use "adornment" instead of "decoration". Correct callers.
1705 Similar standardizing in many places.
1706
1707 (rst-update-section, rst-adjust, rst-promote-region)
1708 (rst-enumerate-region, rst-bullet-list-region)
1709 (rst-repeat-last-character): Correct use of `interactive'.
1710
1711 (rst-classify-adornment, rst-find-all-adornments)
1712 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1713 (rst-find-leftmost-column, rst-repeat-last-character):
1714 Refactor functions.
1715
1716 (rst-find-title-line, rst-reset-section-caches)
1717 (rst-get-adornments-around, rst-adjust-adornment-work)
1718 (rst-arabic-to-roman, rst-roman-to-arabic)
1719 (rst-insert-list-pos, rst-insert-list-new-item)
1720 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1721 New functions.
1722
1723 (rst-all-sections, rst-section-hierarchy)
1724 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1725 New variables.
1726
1727 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1728 configuration instead of only buffer. Change where necessary.
1729
1730 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1731 (rst-shift-region, rst-adaptive-fill): New functions for
1732 indentation and filling.
1733
1734 (rst-comment-line-break, rst-comment-indent)
1735 (rst-comment-insert-comment, rst-comment-region)
1736 (rst-uncomment-region): New functions for handling comments.
1737
1738 (rst-compile): Quote shell arguments.
1739
1740 (rst-compile-pdf-preview, rst-compile-slides-preview):
1741 Delete temporary files after use.
1742
a43f98b3
GM
17432012-05-05 Glenn Morris <rgm@gnu.org>
1744
48176e8b
GM
1745 * calendar/cal-html.el: Optionally include holidays in the output.
1746 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1747 (cal-html-holidays): New option.
1748 (cal-html-css-default): Add holiday entry.
1749 (holiday-in-range): Autoload it.
1750 (cal-html-htmlify-entry): Add optional class argument.
1751 (cal-html-htmlify-list): Add optional holidays argument.
1752 (cal-html-insert-agenda-days): Include holidays in the output.
1753 (cal-html-one-month): Maybe include holidays.
1754
a43f98b3
GM
1755 * calendar/holidays.el (holiday-in-range):
1756 Move here from cal-tex-list-holidays.
1757 * calendar/cal-tex.el (cal-tex-list-holidays):
1758 Make it an obsolete alias for holiday-in-range. Update all callers.
1759
fef9d149 17602012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1761
1762 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1763 Nextstep.
1764
248da2f4
RW
17652012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1766
1767 * files.el (file-auto-mode-skip): New var.
1768 (set-auto-mode-1): Use it.
1769
f95e9344
SM
17702012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1771
df96ab1e
SM
1772 * repeat.el: Use lexical-binding.
1773 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1774 (repeat-undo-count): Remove.
1775 (repeat):
1776 * progmodes/octave-mod.el (octave-abbrev-start):
1777 * progmodes/f90.el (f90-abbrev-start):
1778 * face-remap.el (text-scale-adjust):
1779 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1780
5342bb06
SM
1781 * emacs-lisp/pcase.el (pcase--let*): New function.
1782 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1783 a bit more.
1784 (pcase--split-pred): Be more clever about ruling out overlap between
1785 a predicate and some constant pattern.
1786 (pcase--q1): Use `null' instead of (eq foo nil).
1787
f95e9344
SM
1788 * subr.el (setq-local, defvar-local): New macros.
1789 (kbd): Redefine as an alias.
1790 (with-selected-window): Leave unrelated frames alone.
1791 (set-temporary-overlay-map): New function.
1792
71873e2b
SM
17932012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 * subr.el (user-error): New function.
1796 * window.el (switch-to-buffer):
1797 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1798 (smerge-match-conflict):
1799 * simple.el (previous-matching-history-element)
1800 (next-matching-history-element, goto-history-element, undo-more)
1801 (undo-start):
1802 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1803 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1804 (next-file, tags-loop-scan, list-tags, complete-tag):
1805 * progmodes/compile.el (compilation-loop):
1806 * mouse.el (mouse-minibuffer-check):
1807 * man.el (Man-bgproc-sentinel, Man-goto-page):
1808 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1809 (Info-history-forward, Info-follow-reference, Info-menu)
1810 (Info-extract-menu-item, Info-extract-menu-counting)
1811 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1812 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1813 (Info-next-reference, Info-prev-reference, Info-index)
1814 (Info-index-next, Info-follow-nearest-node)
1815 (Info-copy-current-node-name):
1816 * imenu.el (imenu--make-index-alist)
1817 (imenu-default-create-index-function, imenu-add-to-menubar):
1818 * files.el (basic-save-buffer, recover-file):
1819 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1820 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1821 (checkdoc-message-text, checkdoc-defun):
1822 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1823 * cus-edit.el (customize-changed-options, customize-rogue)
1824 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1825 (custom-variable-mark-to-reset-standard)
1826 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1827 (custom-file):
1828 * completion.el (check-completion-length):
1829 * comint.el (comint-search-arg)
1830 (comint-previous-matching-input-string-position)
1831 (comint-previous-matching-input)
1832 (comint-replace-by-expanded-history-before-point, comint-send-input)
1833 (comint-copy-old-input, comint-backward-matching-input)
1834 (comint-goto-process-mark, comint-set-process-mark):
1835 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1836 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1837
8a61ee22
SM
18382012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1839
66408d1e
SM
1840 * dabbrev.el (dabbrev--ignore-case-p): New function.
1841 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1842 Use it.
1843
8a61ee22
SM
1844 * files.el (automount-dir-prefix): Mark as obsolete.
1845
3c74813a
GM
18462012-05-04 Glenn Morris <rgm@gnu.org>
1847
1848 * patcomp.el, play/bruce.el: Move to obsolete/.
1849
0bfcf5c5
PE
18502012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1851
1852 Fix minor Y10k bugs.
1853 * arc-mode.el (archive-unixdate):
1854 * autoinsert.el (auto-insert-alist):
1855 * calc/calc-forms.el (math-this-year):
1856 * emacs-lisp/copyright.el (copyright-current-year)
1857 (copyright-update-year, copyright):
1858 * tar-mode.el (tar-clip-time-string):
1859 * time.el (display-time-update):
1860 Don't assume years have 4 digits.
1861
78f3273a
CY
18622012-05-04 Chong Yidong <cyd@gnu.org>
1863
1864 * dos-w32.el (file-name-buffer-file-type-alist)
1865 (direct-print-region-use-command-dot-com):
1866 * ffap.el (ffap-menu-regexp):
1867 * find-file.el (ff-special-constructs):
1868 * follow.el (follow-debug):
1869 * forms.el (forms--debug):
1870 * iswitchb.el (iswitchb-all-frames):
1871 * ido.el (ido-all-frames):
1872 * emacs-lisp/timer.el (timer-max-repeats):
1873 * mail/feedmail.el (feedmail-mail-send-hook)
1874 (feedmail-mail-send-hook-queued):
1875 * mail/footnote.el (footnote-signature-separator):
1876 * mail/mailabbrev.el (mail-alias-separator-string)
1877 (mail-abbrev-mode-regexp):
1878 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1879 * progmodes/idlwave.el (idlwave-libinfo-file)
1880 (idlwave-default-completion-case-is-down)
1881 (idlwave-library-routines): Convert defvars to defcustoms.
1882
1883 * mail/rmail.el (rmail-decode-mime-charset):
1884 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1885 (idlwave-shell-fix-inserted-breaks)
1886 (idlwave-shell-activate-alt-keybindings)
1887 (idlwave-shell-use-breakpoint-glyph):
1888 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1889
f7ae6719
SM
18902012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1891
1892 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1893
47086495
WS
18942012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1895
1896 * progmodes/verilog-mode.el (font-lock-keywords):
1897 Fix mis-highligting auto. Reported by Craig Barner.
1898 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1899 defines from global name space. Reported by Dan Dever.
1900 (verilog-auto-reset, verilog-auto-reset-widths)
1901 (verilog-auto-tieoff): Support using unbased numbers for
1902 AUTORESET and AUTOTIEOFF.
1903 (verilog-submit-bug-report): Update variable list.
1904 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1905 parenthesis from not matching. Reported by Michael Rytting.
1906 (verilog-auto-template-lint): Fix hash error when linting modules
1907 with no used templates.
1908 (verilog-warn, verilog-warn-error)
1909 (verilog-warn-fatal): When non-interactive report multiple
1910 warnings before exiting. Suggested by Brad Dobbie.
1911 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1912 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1913 to report unused template errors. Reported by Brad Dobbie.
1914 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1915 nets, bug438. Reported by Vns Blore.
1916 (verilog-auto-inout-module, verilog-auto-reg)
1917 (verilog-read-decls, verilog-read-sub-decls-sig)
1918 (verilog-signals-edit-wire-reg, verilog-signals-with):
1919 Fix passing of Verilog data types in ANSI input/output ports
1920 such as "output logic" into the AUTOs. Special case "wire" and
1921 "reg" for backwards compatibility presuming Verilog 2001.
1922 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1923 (verilog-preprocess): Fix replication of preprocess output.
1924 Reported by Brad Dobbie.
1925 (verilog-auto-inst-interfaced-ports):
1926 Create verilog-auto-inst-interfaced-ports, bug429.
1927 Reported by Julian Gorfajn.
1928 (verilog-after-save-font-hook)
1929 (verilog-before-save-font-hook): New variable.
1930 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1931 (verilog-save-font-mods): Wrap disabling fontification, reported
1932 by David Rogoff.
1933 (verilog-do-indent, verilog-pretty-declarations-auto)
1934 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1935 Reported by Pierre-David Pfister.
1936 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1937 of class declarations, bug292. Reported by Kevin Heilman.
1938 (verilog-read-decls): Fix 'parameter type' not appearing in
1939 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1940 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1941 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1942 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1943 Reported by David Kravitz.
1944
19452012-05-03 Michael McNamara <mac@mail.brushroad.com>
1946
1947 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1948 assignment with tests in ifs and for loops.
1949 (verilog-extended-complete-re, verilog-complete-reg): Change so
1950 that DPI inport functions don't look like fuction declarations.
1951 (verilog-pretty-expr): Don't line up assignment
1952 operations to the test and increment in if and for loops
1953 (verilog-extended-complete-re, verilog-complete-reg): Change so
1954 that DPI inport functions don't look like fuction declarations
1955
2e51d4b5
KH
19562012-05-03 Kenichi Handa <handa@m17n.org>
1957
1958 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1959 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1960 (Bug#11282).
1961
2bd785a2
SM
19622012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 * emacs-lisp/bytecomp.el
1965 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1966 since cconv.el might have introduced :fun-body, internal-make-closure,
1967 and friends for bytecomp to handle (bug#11391).
1968 * custom.el (defcustom): Avoid ((λ ..) ..).
1969
99d27583
SM
19702012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1971
1972 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1973
55a71479
JB
19742012-05-02 Juanma Barranquero <lekktu@gmail.com>
1975
1976 * notifications.el (dbus-debug):
1977 * term/linux.el (gpm-mouse-enable):
1978 * term/screen.el (xterm-register-default-colors): Declare.
1979
7b97c764
CY
19802012-05-02 Chong Yidong <cyd@gnu.org>
1981
2bc356d7
CY
1982 * cus-start.el (gc-cons-percentage, exec-suffixes)
1983 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1984 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1985 (make-cursor-line-fully-visible, void-text-area-pointer)
1986 (font-list-limit): Add customization data.
1987
7b97c764
CY
1988 * allout.el (allout-exposure-change-functions)
1989 (allout-structure-added-functions)
1990 (allout-structure-deleted-functions)
1991 (allout-structure-shifted-functions): Rename abnormal hooks from
1992 *-hook, and convert to defcustoms.
5d3385a0
JB
1993 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1994 Convert to defcustoms.
7b97c764
CY
1995 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1996
1997 * allout-widgets.el: Hook callers changed.
1998
90207a15 19992012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2000
2001 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2002 the yanked message in preference to the default value of
2003 buffer-file-coding-system.
2004
90207a15 20052012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 2006
5d3385a0
JB
2007 * window.el (display-buffer--action-function-custom-type):
2008 Fix entry.
d9558cad 2009
90207a15 20102012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
2011
2012 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2013
d80ac57b
GM
20142012-05-01 Glenn Morris <rgm@gnu.org>
2015
976f7668
GM
2016 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2017
beb83b5a
GM
2018 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2019
d80ac57b
GM
2020 * cus-edit.el (custom-variable-documentation): Simplify with format.
2021
b593d6a9
AH
20222012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2023 Stefan Monnier <monnier@iro.umontreal.ca>
2024
2025 * simple.el (suggest-key-bindings, execute-extended-command):
2026 Move from keyboard.c.
2027
782fbf2a
CY
20282012-05-01 Chong Yidong <cyd@gnu.org>
2029
2030 * follow.el: Eliminate advice.
2031 (set-process-filter, process-filter, sit-for): Advice deleted.
2032 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
2033 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2034 Vars deleted.
782fbf2a
CY
2035 (follow-auto): Use a :set function.
2036 (follow-mode): Rewritten. Don't advise process filters.
2037 (follow-switch-to-current-buffer-all, follow-scroll-up)
2038 (follow-scroll-down): Assume follow-mode is bound.
2039 (follow-comint-scroll-to-bottom)
2040 (follow-align-compilation-windows): New functions.
2041 (follow--window-sorter): New function.
2042 (follow-all-followers): Use it to explicitly sort windows by their
2043 positions; don't make assumptions about next-window order.
2044 (follow-windows-start-end, follow-delete-other-windows-and-split)
2045 (follow-calc-win-start): Doc fix.
2046 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2047 vertical-motion unnecessarily.
2048 (follow-adjust-window): New function.
2049 (follow-post-command-hook): Use it.
2050 (follow-call-set-process-filter, follow-call-process-filter)
2051 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2052 (follow-stop-intercept-process-output, follow-generic-filter):
2053 Functions deleted.
2054 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
2055 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2056 New functions, replacing advice on scroll-bar-* commands.
87233a14 2057 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
2058
2059 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
2060 (comint-postoutput-scroll-to-bottom): Use it.
2061 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 2062
290af740
GM
20632012-05-01 Glenn Morris <rgm@gnu.org>
2064
2065 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2066 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2067 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2068 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2069 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2070 Remove no-byte-compile setting.
2071
6eac8dc9
SM
20722012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2073
2074 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2075 all-completions code to not return a number in the last cdr.
2076
9cc7819c
LL
20772012-04-30 Leo Liu <sdl.web@gmail.com>
2078
2079 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2080 read-only error.
2081
c93b886f
CY
20822012-04-29 Chong Yidong <cyd@gnu.org>
2083
2084 * follow.el (follow-calc-win-end): Rewrite to handle partial
2085 screen lines correctly (Bug#8390).
2086 (follow-avoid-tail-recenter): Minor cleanup.
2087
8b6c19f4
SM
20882012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2089
2090 Avoid the obsolete `assoc' package.
2091 * speedbar.el (speedbar-refresh): Avoid adelete.
2092 (speedbar-file-lists): Simplify and avoid aput.
2093 * man.el (Man--sections, Man--refpages): New vars, replacing
2094 Man-sections-alist and Man-refpages-alist.
2095 (Man-build-section-alist, Man-build-references-alist):
2096 Use them; avoid aput.
2097 (Man--last-section, Man--last-refpage): New vars.
2098 (Man-follow-manual-reference): Use them.
2099 Use the `default' arg of completing-read.
2100 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2101
c5bb7569
CY
21022012-04-27 Chong Yidong <cyd@gnu.org>
2103
d1d2e2e8
CY
2104 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2105
15cd8efd
CY
2106 * startup.el (x-apply-session-resources): New function.
2107
2108 * term/ns-win.el (ns-initialize-window-system):
2109 * term/w32-win.el (w32-initialize-window-system):
2110 * term/x-win.el (x-initialize-window-system): Use it to properly
2111 set menu-bar-mode and other vars from X resources, even if the
2112 initial frame is not a window-system frame (Bug#2299).
2113
c5bb7569
CY
2114 * subr.el (read-key): Avoid running filter function when setting
2115 up temporary tool bar entries (Bug#9922).
2116
a8e7d6d7 21172012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
2118
2119 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2120 (Bug#11344)
2121
a8e7d6d7 21222012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
2123
2124 * select.el (xselect--encode-string): New function, split from
2125 xselect-convert-to-string.
2126 (xselect-convert-to-string): Use it.
2127 (xselect-convert-to-filename, xselect-convert-to-os)
2128 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2129 returned strings are properly encoded (Bug#11315).
2130
a8e7d6d7 21312012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
2132
2133 * simple.el (delete-active-region): Move to killing custom group.
2134
a8e7d6d7 21352012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
2136
2137 * progmodes/which-func.el (which-func-current): Quote %
2138 characters for mode-line processing.
2139
578c1d4b 21402012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
2141
2142 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2143 reaching eob (Bug#11286).
2144
a8e7d6d7 21452012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
2146
2147 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2148 (gdb): Make it buffer-local and init to zero.
2149 (gdb-control-commands-regexp): New variable.
2150 (gdb-send): Don't wrap in "-interpreter-exec console" if
2151 gdb-control-level is positive. Increment gdb-control-level
2152 whenever the command matches gdb-control-commands-regexp, and
2153 decrement it each time the command is "end". (Bug#11279)
2154
a8e7d6d7 21552012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
2156
2157 * window.el (adjust-window-trailing-edge, enlarge-window)
2158 (shrink-window, window-resize):
2159 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2160 windows (Bug#11276).
2161
b3608390
CY
21622012-04-27 Chong Yidong <cyd@gnu.org>
2163
2164 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 2165 fix "missing prefix" warning. All callers changed.
b3608390 2166
797e6e88
SM
21672012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2168
2169 * emacs-lisp/assoc.el: Move to obsolete/.
2170
e95a67dc
SM
21712012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2172
657c21e4 2173 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
2174
2175 * term/ns-win.el (ns-define-service):
2176 * progmodes/pascal.el (pascal-goto-defun):
2177 * progmodes/js.el (js--read-tab):
2178 * progmodes/etags.el (tags-lazy-completion-table):
2179 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2180 * emacs-lisp/ewoc.el (ewoc--wrap):
2181 * emacs-lisp/assoc.el (aput, adelete, amake):
2182 * doc-view.el (doc-view-convert-current-doc):
2183 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2184
cb3e7ae0
CY
21852012-04-26 Chong Yidong <cyd@gnu.org>
2186
dce04f7f
CY
2187 * image.el (image-type-from-buffer): Only return supported image
2188 type (Bug#9045).
2189
cb3e7ae0
CY
2190 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2191 value, for symmetry with diff-end-of-hunk.
2192 (diff-split-hunk, diff-find-source-location)
2193 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2194 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2195 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2196 compute the relevant hunk or file properly (Bug#6005).
2197 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2198
0d42eb3e
SM
21992012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2200
2201 * vc/vc-mtn.el:
2202 * vc/vc-hg.el:
2203 * vc/vc-git.el:
2204 * vc/vc-dir.el:
2205 * vc/vc-cvs.el:
2206 * vc/vc-bzr.el:
2207 * vc/vc-arch.el:
2208 * vc/vc.el: Replace lexical-let by lexical-binding.
2209 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2210 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2211 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2212
f08ae1c9
CY
22132012-04-26 Chong Yidong <cyd@gnu.org>
2214
8b71081d
CY
2215 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2216 (diff-mode-shared-map): Bind it to / and [remap undo].
2217
f08ae1c9
CY
2218 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2219 (ediff-window-setup-function): Use it as the default, to set up
2220 windows based on whether the current frame is graphical (Bug#2138).
2221 (ediff-choose-window-setup-function-automatically): Make obsolete.
2222
2223 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2224
ef24141c
SM
22252012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2226
cc356a5d
SM
2227 * ffap.el: Remove old code for obsolete package.
2228 (ffap-complete-as-file-p): Remove.
2229
b4ff4f1f
SM
2230 Use completion-table-with-quoting for comint and pcomplete.
2231 * comint.el (comint--unquote&requote-argument)
2232 (comint--unquote-argument, comint--requote-argument): New functions.
2233 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2234 (comint-quote-filename): Use regexp-opt-charset.
2235 (comint--common-suffix, comint--common-quoted-suffix)
2236 (comint--table-subvert): Remove.
2237 (comint-unquote-function, comint-requote-function): New vars.
2238 (comint--complete-file-name-data): Use them with
2239 completion-table-with-quoting.
2240 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2241 * pcomplete.el (pcomplete-arg-quote-list)
2242 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2243 (pcomplete-unquote-argument-function): Default to non-nil.
2244 (pcomplete-unquote-argument): Simplify.
2245 (pcomplete--common-quoted-suffix): Remove.
2246 (pcomplete-requote-argument-function): New var.
2247 (pcomplete--common-suffix): New function.
2248 (pcomplete-completions-at-point): Use completion-table-with-quoting
2249 and completion-table-subvert.
2250
79c4eeb4
SM
2251 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2252 (minibuffer--double-dollars): Preserve properties.
2253 (completion--sifn-requote): New function.
2254 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2255
ef24141c
SM
2256 * minibuffer.el: Add support for completion of quoted/escaped data.
2257 (completion-table-with-quoting, completion-table-subvert): New funs.
2258 (completion--twq-try, completion--twq-all): New functions.
2259 (completion--nth-completion): New function.
2260 (completion-try-completion, completion-all-completions): Use it.
2261
784e7d6e
LL
22622012-04-25 Leo Liu <sdl.web@gmail.com>
2263
dd2ac746
SM
2264 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2265 Use compilation-message if available to find real filename.
784e7d6e 2266
07875ee7
CY
22672012-04-25 Chong Yidong <cyd@gnu.org>
2268
2269 * vc/diff-mode.el (diff-setup-whitespace): New function.
2270 (diff-mode): Use it.
2271
2272 * vc/diff.el (diff-sentinel):
2273 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2274 Whitespace mode variables based on diff style (Bug#8612).
2275
5055880d
LL
22762012-04-25 Leo Liu <sdl.web@gmail.com>
2277
daf75653
LL
2278 * progmodes/python.el (python-send-region): Add suffix .py to the
2279 temp file.
2280
5055880d
LL
2281 * files.el (auto-mode-alist): Use javascript-mode instead.
2282
db9b177b
AH
22832012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2284
ef24141c 2285 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2286
2287 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2288 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2289 references, see Bug#9.
ef24141c 2290 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2291 when receiving a fault reply.
ef24141c 2292 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2293
2294 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2295 (soap-inspect-simple-type): New function.
db9b177b 2296
ef24141c 2297 * soap-client.el (soap-simple-type): New struct.
db9b177b 2298 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2299 (soap-decode-basic-type, soap-encode-basic-type):
2300 support unsignedInt and double basic types.
db9b177b 2301 (soap-resolve-references-for-simple-type)
ef24141c
SM
2302 (soap-parse-simple-type, soap-encode-simple-type): New function.
2303 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2304
2305 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2306 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2307 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2308 the local name of "soapenc:Array".
2309 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2310 decoding integer, byte and anyURI xsd types.
2311
1fc6097b
CY
23122012-04-25 Chong Yidong <cyd@gnu.org>
2313
2314 * cus-edit.el (custom-buffer-create-internal): Update header text.
2315
afc6df87
EZ
23162012-04-25 Eli Zaretskii <eliz@gnu.org>
2317
2318 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2319 settings on 'system-type', not on 'window-system'. On MS-Windows,
2320 set interactive-mode on in GDB.
2321
dfbd787f
SM
23222012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2323
2324 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2325 (ruby-syntax-propertize-regexp): Remove.
2326 (ruby-syntax-propertize-function): Split regexp into chunks.
2327 Match following code directly.
2328
85222d44
DG
23292012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2330
51a8ea2a
DG
2331 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2332 (ruby-syntax-propertize-regexp): New function.
2333 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2334 by a special keyword.
2335
85222d44
DG
2336 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2337 (ruby-syntax-general-delimiters-goto-beg)
2338 (ruby-syntax-propertize-general-delimiters): New functions.
2339 (ruby-syntax-propertize-function): Use them to handle GDL.
2340 (ruby-font-lock-keywords): Move old handling of GDL...
2341 (ruby-font-lock-syntactic-keywords): .. to here.
2342 (ruby-calculate-indent): Adjust indentation for GDL.
2343
b613912b
MA
23442012-04-24 Michael Albinus <michael.albinus@gmx.de>
2345
b5380639
MA
2346 * notifications.el (top): Remove unneeded declarations.
2347 (notifications-specification-version): Change to "1.2".
e43042fe 2348 (notifications-interface, notifications-notify-method)
b613912b
MA
2349 (notifications-close-notification-method): Fix docstring.
2350 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2351 (notifications-notify): Add :action-items, :resident and
2352 :transient hints. Change "image_data" to "image-data" and
2353 "image_path" to "image-path".
b613912b
MA
2354 (notifications-get-capabilities): New defun.
2355
257440aa
LL
23562012-04-24 Leo Liu <sdl.web@gmail.com>
2357
2358 * progmodes/python.el: Move hideshow setup to the end.
2359
b1bac16e
MR
23602012-04-24 Martin Rudalics <rudalics@gmx.at>
2361
2362 * window.el (handle-select-window): Clear echo area since this is
2363 no more done by read_char (Bug#11304).
2364
d81bd059
SM
23652012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2366
2367 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2368 and `/ M' to filter-derived-mode.
2369 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2370 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2371 (ibuffer-mark-by-mode): Use default rather than initial-input.
2372 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2373
c4cf6d91
IA
23742012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2375
2376 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2377 (ibuffer-filter-by-derived-mode): New filter.
2378 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2379
7511ded8
CY
23802012-04-23 Andreas Politz <politza@fh-trier.de>
2381
2382 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2383
775c916b
CY
23842012-04-23 Chong Yidong <cyd@gnu.org>
2385
2386 * cus-edit.el (customize-apropos, customize-apropos-options):
2387 Disable matching of non-option variables (Bug#11176).
2388 (customize-option, customize-option-other-window)
2389 (customize-changed-options): Doc fix.
2390 (customize-apropos-options, customize-apropos-faces)
2391 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2392
2393 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2394 Fix word list splitting (Bug#11132).
46c71e23
CY
2395 (apropos-symbol, apropos-keybinding, apropos-label)
2396 (apropos-property, apropos-function-button)
2397 (apropos-variable-button, apropos-misc-button): New faces.
2398 (apropos-symbol-face, apropos-keybinding-face)
2399 (apropos-label-face, apropos-property-face, apropos-match-face):
2400 Variables removed (Bug#8396).
2401 (apropos-library-button, apropos-format-plist, apropos-print)
2402 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2403
2df41f9c
MA
24042012-04-23 Michael Albinus <michael.albinus@gmx.de>
2405
2406 * net/xesam.el (xesam-mode-map): Use let-bound map in
2407 initialization. (Bug#11292)
2408
da00640a
AM
24092012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2410
2411 Preserve ispell session localwords when switching back to
2412 original buffer.
2413
2414 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2415 variable to hold buffer session localwords.
2416 (ispell-kill-ispell): add option 'clear to delete session
2417 localwords.
2418 (ispell-command-loop, ispell-change-dictionary)
2419 (ispell-buffer-local-words): Preserve session localwords when
2420 needed.
2421
2422 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2423 Preserve session localwords when needed.
2424
f621ccf5
AM
24252012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2426
2427 * ispell.el (ispell-insert-word) Remove unneeded function using
2428 obsolete `translation-table-for-input'.
ef24141c
SM
2429 (ispell-word, ispell-process-line, ispell-complete-word):
2430 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2431
c2d1019e
CY
24322012-04-22 Chong Yidong <cyd@gnu.org>
2433
2434 * cus-edit.el (custom-variable-menu)
2435 (custom-variable-reset-saved, custom-face-menu)
2436 (custom-face-reset-saved): If there is no saved value, make the
2437 "reset-saved" operation bring back the default (Bug#9509).
2438 (custom-face-state): Properly detect themed faces.
2439
eeddc531
CY
2440 * faces.el (face-spec-set): Stop supporting deprecated form of
2441 third arg.
2442
dcbf5805
MA
24432012-04-22 Michael Albinus <michael.albinus@gmx.de>
2444
2445 Move functions from C to Lisp. Make non-blocking method calls
2446 the default. Implement further D-Bus standard interfaces.
2447
ef24141c
SM
2448 * net/dbus.el (dbus-message-internal): Declare function.
2449 Remove unneeded function declarations.
dcbf5805
MA
2450 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2451 (dbus-message-type-method-return, dbus-message-type-error)
2452 (dbus-message-type-signal): Declare variables. Remove local
2453 definitions.
2454 (dbus-interface-dbus, dbus-interface-peer)
2455 (dbus-interface-introspectable, dbus-interface-properties)
2456 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2457 Adapt docstring.
2458 (dbus-interface-objectmanager): New defconst.
2459 (dbus-call-method, dbus-call-method-asynchronously)
2460 (dbus-send-signal, dbus-method-return-internal)
2461 (dbus-method-error-internal, dbus-register-service)
2462 (dbus-register-signal, dbus-register-method): New defuns, moved
2463 from dbusbind.c
2464 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2465 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2466 New defuns.
dcbf5805
MA
2467 (dbus-call-method-non-blocking): Make it an obsolete function.
2468 (dbus-unregister-object, dbus-unregister-service)
2469 (dbus-handle-event, dbus-register-property)
2470 (dbus-property-handler): Obey the new structure of
2471 `bus-registered-objects'.
2472 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2473 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2474 Use `dbus-call-method'.
2475
cf20dee0
CY
24762012-04-22 Chong Yidong <cyd@gnu.org>
2477
2478 * cus-edit.el (custom-commands, custom-reset-menu)
2479 (Custom-reset-standard): Tweak labels.
2480 (custom-reset-button-menu): Change default to t.
2481 (custom-buffer-create-internal): For the custom-reset-button-menu
2482 case, put the revert button first.
2483 (custom-group-subtitle): New face.
2484 (custom-group-value-create): Align docstring to a specific column.
2485
2486 * wid-edit.el (widget-documentation-link-add): Don't handle
2487 indentation in this function.
2488 (widget-documentation-string-indent-to): New function.
2489 (widget-documentation-string-value-create): Use it.
2490
2491 * autorevert.el (auto-revert):
2492 * epg-config.el (epg):
2493 * ibuffer.el (ibuffer):
2494 * mpc.el (mpc):
2495 * ses.el (ses):
2496 * eshell/eshell.el (eshell):
2497 * net/ange-ftp.el (ange-ftp):
2498 * progmodes/ebnf2ps.el (postscript):
2499 * progmodes/flymake.el (flymake):
2500 * progmodes/prolog.el (prolog):
2501 * progmodes/verilog-mode.el (verilog-mode):
2502 * progmodes/which-func.el (which-func):
2503 * term/xterm.el (xterm):
2504 * textmodes/picture.el (picture):
2505 * textmodes/tildify.el (tildify):
2506 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2507 customization buffers.
2508
583e23bd
AM
25092012-04-22 Alan Mackenzie <acm@muc.de>
2510
2511 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2512 Adding a ) can hide the resulting (..) from searches. Fix it.
2513 Bound the backward search to the position of the existing (.
2514
7dd51bf1
JB
25152012-04-21 Juanma Barranquero <lekktu@gmail.com>
2516
2517 * progmodes/verilog-mode.el (verilog-mode): Check whether
2518 which-func-modes is t before adding verilog-mode.
2519 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2520
d64a438f
LL
25212012-04-21 Leo Liu <sdl.web@gmail.com>
2522
7dd51bf1 2523 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2524
081e8d65
MV
25252012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2526
2527 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2528 filling of the last column of a table (Bug#5635).
2529 (woman-find-next-control-line): New arg, specifying an additional
2530 regexp component for the control line.
2531 (woman2-roff-buffer): Use it.
2532 (woman-break-table): New function.
2533 (woman2-TS): Use it.
2534
25352012-04-21 Chong Yidong <cyd@gnu.org>
2536
2537 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2538 (woman-horizontal-escapes, woman-negative-vertical-space)
2539 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2540 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2541
ed571ccb
SM
25422012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2543
2544 * minibuffer.el (completion-file-name-table): Complete user names.
2545
39773899
LL
25462012-04-20 Leo Liu <sdl.web@gmail.com>
2547
2548 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2549 and pcase-let*.
2550
de6ff46d
CY
25512012-04-20 Chong Yidong <cyd@gnu.org>
2552
2553 * server.el (server-execute): Respect initial-buffer-choice if it
2554 is a string and there are no files to open (Bug#2825).
2555 (server-create-window-system-frame, server-create-tty-frame):
2556 Don't switch buffers here.
2d0e8e61
CY
2557 (server-process-filter): Only try to open a window system frame if
2558 compiled with graphical support (Bug#8314).
de6ff46d 2559
54071013
DN
25602012-04-20 Dan Nicolaescu <dann@gnu.org>
2561
2562 * battery.el (battery-echo-area-format): Display remaining time
2563 for sysfs backend too (Bug#11269).
2564 (battery-linux-sysfs): Fix conditional for the charge.
2565
f30d612a
CY
25662012-04-20 Chong Yidong <cyd@gnu.org>
2567
c07a4c0b 2568 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2569 (gdb-inferior-io--init-proc): New function.
2570 (gdb-init-1): Use it.
2571 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2572 responsible for allocating a new pty and hooking it to gdb when
2573 the old pty gets an EIO due to process exit.
2574 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2575 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2576 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2577
2116e93c
EZ
25782012-04-20 Eli Zaretskii <eliz@gnu.org>
2579
2580 * window.el (window-min-size, window-sizable, window-min-delta)
2581 (window-max-delta, window--resizable, window-resizable)
2582 (window-total-size, window-full-height-p, window-full-width-p)
2583 (window-in-direction, window--resize-mini-window, window-resize)
2584 (window--resize-child-windows-normal)
2585 (window--resize-child-windows, window--resize-siblings)
2586 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2587 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2588
c07a4c0b 25892012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2590
ef24141c
SM
2591 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2592 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2593 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2594 pty process (Bug#11273).
2595 (gdb-update): New arg to suppress talking to the gdb process.
2596 (gdb-done-or-error): Use it.
2597 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2598 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2599 sentinel not being called.
2600
2601 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2602
d02766ab
CY
2603 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2604
c07a4c0b 26052012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2606
2607 * net/network-stream.el (open-network-stream): Doc fix.
2608
c07a4c0b 26092012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2610
2611 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2612
c07a4c0b 26132012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2614
2615 Ensure searching for keywords is case sensitive.
2616
2617 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2618 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2619 (c-defun-name, c-mark-function, c-cpp-define-name)
2620 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2621 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2622
ef24141c
SM
2623 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2624 Bind case-fold-search to nil.
f0f6bc35 2625
c07a4c0b 26262012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2627
2628 * mail/sendmail.el (mail-bury): Call return action with the right
2629 Rmail buffer (Bug#11242).
2630
9a864fa2
CY
2631 * server.el (server-process-filter): Handle corner case where both
2632 tty and nowait options are present (Bug#11102).
2633
539aa513
EZ
26342012-04-20 Eli Zaretskii <eliz@gnu.org>
2635
2636 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2637 (top level): Put into the executable the ident-style '$Id:' tag on
2638 windows-nt as well.
539aa513 2639
cfc7d5da
SM
26402012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2641
2642 * electric.el (electric-indent-post-self-insert-function): Check that
2643 electric-indent-mode is enabled in current buffer.
2644
5b01685c
JB
26452012-04-19 Juanma Barranquero <lekktu@gmail.com>
2646
2647 * imenu.el (imenu-progress-message): Restore; it is "used" in
2648 erc/erc-imenu.el and net/snmp-mode.el.
2649
4d6769e1
JB
26502012-04-19 Juanma Barranquero <lekktu@gmail.com>
2651
2652 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2653 (mouse-avoidance-nudge-mouse): Remove unused binding.
2654
2655 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2656
2657 * descr-text.el (describe-char):
2658 * progmodes/python.el (python-describe-symbol):
2659 Don't call `toggle-read-only', set `buffer-read-only'.
2660
2661 * imenu.el (imenu-default-goto-function): Mark unused args.
2662 (imenu-progress-message): Remove obsolete macro; all callers changed.
2663
2664 * subr.el (keymap-canonicalize): Remove unused binding.
2665 (read-passwd): Mark unused arg.
2666
2667 * tutorial.el (tutorial--display-changes): Remove unused binding.
2668 (tutorial--save-tutorial-to): Remove unused variable.
2669
2670 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2671 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2672 (package-generate-autoloads, package-menu--generate)
2673 (package-menu--find-upgrades): Remove unused bindings.
2674
2675 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2676 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2677 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2678 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2679 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2680 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2681 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2682 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2683 (cua-delete-char-rectangle): Mark unused args.
2684 (cua-align-rectangle): Remove unused binding.
2685
2686 * mail/rmail.el (compilation--message->loc)
2687 (epa--find-coding-system-for-mime-charset): Declare.
2688
2689 * net/dbus.el (dbus-register-service): Declare.
2690 (dbus-name-owner-changed-handler): Remove unused binding.
2691
2692 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2693 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2694 (nxml-scan-backward-within): Mark unused arg.
2695 (nxml-dynamic-markup-word): Remove unused binding.
2696
2697 * mouse.el (mouse-menu-major-mode-map):
2698 * emacs-lisp/authors.el (authors-scan-change-log)
2699 (authors-add-to-author-list):
2700 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2701 * emacs-lisp/smie.el (smie-auto-fill):
2702 * mail/sendmail.el (mail-bury):
2703 * mail/unrmail.el (unrmail):
2704 * net/tls.el (open-tls-stream):
2705 * textmodes/picture.el (picture-mouse-set-point):
2706 Remove unused bindings.
2707
8c8fc5df
MA
27082012-04-19 Michael Albinus <michael.albinus@gmx.de>
2709
2710 * net/tramp.el (tramp-action-password): Let-bind
2711 `enable-recursive-minibuffers' to t.
2712
a77b0ac9
SS
27132012-04-18 Sam Steingold <sds@gnu.org>
2714
2715 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2716 instead of 'string to accommodate values like [f11].
2717 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2718 * progmodes/gdb-mi.el: Likewise.
2719
12a106a9
LL
27202012-04-18 Leo Liu <sdl.web@gmail.com>
2721
2722 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2723 current buffer.
2724 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2725 LOCAL is nil.
2726
bc6494ef
CY
27272012-04-18 Chong Yidong <cyd@gnu.org>
2728
2729 * simple.el (line-move): Use forward-line if in batch mode
2730 (Bug#11053).
2731
c09c46b2
CS
27322012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2733
2734 * files.el (after-find-file): Do not try to add a final newline if
2735 the buffer is read-only (Bug#11156).
2736
5f6530ea
RS
27372012-04-17 Richard Stallman <rms@gnu.org>
2738
2739 * mail/rmail.el (rmail-start-mail):
2740 Pass (rmail-mail-return...) for the return-action.
2741 Pass (rmail-yank-current-message...) for the yank-action.
2742 (rmail-yank-current-message): New function.
2743 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2744 (rmail-reply): Likewise.
2745 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2746
2747 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2748 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2749 buffer, not newbuf.
2750
197b6f3c
JB
27512012-04-17 Juanma Barranquero <lekktu@gmail.com>
2752
2753 * server.el (server-ensure-safe-dir): Simplify.
2754
2311d8e5 27552012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2756
2311d8e5
GM
2757 * emacs-lisp/smie.el: Provide smarter auto-filling.
2758 (smie-auto-fill): New function.
2759 (smie-setup): Use it.
98fb480e 2760
2311d8e5
GM
2761 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2762
27632012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2764
2765 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2766 (comment-indent): Use it.
2767
2311d8e5 27682012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2769
2770 * ses.el: The overall change is to add cell renaming, that is
2771 setting fancy names for cell symbols other than name matching
2772 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2773 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2774 (ses-create-cell-variable): New defun.
2311d8e5 2775 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2776 (ses-relocate-formula): Relocate formulas only for cells the
2777 symbols of which are not renamed, i.e. symbols whose names do not
2778 match regexp "\\`[A-Z]+[0-9]+\\'".
2779 (ses-relocate-all): Relocate values only for cells the symbols of
2780 which are not renamed.
2781 (ses-load): Create cells variables as the (ses-cell ...) are read,
2782 in order to check row col consistency with cell symbol name only
2783 for cells that are not renamed.
2784 (ses-replace-name-in-formula): New defun.
2785 (ses-rename-cell): New defun.
4bdf2ad2 2786
fc72b15c
PO
27872012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2788
2789 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2790 New option (bug#11118).
2791 (perl-calculate-indent): Respect it.
2792
12e10e61
GM
27932012-04-17 Glenn Morris <rgm@gnu.org>
2794
2795 * dired-aux.el (dired-mark-read-string): Doc fix.
2796
30009afd
DA
27972012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2798
2799 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2800 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2801
41f03f4d
GM
28022012-04-17 Glenn Morris <rgm@gnu.org>
2803
2804 * mouse.el (mouse-drag-track):
2805 * speedbar.el (speedbar-frame-mode):
2806 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2807
f45f90f3
LL
28082012-04-16 Leo Liu <sdl.web@gmail.com>
2809
2810 * progmodes/python.el: Trivial cleanup.
2811
94ee8db5
GM
28122012-04-16 Glenn Morris <rgm@gnu.org>
2813
121b8917
GM
2814 * vc/vc.el (vc-string-prefix-p):
2815 * vc/pcvs-util.el (cvs-string-prefix-p):
2816 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2817 * mpc.el (mpc-string-prefix-p):
2818 Make all of these into obsolete aliases for string-prefix-p.
2819 Update callers.
2820 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2821
1197ecfa
GM
2822 * textmodes/two-column.el: Move custom options to the start.
2823 (frame-width): Remove compat definition.
2824 (2C-associate-buffer, 2C-dissociate):
2825 Use with-current-buffer rather than save-excursion.
2826 (2C-dissociate): Force a mode-line update.
2827 (2C-autoscroll): Use ignore-errors.
2828
099e7202
GM
2829 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2830 Autoload trivia.
2831
bf350d6a
GM
2832 * emacs-lisp/cl-extra.el (*random-state*):
2833 Remove unnecessary declaration.
2834
0e829eab
GM
2835 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2836
e3ad7552
GM
2837 * play/cookie1.el (cookie-snarf):
2838 Give an explicit error if input file cannot be read.
2839
68892d27
GM
2840 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2841
20f0c46d
GM
2842 * progmodes/perl-mode.el (c-macro-expand):
2843 Remove unnecessary autoload (it is in loaddefs.el).
2844
5a0978ce
GM
2845 * textmodes/picture.el (picture-desired-column)
2846 (picture-update-desired-column): Convert comments to doc-strings.
2847 (picture-substitute): Remove function.
2848 (picture-mode-map): Initialize in the defvar.
2849
6b955486
GM
2850 * woman.el: Remove eval-after-load for tar-mode.
2851 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2852 (woman-tar-extract-file): Autoload it.
2853
94ee8db5
GM
2854 * frame.el (automatic-hscrolling): Make this alias obsolete.
2855
177eca34
AM
28562012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2857
2858 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2859 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2860 (ispell-dictionary-base-alist): Revert to original XEmacs
2861 friendly version for default. [:alpha:] will be added in
2862 `ispell-set-spellchecker-params' if needed
177eca34 2863
c505aaeb
CY
28642012-04-16 Chong Yidong <cyd@gnu.org>
2865
2866 * image.el (imagemagick--extension-regexp): New variable.
2867 (imagemagick-register-types): Use it.
2868 (imagemagick-types-inhibit): Add :set function. Allow new value
2869 of t to inhibit all types.
2870
2871 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2872 so we can preload it.
2873
2874 * loadup.el (fboundp): Preload regexp-opt, needed by
2875 imagemagick-register-types.
2876
60efac0f
CY
28772012-04-15 Chong Yidong <cyd@gnu.org>
2878
2879 * frame.el (scrolling): Remove nearly unused customization group.
2880
2881 * scroll-all.el (scroll-all-mode): Move to windows group.
2882
5dd1713e
CY
28832012-04-15 Chong Yidong <cyd@gnu.org>
2884
2885 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2886
e6fd457e
CY
28872012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2888
2889 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2890 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2891
e153c136
GM
28922012-04-15 Glenn Morris <rgm@gnu.org>
2893
2894 * simple.el (process-file-side-effects): Doc fix.
2895
e6fd457e 28962012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2897
2898 * international/mule-cmds.el (set-language-environment): Doc fix.
2899
3603c3b1
JB
29002012-04-14 Juanma Barranquero <lekktu@gmail.com>
2901
2902 * server.el (server-auth-key, server-generate-key): Doc fixes.
2903 (server-get-auth-key): Doc fix. Use `string-match-p'.
2904 (server-start): Reflow docstring.
2905
e6de100c
LI
29062012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2907
2908 * server.el (server-generate-key): `called-interactively-p'
2909 requires a parameter.
2910
29734c21
MN
29112012-04-14 Michal Nazarewicz <mina86@mina86.com>
2912
2913 * server.el (server-auth-key): New variable.
75f1671a 2914 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2915 (server-start): Use the new variable and functions to allow
2916 setting a permanent server key (bug#9423).
2917
d65c9521
LL
29182012-04-14 Leo Liu <sdl.web@gmail.com>
2919
2920 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2921
5ae255c7
PE
29222012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2923
2924 Spelling fixes.
2925 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2926 Emacs uses American spelling.
2927
d5e6342e
JB
29282012-04-14 Juanma Barranquero <lekktu@gmail.com>
2929
2930 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2931 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2932 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2933 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2934
ab036cd7
SM
29352012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2936
2937 * progmodes/which-func.el (which-func-modes): Change default.
2938
35dc09a1 29392012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2940
2941 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2942 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2943
35dc09a1 29442012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2945
2946 * custom.el (custom-theme-set-variables): Doc fix.
2947
35dc09a1 29482012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2949
2950 * international/mule.el (set-auto-coding-for-load): Doc fix.
2951
35dc09a1 29522012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2953
35dc09a1
GM
2954 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2955 imenu work again for Objective C Mode. Correct the *-index values,
2956 these having been disturbed by a previous change in 2011-08.
57f845ee 2957
0de3da9f
AM
2958 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2959 Correct two search limits.
2960
35dc09a1 29612012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2962
2963 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2964
35dc09a1 29652012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
2966
2967 * international/characters.el: Fix sorting.
2968
35dc09a1 29692012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
2970
2971 * international/characters.el: Add more missing Latin case pairs.
2972
35dc09a1 29732012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
2974
2975 * files.el (dir-locals-set-class-variables): Doc fix.
2976
35dc09a1 29772012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 2978
3f1b5bf8
EZ
2979 * international/characters.el: Add set-case-syntax-pair call for
2980 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2981 counterpart. (Bug#11209)
2982
9f847f41
EZ
2983 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2984
35dc09a1 29852012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
2986
2987 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2988
35dc09a1 29892012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 2990
35dc09a1
GM
2991 * textmodes/ispell.el (ispell-dictionary-base-alist):
2992 Add data for Hebrew.
e2627d21 2993
35dc09a1 29942012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 2995
35dc09a1
GM
2996 * net/rcirc.el (rcirc-cmd-quit):
2997 Revert 2012-03-18 change (Bug#11192).
5c14e333 2998
35dc09a1 29992012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
3000
3001 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3002
35dc09a1 30032012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 3004
4517fe3a
SM
3005 * minibuffer.el (completion-in-region-mode-map):
3006 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 3007
b472a594
VD
30082012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3009
3010 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3011
09b95ce3
MY
30122012-04-13 Masatake YAMATO <yamato@redhat.com>
3013
3014 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3015 to allow `C-M-f' and `C-M-b' to move to the nearest path
3016 separator (bug#9511).
3017
4b63a9ca
LI
30182012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3019
3020 * avoid.el: Require cl when compiling. And also move the
3021 `provide' to the end.
3022
7b55b8bf
TV
30232012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3024
3025 * avoid.el (mouse-avoidance-banish-position): New variable.
3026 (mouse-avoidance-banish-destination): Use it (bug#10165).
3027
adedaa1f
LL
30282012-04-13 Leo Liu <sdl.web@gmail.com>
3029
3030 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3031
70e74021
KB
30322012-04-13 Ken Brown <kbrown@cornell.edu>
3033
3034 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 3035 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
3036 (browse-url-filename-alist): For the same reason, don't modify
3037 file:// URLs on Cygwin.
3038
e75e89ba
SM
30392012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3040
3041 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3042 the region on shift if the binding is already shifted (bug#11221).
3043
82f289a4
GM
30442012-04-12 Glenn Morris <rgm@gnu.org>
3045
3046 * mail/mailpost.el: Move to obsolete/.
3047
d333dc4c
DA
30482012-04-12 Drew Adams <drew.adams@oracle.com>
3049
3050 * imenu.el (imenu--generic-function): Ignore invisible definitions
3051 (bug#10123).
3052
0d15b5ba
VD
30532012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3054
3055 * hexl.el (hexl-bits): New variable.
3056 (hexl-options): Mention the variable in the doc string.
75f1671a 3057 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 3058 (hexl-mode): Mention the new variable.
75f1671a
JB
3059 (hexl-mode, hexl-current-address, hexl-current-address):
3060 Use the displen.
0d15b5ba
VD
3061 (hexl-ascii-start-column): New function.
3062 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3063 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3064
64a440db
AM
30652012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3066
3067 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3068 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3069 the encoding, as expected by hunspell.
3070
6decb6c2
SM
30712012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3072
3073 * battery.el (battery--linux-sysfs-regexp): New const.
3074 (battery-status-function): Use it. Remove yeeloong special case.
3075 (battery-yeeloong-sysfs): Remove.
3076 (battery-echo-area-format): Remove yeeloong special case.
3077
088be6fb
SM
30782012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3079
6622e416
SM
3080 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3081 Reported by Noah Friedman.
3082
088be6fb
SM
3083 * subr.el (read-passwd): Use read-string.
3084
b49f886e
LMI
30852012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3086
3087 * vcursor.el (vcursor-move): Increase the priority of the overlay
3088 (bug#9663).
3089
a63067fc
DD
30902012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3091
3092 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3093 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3094
ac3cf14a
WS
30952012-04-11 William Stevenson <yhvh2000@gmail.com>
3096
3097 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3098 define-minor-mode (bug#10760).
3099
c4fc691b 31002012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 3101
4d6769e1 3102 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
3103 that directories matching `grep-find-ignored-files' won't be
3104 pruned (bug#10351).
3105
af23e2e5
CY
31062012-04-11 Chong Yidong <cyd@gnu.org>
3107
3108 * startup.el (command-line): Remove support for long-obsolete
3109 variable font-lock-face-attributes.
3110
ab7ce8c1
GM
31112012-04-11 Glenn Morris <rgm@gnu.org>
3112
3113 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3114
de8c03dc
SM
31152012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3116
3117 * window.el (window--state-get-1): Obey window-point-insertion-type.
3118
050cc68b
LB
31192012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3120
3121 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3122 to previous function when point is on the first character of a
75f1671a 3123 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 3124
a38c310c
GM
31252012-04-11 Glenn Morris <rgm@gnu.org>
3126
effed0c2
GM
3127 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3128 not just file-errors.
3129
a38c310c
GM
3130 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3131 (vc-bzr-sha1): Use internal sha1.
3132
0221e323
SM
31332012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3134
3135 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3136
43956923
SG
31372012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3138
3139 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3140 that start in the middle of the line (bug#10496).
3141
6a8c9eaf
DN
31422012-04-10 Dan Nicolaescu <dann@gnu.org>
3143
3144 * battery.el (battery-linux-proc-acpi): Only one battery is
3145 discharged at a time, but that seems to confuse battery.el when
3146 computing `rate-type' for the battery not being discharged
3147 (bug#10332).
3148
1930bf5d
SM
31492012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3150
2a718f6f
SM
3151 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3152
599430d0
SM
3153 * international/quail.el: Use dolist and simplify.
3154 (quail-define-package, quail-update-keyboard-layout)
3155 (quail-define-rules): Use dolist.
3156 (quail-insert-kbd-layout, quail-get-translation): CSE.
3157
a2754b6c
SM
3158 * tmm.el: Use dolist, remove left over hook.
3159 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3160 Use dolist.
3161 (calendar-load-hook): Don't mess with it.
3162
1930bf5d
SM
3163 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3164 Use derived-mode-p. Run the diff asynchronously.
3165
9f67961c
LMI
31662012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3167
3168 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3169
2a8ce227
JB
31702012-04-10 Juanma Barranquero <lekktu@gmail.com>
3171
3172 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3173 (list-dynamic-libraries--loaded): New function.
3174 (list-dynamic-libraries--refresh): Use it.
3175
8f33b5f8
NW
31762012-04-10 Nathan Weizenbaum <nweiz@google.com>
3177
1930bf5d
SM
3178 * progmodes/python.el (python-fill-paragraph):
3179 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
3180 disabled (bug#7018).
3181
b12f0439
L
31822012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3183
1930bf5d 3184 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
3185 DOS/MS Windows for the Baltic languages. There are still plenty
3186 of texts written in this encoding/codepage (bug#6519).
b12f0439 3187
57c3bd01
GM
31882012-04-10 Glenn Morris <rgm@gnu.org>
3189
3190 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3191 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3192
6c3eab30
FA
31932012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3194
1930bf5d 3195 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
3196 next-line "n" and previous-line "p" in order to make recentf more
3197 consistent with ibuffer, dired or org-mode (bug#9387).
3198
24d78a88
LMI
31992012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3200
bc72b5d9
LMI
3201 * image.el (put-image): Return the overlay created instead of the
3202 optional input string (bug#7834). Note that this may break code
3203 that is (for some reason or other) depending on `put-image'
3204 returning the string.
3205
bd2dba5a
LMI
3206 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3207
74beb59f
LMI
3208 * simple.el (zap-to-char): Allow zapping using input methods
3209 (bug#1580).
3210
24d78a88
LMI
3211 * textmodes/fill.el (fill-region): Leave point and mark where they
3212 were before filling (bug#5399).
3213
263f20cd
GM
32142012-04-09 Glenn Morris <rgm@gnu.org>
3215
3216 * version.el (emacs-bzr-get-version):
3217 Handle lightweight checkouts of local branches.
3218
58d1f797
AS
32192012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3220
263f20cd 3221 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 3222
b4d3bc10
CY
32232012-04-09 Chong Yidong <cyd@gnu.org>
3224
3225 * custom.el (custom-variable-p): Return nil for non-symbol
3226 arguments instead of signaling an error.
3227 (user-variable-p): Obsolete alias for custom-variable-p.
3228
3229 * apropos.el (apropos-variable):
3230 * files-x.el (read-file-local-variable):
3231 * simple.el (set-variable):
3232 * woman.el (woman-mini-help):
3233 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3234
fd06db5d
GM
32352012-04-09 Glenn Morris <rgm@gnu.org>
3236
e5fcdb5e
GM
3237 * startup.el (normal-top-level): Don't look for leim-list.el
3238 in places where it will not be found. (Bug#910)
3239
fd06db5d
GM
3240 * international/mule-cmds.el (set-default-coding-systems):
3241 * files.el (normal-mode):
3242 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3243 This function was removed with ucs-tables.el in 2008.
3244
b39bb7e1
EZ
32452012-04-08 Eli Zaretskii <eliz@gnu.org>
3246
3247 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3248 ispell-encoding8-command to "-i", without a trailing space.
3249 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3250 separate command-line arguments, to specify the encoding, since
3251 that's how hunspell expects it.
3252
5c5b8e23
GM
32532012-04-08 Glenn Morris <rgm@gnu.org>
3254
3255 * loadup.el: Load bindings before cus-start.
3256 This reduces somewhat the number of "rogue" settings in emacs -Q.
3257
a1ed8b05
GM
32582012-04-07 Glenn Morris <rgm@gnu.org>
3259
3260 * version.el (emacs-bzr-get-version): New function.
dfae128a 3261 (emacs-bzr-version): New variable.
a1ed8b05
GM
3262 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3263 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3264
b142f158
EZ
32652012-04-07 Eli Zaretskii <eliz@gnu.org>
3266
dfae128a
GM
3267 * international/uni-bidi.el, international/uni-category.el:
3268 * international/uni-combining.el, international/uni-decimal.el:
3269 * international/uni-decomposition.el, international/uni-digit.el:
3270 * international/uni-lowercase.el, international/uni-mirrored.el:
3271 * international/uni-name.el, international/uni-numeric.el:
3272 * international/uni-titlecase.el, international/uni-uppercase.el:
3273 Update for Unicode 6.1.
b142f158 3274
9078ead6
EZ
32752012-04-07 Eli Zaretskii <eliz@gnu.org>
3276
3277 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3278
f23d2c7d
LMI
32792012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3280
3281 * window.el (shrink-window): Mention the `window-min-height'
3282 variable in the doc string.
3283
0a0a3573
BG
32842012-04-05 Bastien Guerry <bzg@altern.org>
3285
3286 * color.el (color-lighten-name): Fix typo.
3287
e5248ac9
SM
32882012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3289
3290 * server.el (server--on-display-p): New function.
3291 (server--on-display-p): Use it.
3292
b4243e22
GV
32932012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3294
3295 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3296 (bug#11145).
3297
305d9f44
SM
32982012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3299
3300 * comint.el (comint--common-quoted-suffix): Check string boundary
3301 before comparing (bug#11158).
3302 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3303
3d439cd1
CY
33042012-04-04 Chong Yidong <cyd@gnu.org>
3305
321cc491
CY
3306 * minibuffer.el (completion-extra-properties): Doc fix.
3307
3d439cd1
CY
3308 * subr.el (delayed-warnings-hook): Doc fix.
3309
2d562c0f
DU
33102012-04-04 Daiki Ueno <ueno@unixuser.org>
3311
3312 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3313 selection (Bug#11159).
3314 (epa-insert-keys): Inform that the default public key will be
3315 exported if no key is selected.
3316
4443f204
RS
33172012-04-04 Richard Stallman <rms@gnu.org>
3318
3319 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3320
529c06b6
CY
33212012-04-03 Chong Yidong <cyd@gnu.org>
3322
3323 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3324 mail-insert-file, not its obsolete alias mail-attach-file.
3325
66b907dc
MA
33262012-04-03 Michael Albinus <michael.albinus@gmx.de>
3327
3328 * notifications.el (notifications-notify): Fix docstring.
3329
c0ea195d
GM
33302012-04-02 Glenn Morris <rgm@gnu.org>
3331
3332 * emacs-lisp/authors.el (authors-aliases): Another addition.
3333
5ca64e00
MA
33342012-04-02 Michael Albinus <michael.albinus@gmx.de>
3335
3336 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3337 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3338 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3339
42ee526b
CY
33402012-04-01 Chong Yidong <cyd@gnu.org>
3341
3342 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3343 Handle root directory properly.
3344 (copy-directory): Caller changed.
3345
3346 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3347 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3348
0b021094
GM
33492012-03-31 Glenn Morris <rgm@gnu.org>
3350
40f86458
GM
3351 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3352
7019c177
GM
3353 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3354
a1daddd6
GM
3355 * calendar/calendar.el (calendar-window-list)
3356 (calendar-hide-window): Restore. (Bug#11140)
3357 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3358
0b021094
GM
3359 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3360
40311efc
TV
33612012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3362
3363 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3364 Check if file is a symlink (Bug#10489).
3365
3366 * files.el (copy-directory): Likewise.
3367
5319014e
CY
33682012-03-30 Chong Yidong <cyd@gnu.org>
3369
3370 * image.el (imagemagick-types-inhibit)
3371 (imagemagick-register-types): Doc fix.
3372
935d1290
AM
33732012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3374
ef24141c
SM
3375 * ispell.el (ispell-get-extended-character-mode):
3376 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3377 and treats ~word as ordinary words in pipe mode.
935d1290 3378
61c6e8fd
GM
33792012-03-30 Glenn Morris <rgm@gnu.org>
3380
3381 * tutorial.el (help-with-tutorial): Ensure local variables don't
3382 happen to make the buffer read-only. (Bug#11127)
3383
81fdff00
SM
33842012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3385
3386 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3387 (perl-calculate-indent): Return `noindent' in strings.
3388
6e7a6ec0
SS
33892012-03-28 Sam Steingold <sds@gnu.org>
3390
3391 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3392 instead of the broken adhockery which does not prevent calendar
3393 buffers from being displayed at random after exit.
3394 (calendar-window-list, calendar-hide-window): Remove the broken
3395 adhockery.
3396
fee88ca0
GM
33972012-03-28 Glenn Morris <rgm@gnu.org>
3398
3399 * replace.el (query-replace-map): Doc fix.
3400
38de3354
AS
34012012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3402
3403 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3404 contents. (Bug#11109)
3405
b973155e
SM
34062012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3407
3408 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3409 (bug#11077).
3410 (avl-tree--check, avl-tree--check-node): New funs.
3411
dcb6e7b3
MR
34122012-03-27 Martin Rudalics <rudalics@gmx.at>
3413
3414 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3415 (switch-to-prev-buffer, switch-to-next-buffer):
3416 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3417 showing a buffer already is done on the same frame.
3418
b4fa35fa
GM
34192012-03-27 Glenn Morris <rgm@gnu.org>
3420
3421 * startup.el (mail-host-address): Doc fix.
3422
f9210e18
SM
34232012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3424
3425 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3426 than 197 variables.
3427
c0bf7753
AF
34282012-03-26 Ami Fischman <ami@fischman.org>
3429
3430 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3431
33da7b16
GM
34322012-03-26 Glenn Morris <rgm@gnu.org>
3433
02243d9d
GM
3434 * files.el (save-buffers-kill-emacs): Doc fix.
3435
33da7b16
GM
3436 * startup.el (normal-top-level, command-line, command-line-1):
3437 Give them doc strings.
3438
e5a69fd0
EZ
34392012-03-25 Eli Zaretskii <eliz@gnu.org>
3440
3441 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3442 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3443
9a69676a
CY
34442012-03-25 Chong Yidong <cyd@gnu.org>
3445
4125cb8b
CY
3446 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3447 theme if it was previously enabled before (Bug#11031).
3448
dd470960
CY
3449 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3450 spec with custom-face-get-current-spec if its :shown-value is not
3451 determined yet (Bug#9337).
4125cb8b 3452 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3453
9a69676a
CY
3454 * button.el (button-at): Minor addition to docstring.
3455
6e7e90fa
SL
34562012-03-24 Simon Leinen <simon.leinen@gmail.com>
3457
3458 * vc/vc.el (vc-merge): Fix a prompt.
3459
f06e2758
CY
34602012-03-24 Chong Yidong <cyd@gnu.org>
3461
3462 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3463 point (Bug#9623).
3464
6e7e90fa
SL
3465 * button.el (button-at): Minor addition to docstring.
3466
b9d0879b
SM
34672012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3468
3469 * newcomment.el (comment-choose-indent): No space after BOL.
3470
e71cebb3
SS
34712012-03-22 Sam Steingold <sds@gnu.org>
3472
3473 * window.el (switch-to-prev-buffer): Revert last patch because the
3474 bug turned out to be an advertised feature (Elisp manual 28.14).
3475
335aff35
GM
34762012-03-22 Glenn Morris <rgm@gnu.org>
3477
3478 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3479 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3480
c676576a
LMI
34812012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3482
3483 * net/network-stream.el (network-stream-open-starttls): Make error
3484 message under Windows be less misleading.
3485
126f3d39
LW
34862012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3487
3488 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3489 understands (bug#9942).
3490
64fee311
CY
34912012-03-22 Chong Yidong <cyd@gnu.org>
3492
3493 * simple.el (end-of-visible-line): Handle return value of
3494 next-single-property-change properly (Bug#9371).
3495
a640d29a
KH
34962012-03-22 Kenichi Handa <handa@m17n.org>
3497
3498 * international/quail.el (quail-insert-kbd-layout): Fix previous
3499 change. To avoid unwanted bidi reordering, use
3500 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3501
39675016
DG
35022012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3503
3504 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3505 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3506 (ruby-beginning-of-indent): Be more careful with the difference
3507 between word-boundary and symbol boundary.
3508 (ruby-mode-syntax-table): Make : a symbol constituent.
3509
0a6934fc 35102012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3511
3d008e4f
SM
3512 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3513
0a6934fc
SM
35142012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3515
af67c9d7
SM
3516 * progmodes/etags.el (tags-completion-at-point-function):
3517 Improve last fix.
3518
1acad97c
SM
3519 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3520
e298b5da
SS
35212012-03-21 Sam Steingold <sds@gnu.org>
3522
3523 * progmodes/etags.el (tags-completion-at-point-function):
3524 Avoid the error when point is inside the pattern.
3525
91d82a70
JY
35262012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3527
3528 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3529 line (Bug#10855).
3530
69188b79
CY
35312012-03-21 Drew Adams <drew.adams@oracle.com>
3532
3533 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3534
99fc91fe
AK
35352012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3536
3537 * ido.el (ido-set-current-directory, ido-read-internal)
3538 (ido-choose-completion-string, ido-completion-help): Handle nil
3539 value of ido-completion-buffer (Bug#11008).
3540
087bbb4c
SS
35412012-03-21 Sam Steingold <sds@gnu.org>
3542
3543 * window.el (switch-to-prev-buffer): Do not switch to a visible
3544 window previous buffer, just like with the frame previous buffers.
3545
fb5b8aca
CY
35462012-03-21 Chong Yidong <cyd@gnu.org>
3547
3548 * faces.el (make-face, make-empty-face, copy-face):
3549 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3550 Doc fixes.
3551
dc9924b8
SM
35522012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3553
3554 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3555 (widget-complete): Remove broken use of it.
3556
f0bcceb9
CY
35572012-03-20 Chong Yidong <cyd@gnu.org>
3558
dc9924b8
SM
3559 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3560 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3561 characters.
3562
ee52ebf3
TH
35632012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3564
3565 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3566 to draw rectangles, not squares. (Regression introduced by revno
3567 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3568
4c5779ab
CY
35692012-03-18 Chong Yidong <cyd@gnu.org>
3570
3571 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3572 it is not yet defined (for temacs).
3573
15360934
LL
35742012-03-18 Leo Liu <sdl.web@gmail.com>
3575
dc9924b8 3576 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3577
d9a8eb66
EZ
35782012-03-17 Eli Zaretskii <eliz@gnu.org>
3579
3580 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3581 (ispell-choices-win-default-height, ispell-silently-savep)
3582 (ispell-dictionary-alist, ispell-encoding8-command)
3583 (ispell-check-version, ispell-aspell-find-dictionary)
3584 (ispell-valid-dictionary-list, ispell-words-keyword)
3585 (ispell-get-word, ispell-internal-change-dictionary)
3586 (ispell-region, ispell-skip-region-list)
3587 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3588 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3589 (ispell-message-text-end, ispell-message)
3590 (ispell-buffer-local-parsing): Doc fix.
3591
f02ff80d
J
35922012-03-13 Jambunathan K <kjambunathan@gmail.com>
3593
3594 * htmlfontify.el: Add support for code block fontification for ODT
3595 export (Bug #9914).
3596 (hfy-optimisations): Define new option
3597 `body-text-only'
3598 (hfy-fontify-buffer): Honor above setting.
3599 (hfy-begin-span, hfy-end-span): New routines factored out form
3600 `hfy-fontify-buffer'.
3601 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3602 that permit insertion of custom tags.
3603 (hfy-fontify-buffer): Use above handlers.
3604 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3605 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3606 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3607 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3608 bind a special variable `hfy-user-sheet-assoc'.
3609 (htmlfontify-string): New defun.
3610 (hfy-compile-face-map): Make sure that the last char in the
3611 buffer is correctly fontified.
3612 (hfy-face-resolve-face): Whitespace only change.
3613
9ac7a13f
EZ
36142012-03-17 Eli Zaretskii <eliz@gnu.org>
3615
3616 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3617 message more clear.
3618
e2b5bdd7
LL
36192012-03-16 Leo Liu <sdl.web@gmail.com>
3620
3621 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3622
2e492df3
AM
36232012-03-16 Alan Mackenzie <acm@muc.de>
3624
3625 Further optimise the handling of large macros.
3626
3627 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3628 limit to a call of `c-literal-limits'.
3629 (c-determine-+ve-limit): New function.
dc9924b8
SM
3630 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3631 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3632 In CASE 5B, restrict a search limit to 500.
3633 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3634
3635 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3636 Restrict macro bounds to +-500 from after-change's BEG END.
3637
50e94f0c
LL
36382012-03-16 Leo Liu <sdl.web@gmail.com>
3639
3640 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3641
6f09f6ed
AH
36422012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3643
3644 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3645 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3646
c7e73d51
GM
36472012-03-16 Glenn Morris <rgm@gnu.org>
3648
da986230
GM
3649 * view.el (view-buffer, view-buffer-other-window)
3650 (view-buffer-other-frame): Doc fixes re special mode-class.
3651
0835f01e
GM
3652 * subr.el (eval-after-load): If named feature is provided not from
3653 a file, run after-load forms. (Bug#10946)
3654
c7e73d51
GM
3655 * calendar/calendar.el (calendar-insert-at-column):
3656 Handle non-unit-width characters a bit better. (Bug#10978)
3657
3f2eafd1
CY
36582012-03-15 Chong Yidong <cyd@gnu.org>
3659
3660 * emacs-lisp/ring.el (ring-extend): New function.
3661 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3662
3663 * comint.el (comint-read-input-ring)
3664 (comint-add-to-input-history): Grow comint-input-ring lazily.
3665
103af3fe
SM
36662012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3667
663b1677
SM
3668 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3669 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3670
103af3fe
SM
3671 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3672 (imenu-add-to-menubar): Don't add a redundant index.
3673 (imenu-update-menubar): Handle a dynamically composed keymap.
3674
899cb7cb
KY
36752012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3676
3677 * mail/sendmail.el (mail-encode-header):
3678 Bind rfc2047-encode-encoded-words to nil.
3679
3809f91d
GM
36802012-03-13 Glenn Morris <rgm@gnu.org>
3681
3682 * calendar/calendar.el (calendar-string-spread):
3683 Handle non-unit-width characters a bit better. (Bug#10978)
3684
9e345a01
LL
36852012-03-13 Leo Liu <sdl.web@gmail.com>
3686
3687 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3688 directory and file as argument (Bug#10822).
3689
4a07df36
KS
36902012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3691
3692 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3693 For dynamically generated code, follow $PC.
3694 (gdb-disassembly-handler-custom): Handle no function name case.
3695
4aaa9356
TL
36962012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3697
3698 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3699 * emulation/ws-mode.el (ws-query-replace):
3700 * sort.el (sort-regexp-fields):
3701 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3702
225979da
SM
37032012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3704
3705 * dabbrev.el: Fix cycle completion order (bug#10963).
3706 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3707 (dabbrev-completion): Don't use an obarray; provide
3708 a cycle-sort-function.
3709
e2f1fdab
LL
37102012-03-12 Leo Liu <sdl.web@gmail.com>
3711
dc9924b8 3712 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3713 (kill-do-not-save-duplicates): Doc fix.
3714
b19490ed
SM
37152012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3716
3717 * dabbrev.el: Fix cycle completion (bug#10963).
3718 Use lexical binding and wrap to 80 columns.
3719 (dabbrev-completion): Delay computing the list of completions.
3720
4b05d722
KH
37212012-03-12 Kenichi Handa <handa@m17n.org>
3722
3723 * international/quail.el (quail-insert-kbd-layout): Surround each
3724 row by LRO and PDF instead of inserting many LRMs. Pad the left
3725 and right of each non-spacing marks. Insert invisible space
3726 between lower and upper characters to prevent composition.
3727
dbbc2e69
SM
37282012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3729
3730 * minibuffer.el (minibuffer-complete): Don't get confused when the
3731 function is run twice via different commands (bug#10958).
3732 (complete-with-action): Fix docstring.
3733
292112ed
CY
37342012-03-12 Chong Yidong <cyd@gnu.org>
3735
5d1ac394
CY
3736 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3737 (nxml-completion-at-point-function): New function.
3738 (nxml-mode): Use it.
3739 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3740
292112ed
CY
3741 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3742 Load generated autoloads file before byte compiling (Bug#10970).
3743 (package--make-autoloads-and-compile): New helper fun.
3744
4098f8f7
CS
37452012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3746
3747 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3748
8f754691
MA
37492012-03-11 Michael Albinus <michael.albinus@gmx.de>
3750
3751 * autorevert.el (auto-revert-handler): Ensure, that
3752 file-readable-p is applied only for local files or in
3753 auto-revert-tail-mode.
3754
e29ab36b
AS
37552012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3756
dbbc2e69
SM
3757 * server.el (server-eval-at): Handle non-tcp connections.
3758 Decode result string.
ad0bf5b6 3759
e29ab36b
AS
3760 * server.el (server-msg-size): New constant.
3761 (server-reply-print): New function.
3762 (server-eval-and-print): Use it.
3763 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3764 Handle -print-nonl.
3765
de5939ba
CS
37662012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3767
3768 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3769 (Bug#10987).
3770
0c93eabf
CY
37712012-03-11 Chong Yidong <cyd@gnu.org>
3772
397a688f
CY
3773 * simple.el (goto-line): Doc fix (Bug#9938).
3774
2cc775f9
CY
3775 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3776
0c93eabf
CY
3777 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3778 when finished (Bug#10963).
3779
c491fa41
MR
37802012-03-11 Martin Rudalics <rudalics@gmx.at>
3781
3782 * window.el (split-window-below): Fix bug in case where
3783 split-window-keep-point is nil (Bug#10971).
3784
300e8fa5
JL
37852012-03-11 Juri Linkov <juri@jurta.org>
3786
3787 * replace.el (replace-highlight): Set isearch-word to nil
3788 unconditionally. (Bug#10887)
3789
dbf6c5a1
EZ
37902012-03-10 Eli Zaretskii <eliz@gnu.org>
3791
3792 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3793 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3794 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3795 (mairix-widget-create-query): Add usage information about mairix
3796 search forms: negating words, searching for substrings, etc.
3797
b9e501de
JP
37982012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3799
3800 * international/fontset.el (font-encoding-alist): Add an entry for
3801 ksx1001 (Bug#5667).
3802
92795c91
RS
38032012-03-10 Richard Stallman <rms@gnu.org>
3804
1694e6c1
RS
3805 * mail/sendmail.el (mail-encode-header):
3806 Set rfc2047-encode-encoded-words.
3807
607e8555
RS
3808 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3809
de3bc99a
RS
3810 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3811 view buffer means not swapped.
3812 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3813 (rmail-write-region-annotate): Error if real text has disappeared.
3814
92795c91
RS
3815 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3816
699bd04e
CY
38172012-03-10 Chong Yidong <cyd@gnu.org>
3818
3819 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3820 * emulation/cua-base.el (cua--init-keymaps):
3821 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3822
570a1714
MR
38232012-03-10 Martin Rudalics <rudalics@gmx.at>
3824
dbbc2e69
SM
3825 * speedbar.el (speedbar-unhighlight-one-tag-line):
3826 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3827
82dcf4e4
CY
38282012-03-10 Chong Yidong <cyd@gnu.org>
3829
7a2c7ca7
CY
3830 * minibuffer.el (completion-in-region, completion-help-at-point):
3831 Give the completion field overlay a high priority (Bug#6830).
3832
82dcf4e4
CY
3833 * dired.el (dired-goto-file): Recognize absolute file name
3834 listings (Bug#7126).
3835 (dired-goto-file-1): New helper function.
3836 (dired-toggle-read-only): Inhibit warnings.
3837
052e28ac
MA
38382012-03-09 Michael Albinus <michael.albinus@gmx.de>
3839
75f1671a 3840 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3841 there are no properties.
3842
95d5e396
LL
38432012-03-09 Leo Liu <sdl.web@gmail.com>
3844
3845 * savehist.el (savehist-printable): Stricter check for string
3846 value (Bug#10937).
3847
3f018d6d
EZ
38482012-03-09 Eli Zaretskii <eliz@gnu.org>
3849
dbbc2e69
SM
3850 * mail/smtpmail.el (smtpmail-send-it):
3851 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3852 valid mbox format.
3853
f7fd3d79
GM
38542012-03-09 Glenn Morris <rgm@gnu.org>
3855
3856 * files.el (dir-locals-find-file):
3857 Don't check result is regular, readable.
3858 (dir-locals-read-from-file): Demote errors.
3859
6ff6e72f
EZ
38602012-03-08 Eli Zaretskii <eliz@gnu.org>
3861
dbbc2e69
SM
3862 * international/quail.el (quail-insert-kbd-layout):
3863 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3864 layout cell, to prevent their reordering by bidi display engine.
3865 For details, see the discussion in
3866 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3867
9cec7834
AM
38682012-03-08 Alan Mackenzie <acm@muc.de>
3869
3870 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3871 the starting position; make it extend the marked region when
3872 invoked repeatedly - all under appropriate circumstances.
3873 Fixes bugs #5525, #10906.
3874
9a40b8d4
GM
38752012-03-08 Glenn Morris <rgm@gnu.org>
3876
3877 * files.el (locate-dominating-file, dir-locals-find-file):
3878 Undo 2012-03-06 change.
3879
7a08ed35
EZ
38802012-03-07 Eli Zaretskii <eliz@gnu.org>
3881
dbbc2e69
SM
3882 * international/quail.el (quail-help):
3883 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3884 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3885 for the reason.
3886
5aca4f71 38872012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3888
3889 Avoid superfluous registering of signals. (Bug#10807)
3890
3891 * notifications.el (notifications-on-action-object)
3892 (notifications-on-close-object): New defvars.
3893 (notifications-on-action-signal, notifications-on-closed-signal):
3894 Unregister the signal if not needed any longer.
3895 (notifications-notify): Register `notifications-action-signal' or
3896 `notifications-closed-signal', if :on-action or :on-close has been
3897 passed as argument.
3898
78e8b10a
CY
38992012-03-07 Chong Yidong <cyd@gnu.org>
3900
3901 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3902 non-X platforms.
3903
69481eb8
GM
39042012-03-06 Glenn Morris <rgm@gnu.org>
3905
3906 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3907 (x-disown-selection-internal, x-get-selection-internal):
3908 Doc fix (add arglist signatures). (Bug#10783)
3909
133b8e11
KS
39102012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3911
3912 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3913 Handle breakpoints with no "type".
3914
99a83064
GM
39152012-03-06 Glenn Morris <rgm@gnu.org>
3916
3917 * files.el (locate-dominating-file): Add optional predicate argument.
3918 (dir-locals-find-file): Make use of above change.
3919
17798e78
TTN
39202012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3921
3922 * info.el (Info-insert-dir): Also try "dir.gz".
3923
eb182446
GM
39242012-03-06 Glenn Morris <rgm@gnu.org>
3925
8f2114ee
GM
3926 * files.el (dir-locals-find-file):
3927 Ignore non-readable or non-regular files. (Bug#10928)
3928
eb182446
GM
3929 * files.el (locate-dominating-file): Doc fix.
3930
24679323
AS
39312012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3932
3933 * calendar/calendar.el (calendar-set-mode-line):
3934 `getenv' returns a string. (Bug#10951)
3935
01d972a9
LL
39362012-03-05 Leo Liu <sdl.web@gmail.com>
3937
109aa8a9
LL
3938 * simple.el (backward-delete-char-untabify): Constrain point to
3939 field (Bug#10939).
3940
01d972a9
LL
3941 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3942
10607bea
CY
39432012-03-05 Chong Yidong <cyd@gnu.org>
3944
3945 * simple.el (count-words): If called from Lisp, return the word
3946 count, for symmetry with `count-lines'. Arglist changed.
3947 (count-words--message): Args changed. Consolidate counting code
3948 from count-words and count-words-region.
3949 (count-words-region): Caller changed.
3950 (count-lines-region): Make it an obsolete alias.
3951
5dd11cfe
TH
39522012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3953
3954 * saveplace.el (save-place-to-alist)
3955 (save-place-ignore-files-regexp): Allow value nil to disable this
3956 feature.
3957
c349f4e6
CY
39582012-03-04 Chong Yidong <cyd@gnu.org>
3959
3960 * faces.el (face-spec-reset-face): For the default face, reset the
3961 attributes to default values (Bug#10748).
3962
e627be4c
LMI
39632012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3964
3965 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3966 previous patch: Check `message-send-mail-function', and not the
3967 default function (bug#10897).
3968
ebeabff4
MA
39692012-03-04 Michael Albinus <michael.albinus@gmx.de>
3970
a41a6cf4
MA
3971 * notifications.el (notifications-on-action-signal)
3972 (notifications-on-closed-signal): Check for unique service name of
3973 incoming event. Fix error in removing entry.
ebeabff4 3974 (top): Register for signals with wildcard service name.
a41a6cf4 3975 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 3976
c1ca42b4
CY
39772012-03-04 Chong Yidong <cyd@gnu.org>
3978
dc9924b8 3979 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 3980
ea16568d
GM
39812012-03-04 Glenn Morris <rgm@gnu.org>
3982
3983 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3984 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3985 (expand-abbrev, define-abbrev-table): Doc fixes.
3986
fbae4637
LMI
39872012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3988
3989 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3990 `message-default-send-mail-function' and not `send-mail-function'
3991 when doing the prompting for `sendmail-query-once' before sending
3992 in Message buffers (bug#10897).
3993
a1e7225c
LMI
3994 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3995 This is inconsistent with all the other stream functions, which leave
3996 the setting up to the higher levels (if so wanted) (bug#10931).
3997
56d093a9
AM
39982012-03-02 Alan Mackenzie <acm@muc.de>
3999
4000 Depessimize the handling of very large macros.
4001
4002 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4003 (c-macro-cache-syntactic): New variables to implement a one
4004 element macro cache.
4005 (c-invalidate-macro-cache): New function.
4006 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4007 Adapt to use the new cache.
4008 (c-state-safe-place): Use better the cache of safe positions.
4009 (c-state-semi-nonlit-pos-cache)
4010 (c-state-semi-nonlit-pos-cache-limit):
4011 New variables for...
4012 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4013 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
4014 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4015 Use c-state-semi-safe-place.
56d093a9 4016
dbbc2e69
SM
4017 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4018 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 4019
817e5c3d
MA
40202012-03-02 Michael Albinus <michael.albinus@gmx.de>
4021
dbbc2e69
SM
4022 * jka-compr.el (jka-compr-call-process):
4023 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
4024 not remote.
4025
a032a702
MA
40262012-03-01 Michael Albinus <michael.albinus@gmx.de>
4027
4028 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4029 access of FILE2, if FILE1 does not exist.
4030
99a54f21
MA
4031 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4032 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4033
4034 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4035 Add "PAGER=" to `process-environment'.
4036
f6561e1f
MM
40372012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4038
4039 * progmodes/sql.el: Bug fix
4040 (sql-get-login-ext): Save login values in globals.
4041 (sql-get-login): Use new version of `sql-get-login-ext'.
4042 (sql-interactive-mode): Set global `sql-connection' to nil.
4043 (sql-connect): Set global values for connection.
4044 (sql-product-interactive): Save global values as buffer local.
4045
2d44d9cc
LL
40462012-02-29 Leo Liu <sdl.web@gmail.com>
4047
4048 * abbrev.el (define-abbrevs): Reset sys to nil.
4049
96b49301 40502012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4051
bf7f9bc5
JB
4052 * files.el (file-equal-p): Rename from `files-equal-p'.
4053 Return nil when one or both files don't exist.
96b49301 4054 (file-subdir-of-p): Now only top directory must exists,
4055 return nil if it doesn't.
bf7f9bc5
JB
4056 (copy-directory): No need to test with `file-subdir-of-p' after
4057 creating dir.
4058 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4059 to `file-equal-p'.
96b49301 4060
44e97401
GM
40612012-02-28 Glenn Morris <rgm@gnu.org>
4062
4063 * shell.el (shell-mode):
4064 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4065 * play/landmark.el (landmark-font-lock-face-O):
4066 * play/handwrite.el (handwrite):
4067 * play/gomoku.el (gomoku-O):
4068 * net/browse-url.el (browse-url-browser-display):
4069 * international/mule.el (define-charset):
4070 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4071 * filesets.el (filesets-find-file-delay):
4072 * eshell/em-xtra.el (eshell-xtra):
4073 * eshell/em-unix.el (eshell-grep):
4074 * emulation/viper.el (viper-mode):
4075 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4076 * emacs-lisp/easymenu.el (easy-menu-define):
4077 * calendar/timeclock.el (timeclock-use-display-time):
4078 * bs.el (bs-mode):
4079 * bookmark.el (bookmark-save-flag):
4080 Doc fix (standardize possessive apostrophe usage).
4081
c98c6276
CY
40822012-02-27 Chong Yidong <cyd@gnu.org>
4083
bf7f9bc5
JB
4084 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4085 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 4086
c98c6276
CY
4087 * font-lock.el (font-lock-specified-p): Rename from
4088 font-lock-spec-present. Callers changed.
4089
9c62cd04 40902012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 4091
bf7f9bc5
JB
4092 * emacs-lisp/package.el (package-compute-transaction):
4093 Handle holding a package version to t in package-load-list.
8ac9e529 4094
530739c9
MA
40952012-02-26 Michael Albinus <michael.albinus@gmx.de>
4096
4097 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4098 (tramp-get-inode, tramp-get-device): Use cached values.
4099
487915d7
AM
41002012-02-26 Alan Mackenzie <acm@muc.de>
4101
4102 Check there is a font-lock specification before doing initial
4103 fontification.
4104
4105 * font-core.el (font-lock-mode): Move the conditional from
4106 :after-hook to font-lock-initial-fontify.
4107 (font-lock-default-function): Move the check for a specification
4108 to font-lock-spec-present.
4109
dc9924b8 4110 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
4111 (font-lock-spec-present): New function.
4112
4fd96557
JB
41132012-02-26 Jim Blandy <jimb@red-bean.com>
4114
4115 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4116 (gdb-send): Apply it to the operand of the '-interpreter-exec
4117 console' command, so that we can pass arguments with (say) quotes
4118 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4119
9a4888c0
CY
41202012-02-26 Chong Yidong <cyd@gnu.org>
4121
07498861
CY
4122 * help-fns.el (describe-function-1): Clarify description of
4123 remapping (Bug#10844).
4124
9a4888c0
CY
4125 * files.el (files-equal-p): Doc fix.
4126 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4127 and quit the loop once a mismatch is found.
4128
ea8fb88d
JB
41292012-02-25 Juanma Barranquero <lekktu@gmail.com>
4130
4131 * bs.el (bs--show-with-configuration): Don't throw an error
4132 if the window cannot be split; otherwise, subsequent calls to
4133 bs-show fail, restoring a stale window config. (Bug#10882)
4134
525795c1
JD
41352012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4136
4137 * term/ns-win.el (global-map): Bind ns-drag-file to
4138 ns-find-file (Bug#5855, Bug#10050).
4139
f008086f
AS
41402012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4141
4142 * calendar/parse-time.el (parse-time-string): Allow extractor to
4143 return nil.
4144
a3fcfa99
MA
41452012-02-25 Michael Albinus <michael.albinus@gmx.de>
4146
91027d08
JB
4147 * net/tramp.el (tramp-file-name-for-operation):
4148 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
4149
4150 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
4151 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4152 Add COPY-CONTENTS argument.
a3fcfa99 4153
67b0de11
CY
41542012-02-25 Chong Yidong <cyd@gnu.org>
4155
4156 Add custom groups for VC backends, for consistency with vc-bzr.
4157
4158 * vc/vc-arch.el (vc-arch):
4159 * vc/vc-cvs.el (vc-cvs):
4160 * vc/vc-git.el (vc-git):
4161 * vc/vc-hg.el (vc-hg):
4162 * vc/vc-mtn.el (vc-mtn):
4163 * vc/vc-rcs.el (vc-rcs):
4164 * vc/vc-sccs.el (vc-sccs):
4165 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4166 All relevant defcustoms reassigned.
4167
3c9dfce6
CY
41682012-02-25 Chong Yidong <cyd@gnu.org>
4169
1339bf43
CY
4170 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4171
3c9dfce6
CY
4172 * term/x-win.el (x-initialize-window-system): Reduce default for
4173 x-selection-timeout to 5 seconds (Bug#8869).
4174
25b2e303 41752012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4176
ec70a47d
GM
4177 * files.el (files-equal-p, file-subdir-of-p): New functions.
4178 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 4179 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
4180 * dired-aux.el (dired-copy-file-recursive): Same.
4181 (dired-create-files): Modify destination when source is equal to
4182 dest when copying files.
53a46cd0 4183 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 4184
914260cd
MA
41852012-02-24 Michael Albinus <michael.albinus@gmx.de>
4186
4187 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4188 (Bug#10874)
4189
2cb228f7
AM
41902012-02-23 Alan Mackenzie <acm@muc.de>
4191
4192 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4193 parameter "after-hook:" to allow the expansion to run code after
4194 the execution of the mode hooks.
4195
4196 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 4197 from font-lock-mode-internal.
2cb228f7 4198
91027d08 4199 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
4200 :after-hook.
4201
8f0fde21
SM
42022012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4203
3e88618b
SM
4204 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4205 (completion--cache-all-sorted-completions): New function.
4206 (completion-all-sorted-completions): Use it.
4207 (completion--do-completion, minibuffer-force-complete):
4208 Use it to re-instate the flush hook.
4209
8f0fde21
SM
4210 * icomplete.el (icomplete-completions): Replace last fix with a better
4211 one (bug#10850).
4212
8e911f6f
DG
42132012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4214
4215 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4216 when it might call us back infinitely (bug#10797).
4217
49fe4321
GM
42182012-02-23 Glenn Morris <rgm@gnu.org>
4219
4220 * minibuffer.el (completion-category-overrides): Doc fix.
4221
b291b572
SM
42222012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4223
4224 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4225 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4226
31a9ef2e
GM
42272012-02-23 Glenn Morris <rgm@gnu.org>
4228
5e6e6794 4229 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4230 (authors-obsolete-files-regexps, authors-ignored-files)
4231 (authors-ambiguous-files, authors-renamed-files-alist):
4232 Add more entries.
4233
0bd1e074
JL
42342012-02-23 Juri Linkov <juri@jurta.org>
4235
4236 * isearch.el (isearch-occur): Sync interactive spec with occur's
4237 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4238
b617673c
JL
4239 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4240
19e9789e
JL
42412012-02-22 Juri Linkov <juri@jurta.org>
4242
4243 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4244 (ucs-insert): Doc fix. Check for hex digits in the string.
4245 Don't display `nil' in the error message. (Bug#10857)
4246
f41ce09d
AM
42472012-02-22 Alan Mackenzie <acm@muc.de>
4248
7a71b18d 4249 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4250
ac2eceee
GM
42512012-02-22 Glenn Morris <rgm@gnu.org>
4252
4253 * ffap.el (ffap-c-path):
4254 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4255
abd1f678
CY
42562012-02-22 Chong Yidong <cyd@gnu.org>
4257
4258 * custom.el (load-theme): Doc fix.
4259
f25aef2e
GM
42602012-02-22 Glenn Morris <rgm@gnu.org>
4261
4262 * dired-x.el (dired-guess-shell-alist-default):
4263 Remove escape sequences from nroff output. (Bug#172)
4264
5f8dc2ca
GM
42652012-02-21 Glenn Morris <rgm@gnu.org>
4266
6ff86ec4
GM
4267 * vc/emerge.el (emerge-defvar-local):
4268 Set `permanent-local' property rather than unused `preserved'.
4269
be3223a3 4270 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4271 (picture-mode-map): Use it. (Bug#10860)
4272 (picture-mode): Doc fix.
4273
3fe58f4f
JB
42742012-02-21 Juanma Barranquero <lekktu@gmail.com>
4275
4276 * newcomment.el (uncomment-region-default): Remove unused binding.
4277
f9a998c3
GM
42782012-02-21 Glenn Morris <rgm@gnu.org>
4279
4280 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4281 (picture-self-insert, picture-tab-chars): Doc fix.
4282 (picture-mode-map): Fix C-a, C-e.
4283
c6029348
GM
42842012-02-20 Glenn Morris <rgm@gnu.org>
4285
4286 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4287
ab1ce9d7
LL
42882012-02-20 Leo Liu <sdl.web@gmail.com>
4289
4290 * icomplete.el (icomplete-completions): Check FROM arg before
4291 passing to substring (Bug#10850).
4292
0fd40f89
CY
42932012-02-19 Chong Yidong <cyd@gnu.org>
4294
4295 * comint.el: Require ansi-color.
4296 (comint-output-filter-functions): Add ansi-color-process-output.
4297
4298 * ansi-color.el: Don't set comint-output-filter-functions; it is
4299 now in the initial value defined in comint.el.
4300 (ansi-color-apply-face-function): New variable.
4301 (ansi-color-apply-on-region): Use it.
4302 (ansi-color-apply-overlay-face): New function.
4303
4304 * shell.el (shell): No need to require ansi-color.
4305 (shell-mode): Use ansi-color-apply-face-function to highlight
4306 color escapes using font-lock-face property (Bug#10835).
4307
20af2394
CY
43082012-02-19 Chong Yidong <cyd@gnu.org>
4309
4310 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4311 mode-line formats (Bug#10839).
4312
e23a3fbe
GM
43132012-02-18 Glenn Morris <rgm@gnu.org>
4314
b474519e
GM
4315 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4316
4317 * mail/undigest.el (unforward-rmail-message): Doc fix.
4318
e23a3fbe
GM
4319 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4320
57939ff4
EZ
43212012-02-18 Eli Zaretskii <eliz@gnu.org>
4322
4323 * international/characters.el (script-list): Sync with the latest
4324 Unicode Character Database.
4325
0c23686e
AS
43262012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4327
4328 * international/titdic-cnv.el: Remove duplicate coding tag.
4329 * language/cham.el: Likewise.
4330 * language/tai-viet.el: Likewise.
4331
6818b449
GM
43322012-02-18 Glenn Morris <rgm@gnu.org>
4333
4334 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4335 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4336 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4337 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4338 * calendar/holidays.el (holiday-bahai-holidays)
4339 (calendar-holidays, list-holidays):
4340 Use utf-8 Bahá'í in doc-strings, menus, etc.
4341
0311a3fc
TH
43422012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4343
4344 * saveplace.el (save-place-ignore-files-regexp): New variable
4345 allowing for excluding files from saving their location of point.
4346 The default value matches the temporary commit message editing
4347 files from Git, SVN, Bazaar, and Mercurial.
4348 (save-place-to-alist): Use it.
4349
eb864a71
LM
43502012-02-17 Lawrence Mitchell <wence@gmx.li>
4351 Stefan Monnier <monnier@iro.umontreal.ca>
4352
4353 * newcomment.el (uncomment-region-default): Don't leave extra space
4354 when an arg is provided (bug#8150).
4355
ee0ce425
TZ
43562012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4357
eb864a71 4358 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4359
95ddf442
GM
43602012-02-17 Glenn Morris <rgm@gnu.org>
4361
4362 * net/socks.el: Require network-stream. (Bug#10599)
4363
48dd1e39 43642012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4365
4366 * international/charprop.el:
4367 * international/uni-name.el:
4368 * international/uni-old-name.el:
4369 * international/uni-comment.el: Regenerate.
4370
d68cd087
GM
43712012-02-16 Glenn Morris <rgm@gnu.org>
4372
4373 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4374 Interactively in calendar buffer, give an error if not on a date.
4375
13932042
GM
43762012-02-15 Glenn Morris <rgm@gnu.org>
4377
4378 * shell.el (shell-delimiter-argument-list):
4379 Revert 2011-02-17 change. (Bug#8027)
4380
c3a70e2b
CY
43812012-02-15 Chong Yidong <cyd@gnu.org>
4382
60236b0d
CY
4383 * minibuffer.el (completion-at-point-functions): Doc fix.
4384
c3a70e2b
CY
4385 * custom.el (defcustom): Doc fix; note use of defvar.
4386
9f26dc24
GM
43872012-02-15 Glenn Morris <rgm@gnu.org>
4388
4389 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4390 Doc fixes.
4391
6546b134
GM
43922012-02-14 Glenn Morris <rgm@gnu.org>
4393
4394 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4395
d29b2b4c
LI
43962012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4397
4398 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4399 way the ports list is computed.
835bdcba
LI
4400 (smtpmail-query-smtp-server): Prompt the user for a port number if
4401 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4402
08dcdbc9
TZ
44032012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4404
4405 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4406
2605051a
GM
44072012-02-13 Glenn Morris <rgm@gnu.org>
4408
4409 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4410
7ee99f32
TZ
44112012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4412
4413 * net/gnutls.el (gnutls-trustfiles): New variable.
4414 (gnutls-negotiate): Use it.
4415
5f0af64f
LI
44162012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4417
4418 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4419 does its stuff if Gnus is running.
4420
c14fcc95
AM
44212012-02-13 Alan Mackenzie <acm@muc.de>
4422
4423 Fix a loop in c-set-fl-decl-start.
4424
7a71b18d 4425 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4426 c-backward-syntactic-ws actually moves backwards.
4427
142b4d90
LL
44282012-02-13 Leo Liu <sdl.web@gmail.com>
4429
4430 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4431 beginning so that all \C-o chars are removed.
4432
fa9958a6
TZ
44332012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4434
dc9924b8 4435 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4436
0bc5886a
AM
44372012-02-12 Alan Mackenzie <acm@muc.de>
4438
4439 Fix infinite loop with long macros.
4d6769e1 4440 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4441
d4bd55e7
CY
44422012-02-12 Chong Yidong <cyd@gnu.org>
4443
4444 * window.el (display-buffer): Doc fix (Bug#10785).
4445
66f3fe22
GM
44462012-02-12 Glenn Morris <rgm@gnu.org>
4447
bd7da63e
GM
4448 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4449 (x-disown-selection-internal, x-get-selection-internal):
4450 Sync docs with the xselect.c versions.
4451
66f3fe22
GM
4452 * allout-widgets.el: Add missing license notice.
4453
3e0d2fa7
GM
44542012-02-11 Glenn Morris <rgm@gnu.org>
4455
cfecdf09
GM
4456 * select.el (x-get-selection-internal, x-own-selection-internal)
4457 (x-disown-selection-internal):
4458 * x-dnd.el (x-get-selection-internal): Update declarations.
4459
6d216d7f
GM
4460 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4461
2bed3f04
GM
4462 * window.el (window-sides-slots):
4463 * tool-bar.el (tool-bar-position):
4464 * term/xterm.el (xterm-extra-capabilities):
4465 * ses.el (ses-self-reference-early-detection):
4466 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4467 (verilog-auto-wire-type)
4468 (verilog-auto-delete-trailing-whitespace)
4469 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4470 (verilog-auto-tieoff-declaration):
4471 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4472 (sql-oracle-statement-starters, sql-oracle-scan-on):
4473 * progmodes/prolog.el (prolog-align-comments-flag)
4474 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4475 (prolog-left-indent-regexp, prolog-paren-indent-p)
4476 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4477 (prolog-types, prolog-mode-specificators)
4478 (prolog-determinism-specificators, prolog-directives)
4479 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4480 (prolog-electric-dot-flag)
4481 (prolog-electric-dot-full-predicate-template)
4482 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4483 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4484 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4485 (prolog-program-switches, prolog-prompt-regexp)
4486 (prolog-debug-on-string, prolog-debug-off-string)
4487 (prolog-trace-on-string, prolog-trace-off-string)
4488 (prolog-zip-on-string, prolog-zip-off-string)
4489 (prolog-use-standard-consult-compile-method-flag)
4490 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4491 (prolog-imenu-max-lines, prolog-info-predicate-index)
4492 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4493 (prolog-char-quote-workaround):
4494 * progmodes/cc-vars.el (c-defun-tactic):
4495 * net/tramp.el (tramp-encoding-command-interactive)
4496 (tramp-local-end-of-line):
4497 * net/soap-client.el (soap-client):
4498 * net/netrc.el (netrc-file):
4499 * net/gnutls.el (gnutls):
4500 * minibuffer.el (completion-category-overrides)
4501 (completion-cycle-threshold)
4502 (completion-pcm-complete-word-inserts-delimiters):
4503 * man.el (Man-name-local-regexp):
4504 * mail/feedmail.el (feedmail-display-full-frame):
4505 * international/characters.el (glyphless-char-display-control):
4506 * eshell/em-ls.el (eshell-ls-date-format):
4507 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4508 (lisp-lambda-list-keyword-parameter-indentation)
4509 (lisp-lambda-list-keyword-parameter-alignment):
4510 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4511 * dired-x.el (dired-omit-verbose):
4512 * cus-theme.el (custom-theme-allow-multiple-selections):
4513 * calc/calc.el (calc-highlight-selections-with-faces)
4514 (calc-lu-field-reference, calc-lu-power-reference)
4515 (calc-note-threshold):
4516 * battery.el (battery-mode-line-limit):
4517 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4518 (archive-7z-update):
4519 * allout.el (allout-prefixed-keybindings)
4520 (allout-unprefixed-keybindings)
4521 (allout-inhibit-auto-fill-on-headline)
4522 (allout-flattened-numbering-abbreviation):
4523 * allout-widgets.el (allout-widgets-auto-activation)
4524 (allout-widgets-icons-dark-subdir)
4525 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4526 (allout-widgets-theme-dark-background)
4527 (allout-widgets-theme-light-background)
4528 (allout-widgets-item-image-properties-emacs)
4529 (allout-widgets-item-image-properties-xemacs)
4530 (allout-widgets-run-unit-tests-on-load)
4531 (allout-widgets-time-decoration-activity)
4532 (allout-widgets-hook-error-post-time)
4533 (allout-widgets-track-decoration):
4534 Add missing :version tags to new defcustoms and defgroups.
4535
5fec1b8e
GM
4536 * progmodes/sql.el (sql-ansi-statement-starters)
4537 (sql-oracle-statement-starters): Add custom type.
4538
3e0d2fa7
GM
4539 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4540 (prolog-system-version): Give it a type.
4541
90b671e2
EZ
45422012-02-11 Eli Zaretskii <eliz@gnu.org>
4543
4544 * term/pc-win.el (x-select-text, x-selection-owner-p)
4545 (x-own-selection-internal, x-disown-selection-internal)
4546 (x-get-selection-internal): Sync doc strings and argument lists
4547 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4548
5eac0c02
LL
45492012-02-11 Leo Liu <sdl.web@gmail.com>
4550
4551 * progmodes/python.el (python-end-of-statement): Fix infinite
4552 loop. (Bug#10788)
4553
f82cb659
GM
45542012-02-10 Glenn Morris <rgm@gnu.org>
4555
4556 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4557 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4558
cc26d239
LI
45592012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4560
4561 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4562 about SMTP before checking the From header.
4563
91027d08 4564 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4565 into own function for reuse by emacsbug.el.
4566
1be3ca5a
LL
45672012-02-10 Leo Liu <sdl.web@gmail.com>
4568
4569 * subr.el (condition-case-unless-debug): Rename from
4570 condition-case-no-debug. All callers changed.
4571 (with-demoted-errors): Fix caller.
4572
4573 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4574 * nxml/rng-valid.el (rng-do-some-validation):
4575 * emacs-lisp/package.el (package-refresh-contents)
4576 (package-menu-execute):
4577 * desktop.el (desktop-create-buffer):
91027d08 4578 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4579
b011fbfe
GM
45802012-02-10 Glenn Morris <rgm@gnu.org>
4581
b2096d72
GM
4582 * textmodes/bibtex.el:
4583 Add missing :version tags for new/changed defcustoms.
4584
b011fbfe
GM
4585 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4586
4c7e65bf
LI
45872012-02-09 Lars Ingebrigtsen <larsi@rusty>
4588
4589 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4590 (smtpmail-via-smtp): Use it, or fall back on the From address.
4591 (smtpmail-send-it): Ditto.
4592
f3934f6f
SM
45932012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4594
4595 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4596 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4597 (byte-compile-tmp-var): New const.
4598 (byte-compile-defvar): Use it to minimize .elc size.
4599 Just use `defvar' rather than simulate it (bug#10761).
4600
a075a2c5
GM
46012012-02-09 Glenn Morris <rgm@gnu.org>
4602
cf3aa21b
GM
4603 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4604
354998cd
GM
4605 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4606 Add :version tags.
4607
dc9924b8
SM
4608 * progmodes/compile.el (compilation-error-screen-columns)
4609 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4610
dab3703d
GM
4611 * vc/log-view.el (log-view-toggle-entry-display):
4612 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4613
3f88cd72
GM
4614 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4615 (report-emacs-bug-can-use-xdg-email):
4616 (report-emacs-bug-insert-to-mailer): Doc fixes.
4617 (report-emacs-bug): Message fix.
4618
d95b247d
GM
4619 * net/browse-url.el (browse-url-can-use-xdg-open)
4620 (browse-url-xdg-open): Doc fixes.
4621
a075a2c5
GM
4622 * electric.el (electric-indent-mode, electric-pair-mode)
4623 (electric-layout-rules, electric-layout-mode): Doc fixes.
4624 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4625
ffb6157e
MR
46262012-02-08 Martin Rudalics <rudalics@gmx.at>
4627
4628 * server.el (server-unselect-display): Don't inadvertently kill
4629 the current buffer. (Bug#10729)
4630
e1ac4066
GM
46312012-02-08 Glenn Morris <rgm@gnu.org>
4632
34e8a2da
GM
4633 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4634 (sql-list-table): Doc fixes.
4635
b4ac6e8c
GM
4636 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4637 Comment out (does nothing).
4638
e1ac4066
GM
4639 * completion.el (dynamic-completion-mode):
4640 * dirtrack.el (dirtrack-debug-mode):
4641 * electric.el (electric-layout-mode):
4642 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4643 * face-remap.el (text-scale-mode, buffer-face-mode):
4644 * iimage.el (iimage-mode):
4645 * image-mode.el (image-transform-mode):
4646 * minibuffer.el (completion-in-region-mode):
4647 * scroll-lock.el (scroll-lock-mode):
4648 * simple.el (next-error-follow-minor-mode):
4649 * tar-mode.el (tar-subfile-mode):
4650 * tooltip.el (tooltip-mode):
4651 * vcursor.el (vcursor-use-vcursor-map):
4652 * wid-browse.el (widget-minor-mode):
4653 * emulation/tpu-edt.el (tpu-edt-mode):
4654 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4655 * international/iso-ascii.el (iso-ascii-mode):
4656 * language/thai-util.el (thai-word-mode):
4657 * mail/supercite.el (sc-minor-mode):
4658 * net/goto-addr.el (goto-address-mode):
4659 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4660 * progmodes/cwarn.el (cwarn-mode):
4661 * progmodes/flymake.el (flymake-mode):
4662 * progmodes/glasses.el (glasses-mode):
4663 * progmodes/hideshow.el (hs-minor-mode):
4664 * progmodes/pascal.el (pascal-outline-mode):
4665 * textmodes/enriched.el (enriched-mode):
4666 * vc/smerge-mode.el (smerge-mode):
4667 Doc fixes (minor mode argument).
4668
5e0d957f
EZ
46692012-02-07 Eli Zaretskii <eliz@gnu.org>
4670
4671 * ls-lisp.el (ls-lisp-sanitize): New function.
4672 (ls-lisp-insert-directory): Use it to fix or remove any elements
4673 in file-alist with missing attributes. (Bug#4673)
4674
98d7371e
AM
46752012-02-07 Alan Mackenzie <acm@muc.de>
4676
4677 Fix spurious recognition of c-in-knr-argdecl.
4678
4679 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4680 putative K&R region.
4681
667ced3a
AM
46822012-02-07 Alan Mackenzie <acm@muc.de>
4683
eb864a71
LM
4684 * progmodes/cc-engine.el (c-forward-objc-directive):
4685 Prevent looping in "#pragma mark @implementation".
667ced3a 4686
5b77774d
MA
46872012-02-07 Michael Albinus <michael.albinus@gmx.de>
4688
4689 * notifications.el (notifications-on-closed-signal): Make `reason'
4690 optional. (Bug#10744)
4691
af008560
GM
46922012-02-07 Glenn Morris <rgm@gnu.org>
4693
60d47423
GM
4694 * emacs-lisp/easy-mmode.el (define-minor-mode):
4695 Doc fixes for the macro and the mode it defines.
4696
dd605cc4
GM
4697 * image.el (imagemagick-types-inhibit): Doc fix.
4698
af008560
GM
4699 * cus-start.el (imagemagick-render-type): Add it.
4700
5cc59a37
LI
47012012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4702
4d6769e1
JB
4703 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4704 Set the default at load time, too, so that `font-lock-fontify-buffer'
4705 can be called without setting up the entire mode first. This fixes
4706 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4707
9a6dd747
CY
47082012-02-06 Chong Yidong <cyd@gnu.org>
4709
2d16b285
CY
4710 * simple.el (list-processes--refresh): Delete exited processes
4711 (Bug#8094).
4712
171e9b6e
CY
4713 * comint.el (comint-next-prompt): next-single-char-property-change
4714 and prev-single-char-property-change never return nil (Bug#8657).
4715
9a6dd747
CY
4716 * custom.el (defcustom): Doc fix (Bug#9711).
4717
aa4589a7
CY
47182012-02-05 Chong Yidong <cyd@gnu.org>
4719
5c2a252f
CY
4720 * cus-edit.el (custom-variable-reset-backup): Quote the value
4721 before storing it in the customized-value property (Bug#6712).
4aab9006 4722 (custom-display): Add a customization type tag.
983b9602 4723 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4724
aa4589a7
CY
4725 * wid-edit.el (widget-field-value-get): New optional arg to
4726 suppress trailing whitespace truncation.
4727 (character): Use it (Bug#2689).
4728
1ff980ae
AS
47292012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4730
4731 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4732 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4733
03988c98
CY
47342012-02-05 Chong Yidong <cyd@gnu.org>
4735
eeb6cc88
CY
4736 * cus-edit.el (custom-variable-value-create): For mismatched
4737 types, show the current value (Bug#7600).
4738
03988c98
CY
4739 * custom.el (defcustom): Doc fix.
4740
f8cdeef0
GM
47412012-02-05 Glenn Morris <rgm@gnu.org>
4742
4743 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4744
0696d255
JB
47452012-02-05 Juanma Barranquero <lekktu@gmail.com>
4746
4747 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4748 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4749 (pp-last-sexp): Use `looking-at-p'.
4750
34c99998
GM
47512012-02-04 Glenn Morris <rgm@gnu.org>
4752
8f05da42
GM
4753 * files.el (revert-buffer):
4754 Doc fix (mention revert-buffer-in-progress-p).
4755
f160676e
GM
4756 * emacs-lisp/ert-x.el (ert-simulate-command):
4757 Check deferred-action-list (which is obsolete) is bound.
4758
c7291ad9
GM
4759 * subr.el (with-wrapper-hook): Doc fixes.
4760
34c99998
GM
4761 * simple.el (filter-buffer-substring-functions)
4762 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4763
6283a7d3
LL
47642012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4765
4766 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4767 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4768
e96e3013
LL
47692012-02-04 Leo Liu <sdl.web@gmail.com>
4770
4771 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4772
8ded50f2
GM
47732012-02-04 Glenn Morris <rgm@gnu.org>
4774
82ff1d13
GM
4775 * image.el (image-extension-data): Add obsolete alias.
4776
987a0a16
GM
4777 * isearch.el (isearch-update): Doc fix.
4778
ea32ef46
GM
4779 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4780
8ded50f2
GM
4781 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4782
eea14f31
GM
47832012-02-03 Glenn Morris <rgm@gnu.org>
4784
4785 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4786 (image-animate-timeout): Doc fix.
4787
4788 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4789
12f381b7
GM
47902012-02-02 Glenn Morris <rgm@gnu.org>
4791
953cebf5
GM
4792 * server.el (server-auth-dir): Doc fix.
4793 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4794
12f381b7
GM
4795 * subr.el (run-mode-hooks): Doc fix.
4796
953a8c3b
JL
47972012-02-02 Juri Linkov <juri@jurta.org>
4798
4799 * image-mode.el (image-toggle-display-image): Remove tautological
4800 `major-mode' from the `derived-mode-p' test.
4801
c5d3843c
KH
48022012-02-02 Kenichi Handa <handa@m17n.org>
4803
9f6e692e 4804 * composite.el (compose-region): Cancel previous change.
c5d3843c 4805
159462d4 48062012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4807
4808 * composite.el (compose-region, compose-string): Signal error for
4809 a null string component (Bug#6988).
4810
9f562668
CY
48112012-02-01 Chong Yidong <cyd@gnu.org>
4812
e2cef717
CY
4813 * view.el (view-buffer-other-window, view-buffer-other-frame):
4814 Handle special modes like view-buffer (Bug#10650).
4815 (view-buffer): Simplify.
4816
9f562668
CY
4817 * frame.el (set-frame-font): Tweak meaning of third argument.
4818
9f6e692e
JB
4819 * dynamic-setting.el (font-setting-change-default-font):
4820 Use set-frame-font (Bug#9982).
9f562668 4821
781acb9f
GM
48222012-02-01 Glenn Morris <rgm@gnu.org>
4823
6035be52
GM
4824 * progmodes/compile.el (compilation-internal-error-properties):
4825 Respect compilation-first-column in the "*compilation*" buffer.
4826
781acb9f
GM
4827 * emacs-lisp/easy-mmode.el (define-minor-mode):
4828 Relax :variable's test for a named function.
4829
abbceb00
AM
48302012-01-31 Alan Mackenzie <acm@muc.de>
4831
4832 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4833 off by one error.
4834
fce3fdeb
CY
48352012-01-31 Chong Yidong <cyd@gnu.org>
4836
4837 * frame.el (set-frame-font): New arg ALL-FRAMES.
4838
4839 * menu-bar.el (menu-set-font): Use set-frame-font.
4840
4841 * faces.el (face-spec-reset-face): Don't apply unspecified
4842 attribute values to the default face.
4843
47893581
JB
48442012-01-31 Juanma Barranquero <lekktu@gmail.com>
4845
4846 * progmodes/cwarn.el (cwarn): Remove dead link.
4847 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4848 Remove * from defcustom docstrings.
4849 (turn-on-cwarn-mode): Make obsolete.
4850 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4851 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4852
e58e988a
GM
48532012-01-31 Glenn Morris <rgm@gnu.org>
4854
60dc2671 4855 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4856 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4857 Allow named functions to be used as the cdr of :variable.
e58e988a 4858
7a3f511d
GM
48592012-01-30 Glenn Morris <rgm@gnu.org>
4860
4861 * emacs-lisp/authors.el (authors-fixed-entries):
4862 Remove reference to deleted file rnewspost.el.
4863
cb882333
JB
48642012-01-29 Juanma Barranquero <lekktu@gmail.com>
4865
4866 * window.el (window-with-parameter): Remove unused variable `windows'.
4867 (window--side-check): Remove unused variable `code'.
4868 (window--resize-siblings): Remove unused variable `first'.
4869 (adjust-window-trailing-edge): Remove unused variable `failed'.
4870 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4871 Use `let', not `let*'.
4872 (balance-windows-2): Remove unused variable `found'.
4873 (window--state-put-2): Remove unused variable `splits'.
4874 (window-state-put): Remove unused variable `selected'.
4875 (same-window-p): Use `string-match-p'.
4876 (display-buffer-assq-regexp): Remove unused variable `value'.
4877 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4878 Mark argument ALIST as ignored.
4879 (pop-to-buffer): Remove unused variable `old-window'.
4880
907201af
EZ
48812012-01-29 Eli Zaretskii <eliz@gnu.org>
4882
4883 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4884 and .lzma compressed files.
4885
ea162670
CY
48862012-01-29 Chong Yidong <cyd@gnu.org>
4887
5b95ee8a
CY
4888 * frame.el (window-system-default-frame-alist): Doc fix.
4889
ea162670
CY
4890 * dynamic-setting.el (font-setting-change-default-font): Don't
4891 change the default face if SET-FONT argument is non-nil (Bug#9982).
4892
d6e6f4b1
SB
48932012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4894
4895 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4896
0f29fa41 48972012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4898
4899 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4900 breakpoints in files outside current directory (Bug#6098).
4901
db174434
CY
49022012-01-29 Chong Yidong <cyd@gnu.org>
4903
6b25e4e2
SE
4904 * progmodes/python.el: Require ansi-color at top-level.
4905
6df6ae42
JB
4906 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4907 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4908 (lisp-mode-abbrev-table): Add doc.
4909 (lisp-mode-variables): Don't set local-abbrev-table.
4910 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4911
e70ee681
RW
49122012-01-28 Roland Winkler <winkler@gnu.org>
4913
4914 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4915
ace88aa2
RW
49162012-01-28 Roland Winkler <winkler@gnu.org>
4917
4918 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4919 (bibtex-set-dialect): Use it. Either set global values of
4920 dialect-dependent variables or bind these variables buffer-locally
4921 (Bug#10254).
4922 (bibtex-mode): Call bibtex-set-dialect via
4923 hack-local-variables-hook.
eb864a71
LM
4924 (bibtex-dialect): Update docstring.
4925 Add safe-local-variable predicate.
ace88aa2
RW
4926 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4927 bibtex-set-dialect.
4928 (bibtex-mode-map): Define menu for each dialect.
4929 (bibtex-entry): Fix docstring.
4930
93376c5b
CY
49312012-01-28 Chong Yidong <cyd@gnu.org>
4932
4933 * eshell/esh-arg.el (eshell-quote-argument): New function.
4934
4935 * eshell/esh-ext.el (eshell-invoke-batch-file):
4936 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4937 first arg to eshell-parse-command (Bug#10523).
4938
4372494f
DA
49392012-01-28 Drew Adams <drew.adams@oracle.com>
4940
4941 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4942 `default-directory' is non-nil.
4943
4d4ec1f8
EZ
49442012-01-28 Eli Zaretskii <eliz@gnu.org>
4945
4946 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4947 line that displays system-configuration-options. (Bug#9924)
4948
7c188927
DA
49492012-01-28 Drew Adams <drew.adams@oracle.com>
4950
4951 * descr-text.el (describe-char): Show information about POS, in
4952 addition to information about the character at POS. Improve and
4953 update the doc string. Change "code point" to "code point in
4954 charset", to avoid confusion with the character's Unicode code
4955 point shown above that. (Bug#10129)
4956
e0da685a
EZ
49572012-01-28 Eli Zaretskii <eliz@gnu.org>
4958
4959 * descr-text.el (describe-char): Show the raw character, not only
4960 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4961 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4962 for the reasons.
4963
70550acf
PH
49642012-01-28 Phil Hagelberg <phil@hagelb.org>
4965
eb864a71
LM
4966 * emacs-lisp/package.el (package-install):
4967 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 4968
0ce8e868
CY
49692012-01-28 Chong Yidong <cyd@gnu.org>
4970
cb882333
JB
4971 * emacs-lisp/package.el (package-maybe-load-descriptor):
4972 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
4973 (package-maybe-load-descriptor): Use it.
4974 (package-download-transaction): Fully load required packages
4975 inside the loop, so that `require' calls work (Bug#10593).
4976 (package-install): No need to call package-initialize now.
4977
2e7f3bea
CY
49782012-01-28 Chong Yidong <cyd@gnu.org>
4979
6e9bad14
CY
4980 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4981
f823b8ca
CY
4982 * tooltip.el (tooltip-mode): Doc fix.
4983 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4984
2680c309
CY
4985 * frame.el (set-cursor-color): Doc fix (Bug#352).
4986
d7a9e63b
CY
4987 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4988 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4989
2e7f3bea
CY
4990 * cus-edit.el (custom-buffer-create-internal): Fix search button
4991 action (Bug#10542).
2ae01800 4992 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 4993
fc4f7a23
EW
49942012-01-27 Eduard Wiebe <usenet@pusto.de>
4995
4996 * dired.el (dired-mark-files-regexp):
4997 Include any subdirectory components. (Bug#10445)
4998
7dd37071
ML
49992012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5000
5001 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5002 Handle [host]:port syntax. (Bug#10533)
5003
a268160b
AH
50042012-01-27 Alex Harsanyi <harsanyi@mac.com>
5005
5006 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5007
e43273ef
GM
50082012-01-26 Glenn Morris <rgm@gnu.org>
5009
5010 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5011 * term.el (term-raw-escape-map): Use Control-X-prefix.
5012 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5013
1edf595d
MR
50142012-01-25 Martin Rudalics <rudalics@gmx.at>
5015
5016 * window.el (window-state-get, window--state-get-1): Don't deal
5017 with fixed-sizeness of windows. Simplify code.
5018
fa8eafef
JC
50192012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5020
6df6ae42
JB
5021 * window.el (window--state-get-1, window--state-put-2):
5022 Don't save and restore the mark.
fa8eafef 5023
0b21c100
CY
50242012-01-25 Chong Yidong <cyd@gnu.org>
5025
5026 * custom.el (custom-variable-p): Doc fix.
5027
5ae1a6c8
GM
50282012-01-25 Glenn Morris <rgm@gnu.org>
5029
40047858
GM
5030 * dired.el (dired-goto-file): Handle some of the more common
5031 characters that `ls -b' escapes. (Bug#10596)
5032
5ddce96c
GM
5033 * progmodes/compile.el (compilation-next-error-function):
5034 Respect compilation-first-column in the "*compilation*" buffer.
5035 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5036
5ae1a6c8
GM
5037 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5038
b559f1a9
GM
50392012-01-24 Glenn Morris <rgm@gnu.org>
5040
5041 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5042
6725d21a
JD
50432012-01-24 Julien Danjou <julien@danjou.info>
5044
5045 * color.el (color-rgb-to-hsl): Fix value computing.
5046 (color-hue-to-rgb): New function.
5047 (color-hsl-to-rgb): New function.
5048 (color-clamp, color-saturate-hsl, color-saturate-name)
5049 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5050 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5051
70df4bbe
GM
50522012-01-24 Glenn Morris <rgm@gnu.org>
5053
5054 * vc/vc-rcs.el (vc-rcs-create-tag):
5055 * vc/vc-sccs.el (vc-sccs-create-tag):
5056 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5057
802a2ae2
ML
50582012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5059
5060 * eshell/esh-util.el (eshell-read-hosts-file):
5061 Skip comment lines. (Bug#10549)
5062
d7128bb1
ML
5063 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5064
d1a5c3b4
JB
50652012-01-23 Juanma Barranquero <lekktu@gmail.com>
5066
2724d9c7
JB
5067 * subr.el (display-delayed-warnings): Doc fix.
5068 (collapse-delayed-warnings): New function to collapse identical
5069 adjacent warnings.
5070 (delayed-warnings-hook): Add it.
d1a5c3b4 5071
a5509865
MA
50722012-01-22 Michael Albinus <michael.albinus@gmx.de>
5073
5074 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5075
a5509865
MA
5076 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5077 (tramp-default-user-alist): Don't add "pscp".
5078 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5079 property "login-as", if set. (Bug#10530)
5080
cc6d5805
MA
50812012-01-21 Michael Albinus <michael.albinus@gmx.de>
5082
5083 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5084 "plink1" and "psftp". (Bug#10530)
5085
50862012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
5087
5088 * international/mule-cmds.el (prefer-coding-system): Show a
5089 warning message if the default value of file-name-coding-system
5090 was not changed.
5091
f0960428
JC
50922012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5093
cb882333
JB
5094 * windmove.el (windmove-reference-loc):
5095 Fix windmove-reference-loc miscalculation.
f0960428 5096
dd6f2a63
JB
50972012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5098
5099 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5100 default unit.
5101
7b447e9b
GM
51022012-01-21 Glenn Morris <rgm@gnu.org>
5103
117a9ea1
GM
5104 * international/mule.el (auto-coding-alist): Add .tbz.
5105
7b447e9b
GM
5106 * files.el (local-enable-local-variables): Doc fix.
5107 (inhibit-local-variables-regexps): Rename from
5108 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5109 Doc fix. Add some extensions from auto-coding-alist.
5110 (inhibit-local-variables-suffixes):
5111 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5112 (inhibit-local-variables-p):
5113 New function, extracted from set-auto-mode-1.
5114 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5115 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5116 (hack-local-variables): Doc fix. Make the mode-only case
5117 respect enable-local-variables and friends.
5118 Respect inhibit-local-variables-regexps for file-locals, but
5119 not for directory-locals.
5120 (set-visited-file-name):
5121 Take account of inhibit-local-variables-regexps.
5122 Whether it applies may change as the file name is changed.
5123 * jka-cmpr-hook.el (jka-compr-install):
5124 * jka-compr.el (jka-compr-uninstall):
5125 Update for inhibit-first-line-modes-suffixes name change.
5126
dd6e3cdd
MR
51272012-01-20 Martin Rudalics <rudalics@gmx.at>
5128
5129 * help-macro.el (make-help-screen): Temporarily restore original
5130 binding for minor-mode-map-alist (Bug#10454).
5131
0d0deb38
JD
51322012-01-19 Julien Danjou <julien@danjou.info>
5133
5134 * color.el (color-name-to-rgb): Use the white color to find the max
5135 color component value and return correctly computed values.
5136 (color-name-to-rgb): Add missing float conversion for max value.
5137
34a02f46
MR
51382012-01-19 Martin Rudalics <rudalics@gmx.at>
5139
5140 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
5141 special state value for window-persistent-parameters.
5142 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
5143 (window--state-put-2): Reset all window parameters to nil before
5144 assigning values of persistent parameters.
5145
606c44c4
AM
51462012-01-18 Alan Mackenzie <acm@muc.de>
5147
5148 Eliminate sluggishness and hangs in fontification of "semicolon
5149 deserts".
5150
cb882333
JB
5151 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5152 Change value 10000 -> 3000.
606c44c4
AM
5153 (c-state-safe-place): Reformulate so it doesn't stack up an
5154 infinite number of wrong entries in c-state-nonlit-pos-cache.
5155 (c-determine-limit-get-base, c-determine-limit): New functions to
5156 determine backward search limits disregarding literals.
5157 (c-find-decl-spots): Amend commenting.
5158 (c-cheap-inside-bracelist-p): New function which detects "={".
5159
5160 * progmodes/cc-fonts.el
5161 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5162 backward search.
5163 (c-font-lock-declarations): Fix an occurrence of point being
5164 undefined. Check additionally for point being in a bracelist or
5165 near a macro invocation without a semicolon so as to avoid a
5166 fruitless time consuming search for a declarator. Give a more
5167 precise search limit for declarators using the new
5168 c-determine-limit.
5169
f3860cea
GM
51702012-01-18 Glenn Morris <rgm@gnu.org>
5171
5172 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5173 (set-auto-mode): Doc fixes.
5174
1db03b16
GM
51752012-01-17 Glenn Morris <rgm@gnu.org>
5176
0e6038be
GM
5177 * isearch.el (search-nonincremental-instead): Fix doc typo.
5178
1db03b16
GM
5179 * dired.el (dired-insert-directory): Handle newlines in directory name.
5180 (dired-build-subdir-alist): Unescape newlines in directory name.
5181
4cb0aa75
MA
51822012-01-17 Michael Albinus <michael.albinus@gmx.de>
5183
5184 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5185 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5186 (tramp-action-terminal): Use it. (Bug#10530)
5187
1d00653d
SM
51882012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5189
5190 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5191
6a6ee00d
MR
51922012-01-16 Martin Rudalics <rudalics@gmx.at>
5193
5194 * window.el (window-state-ignored-parameters): Remove variable.
5195 (window--state-get-1): Rename argument MARKERS to IGNORE.
5196 Handle persistent window parameters. Make copy of clone-of
5197 parameter only if requested. (Bug#10348)
5198 (window--state-put-2): Install a window parameter only if it has
5199 a non-nil value or an existing parameter shall be overwritten.
5200
97912def
MA
52012012-01-15 Michael Albinus <michael.albinus@gmx.de>
5202
5203 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5204
688070a5
EZ
52052012-01-14 Eli Zaretskii <eliz@gnu.org>
5206
5207 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5208 don't pass the (nil) value of `upnode' to string-match.
5209
301afadc
CY
52102012-01-14 Chong Yidong <cyd@gnu.org>
5211
5212 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5213 Fix values recognized by the cursorBlink resource.
301afadc 5214
9e5788aa
PE
52152012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5216
5217 * epg.el (epg--make-temp-file): Avoid permission race condition
5218 when running on old Emacs versions (bug#10403).
5219
3cdb7f5a
GM
52202012-01-14 Glenn Morris <rgm@gnu.org>
5221
5222 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5223
8c82b1b4
AM
52242012-01-13 Alan Mackenzie <acm@muc.de>
5225
5226 Fix filling for when filladapt mode is enabled.
5227
5228 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5229 c-mask-paragraph, pass in `fill-paragraph' rather than
5230 `fill-region-as-paragraph'. (This is a reversion of a previous
5231 change.)
eb864a71
LM
5232 * progmodes/cc-mode.el (c-basic-common-init):
5233 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5234
e517eda4
GM
52352012-01-13 Glenn Morris <rgm@gnu.org>
5236
1498536e
GM
5237 * dired.el (dired-switches-escape-p): New function.
5238 (dired-insert-directory): Use dired-switches-escape-p.
5239 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5240
e517eda4
GM
5241 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5242
328f984d
GM
52432012-01-12 Glenn Morris <rgm@gnu.org>
5244
5245 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5246 changes in adaptive-fill-regexp. (Bug#10276)
5247
2cc769a8
AM
52482012-01-11 Alan Mackenzie <acm@muc.de>
5249
5250 Fix Emacs bug #10463 - put `widen's around the critical spots.
5251
1d00653d 5252 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5253 widen around each invocation of c-state-pp-to-literal. Remove an
5254 unused let variable.
5255
e52c37fa
GM
52562012-01-11 Glenn Morris <rgm@gnu.org>
5257
5258 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5259 Doc fix.
e52c37fa 5260
96f8741e
CY
52612012-01-10 Chong Yidong <cyd@gnu.org>
5262
1d00653d
SM
5263 * net/network-stream.el (network-stream-open-starttls):
5264 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5265 response to the capability command.
5266
b09a806e
GM
52672012-01-10 Glenn Morris <rgm@gnu.org>
5268
5269 * mail/unrmail.el (unrmail): Tweak previous change.
5270
7655cb66
CY
52712012-01-09 Chong Yidong <cyd@gnu.org>
5272
5273 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5274
9d5a8f0b
AM
52752012-01-08 Alan Mackenzie <acm@muc.de>
5276
5277 Optimise font locking in long enum definitions.
5278
5279 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5280 arm to a cond form to handle enums.
5281 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5282 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5283
9a0115ab 52842012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5285
5286 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5287 (Bug#10401)
6bb72cbd 5288
f186bb95
LMI
52892012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5290
29232a68
LMI
5291 * faces.el (set-face-attribute): Clarify the meaning of the nil
5292 frame (bug#10294).
5293
4e5d086d
LMI
5294 * subr.el (with-selected-frame): Mention that the selected frame
5295 is restored (bug#9980).
5296
8e66aebe
LMI
5297 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5298 (bug#9759).
5299
cd394be1 5300 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5301 (password-read): Don't autoload unused function.
5302
adf4e762
JB
53032012-01-07 Juanma Barranquero <lekktu@gmail.com>
5304
5305 * progmodes/which-func.el (which-func-mode): Turn into a
5306 non-interactive function and mark as obsolete (bug#10428).
5307
89bd9ccd
CY
53082012-01-06 Chong Yidong <cyd@gnu.org>
5309
5310 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5311 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5312 functions, along with 1 and -1.
5313
4afee9d5
EZ
53142012-01-06 Eli Zaretskii <eliz@gnu.org>
5315
5316 * time.el (display-time-load-average)
5317 (display-time-default-load-average): Doc fixes. See the thread
5318 starting at
5319 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5320 for the details.
5321
536aea70
GM
53222012-01-06 Glenn Morris <rgm@gnu.org>
5323
665ae865
GM
5324 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5325 has no messages. (Bug#10377)
5326
c869783d
GM
5327 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5328 than Info-edit. (Bug#10385)
5329
2bb4227e
GM
5330 * time.el (display-time-load-average, display-time-next-load-average):
5331 Doc fixes.
5332
7d5944b9
GM
5333 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5334 local setting of buffer-read-only to the input buffer. (Bug#10419)
5335
536aea70
GM
5336 * calendar/calendar.el (calendar-mode):
5337 Locally set scroll-margin to 0. (Bug#10379)
5338
7dccca16
UM
53392012-01-06 Ulrich Mueller <ulm@gentoo.org>
5340
5341 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5342
afbb7930
GM
53432012-01-05 Glenn Morris <rgm@gnu.org>
5344
5345 * eshell/em-unix.el (diff-no-select): Autoload it.
5346 (eshell/diff): Use diff-no-select. (Bug#10420)
5347
04482335
CY
53482012-01-05 Chong Yidong <cyd@gnu.org>
5349
7baca3bc
CY
5350 * shell.el (shell-dynamic-complete-functions): Revert last change.
5351 (shell-command-completion-function): New function.
5352 (shell-completion-vars): Use it to implement
5353 shell-completion-execonly (Bug#10417).
5354
04482335
CY
5355 * custom.el (enable-theme): Don't set custom-safe-themes.
5356
1d00653d
SM
5357 * cus-theme.el (custom-theme-merge-theme):
5358 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5359
bb5aa5d6
MM
53602012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5361
5362 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5363 first prompt in `sql-interacive-mode'.
5364 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5365 keywords.
6df6ae42 5366 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5367 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5368 context of original buffer. Invoke `sql-login-hook'.
5369
a7183d7c
EZ
53702012-01-04 Eli Zaretskii <eliz@gnu.org>
5371
5372 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5373 letters in cite-prefix.
5374
a1eacd1e
LMI
53752012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5376
5377 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5378
787cdb34
CY
53792012-01-03 Chong Yidong <cyd@gnu.org>
5380
1d00653d
SM
5381 * shell.el (shell-dynamic-complete-functions):
5382 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5383 comint-filename-completion first (Bug#10417).
5384
30710442
RS
53852012-01-02 Richard Stallman <rms@gnu.org>
5386
5387 * battery.el (battery-status-function):
5388 Detect when to use battery-yeeloong-sysfs.
5389 (battery-echo-area-format): Add string for Yeeloong.
5390 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5391 (battery-yeeloong-sysfs): New function.
5392
f75bfc33
CY
53932012-01-02 Chong Yidong <cyd@gnu.org>
5394
5395 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5396 (dirtrack): Merge code for handling relative filenames in prompt
5397 from shell-dir-cookie-watcher.
5398 (dirtrack-debug-message): New arg to avoid excess format calls.
5399
5400 * shell.el (shell-dir-cookie-re): Variable deleted.
5401 (shell-dir-cookie-watcher): Function deleted.
5402 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5403 with dirtrack-mode.
5404
651e947e
EZ
54052012-01-01 Eli Zaretskii <eliz@gnu.org>
5406
1d00653d
SM
5407 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5408 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5409 libgnutls-26.dll.
5410
94d4c7dc
AS
54112011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5412
5413 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5414
8d43f3cd
EZ
54152011-12-31 Eli Zaretskii <eliz@gnu.org>
5416
5417 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5418 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5419
98c8795a
MA
54202011-12-29 Michael Albinus <michael.albinus@gmx.de>
5421
5422 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5423 also for alternative shells.
5424 (tramp-open-connection-setup-interactive-shell): Check, whether
5425 the shell is a busybox.
5426 (tramp-send-command): Don't suppress multiple prompts for
5427 busyboxes, it hurts.
5428
51281b32
CY
54292011-12-28 Chong Yidong <cyd@gnu.org>
5430
5431 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5432 (gdb-get-source-file): Move mode line update to
5433 gdb-get-source-file (Bug#10087).
5434
2170cb53
CY
54352011-12-25 Chong Yidong <cyd@gnu.org>
5436
5437 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5438 gud-gdb-marker-filter without taking it as an argument.
5439 (gud-gdb-run-command-fetch-lines): Caller changed.
5440 (gud-gdb-completion-function): New variable.
5441 (gud-gdb-completion-at-point): Use it.
5442 (gud-gdb-completions-1): Split from gud-gdb-completions.
5443
5444 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5445 function as separate arguments.
5446 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5447 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5448 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5449 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5450 (gdb-stopped, def-gdb-auto-update-trigger)
5451 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5452 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5453 Callers changed.
2170cb53
CY
5454 (gud-gdbmi-completions): New function.
5455 (gdb): Use it for generating the completion table.
5456
be8b11bb
AM
54572011-12-24 Alan Mackenzie <acm@muc.de>
5458
5459 Introduce a mechanism to widen the region used in context font
1d00653d 5460 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5461
1d00653d
SM
5462 * progmodes/cc-langs.el (c-before-font-lock-functions):
5463 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5464 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5465 functions to be run just before context (etc.) font locking.
5466
5467 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5468 New, functionality extracted from
be8b11bb 5469 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5470 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5471 (c-after-change): Set c-in-after-change-fontification.
5472 (c-set-fl-decl-start): Rejig its interface, so it can be called
5473 from both after-change and context fontifying.
b81d40f0
JB
5474 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5475 New functions.
5476 (c-standard-font-lock-fontify-region-function): New variable.
5477 (c-font-lock-fontify-region): New function.
be8b11bb 5478
341cf6ac
JL
54792011-12-24 Juri Linkov <juri@jurta.org>
5480
5481 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5482 (Bug#10348)
5483
bffcee0a
MA
54842011-12-23 Michael Albinus <michael.albinus@gmx.de>
5485
5486 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5487 existence of source file. (Bug#10325)
5488
cb5e207c
AM
54892011-12-23 Alan Mackenzie <acm@muc.de>
5490
5491 Fix unstable fontification inside templates.
5492
b81d40f0
JB
5493 * progmodes/cc-langs.el (c-before-font-lock-functions):
5494 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5495 additionally has c-set-fl-decl-start. The other languages (apart
5496 from AWK) have that as a single entry.
5497
b81d40f0
JB
5498 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5499 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5500 c-set-fl-decl-start.
5501
b81d40f0
JB
5502 * progmodes/cc-mode.el (c-common-init, c-after-change):
5503 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5504 (c-set-fl-decl-start): New function, extracted from
5505 c-font-lock-enclosing-decls and enhanced.
5506
60ff536c
JB
55072011-12-23 Juanma Barranquero <lekktu@gmail.com>
5508
5509 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5510
1c4757d6
JL
55112011-12-22 Juri Linkov <juri@jurta.org>
5512
5513 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5514
d031f2c7
CY
55152011-12-22 Chong Yidong <cyd@gnu.org>
5516
5517 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5518
bace743a
DA
55192011-12-21 Drew Adams <drew.adams@oracle.com>
5520
5521 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5522
728a1f2b
JC
55232011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5524
5525 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5526
0d373f73
TZ
55272011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5528
fec0aaa4
TZ
5529 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5530 highlighting and support. Fix up comments for capitalization.
5531 (cfengine-mode-debug): New var.
5532 (cfengine3-mode): Change the modeline indicator to "CFE3".
5533 (cfengine3-font-lock-keywords): Improve defun highlighting.
5534 (cfengine2-actions): Rename from `cfengine-actions'.
5535 (cfengine2-font-lock-keywords): Rename from
5536 `cfengine-font-lock-keywords'.
5537 (cfengine2-imenu-expression): Rename from
5538 `cfengine-imenu-expression'.
5539 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5540 (cfengine2-beginning-of-defun): Rename from
5541 `cfengine-beginning-of-defun'.
5542 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5543 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5544 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5545 modeline indicator to "CFE2".
5546 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5547 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5548
bc86f573
CY
55492011-12-21 Chong Yidong <cyd@gnu.org>
5550
5551 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5552 filename argument.
5553
d45ba96b
MR
55542011-12-20 Martin Rudalics <rudalics@gmx.at>
5555
5556 * window.el (window-normalize-buffer-to-display): Remove.
5557 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5558
a6198c90
CY
55592011-12-19 Chong Yidong <cyd@gnu.org>
5560
5561 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5562 Don't signal an error in a predicate function; return non-nil.
5563 (vc-dir-mark-file): Move the error here.
5564 (vc-dir-mark-unmark): If acting on the region, keep going if one
5565 of the entries cannot be marked/unmarked.
5566 (vc-dir-mark-all-files): If current entry is a directory, mark
5567 only child files, as documented.
5568
34c5fb55
VB
55692011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5570
5571 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5572 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5573 addition.
5574
c803b2b7
JD
55752011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5576
5577 * term/ns-win.el (ns-get-selection-internal)
5578 (ns-store-selection-internal): Declare.
1154d12e
JB
5579 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5580 Declare as obsolete.
5581 (ns-get-pasteboard, ns-paste-secondary):
5582 Use ns-get-selection-internal.
5583 (ns-set-pasteboard, ns-copy-including-secondary):
5584 Use ns-store-selection-internal.
c803b2b7 5585
9cff91f8 55862011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5587
5588 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5589 (vc-deduce-fileset): Doc fix.
99a289d9 5590
f16c898a
AS
55912011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5592
5593 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5594
763237c4
SS
55952011-12-13 Sam Steingold <sds@gnu.org>
5596
5597 * man.el (Man-getpage-in-background): When running under a
5598 window-system, ignore $MANWIDTH and $COLUMNS.
5599
5fc1c122
KH
56002011-12-15 Kenichi Handa <handa@m17n.org>
5601
5602 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5603 (setup-ethiopic-environment-internal): Comment out key-binding for
5604 ethio-toggle-punctuation.
5605
13d49cbb
AM
56062011-12-13 Alan Mackenzie <acm@muc.de>
5607
898169a2
AM
5608 Add the switch statement to AWK Mode.
5609
7a71b18d 5610 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5611 "default" to the keywords regexp.
5612
7a71b18d 5613 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5614 expression as the rest.
1d00653d
SM
5615 (c-nonlabel-token-key): Allow string literals for AWK.
5616 Refactor for the other modes.
898169a2 5617
13d49cbb 5618 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5619 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5620 routines. Limit backward searching in c-font-lock-enclosing.decl.
5621
5622 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5623 pp-state and literal type in addition to the limits.
1d00653d 5624 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5625 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5626 (c-slow-in-literal, c-fast-in-literal): Remove.
5627 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5628
5629 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5630 being in a literal. Add a limit for backward searching.
5631
5632 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5633 c-slow-in-literal.
5634
15e0efc7
SM
56352011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5636
5637 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5638
454592a6
MR
56392011-12-13 Martin Rudalics <rudalics@gmx.at>
5640
5641 * window.el (delete-other-windows): Use correct frame in call to
5642 window-with-parameter.
5643
87393f26
DP
56442011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5645
5646 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5647 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5648 (makefile-gmake-statements, makefile-makepp-statements):
5649 Use it and add new makepp keywords.
5650 (makefile-makepp-font-lock-keywords): Add new patterns.
5651 (makefile-match-function-end): Match new [...] and [[...]].
5652
11636b22
JB
56532011-12-11 Juanma Barranquero <lekktu@gmail.com>
5654
5655 * ses.el (ses-call-printer-return, ses-cell-property-get)
5656 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5657 (ses-create-cell-variable, ses-reset-header-string)
5658 (ses-cell-set-formula, ses-repair-cell-reference-all)
5659 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5660 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5661 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5662 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5663 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5664 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5665 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5666 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5667 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5668 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5669 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5670 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5671
cf018193
VB
56722011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5673
5674 * ses.el: The overall change is to add cell renaming, that is
5675 setting fancy names for cell symbols other than name matching
5676 "\\`[A-Z]+[0-9]+\\'" regexp .
5677 (ses-create-cell-variable): New defun.
5678 (ses-relocate-formula): Relocate formulas only for cells the
5679 symbols of which are not renamed, i.e. symbols whose names do not
5680 match regexp "\\`[A-Z]+[0-9]+\\'".
5681 (ses-relocate-all): Relocate values only for cells the symbols of
5682 which are not renamed.
5683 (ses-load): Create cells variables as the (ses-cell ...) are read,
5684 in order to check row col consistency with cell symbol name only
5685 for cells that are not renamed.
5686 (ses-replace-name-in-formula): New defun.
5687 (ses-rename-cell): New defun.
5688
ee957461
CY
56892011-12-11 Chong Yidong <cyd@gnu.org>
5690
5691 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5692 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5693
9a9e9ef0
MR
56942011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5695
5696 * window.el (other-window): Fix docstring.
5697
92a8eba5
EZ
56982011-12-10 Eli Zaretskii <eliz@gnu.org>
5699
5700 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5701 `from' or `to' address before taking its substring.
5702 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5703 encoded name is chopped in the middle of the encoded string, and
5704 thus displayed encoded.
5705
e152e577
JB
57062011-12-10 Juanma Barranquero <lekktu@gmail.com>
5707
5708 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5709
e5d84bfe
EZ
57102011-12-10 Eli Zaretskii <eliz@gnu.org>
5711
5712 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5713 to use texinfo-update-node and commands that call it if the
5714 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5715 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5716 (texinfo-all-menus-update, texinfo-master-menu)
5717 (texinfo-update-node, texinfo-every-node-update)
5718 (texinfo-multiple-files-update): Doc fix. Warn against updating
5719 all the @node lines.
5720 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5721 argument is numeric. Explain better in the doc string what the
5722 function really does.
5723 (texinfo-insert-master-menu-list): Improve the error message
5724 displayed if there's no menu in the Top node.
5725 (Bug#2975) See also this thread:
e5d84bfe
EZ
5726 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5727
1d84e9bb
MG
57282011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5729
5730 * speedbar.el (speedbar-supported-extension-expressions):
5731 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5732
382c953b
JB
57332011-12-09 Juanma Barranquero <lekktu@gmail.com>
5734
5735 * printing.el (pr-mode-alist):
5736 * simple.el (filter-buffer-substring-functions)
5737 (completion-list-insert-choice-function):
5738 * window.el (window-with-parameter, window-atom-root)
5739 (window-sides-slots, window-size-fixed, window-min-delta)
5740 (window-max-delta, window--resize-mini-window)
5741 (window--resize-child-windows-normal, window-tree)
5742 (delete-other-windows, quit-window, split-window)
5743 (display-buffer-record-window, special-display-buffer-names)
5744 (special-display-regexps, special-display-popup-frame)
5745 (same-window-p, split-window-sensibly)
5746 (display-buffer-overriding-action, display-buffer-alist)
5747 (display-buffer-base-action, display-buffer, switch-to-buffer)
5748 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5749 (fit-window-to-buffer, recenter-positions)
5750 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5751 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5752 and remove unneeded backslashes in docstrings.
5753
39c9faef
SM
57542011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5755
98449af8
SM
5756 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5757
39c9faef
SM
5758 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5759 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5760 end in ".mk".
5761 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5762 when reading the makefile (bug#10116).
5763
86ed9fdc
SM
57642011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5765
5766 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5767 (bug#10116).
5768
5580f89d
GM
57692011-12-06 Glenn Morris <rgm@gnu.org>
5770
5771 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5772
28d3917c
CY
57732011-12-06 Chong Yidong <cyd@gnu.org>
5774
5775 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5776
a98edce9
JB
57772011-12-06 Juanma Barranquero <lekktu@gmail.com>
5778
5779 * textmodes/table.el (table-shorten-cell): Fix typo.
5780
e65adfac
CG
57812011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5782
5783 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5784
71cc0b74
EZ
57852011-12-05 Eli Zaretskii <eliz@gnu.org>
5786
5787 * descr-text.el (describe-char): Fix display of strong
5788 right-to-left characters and directional embeddings and overrides.
5789
5790 * simple.el (what-cursor-position): Fix display of codepoints of
5791 strong right-to-left characters.
5792
315bc30d
CY
57932011-12-05 Chong Yidong <cyd@gnu.org>
5794
5795 * faces.el (read-color): Doc fix.
5796
58a70b94
GM
57972011-12-05 Glenn Morris <rgm@gnu.org>
5798
5799 * align.el (align--set-marker): Add doc-string.
5800 Don't try to move something that is not a marker. (Bug#10216)
5801
5158face
GM
58022011-12-04 Glenn Morris <rgm@gnu.org>
5803
5804 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5805 overly zealous deletion of trailing whitespace.
5806
520fca41
JB
58072011-12-04 Juanma Barranquero <lekktu@gmail.com>
5808
5809 * server.el (server-delete-client): On Windows, do not try to delete
5810 the only terminal.
5811 (server-process-filter): On Windows, treat requests for a tty frame as
5812 if they were for a GUI frame if the running server is in GUI mode.
5813
5e605a2e
GM
58142011-12-03 Glenn Morris <rgm@gnu.org>
5815
5816 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5817
5c3fe83f
SM
58182011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5819
6f5e57e7
SM
5820 * electric.el: Streamline electric-indent's hook.
5821 (electric-indent-chars): Revert to simple list.
5822 (electric-indent-functions): New var.
5823 (electric-indent-post-self-insert-function): Use it.
5824
5c3fe83f
SM
5825 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5826 there's no inferior buffer (bug#10196).
5827 (prolog-consult-compile): Don't use toggle-read-only.
5828
6bdac736
MA
58292011-12-02 Michael Albinus <michael.albinus@gmx.de>
5830
5831 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5832 interrupt. (Bug#10187)
5833
6131ba7f
SM
58342011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5835
99c79fee
SM
5836 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5837 (bug#9160).
5838
6131ba7f
SM
5839 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5840 (bug#10191).
5841
cb0a02ea
JL
58422011-12-02 Juri Linkov <juri@jurta.org>
5843
5844 * info.el (Info-search): Display "end of manual" when Isearch
5845 reaches the end of single-file Info manual. (Bug#9918)
5846
66e0570c
EZ
58472011-12-02 Eli Zaretskii <eliz@gnu.org>
5848
5849 * isearch.el (isearch-message-prefix): Run the input method part
5850 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5851
02b16839
JL
58522011-12-02 Juri Linkov <juri@jurta.org>
5853
5854 * isearch.el (isearch-occur): Use `word-search-regexp' for
5855 `isearch-word'.
5856 (isearch-search-and-update): Add condition for `isearch-word' and
5857 call `word-search-regexp'. (Bug#10145)
5858
0b950688
GM
58592011-12-01 Glenn Morris <rgm@gnu.org>
5860
5861 * eshell/em-hist.el (eshell-hist-initialize):
5862 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5863 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5864
9505c3c7
SM
58652011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5866
5867 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5868
1bbe96b2 58692011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5870
a1beca85
SM
5871 * progmodes/verilog-mode.el (verilog-pretty-expr):
5872 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5873 verilog, such as += *= and the like.
5874 (verilog-assignment-operator-re): Regular expression to find the
5875 assigment operator in a verilog assignment.
5876 (verilog-assignment-operation-re): Regular expression to find an
5877 assignment statement for pretty-expr.
5878 (verilog-in-attribute-p): Query returns true if point is in an
5879 attribute context; used to skip these for expression line up from
5880 pretty-expr.
5881 (verilog-in-parameter-p): Query returns true if point is in an
5882 parameter definition context; used to skip these for expression
5883 line up from pretty-expr.
5884 (verilog-in-parenthesis-p): Query returns true if point is in a
5885 parenthetical expression, specifically ( ) but not [ ] or { };
5886 used by pretty-expr.
5887 (verilog-just-one-space): If there is no space, don't add one.
5888 (verilog-get-lineup-indent-2): Specifically skip just attribute
5889 contexts for expression lineup, rather than skipping all
5890 parenthetical expressions.
5891 (verilog-calculate-indent): Fix comment, and fix indent.
5892 (verilog-do-indent): Indent declarations in lists (suggested by
5893 Joachim Lechner).
5894 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5895 skeleton items.
5896 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5897 by Alain Mellan).
5898
1bbe96b2 58992011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5900
5901 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5902 parameters with embedded comments. Reported by Ray Stevens.
5903 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5904 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5905 Reported by Tim Holt.
5906 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5907 instantiated by upper module causing wrong expansion until AUTOed a
5908 second time. Reported by K C Buckenmaier.
5909 (verilog-diff-auto): Fix showing .* as a difference when
5910 `verilog-auto-star-save' off. Reported by Dan Dever.
5911 (verilog-auto-reset, verilog-read-always-signals)
5912 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5913 temporary signals in reset list if
5914 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5915 style to each signal's assignment type, bug381.
5916 Reported by Thomas Esposito.
6288f0ca
WS
5917 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5918 (verilog-uvm-statement-re): Support UVM indentation and
5919 highlighting, with old OVM keywords only.
a1beca85 5920 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5921 Support AUTOTIEOFF creating non-wire data types.
5922 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5923 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5924 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5925 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5926 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5927 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5928 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5929 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5930 non-numeric vector width. Reported by Alex Reed.
5931 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5932 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5933 (verilog-auto-delete-trailing-whitespace):
5934 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5935 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5936 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5937 Fix verilog-scan-cache corruption when running user AUTO expansion
5938 hooks that call indentation routines.
5939 (verilog-simplify-range-expression): Fix typo ignoring lower case
5940 identifiers.
5941 (verilog-delete-auto): Fix delete-autos to also remove user created
5942 automatics, as long as they start with AUTO.
5943 (verilog-batch-diff-auto, verilog-diff-auto)
5944 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5945 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5946 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5947 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5948 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5949 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5950 is disabled and its cache will get corrupt, causing AUTOS not to
5951 expand. Instead use only -quick functions.
5952 (verilog-scan-region): Fix scanning over escaped quotes.
5953 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5954 (verilog-re-search-backward-quick)
5955 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5956 related functions now ignore strings, to fix misparsing of strings
5957 with magic comments embedded in them.
a1beca85
SM
5958 (verilog-read-auto-template):
5959 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5960 Reported by Brad Dobbie.
5961 (verilog-read-auto-template):
5962 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5963 Reported by Brad Dobbie.
6288f0ca
WS
5964 (verilog-auto-inst, verilog-auto-inst-param)
5965 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5966 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5967 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
5968 debugging templates without merge conflicts, bug357.
5969 Reported by Brad Dobbie.
5970 (verilog-read-auto-template):
5971 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
5972 Reported by Brad Dobbie.
5973 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5974 abbrevs so user won't be asked to save.
5975 (verilog-read-auto-lisp-present): Fix to start at beginning of
5976 buffer in case called outside of verilog-auto.
5977 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5978 to "X-2". Reported by Matthew Myers.
5979 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5980 all inputs from module templates. Reported by Leith Johnson.
5981 (verilog-module-inside-filename-p): Fix locating programs as with
5982 modules.
5983 (verilog-auto-inst-port): Fix vl-width expressions when using
5984 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5985 (verilog-decls-get-regs, verilog-decls-get-signals,
5986 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5987 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5988 verilog-read-decls): Combine reg and wire structures into one var
5989 structure to represent SystemVerilog concepts.
5990 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5991 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
5992 (verilog-auto-wire-type, verilog-insert-definition):
5993 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
5994 SystemVerilog "logic" keyword instead of "wire"/"reg".
5995 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5996 to declares outputs that also have assignments (presumably in an
a1beca85
SM
5997 ifdef or generate if so there's not a driver conflict).
5998 Reported by Matthew Myers.
5999 (verilog-auto-declare-nettype, verilog-insert-definition):
6000 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
6001 `default_nettype none. Reported by Julian Gorfajn.
6002 (verilog-read-always-signals-recurse, verilog-read-decls)
6003 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6004 malformed end statement, bug325. Reported by Joshua Wise and
6005 Andrew Drake.
6006 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6007 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
6008 when expanding .* in interfaces, bug320.
6009 Reported by Pierre-David Pfister.
6288f0ca 6010 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
6011 name and open parenthesis, bug317.
6012 Reported by Pierre-David Pfister.
6288f0ca
WS
6013 (verilog-simplify-range-expression): Fix simplification of
6014 multiplications inside AUTOWIRE connections, bug303.
6015 (verilog-auto-inst-port): Support parameter expansion in
6016 multidimensional arrays.
6017 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6018 after "assert property". Reported by Julian Gorfajn.
6019 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6020 with multiplication, bug303.
6021 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6022 Reported by Jan Frode Lonnum.
6023
1bbe96b2
GM
60242011-11-30 Juanma Barranquero <lekktu@gmail.com>
6025
6026 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6027 (hfy-shell-file-name, hfy-shell):
6028 * international/fontset.el (x-decompose-font-name): Fix typos.
6029
60302011-11-29 Ken Brown <kbrown@cornell.edu>
6031
6032 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6033 (gdb-version): Remove defvar.
6034 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6035 (gdb-gud-context-command, gdb-non-stop-handler)
6036 (gdb-current-context-command, gdb-stopped): Use it.
6037 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
6038 (gdb-non-stop-handler): Don't enable pretty-printing here.
6039 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
6040 non-stop mode. Use the following.
6041 (gdb-check-target-async): New defun.
6042 (gud-watch, gdb-stopped): Fix whitespace.
6043 (gdb-get-source-file): Don't try to display the source file if
6044 `gdb-main-file' is nil.
6045
60462011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6047
6048 * align.el: Try to generate fewer markers (bug#10047).
6049 (align--set-marker): New macro.
6050 (align-region): Use it.
6051
c935221f
SM
60522011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6053
6054 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6055
e70b5064
CY
60562011-11-29 Chong Yidong <cyd@gnu.org>
6057
6058 * indent.el (indent-for-tab-command, indent-according-to-mode):
6059 Doc fix.
6060 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6061
f3af92b7
MA
60622011-11-29 Michael Albinus <michael.albinus@gmx.de>
6063
6064 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6065 aware of remote file names. (Bug#10124)
6066
ed472be9
CY
60672011-11-29 Chong Yidong <cyd@gnu.org>
6068
6069 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6070
24510c22
SM
60712011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6072
6073 * files.el (find-file): Don't use force-same-window (bug#10144).
6074 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6075 use pop-to-buffer if the selected window can't be used.
6076 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6077
c60c3703
EZ
60782011-11-28 Eli Zaretskii <eliz@gnu.org>
6079
6080 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6081 special-mode-map.
6082
e95def75
CY
60832011-11-28 Chong Yidong <cyd@gnu.org>
6084
6085 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6086
c3f1c606
NR
60872011-11-27 Nick Roberts <nickrob@snap.net.nz>
6088
6089 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6090 gdb-get-source-file-list on gdb-create-source-file-list.
6091
00db469c
EZ
60922011-11-26 Eli Zaretskii <eliz@gnu.org>
6093
6094 * whitespace.el (whitespace-newline): Use a different foreground
6095 color for 16-color light-background displays.
6096
4ad3bc2a
CY
60972011-11-24 Chong Yidong <cyd@gnu.org>
6098
6099 * window.el (display-buffer--special-action): Doc fix.
6100
e9fce1ac
JB
61012011-11-25 Juanma Barranquero <lekktu@gmail.com>
6102
6103 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6104 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6105 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6106 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6107 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6108 (avl-tree-stack-first):
6109 * emacs-lisp/cconv.el (cconv--analyse-use):
6110 * net/gnutls.el (gnutls-negotiate): Fix typos.
6111
cb825e5d
GM
61122011-11-24 Glenn Morris <rgm@gnu.org>
6113
3adbe224
GM
6114 * lpr.el (lpr-windows-system, lpr-lp-system):
6115 * mail/binhex.el (binhex-begin-line):
6116 * progmodes/grep.el (grep-history, grep-find-history):
6117 * textmodes/flyspell.el:
6118 * vc/pcvs-defs.el (cvs-global-menu):
6119 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6120 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6121 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6122
321decc8
GM
6123 * net/tls.el: Fix case of "GnuTLS".
6124
420b63ad
GM
6125 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6126
cb825e5d
GM
6127 * version.el (emacs-build-system): Give it a doc-string.
6128
a0649f08
JL
61292011-11-24 Juri Linkov <juri@jurta.org>
6130
6131 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6132
c0bc0fd4
GM
61332011-11-24 Glenn Morris <rgm@gnu.org>
6134
6135 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6136 if called on a non-mime message just toggle the headers. (Bug#8006)
6137
20db1522
JB
61382011-11-24 Juanma Barranquero <lekktu@gmail.com>
6139
6140 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6141 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6142 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6143 (allout-rebullet-heading, allout-open-sibtopic)
6144 (allout-toggle-current-subtree-encryption)
6145 (allout-toggle-subtree-encryption, allout-encrypt-string)
6146 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6147 (allout-distinctive-bullets-string, allout-auto-activation):
6148 * window.el (window-normalize-buffer-to-display):
6149 * progmodes/verilog-mode.el (verilog-batch-indent):
6150 * textmodes/bibtex.el (bibtex-field-braces-opt)
6151 (bibtex-field-strings-opt):
6152 * vc/cvs-status.el (cvs-tree-merge):
6153 Fix typos.
6154
7262a87c
MA
61552011-11-23 Michael Albinus <michael.albinus@gmx.de>
6156
6157 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6158 `non-essential' to t, in order to avoid remote connections.
6159
283430a1
EZ
61602011-11-23 Eli Zaretskii <eliz@gnu.org>
6161
a1beca85
SM
6162 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6163 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
6164 case-insensitively.
6165
d2992a38
ML
61662011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6167
6168 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6169
50419064
GM
61702011-11-23 Glenn Morris <rgm@gnu.org>
6171
da94eca1
GM
6172 * paths.el (rmail-file-name): Reformat the doc-string so that it
6173 is picked up.
6174
9aac4de2
GM
6175 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6176 (rmail-auto-file): Ignore case in the "special" field names,
6177 as mail-fetch-field does for all others.
6178
8038d2d2
GM
6179 * mail/rmail.el (rmail-forward):
6180 * mail/rmailkwd.el (rmail-set-label):
6181 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6182 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6183
f3fe222a
GM
6184 * mail/rmail.el (rmail-current-message): Doc fix.
6185
50419064
GM
6186 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6187
28109f49
SM
61882011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6189
6190 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6191
394c65f1
GM
61922011-11-22 Glenn Morris <rgm@gnu.org>
6193
6194 * mail/rmailmm.el (test-rmail-mime-handler)
6195 (test-rmail-mime-bulk-handler)
6196 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6197
f2a0aa3a
JL
61982011-11-21 Juri Linkov <juri@jurta.org>
6199
1154d12e
JB
6200 * calc/calc.el (calc-read-key-sequence):
6201 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6202
9c34a344
LMI
62032011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6204
6205 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6206 Tell the caller that the next line needs recomputation, even
6207 though it doesn't start a sexp (bug#10094).
6208
f04a3be9
SM
62092011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6210
6211 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6212
7978747f
SM
62132011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6214
f04a3be9
SM
6215 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6216 Use force-same-window.
7978747f 6217
fe7a3057
JB
62182011-11-20 Juanma Barranquero <lekktu@gmail.com>
6219
6220 * descr-text.el (describe-char-unicode-data):
6221 * json.el (json-string-escape):
6222 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6223 (Footnote-unicode, Footnote-style-p):
6224 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6225
24901d61
CY
62262011-11-20 Chong Yidong <cyd@gnu.org>
6227
6228 * window.el (replace-buffer-in-windows): Restore interactive spec.
6229
bac7ff22
SM
62302011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6231
24f3d7b9
SM
6232 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6233
bac7ff22
SM
6234 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6235 (byte-compile-global-not-obsolete-vars): New var.
6236 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6237 Use it.
6238 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6239
cd1181db
JB
62402011-11-20 Juanma Barranquero <lekktu@gmail.com>
6241
6242 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6243 * progmodes/pascal.el (electric-pascal-equal):
6244 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6245 * xml.el (xml-substitute-special): Fix typos.
6246
7fb18e9e
GM
62472011-11-20 Glenn Morris <rgm@gnu.org>
6248
6249 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6250 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6251 Doc fixes.
6252 (rmail-decode-mime-charset): Mark as obsolete.
6253
6254 * mail/rmailsum.el (rmail-message-regexp-p-1):
6255 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6256 Before using mime functions, check they are set. (Bug#10077)
6257
d5a6b3ba
JL
62582011-11-19 Juri Linkov <juri@jurta.org>
6259
6260 * info.el (Info-finder-find-node): Use `package--builtins' instead
6261 of `package-alist'. Use node names formed by the pattern "Keyword "
6262 and the keyword name.
6263
e981b61f
AS
62642011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6265
1d00653d 6266 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6267
3ffbc301
JL
62682011-11-19 Juri Linkov <juri@jurta.org>
6269
6270 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6271 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6272 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6273 `old-history', `old-history-forward'. Add let-binding
6274 `window-selected'. Remove calls to `kill-buffer',
6275 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6276 before calling `Info-find-node', so `Info-find-node-2' will reread
6277 the Info file. Restore window positions only when `window-selected'
6278 is non-nil.
6279
30c62133
JL
62802011-11-19 Juri Linkov <juri@jurta.org>
6281
6282 * isearch.el (isearch-lazy-highlight-new-loop):
6283 Remove condition `(not isearch-error)'. (Bug#9918)
6284
6285 * misearch.el (multi-isearch-search-fun): Add condition
6286 `(not bound)' to ignore lazy-highlighting search.
6287 Add the search-failed message "end of multi" when the end of
6288 multi-sequence is reached. Uncapitalize the search-failed
6289 message "Repeat for next buffer".
6290
6291 * info.el (Info-search): Add the search-failed message
6292 "end of the manual" when the end of the manual is reached
6293 in Isearch mode.
6294
645ca9cf
JL
62952011-11-19 Juri Linkov <juri@jurta.org>
6296
6297 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6298 Use non-destructive `remove' instead of `delete' because
6299 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6300 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6301
df754f66
JL
63022011-11-19 Juri Linkov <juri@jurta.org>
6303
6304 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6305 to nil instead of binding `search-ring' and `regexp-search-ring'.
6306 (Bug#9185)
6307
0e23d96a
EZ
63082011-11-19 Eli Zaretskii <eliz@gnu.org>
6309
6310 * simple.el (line-move): Force movement by logical lines for any
6311 hscrolled window, not only when auto-hscroll-mode is on.
6312 (line-move-visual): Update doc string to that effect. (Bug#10076)
6313
8a6ccb66
AS
63142011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6315
6316 * language/european.el (macintosh): Define as alias for mac-roman.
6317
49ae5b39
EZ
63182011-11-19 Eli Zaretskii <eliz@gnu.org>
6319
6320 * mail/rmailmm.el (rmail-mime-display-header)
6321 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6322 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6323 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6324 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6325 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6326 of a raw aref.
6327 (rmail-mime-entity-segment): To get past the tagline, move forward
6328 2 more lines, to account for the 2 empty lines that precede and
6329 follow the line with the buttons.
6330 (rmail-mime-update-tagline): Move one more line, to get past the
6331 empty line that follows the buttons in the tagline. (Bug#9520)
6332
c56cad4a
MR
63332011-11-19 Martin Rudalics <rudalics@gmx.at>
6334
6335 * window.el (window-max-delta-1, window-min-delta-1)
6336 (window-min-size-1, window-state-get-1, window-state-put-1)
6337 (window-state-put-2): Use "window--" prefix.
6338
cbe71af3
SM
63392011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6340
2ad52c60
SM
6341 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6342 (smie-warning-count): New var.
6343 (smie-set-prec2tab): Use it.
6344 (smie-bnf->prec2): Improve warnings. Add docstring.
6345 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6346 (smie-bnf--set-class): New function.
6347 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6348 corner case.
6349
6944dbc1
SM
6350 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6351 (compilation-error-properties, compilation-move-to-column):
6352 Handle compilation-first-column while in the target buffer.
6353
c400c4d7
SM
6354 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6355 Don't hardcode point-min==1.
6356
6dbe3e96
SM
6357 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6358 (eshell-rewrite-for-command): Remove workaround.
6359 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6360 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6361 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6362
cbe71af3
SM
6363 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6364
a8e1496d
GM
63652011-11-17 Glenn Morris <rgm@gnu.org>
6366
6367 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6368 Ignore buffer-local generated-autoload-file if it is the same
6369 as the global value. (Bug#10049)
6370
df85d315
JB
63712011-11-17 Juanma Barranquero <lekktu@gmail.com>
6372
6373 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6374 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6375 (reftex-toc-previous-heading, reftex-toc-max-level)
6376 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6377 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6378 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6379 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6380 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6381 (reftex-toc-rename-label, reftex-toc-visit-location)
6382 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6383 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6384 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6385 leaving "*toc*" only for references to the buffer.
6386
a0c2d0ae
MR
63872011-11-17 Martin Rudalics <rudalics@gmx.at>
6388
6389 * window.el (window-resize, delete-window, split-window):
6390 Replace window-splits by window-combination-resize.
1d00653d 6391 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6392
35c0bac8
GM
63932011-11-17 Glenn Morris <rgm@gnu.org>
6394
6395 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6396 Make bash entry derive from sh entry, not shell entry.
6397
d0c8fc8a
MA
63982011-11-16 Michael Albinus <michael.albinus@gmx.de>
6399
7262a87c
MA
6400 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6401 local file name.
6402
7877f373
JB
64032011-11-16 Juanma Barranquero <lekktu@gmail.com>
6404
6405 * menu-bar.el (menu-bar-file-menu):
6406 * printing.el (pr-ps-utility):
6407 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6408 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6409 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6410 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6411 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6412 (icalendar--convert-cyclic-to-ical)
6413 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6414 (icalendar--convert-ical-to-diary)
6415 (icalendar--convert-recurring-to-diary)
6416 (icalendar--convert-non-recurring-all-day-to-diary)
6417 (icalendar-import-format-sample):
6418 * progmodes/idlw-shell.el (idlwave-shell-mode):
6419 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6420 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6421 (vhdl-ps-print-init): Fix typos.
6422
10649b82
KM
64232011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6424
9d0cfcd6
GM
6425 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6426 FSF and collapse date sequence, obscure author/maintainer email address
6427 better, remove extra version line, track relocation of author's webpage.
10649b82 6428
9d0cfcd6
GM
6429 * progmodes/python.el (python-pdbtrack-input-prompt)
6430 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6431 regular python pdb prompts. Adjustments shamelessly taken exactly as
6432 suggested in EmacsWiki page (tiny change):
6433 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6434
58179cce
JB
64352011-11-16 Juanma Barranquero <lekktu@gmail.com>
6436
6437 * expand.el (expand-pos, expand-index, expand-point):
6438 Remove redundant info from docstring.
6439 (expand-add-abbrevs): Doc fix.
6440 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6441 (expand-sample-perl-mode-expand-list): Fix typos.
6442
6443 * net/dbus.el (dbus-event-member-name):
6444 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6445 * term/pc-win.el (msdos-create-frame-with-faces):
6446 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6447
b6f67890
MR
64482011-11-16 Martin Rudalics <rudalics@gmx.at>
6449
6450 * window.el (split-window, window-state-get-1)
6451 (window-state-put-1, window-state-put-2): Rename occurrences of
6452 window-nest to window-combination-limit.
1d00653d 6453 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6454
ce7ddba0
CY
64552011-11-16 Chong Yidong <cyd@gnu.org>
6456
6457 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6458 regexp (Bug#10033).
6459
3ae704f4
SM
64602011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6461
6462 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6463 `completing-read' will remove *Completions* and will preserve
6464 current-buffer for us.
6465 (tmm-add-prompt): Users of *Completions* will always (re)set its
6466 major mode.
6467 (tmm-old-comp-map): Remove.
6468
6ad1cdde
GM
64692011-11-16 Glenn Morris <rgm@gnu.org>
6470
6471 * mail/rmailedit.el: Require rmailmm when compiling.
6472 (rmail-old-mime-state): New declaration.
6473 (rmail-edit-current-message): If editing a mime message,
6474 edit the "raw" message from the mbox buffer.
6475 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6476
d20faa20
GM
64772011-11-15 Glenn Morris <rgm@gnu.org>
6478
6479 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6480 which wasn't being used. Add optional arg to force given state.
6481 (rmail-mime): Add optional arg to force given state.
6482
c7015153
JB
64832011-11-15 Juanma Barranquero <lekktu@gmail.com>
6484
6485 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6486 * frame.el (display-mm-dimensions-alist):
6487 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6488 (outline-move-subtree-down):
6489 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6490 (newsticker--treeview-do-get-node):
6491 * net/quickurl.el (quickurl-list-buffer-name):
6492 * progmodes/dcl-mode.el (dcl-mode):
6493 * progmodes/gdb-mi.el (gdb-mapcar*):
6494 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6495
45261b50
GM
64962011-11-15 Glenn Morris <rgm@gnu.org>
6497
6498 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6499 in a boolean sense, so just make it a boolean, and fix the doc.
6500 (rmail-show-mime-function, rmail-mime-feature)
6501 (rmail-require-mime-maybe): Doc fixes.
6502 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6503
6504 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6505
0d26e0b6
JB
65062011-11-15 Juanma Barranquero <lekktu@gmail.com>
6507
6508 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6509 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6510 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6511 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6512
447f30f6
GM
65132011-11-15 Glenn Morris <rgm@gnu.org>
6514
672b871d
GM
6515 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6516 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6517 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6518 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6519 (rmail-mime, rmail-show-mime): Doc fixes.
6520
f6aa5bb1
GM
6521 * term/ns-win.el (mode-line-frame-identification):
6522 Leave it alone. (Bug#10051)
6523
947cd66b
GM
6524 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6525
447f30f6
GM
6526 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6527 Handle empty buffers. (Bug#9978)
6528
0b381c7e
JB
65292011-11-14 Juanma Barranquero <lekktu@gmail.com>
6530
6531 * international/mule.el (define-charset):
6532 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6533 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6534 * progmodes/verilog-mode.el (verilog-backward-token):
6535 * textmodes/ispell.el (lookup-words):
6536 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6537
71e027ac
GM
65382011-11-14 Glenn Morris <rgm@gnu.org>
6539
56632ce4
GM
6540 * progmodes/executable.el
6541 (executable-make-buffer-file-executable-if-script-p):
6542 Handle file-modes returning nil.
6543
40500957
GM
6544 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6545 message - not necessary, and causes problems. (Bug#9831)
6546
071c2340
GM
6547 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6548
d3cfca60
GM
6549 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6550
71e027ac
GM
6551 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6552 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6553 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6554
89d61221
MR
65552011-11-12 Martin Rudalics <rudalics@gmx.at>
6556
6557 * window.el (window-resize, delete-window): Use window-splits
6558 variable instead of function.
6559 (window-state-get-1, window-state-put-2, window-state-put):
6560 Don't deal with windows' splits status.
6561
98282f6f
GM
65622011-11-12 Glenn Morris <rgm@gnu.org>
6563
6564 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6565 (apropos-documentation): Doc fixes.
6566
40a8bdf6
JB
65672011-11-11 Juanma Barranquero <lekktu@gmail.com>
6568
6569 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6570 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6571
65bd19ff
SM
65722011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6573
6574 * electric.el (electric-indent-post-self-insert-function): Make it
6575 possible for a char to only indent in some circumstances.
6576 (electric-indent-mode): Simplify.
6577
54f9154c
MR
65782011-11-11 Martin Rudalics <rudalics@gmx.at>
6579
6580 * window.el (windows-with-parameter): Remove unused function.
6581 (windows-at-side): Rename to window-at-side-list.
6582 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6583 (window-side-check, window-size-ignore, window-size-fixed-1)
6584 (window-in-direction-2): Prefix with "window--".
6585 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6586
68cbc58b
GM
65872011-11-11 Glenn Morris <rgm@gnu.org>
6588
6589 * subr.el (eval-after-load): If FILE is already loaded,
6590 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6591
b2621720
GM
65922011-11-10 Glenn Morris <rgm@gnu.org>
6593
9a4de110
GM
6594 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6595 Call svn via vc-svn-command rather than vc-do-command.
6596 (vc-svn-command): Add --non-interactive. (Bug#9993)
6597 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6598
b2621720
GM
6599 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6600 Add toggle-read-only. (Bug#7292)
6601 * files.el (toggle-read-only): Mention that it should only
6602 be used interactively. (Bug#10006)
6603
1dce7193
SM
66042011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6605
d9ac1a1e
SM
6606 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6607 Adjust regexp for OCaml warnings.
6608
0c325082
SM
6609 * electric.el (electric-pair-post-self-insert-function): Let user
6610 turn it off buffer-locally (bug#9932).
6611
90132c14
SM
6612 * progmodes/python.el (python-beginning-of-statement):
6613 Rewrite (bug#2703).
6614
1dce7193
SM
6615 * progmodes/compile.el: Better handle TABs (bug#9749).
6616 (compilation-internal-error-properties)
6617 (compilation-next-error-function): Obey the target buffer's
6618 compilation-error-screen-columns.
6619
c4e7c63a
JB
66202011-11-09 Juanma Barranquero <lekktu@gmail.com>
6621
6622 * progmodes/meta-mode.el: Remove obsolete comments.
6623 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6624 Fix typos in docstrings.
6625
2cffd681
MR
66262011-11-09 Martin Rudalics <rudalics@gmx.at>
6627
6628 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6629 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6630 (window--resizable): New function. Make all callers of
6631 window-resizable call window--resizable instead.
6632 (window-resizable): Rewrite in terms of window--resizable.
6633
0edcba87
GM
66342011-11-08 Glenn Morris <rgm@gnu.org>
6635
6636 * progmodes/delphi.el (delphi-mode-syntax-table):
6637 Let define-derived-mode define a proper syntax table. (Bug#9994)
6638
4b0d61e3
SM
66392011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6640
6641 * window.el: Stay away from defsubst.
6642 (window-list-no-nils): Remove.
6643 (window-state-get-1, window-state-get): Use backquote instead.
6644
cd394be1 66452011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6646
4b0d61e3 6647 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6648 Fix incorrect use of default argument in `completing-read'.
6649
e1c2c6f2
MR
66502011-11-08 Martin Rudalics <rudalics@gmx.at>
6651
6652 * window.el (display-buffer-function, special-display-function):
6653 Mention display-buffer-record-window but do not mention
6654 help-setup parameter in doc-strings.
b3f4a882 6655 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6656
105216ed
CY
66572011-11-08 Chong Yidong <cyd@gnu.org>
6658
6659 * window.el (window-total-height, window-total-width): Doc fix.
6660 (window-body-size): Move from C.
6661 (window-body-height, window-body-width): Move to C.
6662
0a9f9ab5
SM
66632011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6664
6665 * window.el: Make special-display like display-buffer-alist (bug#9532).
6666 (display-buffer--special-action): New function, morphed
6667 from display-buffer--special.
6668 (display-buffer): Use it to handle special-display-buffers at higher
6669 priority (just after display-buffer-alist).
6670 (display-buffer-fallback-action, display-buffer--other-frame-action)
6671 (pop-to-buffer-same-window): Remove display-buffer--special.
6672
a769dd15
GM
66732011-11-07 Glenn Morris <rgm@gnu.org>
6674
6675 * calendar/cal-menu.el (cal-menu-set-date-title):
6676 Do nothing if not in a calendar. (Bug#9976)
6677
05a61ee3
SM
66782011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6679
6680 * files.el (find-file): Always use selected-window.
6681
be7f5545
MR
66822011-11-07 Martin Rudalics <rudalics@gmx.at>
6683
6684 * window.el (window-combinations): Make WINDOW argument
6685 mandatory. Rewrite doc-string.
6686 (walk-window-subtree, window-atom-check, window-min-delta)
6687 (window-max-delta, window--resize-this-window)
6688 (window--resize-root-window-vertically, window-tree)
6689 (balance-windows, window-state-put): Rewrite doc-strings as to
6690 not mention the term "subwindow".
6691 (window--resize-subwindows-skip-p): Rename to
6692 window--resize-child-windows-skip-p.
6693 (window--resize-subwindows-normal): Rename to
6694 window--resize-child-windows-normal.
6695 (window--resize-subwindows): Rename to
6696 window--resize-child-windows.
6697 (window-or-subwindow-p): Rename to window--in-subtree-p.
6698
3c6702ef
ML
66992011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6700
6701 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6702 Ensure that mbox format messages end in two newlines (Bug#9974).
6703
49745b39
CY
67042011-11-06 Chong Yidong <cyd@gnu.org>
6705
6706 * window.el (window-combination-p): Function deleted; its
6707 side-effect is not used in any existing code.
6708 (window-combinations, window-combined-p): Call window-*-child
6709 directly.
6710
24300f5f
CY
67112011-11-05 Chong Yidong <cyd@gnu.org>
6712
6713 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6714 (window-size-ignore, window-state-get): Callers changed.
6715 (window-normalize-window): Rename from window-normalize-any-window.
6716 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6717 (window-normalize-live-window): Delete.
447f16b8
CY
6718 (window-combination-p, window-combined-p, window-combinations)
6719 (walk-window-subtree, window-atom-root, window-min-size)
6720 (window-sizable, window-sizable-p, window-size-fixed-p)
6721 (window-min-delta, window-max-delta, window-resizable)
6722 (window-resizable-p, window-full-height-p, window-full-width-p)
6723 (window-current-scroll-bars, window-point-1, set-window-point-1)
6724 (window-at-side-p, window-in-direction, window-resize)
6725 (adjust-window-trailing-edge, maximize-window, minimize-window)
6726 (window-deletable-p, delete-window, delete-other-windows)
6727 (record-window-buffer, unrecord-window-buffer)
6728 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6729 (quit-window, split-window, window-state-put)
6730 (set-window-text-height, fit-window-to-buffer)
6731 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6732
89bd5ee1
EZ
67332011-11-04 Eli Zaretskii <eliz@gnu.org>
6734
53479029
EZ
6735 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6736 rfc2047-decode-string.
6737 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6738 warnings.
6739
89bd5ee1
EZ
6740 * window.el (window-body-height, window-body-width): Mention in
6741 the doc string that the return values are in frame's canonical
6742 units. (Bug#9949)
6743
bd17fdee
AM
67442011-11-03 Alan Mackenzie <acm@muc.de>
6745
6746 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6747 change in cc-engine.el.
6748
acc825c5
SM
67492011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6750
6751 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6752
1885e5b8
MR
67532011-11-02 Martin Rudalics <rudalics@gmx.at>
6754
6755 * window.el (quit-window): Call unrecord-window-buffer after
6756 showing another buffer in the window. (Bug#9937)
acc825c5 6757 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6758
ebe06da9
JB
67592011-11-02 Juanma Barranquero <lekktu@gmail.com>
6760
6761 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6762 Accept status with more than 9 shelves. (Bug#9935)
6763 Reported by Colin D Bennett <colin@gibibit.com>.
6764
4ee88440
MR
67652011-11-01 Martin Rudalics <rudalics@gmx.at>
6766
6767 * help.el (with-help-window): Don't reference
6768 temp-buffer-show-specifiers in doc-string.
6769
08e1d82c
AS
67702011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6771
6772 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6773 menu-item.
6774
84bd6e9e
VJL
67752011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6776
6777 * whitespace.el: New version 13.2.2.
6778 (whitespace-newline-mode): Disable properly. Reported by Sarah
6779 <EmacsWiki>.
6780
dba0634a
UJ
67812011-10-30 Ulf Jasper <ulf.jasper@web.de>
6782
6783 * net/newst-treeview.el: Remove "Time-stamp".
6784 (newsticker--group-manage-orphan-feeds): Do not call
6785 newsticker--treeview-tree-update.
db22a3c2
JB
6786 (newsticker-treeview-update, newsticker-treeview):
6787 Call newsticker--treeview-tree-update if necessary.
dba0634a 6788
3d8daefe
MR
67892011-10-30 Martin Rudalics <rudalics@gmx.at>
6790
6791 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6792 (window-iso-combinations): Remove "iso-" infix.
6793 Suggested by Chong Yidong.
3d8daefe
MR
6794 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6795 (window-max-delta-1, window-resize, window--resize-siblings)
6796 (window--resize-this-window, adjust-window-trailing-edge)
6797 (split-window, balance-windows-1)
6798 (shrink-window-if-larger-than-buffer):
6799 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6800 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6801
1bc4c3ae
SM
68022011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6803
6804 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6805 in place (bug#9907).
6806 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6807 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6808 (eshell-structure-basic-command, eshell-rewrite-while-command)
6809 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6810 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6811 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6812 (eshell-do-pipelines-synchronously, eshell-eval-command):
6813 Use backquotes and prefer setq to set.
6814 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6815 (eshell-macrop): Use functionp.
c1e2f5fa 6816 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6817
30b65d9c
CY
68182011-10-30 Chong Yidong <cyd@gnu.org>
6819
6820 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6821 instead of set-mark (Bug#9810).
6822
2d197ffb
CY
68232011-10-30 Chong Yidong <cyd@gnu.org>
6824
6825 * window.el (split-window-below, split-window-right): Rename from
6826 split-window-above-each-other and split-window-side-by-side
6827 respectively. All callers changed.
6828 (split-window-sensibly, split-window-sensibly): Use them.
6829 (split-window-keep-point): Doc fix.
6830
6831 * isearch.el: Add isearch-scroll property to split-window-below
6832 and split-window-right.
6833
6834 * follow.el (follow-mode):
6835 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6836 * progmodes/ada-xref.el (ada-gdb-application):
6837 * emulation/vip.el (vip-buffer-in-two-windows):
6838 * image-dired.el (image-dired-dired-with-window-configuration):
6839 * dired-x.el (dired-do-find-marked-files):
6840 * dired.el (dired-pop-to-buffer):
6841 * bs.el (bs--show-with-configuration):
6842 * vc/emerge.el (emerge-setup-windows):
6843 * textmodes/two-column.el (2C-two-columns):
6844 * textmodes/reftex-toc.el (reftex-toc):
6845 * progmodes/gdb-mi.el (gdb-setup-windows):
6846 * progmodes/fortran.el (fortran-window-create):
6847 * net/newst-treeview.el (newsticker--treeview-window-init):
6848 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6849 * emulation/tpu-edt.el (tpu-gold-map):
6850 * emulation/crisp.el (crisp-mode-map):
6851 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6852
38bb2ca8
CY
68532011-10-29 Chong Yidong <cyd@gnu.org>
6854
aa4de341
CY
6855 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6856
e1eb5385
CY
6857 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6858
5d2ece3c
CY
6859 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6860 forged Ispell output (Bug#7904).
6861
38bb2ca8
CY
6862 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6863
d0af9f77
SM
68642011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6865
6866 * doc-view.el: Avoid ugly errors about not finding nil.
6867 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6868 (doc-view-dvipdf-program, doc-view-unoconv-program)
6869 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6870 Avoid nil or absolute file name as default value.
6871 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6872
52bedd34
AM
68732011-10-28 Alan Mackenzie <acm@muc.de>
6874
db22a3c2 6875 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6876
7e43cfa5
AM
68772011-10-28 Alan Mackenzie <acm@muc.de>
6878
6879 Amend the handling of c-beginning/end-of-defun in nested declaration
6880 scopes.
6881
52bedd34
AM
6882 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6883 cc-langs.el. Change it to a defcustom.
7e43cfa5 6884
52bedd34
AM
6885 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6886 cc-vars.el.
7e43cfa5 6887
d0af9f77
SM
6888 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6889 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6890
52bedd34 6891 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6892 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6893 (c-widen-to-enclosing-decl-scope): New function.
6894 (c-while-widening-to-decl-block): New macro.
6895 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6896 outward for defun boundaries, and correspondingly change symbol
6897 `respect-enclosure' to `go-outward'.
6898 (c-declaration-limits): Change algorithm to report only the "innermost"
6899 defun's boundaries.
6900
1a2ce9ee
DD
69012011-10-28 Deniz Dogan <deniz@dogan.se>
6902
6903 * net/rcirc.el (rcirc-mode): Use hard newlines.
6904
bc97a826
AM
69052011-10-28 Alan Mackenzie <acm@muc.de>
6906
6907 Amend to indent and fontify macros "which include their own semicolon"
6908 correctly, using the "virtual semicolon" mechanism.
6909
52bedd34 6910 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6911
d0af9f77 6912 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6913 Recode to scan one line at a time rather than having \n and \r
58179cce 6914 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6915 (c-forward-label): Amend for virtual semicolons.
58179cce 6916 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6917
52bedd34
AM
6918 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6919 of the new C macros.
bc97a826 6920
52bedd34 6921 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6922 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6923 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6924 (c-opt-cpp-macro-define): Make into a full language variable.
6925 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6926 AWK Mode (including \n, \r) removed, no longer needed.
6927
d0af9f77
SM
6928 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6929 Invoke c-make-macro-with-semi-re.
bc97a826 6930
52bedd34
AM
6931 * progmodes/cc-vars.el (c-macro-with-semi-re):
6932 (c-macro-names-with-semicolon): New variables.
58179cce 6933 (c-make-macro-with-semi-re): New function.
bc97a826 6934
7a6c0941
SM
69352011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6936
6937 * vc/log-edit.el: Fill empty field rather than adding new one.
6938 (log-edit-add-field): New function.
6939 (log-edit-insert-changelog): Use it.
6940
b0c4cdcf
ML
69412011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6942
6943 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6944
ee1f1da9
SM
69452011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6946
6947 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6948 (gdb--check-interpreter): New function.
6949 (gdb): Use it.
6950
51bc5f8b
GM
69512011-10-27 Glenn Morris <rgm@gnu.org>
6952
416a2c45
GM
6953 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6954 (least-positive-float, least-negative-float)
6955 (least-positive-normalized-float, least-negative-normalized-float)
6956 (float-epsilon, float-negative-epsilon):
6957 Remove unnecessary declarations.
6958
6959 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6960 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6961 (least-positive-float, least-negative-float)
6962 (least-positive-normalized-float, least-negative-normalized-float)
6963 (float-epsilon, float-negative-epsilon): Add doc-strings,
6964 based on those in cl.texi.
6965
51bc5f8b
GM
6966 * files.el (set-visited-file-name): If the major-mode changed,
6967 reload the local variables. (Bug#9796)
6968
15de15c6
CY
69692011-10-27 Chong Yidong <cyd@gnu.org>
6970
6971 * subr.el (change-major-mode-after-body-hook): New hook.
6972 (run-mode-hooks): Run it.
6973
ee1f1da9
SM
6974 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6975 Use change-major-mode-before-body-hook.
15de15c6
CY
6976
6977 * simple.el (fundamental-mode):
6978 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6979 change introducing fundamental-mode-hook.
6980
5430d399
JB
69812011-10-26 Juanma Barranquero <lekktu@gmail.com>
6982
acc825c5 6983 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 6984
ad74a69e
MA
69852011-10-26 Michael Albinus <michael.albinus@gmx.de>
6986
6987 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 6988 tramp.el explicitly. (Bug#7583)
ad74a69e 6989
71d4c2a5
SM
69902011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6991
6992 * progmodes/octave-mod.el:
6993 * progmodes/octave-inf.el: Update maintainer.
6994
b1f6fa26
CY
69952011-10-26 Chong Yidong <cyd@gnu.org>
6996
6997 * subr.el (with-wrapper-hook): Rewrite doc.
6998
3f04efd6
MA
69992011-10-25 Michael Albinus <michael.albinus@gmx.de>
7000
7001 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 7002 filenames "/method:foo:". (Bug#9793)
3f04efd6 7003
410488d3
SM
70042011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7005
7006 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7007 (bug#9865).
7008
c1ebb47e
GM
70092011-10-24 Glenn Morris <rgm@gnu.org>
7010
7011 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7012
7f5c46c7
MA
70132011-10-24 Michael Albinus <michael.albinus@gmx.de>
7014
7015 * notifications.el: Add the requirement of a running D-Bus session
7016 bus to the Commentary.
7017
db2440b6
JL
70182011-10-24 Juri Linkov <juri@jurta.org>
7019
7020 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7021 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7022 (Bug#9364)
7023
feecf435
JL
70242011-10-24 Juri Linkov <juri@jurta.org>
7025
7026 * info.el (Info-following-node-name-re): Add newline to the list
7027 of allowed characters for leading space. (Bug#9824)
7028
a3839de2
SM
70292011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7030
acc825c5
SM
7031 * progmodes/octave-inf.el (inferior-octave-mode-map):
7032 Fix C-c C-h binding.
a3839de2
SM
7033 * progmodes/octave-mod.el (octave-help): Remove.
7034
09388e76
MA
70352011-10-23 Michael Albinus <michael.albinus@gmx.de>
7036
7037 Sync with Tramp 2.2.3.
7038
7039 * net/tramp-cache.el (top): Pacify byte-compiler using
7040 `init-file-user' and `site-run-file'.
7041
7042 * net/trampver.el: Update release number.
7043
86c60681
CY
70442011-10-23 Chong Yidong <cyd@gnu.org>
7045
7046 * files.el (toggle-read-only): Remove obsolete comment about
7047 version control.
7048
7049 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7050 for toggle-read-only. Note that this hasn't called vc-next-action
7051 since 2008-05-02, though it wasn't documented at the time.
7052
a3839de2
SM
7053 * vc/ediff-init.el (ediff-toggle-read-only-function):
7054 Use toggle-read-only.
86c60681 7055
cd5495ff
AM
70562011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7057
7058 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7059 of c-parse-state.
7060
00b77525 7061 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 7062 correct faulty logical expression.
cd5495ff
AM
7063 (c-parse-state-state, c-record-parse-state-state):
7064 (c-replay-parse-state-state): New defvar/defuns.
7065 (c-debug-parse-state): Use new functions.
7066
42ee24ed
MR
70672011-10-22 Martin Rudalics <rudalics@gmx.at>
7068
7069 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 7070 last fix. Use window-in-direction correctly.
42ee24ed 7071
a7dee7e7
CY
70722011-10-21 Chong Yidong <cyd@gnu.org>
7073
7074 * progmodes/idlwave.el (idlwave-mode):
7075 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
7076 require-final-newline; that's done in prog-mode.
7077 Suggested by Stefan Monnier.
a7dee7e7 7078
e07b9a6d
MR
70792011-10-21 Martin Rudalics <rudalics@gmx.at>
7080
7081 * mouse.el (mouse-drag-window-above)
7082 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7083 (mouse-drag-mode-line-1, mouse-drag-header-line)
7084 (mouse-drag-vertical-line-rightward-window): Remove.
7085 (mouse-drag-line): New function.
7086 (mouse-drag-mode-line, mouse-drag-header-line)
7087 (mouse-drag-vertical-line): Call mouse-drag-line.
7088 * window.el (window-at-side-p, windows-at-side): New functions.
7089
7e1361d9
UM
70902011-10-21 Ulrich Mueller <ulm@gentoo.org>
7091
7092 * tar-mode.el (tar-grind-file-mode):
7093 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7094
30fcaf3a
CY
70952011-10-21 Chong Yidong <cyd@gnu.org>
7096
7097 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
7098 * progmodes/vera-mode.el (vera-mode):
7099 Use mode-require-final-newline.
30fcaf3a 7100
516eddb0
GM
71012011-10-20 Glenn Morris <rgm@gnu.org>
7102
db22a3c2 7103 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 7104
10d5f513
CS
71052011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7106
7107 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7108
ac6c8639
CY
71092011-10-20 Chong Yidong <cyd@gnu.org>
7110
7111 * emulation/cua-base.el (cua-mode):
7112 * mail/footnote.el (footnote-mode):
7113 * mail/mailabbrev.el (mail-abbrevs-mode):
7114 * net/xesam.el (xesam-minor-mode):
7115 * progmodes/bug-reference.el (bug-reference-mode):
7116 * progmodes/cap-words.el (capitalized-words-mode):
7117 * progmodes/compile.el (compilation-minor-mode)
7118 (compilation-shell-minor-mode):
7119 * progmodes/gud.el (gud-tooltip-mode):
7120 * progmodes/hideif.el (hide-ifdef-mode):
7121 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7122 * progmodes/subword.el (subword-mode):
7123 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7124 * progmodes/which-func.el (which-function-mode):
7125 * term/tvi970.el (tvi970-set-keypad-mode):
7126 * term/vt100.el (vt100-wide-mode):
7127 * textmodes/flyspell.el (flyspell-mode):
7128 * textmodes/ispell.el (ispell-minor-mode):
7129 * textmodes/nroff-mode.el (nroff-electric-mode):
7130 * textmodes/paragraphs.el (use-hard-newlines):
7131 * textmodes/refill.el (refill-mode):
7132 * textmodes/reftex.el (reftex-mode):
7133 * textmodes/rst.el (rst-minor-mode):
7134 * textmodes/sgml-mode.el (html-autoview-mode)
7135 (sgml-electric-tag-pair-mode):
7136 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7137 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7138 * emulation/crisp.el (crisp-mode):
7139 * emacs-lisp/eldoc.el (eldoc-mode):
7140 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7141 minor mode behavior.
7142
aa42ab43
JL
71432011-10-19 Juri Linkov <juri@jurta.org>
7144
7145 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7146 the list of hard-coded chars with escape-glyph face.
7147
89400f1d
SM
71482011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7149
7150 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7151
305c07f6
MA
71522011-10-19 Michael Albinus <michael.albinus@gmx.de>
7153
7154 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7155 running process.
7156
13754b54
GM
71572011-10-19 Glenn Morris <rgm@gnu.org>
7158
7159 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7160 Ignore ignored files. (Bug#9726)
7161
06e21633
CY
71622011-10-19 Chong Yidong <cyd@gnu.org>
7163
7164 Doc fix for minor modes, stating that an omitted argument enables
7165 the mode unconditionally when called from Lisp.
7166
7167 * abbrev.el (abbrev-mode):
7168 * allout.el (allout-mode):
7169 * autoinsert.el (auto-insert-mode):
7170 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7171 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7172 (global-auto-revert-mode):
7173 * battery.el (display-battery-mode):
7174 * composite.el (global-auto-composition-mode)
7175 (auto-composition-mode):
7176 * delsel.el (delete-selection-mode):
7177 * desktop.el (desktop-save-mode):
7178 * dired-x.el (dired-omit-mode):
7179 * dirtrack.el (dirtrack-mode):
7180 * doc-view.el (doc-view-minor-mode):
7181 * double.el (double-mode):
7182 * electric.el (electric-indent-mode, electric-pair-mode):
7183 * emacs-lock.el (emacs-lock-mode):
7184 * epa-hook.el (auto-encryption-mode):
7185 * follow.el (follow-mode):
7186 * font-core.el (font-lock-mode):
7187 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7188 * help.el (temp-buffer-resize-mode):
7189 * hilit-chg.el (highlight-changes-mode)
7190 (highlight-changes-visible-mode):
7191 * hi-lock.el (hi-lock-mode):
7192 * hl-line.el (hl-line-mode, global-hl-line-mode):
7193 * icomplete.el (icomplete-mode):
7194 * ido.el (ido-everywhere):
7195 * image-file.el (auto-image-file-mode):
7196 * image-mode.el (image-minor-mode):
7197 * iswitchb.el (iswitchb-mode):
7198 * jka-cmpr-hook.el (auto-compression-mode):
7199 * linum.el (linum-mode):
7200 * longlines.el (longlines-mode):
7201 * master.el (master-mode):
7202 * mb-depth.el (minibuffer-depth-indicate-mode):
7203 * menu-bar.el (menu-bar-mode):
7204 * minibuf-eldef.el (minibuffer-electric-default-mode):
7205 * mouse-sel.el (mouse-sel-mode):
7206 * msb.el (msb-mode):
7207 * mwheel.el (mouse-wheel-mode):
7208 * outline.el (outline-minor-mode):
7209 * paren.el (show-paren-mode):
7210 * recentf.el (recentf-mode):
7211 * reveal.el (reveal-mode, global-reveal-mode):
7212 * rfn-eshadow.el (file-name-shadow-mode):
7213 * ruler-mode.el (ruler-mode):
7214 * savehist.el (savehist-mode):
7215 * scroll-all.el (scroll-all-mode):
7216 * scroll-bar.el (scroll-bar-mode):
7217 * server.el (server-mode):
7218 * shell.el (shell-dirtrack-mode):
7219 * simple.el (auto-fill-mode, transient-mark-mode)
7220 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7221 (line-number-mode, column-number-mode, size-indication-mode)
7222 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7223 * strokes.el (strokes-mode):
7224 * time.el (display-time-mode):
7225 * t-mouse.el (gpm-mouse-mode):
7226 * tool-bar.el (tool-bar-mode):
7227 * tooltip.el (tooltip-mode):
7228 * type-break.el (type-break-mode-line-message-mode)
7229 (type-break-query-mode):
7230 * view.el (view-mode):
7231 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7232 (global-whitespace-mode, global-whitespace-newline-mode):
7233 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7234
a3839de2
SM
7235 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7236 Fix autogenerated docstring.
06e21633 7237
5214e501
JL
72382011-10-19 Juri Linkov <juri@jurta.org>
7239
7240 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7241 by checking environment variables "DESKTOP_SESSION" and
7242 "XDG_CURRENT_DESKTOP". (Bug#9779)
7243
195f8db9
JL
72442011-10-19 Juri Linkov <juri@jurta.org>
7245
7246 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7247 (browse-url-chromium-program, browse-url-chromium-arguments):
7248 New defcustoms.
7249 (browse-url-default-browser): Check for `browse-url-chromium' and
7250 call `browse-url-chromium-program'.
7251 (browse-url-chromium): New command. (Bug#9779)
7252
343a34ff
JB
72532011-10-18 Juanma Barranquero <lekktu@gmail.com>
7254
7255 * facemenu.el (list-colors-duplicates): On Windows, detect more
7256 duplicates by assuming that only colors matching "^System" are
7257 special "system colors". (Bug#9722)
7258
6978a151
SM
72592011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7260
7261 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7262 to distinguish the author from the committer.
7263
6a80b297
MA
72642011-10-18 Michael Albinus <michael.albinus@gmx.de>
7265
7266 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7267
b31a5677
JK
72682011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7269
7270 * international/mule.el (sgml-html-meta-auto-coding-function):
7271 Add support for detecting encoding in HTML5 specified only as
7272 <meta charset="UTF-8">. Implementation just makes http-equiv and
7273 content-type parts from HTML4 encoding string optional. (Bug#9716)
7274
80c6d77f
GM
72752011-10-18 Glenn Morris <rgm@gnu.org>
7276
7277 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7278
08b0fee8
CY
72792011-10-18 Chong Yidong <cyd@gnu.org>
7280
7281 * faces.el (cursor): Doc fix.
7282
67e729a5
CY
72832011-10-17 Chong Yidong <cyd@gnu.org>
7284
7285 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7286
343a34ff 72872011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7288
7289 * dirtrack.el (dirtrack): Support shell buffers with path
7290 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7291
0bc06380
TZ
72922011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7293
7294 * json.el: Bump version to 1.3 and note change in History.
7295 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7296
8b79f3e0
SM
72972011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7298
5a7c536b
SM
7299 * comint.el (comint-insert-input, comint-send-input)
7300 (comint-get-old-input-default, comint-backward-matching-input)
7301 (comint-next-prompt): Use nil instead of `input' for field property of
7302 past user input (bug#114).
7303
96a8a0df
SM
7304 * minibuffer.el (completion--replace): Inherit surrounding properties
7305 (bug#114).
7306 (minibuffer-complete-and-exit): Use it.
7307
8b79f3e0
SM
7308 * comint.el (comint--table-subvert): Quote the all-completions output
7309 (bug#9160).
7310
b8f7ff0d
MR
73112011-10-17 Martin Rudalics <rudalics@gmx.at>
7312
8b79f3e0 7313 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7314
b8f7ff0d 7315 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7316 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7317 entries and separate them from frame entries.
7318
c235b555
GM
73192011-10-15 Glenn Morris <rgm@gnu.org>
7320
7321 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7322 Doc fixes.
7323
6bbfa6e1
CY
73242011-10-15 Chong Yidong <cyd@stupidchicken.com>
7325
8b79f3e0
SM
7326 * net/network-stream.el (network-stream-open-starttls):
7327 Improve detection of failure due to lack of TLS support.
ec5c990d 7328
6bbfa6e1
CY
7329 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7330 putting the input text in front and in bold.
7331
98488977
SM
73322011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7333
3d1337be
SM
7334 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7335
ee0b45e4
SM
7336 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7337 empty buffer.
7338
98488977
SM
7339 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7340 unread-command-events rather than pushing yet-another event.
7341
186f4720
EZ
73422011-10-14 Eli Zaretskii <eliz@gnu.org>
7343
7344 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7345 the explanation of the possible choices. Make the options passed
7346 to completing-read shorter.
7347
8b7a997c
AM
73482011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7349
7350 * textmodes/flyspell.el (flyspell-large-region): Make sure
7351 extended character mode is used if defined (Bug#1339).
7352
12587bbb
EZ
73532011-10-13 Eli Zaretskii <eliz@gnu.org>
7354
7355 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7356 character info for LRE, LRO, RLE, and RLO characters by appending
7357 an invisible PDF.
12587bbb 7358
bad41229
SM
73592011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7360
7361 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7362 even in case of error; add debug spec; simplify data flow.
7363 (with-timeout-handler): Remove.
7364
28dbc92f
MA
73652011-10-12 Michael Albinus <michael.albinus@gmx.de>
7366
7367 Fix Bug#6019, Bug#9315.
7368
7369 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7370 complete `buffer-file-name', the local file name part could look
7371 remotely (for example on VMS).
7372
7373 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7374 `tramp-run-real-handler'.
7375 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7376 already quoted by '"'.
7377
7378 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7379 Let `file-name-handler-alist' be nil, the local file name part
7380 could look remotely (for example on VMS).
7381
e1b0b23a
SM
73822011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7383
7384 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7385 from here...
7386 (flyspell-post-command-hook): ...to here.
7387
a120bde9
SM
73882011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7389
7390 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7391 if not needed.
7392 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7393 using completion. Protect against "slow" callers.
7394 Remove the "message hack".
7395
7ce7717b
JL
73962011-10-11 Juri Linkov <juri@jurta.org>
7397
7398 * isearch.el (isearch-lazy-highlight-word): New variable.
7399 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7400 Use it. (Bug#9727)
7401
c02ee9d6
GM
74022011-10-11 Glenn Morris <rgm@gnu.org>
7403
7404 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7405 like f90-previous-statement does.
7406
93e616fd 74072011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7408
1f190e73 7409 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7410 only in interactive use, to avoid error.
7411
af7b6078
SM
74122011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7413
7414 * minibuffer.el (completion-file-name-table): Fix last change,
7415 i.e. ignore normal errors but not the other ones.
7416
0563dae9
MR
74172011-10-10 Martin Rudalics <rudalics@gmx.at>
7418
7419 * window.el (special-display-buffer-names)
7420 (special-display-regexps): Remove some remnants of earlier
7421 changes from doc-strings.
366ca7f3
MR
7422 (quit-windows-on): New function.
7423
7424 * vc/vc.el (vc-revert, vc-rollback):
7425 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7426 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7427 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7428
49677495
MR
74292011-10-09 Martin Rudalics <rudalics@gmx.at>
7430
7431 * window.el (frame-auto-hide-function): Add version tag.
7432 (Bug#9699)
7433
56f2d1e1
MA
74342011-10-09 Michael Albinus <michael.albinus@gmx.de>
7435
7436 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7437 condition.
7438
112a6592
LL
74392011-10-09 Leo Liu <sdl.web@gmail.com>
7440
7441 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7442 (Bug#9701)
7443
0812589b
GM
74442011-10-08 Glenn Morris <rgm@gnu.org>
7445
7446 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7447 before the first code statement zero indent. (Bug#9690)
7448
b2b0776e
CY
74492011-10-08 Chong Yidong <cyd@stupidchicken.com>
7450
7451 * simple.el (count-words-region): Always count in the region.
7452 Report the number of lines and characters too.
7453 (count-words): New command, which counts in the buffer if the
7454 region is inactive, as count-words-region used to.
7455 (count-words--message): New function. Handle plurals.
7456 (count-lines-region): Make it an alias for count-words-region.
7457
7458 * bindings.el (esc-map): Replace count-lines-region with
7459 count-words-region.
7460
c557cd6b
MR
74612011-10-08 Martin Rudalics <rudalics@gmx.at>
7462
7463 * window.el (window--delete): Delete dedicated frame
7464 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7465 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7466
61a57ef4 74672011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7468
3a7d293b 7469 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7470
c3833279
CY
74712011-10-07 Chong Yidong <cyd@stupidchicken.com>
7472
7473 * bindings.el ([M-left],[M-right]): Bind to left-word and
7474 right-word respectively.
7475
21ce8245
GM
74762011-10-07 Glenn Morris <rgm@gnu.org>
7477
7478 * cus-start.el (debug-on-quit): Fix custom type.
7479
6d823bb2
LMI
74802011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7481
0181e193
LMI
7482 * subr.el (define-key-after): Clarify that the function is not
7483 useful for non-menu keymaps.
7484
6d823bb2
LMI
7485 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7486
8e3459ce 74872011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7488
21ce8245 7489 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7490 in current minibuffer (Fix bug with recursive minibuffers).
7491
a1c2d21e
CY
74922011-10-06 Chong Yidong <cyd@stupidchicken.com>
7493
7494 * progmodes/gdb-mi.el (gdb): Doc fix.
7495
5a4cf282
MR
74962011-10-05 Martin Rudalics <rudalics@gmx.at>
7497
7498 * window.el (frame-auto-hide-function): New option replacing
7499 frame-auto-delete. Suggested by Stefan Monnier.
7500 (window--delete): Call frame-auto-hide-function instead of
7501 investigating frame-auto-delete.
c96111ea
MR
7502 (window-point-1, set-window-point-1): New functions.
7503 (window-in-direction, record-window-buffer, window-state-get-1)
7504 (display-buffer-record-window): Use window-point-1 instead of
7505 window-point.
7506 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7507
9854542e
SM
75082011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7509
7510 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7511
8943cfb0
GM
75122011-10-05 Glenn Morris <rgm@gnu.org>
7513
7514 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7515 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7516
647ab967
LL
75172011-10-05 Leo Liu <sdl.web@gmail.com>
7518
7519 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7520 works with buffer object.
7521
3ddfbced
SM
75222011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7523
7524 * mpc.el (mpc-tool-bar-map): Add labels.
7525
bdfa5dd2
GM
75262011-10-04 Glenn Morris <rgm@gnu.org>
7527
7528 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7529
0e2070b5
MR
75302011-10-04 Martin Rudalics <rudalics@gmx.at>
7531
7532 * window.el (window--delete): New function.
7533 (frame-auto-delete): Resuscitate option.
7534 (bury-buffer, replace-buffer-in-windows)
7535 (quit-window): Rewrite using window--delete.
7536 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7537 Pass display-buffer-mark-dedicated to window--display-buffer-2
7538 (Bug#9639).
7539
3dc61a09
SM
75402011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7541
915a9b64
SM
7542 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7543 returns a list (bug#9554). Add remote file name completion.
7544 * comint.el (comint--table-subvert): Curry and get quote&unquote
7545 functions as arguments.
7546 (comint--complete-file-name-data): Adjust call accordingly.
7547 * pcomplete.el (pcomplete--table-subvert): Remove.
7548 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7549
3dc61a09
SM
7550 * minibuffer.el (completion-table-case-fold): Use currying.
7551 (completion--styles-type, completion--cycling-threshold-type):
7552 New constants.
7553 (completion-styles, completion-category-overrides)
7554 (completion-cycle-threshold): Use them.
7555 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7556 completion-table-case-fold.
7557
8ea0a993
SB
75582011-10-03 Stephen Berman <stephen.berman@gmx.net>
7559
7560 * minibuffer.el (completion-category-overrides): Fix type of styles
7561 and add more user friendly tags (bug#9660).
7562
8c24b7f6
SM
75632011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7564
7565 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7566 (mule-input-method-string): New widget.
7567 (default-input-method, language-info-custom-alist): Use it.
7568
428fe61a
SM
75692011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7570
32c1fffd
SM
7571 * pcomplete.el: Require comint.
7572 (pcomplete--common-suffix): Remove.
7573 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7574 (pcomplete--table-subvert): Sync with comint--table-subvert.
7575 (pcomplete--entries): Use comint-completion-file-name-table.
7576 * comint.el (comint-unquote-filename): Simplify.
7577 (comint-completion-file-name-table): New function (bug#9616).
7578 (comint--complete-file-name-data): Use it.
7579
428fe61a
SM
7580 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7581 (pcmpl-gnu-tar-buffer): Remove.
7582 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7583 around. Make sure pcomplete-suffix-list is only changed temporarily.
7584 Don't look inside the tar's file if it's too large.
428fe61a 7585
04c52e2f
CY
75862011-10-01 Chong Yidong <cyd@stupidchicken.com>
7587
ce3cefcc
CY
7588 * cus-edit.el (custom-mode-map):
7589 * epa.el (epa-key-list-mode-map):
7590 * man.el (Man-mode-map):
7591 * startup.el (splash-screen-keymap):
7592 * simple.el (special-mode-map): Use scroll-up-command and
7593 scroll-down-command.
7594
7595 * progmodes/idlw-help.el (idlwave-help-mode-map):
7596 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7597 * net/newst-plainview.el (newsticker-mode-map):
7598 * emulation/ws-mode.el (wordstar-mode-map):
7599 * emulation/vi.el (vi-com-map):
7600 * calc/calc-graph.el (calc-graph-show-dumb):
7601 * term/sun.el (terminal-init-sun):
7602 * term/ns-win.el (global-map):
7603 * progmodes/grep.el (grep-mode-map):
7604 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7605 * mail/rmail.el (rmail-mode-map):
7606 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7607
04c52e2f
CY
7608 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7609 custom-safe-themes as special.
7610
79adf8c8
JD
76112011-10-01 Julien Danjou <julien@danjou.info>
7612
7613 * notifications.el (notifications-notify): Fix docstring.
7614
63bd50d3
PS
76152011-10-01 Per Starbäck <per@starback.se>
7616
7617 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7618
199e4c7e
MR
76192011-09-30 Martin Rudalics <rudalics@gmx.at>
7620
7621 * startup.el (command-line-1): Fix last fix by inserting
7622 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7623 (Bug#9605) and (Bug#9636)
199e4c7e 7624
fe5f08dd
EZ
76252011-09-29 Eli Zaretskii <eliz@gnu.org>
7626
7627 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7628 window is hscrolled, move by logical lines. (Bug#9607)
7629 (line-move-visual): Update the doc string to the above effect.
7630
b5516bbd
MR
76312011-09-29 Martin Rudalics <rudalics@gmx.at>
7632
ccee00c0
MR
7633 * window.el (display-buffer-record-window): When WINDOW is the
7634 selected window use `point' instead of `window-point'. (Bug#9626)
7635
b5516bbd
MR
7636 * startup.el (command-line-1): Use insert-before-markers when
7637 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7638
b5516bbd
MR
7639 * help.el (help-window): Remove variable.
7640
52aa0014
GM
76412011-09-29 Glenn Morris <rgm@gnu.org>
7642
7643 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7644
df9a7357
JB
76452011-09-29 Juanma Barranquero <lekktu@gmail.com>
7646
7647 * descr-text.el (describe-char-categories): Accept category
7648 descriptions more than one line long.
7649
a8406c20
SM
76502011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7651
88d9610c
SM
7652 * simple.el (delete-trailing-whitespace): Fix last change.
7653
a5daf810
SM
7654 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7655 Don't confuse "y => 3" as the beginning of a `y' operation.
7656
a8406c20
SM
7657 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7658 object has more than 4 slots (bug#9613).
7659
a239d4e9
JB
76602011-09-28 Juanma Barranquero <lekktu@gmail.com>
7661
7662 * subr.el (with-output-to-temp-buffer):
7663 * net/quickurl.el (quickurl, quickurl-browse-url):
7664 Fix typos in docstrings.
7665
693fbdb6
EZ
76662011-09-27 Eli Zaretskii <eliz@gnu.org>
7667
7668 * minibuffer.el (completion-styles)
7669 (completion-category-overrides): Cross reference each other in doc
7670 strings.
7671
8b457e28
GM
76722011-09-27 Glenn Morris <rgm@gnu.org>
7673
7674 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7675 to split-string. (Bug#9606)
7676
85a16208
LMI
76772011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7678
7679 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7680 (bug#9615).
7681
502f9ebd
CY
76822011-09-27 Chong Yidong <cyd@stupidchicken.com>
7683
7684 * emacs-lisp/package.el (list-packages): Fix echo area message.
7685
7690bdea
LL
76862011-09-27 Leo Liu <sdl.web@gmail.com>
7687
7688 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7689
e2ee6f30
MA
76902011-09-25 Michael Albinus <michael.albinus@gmx.de>
7691
7692 * net/dbus.el (dbus-unregister-object): Don't release services for
7693 registered signals. (Bug#9581)
7694
f3f98342
TZ
76952011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7696
7697 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7698 function that picks between cfengine 2 and 3 support
7699 automatically. Update docs accordingly.
7700
dd7aa8dd
KH
77012011-09-22 Kenichi Handa <handa@m17n.org>
7702
7703 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7704 ZERO.
7705 (indian-itrans-v5-table-for-tamil): New variable.
7706 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7707
3f2b07f8
KM
77082011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7709
7710 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7711 that's true if the current command involved collapsing of text.
7712 It's reset to false at the beginning of the next command.
7713 (allout-post-command-business): Move the cursor to the beginning
7714 of entry if the cursor is hidden and collapsing activity just
7715 happened.
7716
371d6a61
CY
77172011-09-24 Chong Yidong <cyd@stupidchicken.com>
7718
7719 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7720 tracking (Bug#9541).
7721
2ac2721a
UJ
77222011-09-24 Ulf Jasper <ulf.jasper@web.de>
7723
7724 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7725 (newsticker-show-news): Automatically load html rendering package
7726 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7727 because w3m-fill-column is let-bound" and the error "Symbol's value
7728 as variable is void: w3m-fill-column".
2ac2721a 7729
fac7ae53
MA
77302011-09-24 Michael Albinus <michael.albinus@gmx.de>
7731
7732 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7733 Release services only if they are defined. (Bug#9581)
7734
e08b633b
RS
77352011-09-23 Richard Stallman <rms@gnu.org>
7736
e488d29c
RS
7737 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7738 distinguish start of paragraph from start of its text.
7739
19c38752
RS
7740 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7741
e08b633b
RS
7742 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7743 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7744 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7745
0a39f27e
AS
77462011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7747
7748 * international/mule-diag.el (mule-diag): Insert a newline after
7749 each fontset description.
7750
db4e950d
SM
77512011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7752
7753 * simple.el (delete-trailing-whitespace):
7754 Document last change; simplify.
7755
eca3f3ea
PW
77562011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7757
d68e189a
PW
7758 * simple.el (delete-trailing-whitespace): Also delete
7759 extra newlines at the end of the buffer.
7760
eca3f3ea
PW
7761 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7762 (picture-newline): Use forward-line so as to ignore fields.
7763
01c157cc
SM
77642011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7765
7766 * subr.el (with-wrapper-hook): Fix edebug spec.
7767
022de23e
LMI
77682011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7769
7770 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7771 (bug#4538).
7772
91683089
MA
77732011-09-23 Michael Albinus <michael.albinus@gmx.de>
7774
eca3f3ea
PW
7775 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7776 Fix nasty bug using wrong cached values.
91683089 7777
5bdd6fa4
AM
77782011-09-23 Alan Mackenzie <acm@muc.de>
7779
7780 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7781
97adfb97
CY
77822011-09-23 Chong Yidong <cyd@stupidchicken.com>
7783
7784 * window.el (pop-to-buffer): Ensure right window is selected if we
7785 chose another frame.
7786
d4ef2b50
EZ
77872011-09-22 Eli Zaretskii <eliz@gnu.org>
7788
7789 * simple.el (what-cursor-position): Use get-char-property-change
7790 and next-single-char-property-change, to be able to show display
7791 properties that come from overlays as well as text properties.
7792
72258fe5
CY
77932011-09-22 Chong Yidong <cyd@stupidchicken.com>
7794
7795 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7796
7797 * cmuscheme.el (run-scheme, switch-to-scheme):
7798 * cus-edit.el (customize-group, custom-buffer-create)
7799 (customize-browse):
7800 * info.el (info):
7801 * shell.el (shell):
7802 * mail/sendmail.el (mail):
7803 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7804
8f098516
RS
78052011-09-22 Richard Stallman <rms@gnu.org>
7806
7807 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7808 move back only to line beg, don't move back over blank lines.
7809
e74f1bb6
MA
78102011-09-22 Michael Albinus <michael.albinus@gmx.de>
7811
7812 * files.el (copy-directory): Set directory attributes only in case
7813 they could be retrieved from the source directory. (Bug#9565)
7814
bfeef8b6
DK
78152011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7816
7817 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7818 (hs-find-block-beginning, hs-hide-level-recursive):
7819 Ignore strings as well as comments. (Bug#9502)
7820
7e423bb8
AS
78212011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7822
7823 * progmodes/sql.el (sql-comint-postgres):
7824 Convert port number to a string. (Bug#9566)
7825
b4d72fcf
MR
78262011-09-22 Martin Rudalics <rudalics@gmx.at>
7827
7828 * window.el (quit-window): Undedicate window when switching to
7829 previous buffer. Reported by Thierry Volpiatto
7830 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7831 (special-display-popup-frame): When popping up a new frame reset
7832 its previous buffers to nil. Simplify code.
b4d72fcf 7833
a7b88dc6
MA
78342011-09-21 Michael Albinus <michael.albinus@gmx.de>
7835
7836 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7837 and process filter, as done also in `shell-command'.
7838
cf4eacfd
MR
78392011-09-21 Martin Rudalics <rudalics@gmx.at>
7840
eca3f3ea 7841 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7842 Call set-window-start with NOFORCE argument t.
7843 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7844 (quit-window): Reword doc-string. Handle new format of
7845 quit-restore parameter. Don't delete window if it has a
7846 previous buffer we can show instead of the present one.
7847 (display-buffer-record-window): Rewrite using a new format for
7848 the quit-restore window parameter
7849 (special-display-popup-frame, display-buffer-same-window)
7850 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7851 (display-buffer-pop-up-window, display-buffer-use-some-window):
7852 Adapt symbol passed to display-buffer-record-window.
7853 * help.el (help-window-setup): Handle new format of quit-restore
7854 parameter.
7855
8d28cb95
SM
78562011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7857
94ab793f
SM
7858 * faces.el (face-list): Fix docstring (bug#9564).
7859
8d28cb95
SM
7860 * window.el (display-buffer--action-function-custom-type):
7861 Don't include internal functions in the Custom interface.
7862
3820edeb
JL
78632011-09-20 Juri Linkov <juri@jurta.org>
7864
7865 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7866 (Info-forward-node, Info-backward-node, Info-next-preorder)
7867 (Info-last-preorder): Use it. (Bug#9528)
7868
5147931d
JL
78692011-09-20 Juri Linkov <juri@jurta.org>
7870
7871 * info.el (Info-last-preorder): Visit last menu item only when
7872 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7873
cf499a1a
JD
78742011-09-20 Julien Danjou <julien@danjou.info>
7875
7876 * password-cache.el (password-cache-remove): Remove entries even if the
7877 value is nil, so that password with a nil value (negative caching) is
7878 possible to invalidate.
7879
f84e2fe2
LM
78802011-09-20 Lawrence Mitchell <wence@gmx.li>
7881
7882 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7883 all whitespace around breakpoint. (Bug#9553)
7884 (f90-find-breakpoint): Only break at whitespace inside a comment.
7885
78054a46
SM
78862011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7887
7888 * minibuffer.el (completion-file-name-table): Keep track of errors.
7889 (completion-table-with-predicate): Handle the case where pred1 is nil.
7890 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7891
345083b2
SM
78922011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7893
e24e27be
SM
7894 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7895 (debugger-return-value): Signal an error if the debugging context does
7896 not await any return value.
7897
345083b2
SM
7898 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7899 * image-mode.el (image-toggle-display-text)
7900 (image-toggle-display-image): Stay away from evil `intangible'.
7901
08d355e3
LL
79022011-09-19 Leo Liu <sdl.web@gmail.com>
7903
7904 * replace.el (occur-revert-arguments): Make it permanent-local.
7905 (occur-mode): Don't call font-lock-defontify.
7906
f01da43f
CY
79072011-09-19 Chong Yidong <cyd@stupidchicken.com>
7908
7909 * net/ldap.el (ldap-search-internal): Don't push empty search
7910 result (Bug#9508).
7911
b6072fa6
SM
79122011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7913
7914 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7915
443d6696
MA
79162011-09-19 Michael Albinus <michael.albinus@gmx.de>
7917
7918 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7919 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7920
7cc6e154
JL
79212011-09-18 Juri Linkov <juri@jurta.org>
7922
7923 * buff-menu.el (Buffer-menu-mode-map):
7924 * dired.el (dired-mode-map):
7925 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7926 (lisp-interaction-mode-map):
7927 * emacs-lisp/package.el (package-menu-mode-map):
7928 * epa.el (epa-key-list-mode-map):
7929 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7930 (menu-bar-options-menu):
7931 * outline.el (outline-mode-menu-bar-map):
7932 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7933 * vc/vc-dir.el (vc-dir-menu-map):
7934 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7935 Capitalize non-function content words in menu item strings.
7936
7937 * dired.el (dired-mode-map): Add menu item for
7938 `image-dired-dired-toggle-marked-thumbs'.
7939
80302a81
JL
79402011-09-18 Juri Linkov <juri@jurta.org>
7941
7942 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7943 to `isearch-case-fold-search' and restore its original value
7944 after the `isearch-mode' call.
7945
46c5cf66
JL
79462011-09-18 Juri Linkov <juri@jurta.org>
7947
7948 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7949 because `zgrep' returns 1 for successful matches (bug#9226).
7950
d18b513b
JL
79512011-09-18 Juri Linkov <juri@jurta.org>
7952
7953 * info.el (Info-extract-menu-node-name): Check the second match
7954 for empty string (second test-case of bug#9528).
7955 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7956 intermediate nodes to the history (first test-case of bug#9528).
7957
72753f87
JL
79582011-09-18 Juri Linkov <juri@jurta.org>
7959
7960 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7961 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7962
c9384295
JL
79632011-09-18 Juri Linkov <juri@jurta.org>
7964
1154d12e
JB
7965 * info.el (Info-file-supports-index-cookies):
7966 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7967 outputs one more line for long file names (bug#4142).
c9384295 7968
d473dce8
CY
79692011-09-18 Chong Yidong <cyd@stupidchicken.com>
7970
7971 * newcomment.el (comment-normalize-vars): If prompting for
7972 comment-start, set comment-start-skip too (Bug#8424).
7973
2176854d
JB
79742011-09-18 Johan Bockgård <bojohan@gnu.org>
7975
7976 * icomplete.el: Fix previous fix of Bug#5849.
7977 (icomplete-mode): Don't set completion-show-inline-help.
7978 (icomplete-minibuffer-setup): Set completion-show-inline-help
7979 locally during icompletion.
7980
3aace4e4
CY
79812011-09-18 Chong Yidong <cyd@stupidchicken.com>
7982
c940224f
CY
7983 * woman.el (woman2-process-escapes): Don't delete unrecognized
7984 escapes (Bug#7843).
7985
3aace4e4
CY
7986 * files.el (inhibit-first-line-modes-regexps): Add image files.
7987 (hack-local-variables-prop-line): Return nil for malformed
7988 prop-lines (Bug#9044).
7989
710dec63
MA
79902011-09-18 Michael Albinus <michael.albinus@gmx.de>
7991
7992 * net/tramp.el (top): Don't require 'shell.
7993 (tramp-methods): Fix docstring.
7994 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
7995 Return complete remote file name. Handle "smb" case.
7996 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
7997 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7998
7999 * net/tramp-compat.el (top): Require 'shell.
8000
8001 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8002 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8003 `tramp-current-host'.
8004 (tramp-get-remote-tmpdir): Remove.
8005
8006 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8007 `tramp-tmpdir' entries.
8008 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8009 (tramp-smb-handle-file-attributes): Ignore errors.
8010 (tramp-smb-wait-for-output): Check also for process end.
8011
5d5ac8ec
LMI
80122011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8013
8014 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8015 when sending QUIT (bug#9312).
8016
8c0f49f0
CY
80172011-09-17 Chong Yidong <cyd@stupidchicken.com>
8018
8019 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8020 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8021 occur-mode-display-occurrence.
8022 (occur-edit-mode): Add usage message.
8023 (occur-cease-edit): New command.
8024 (occur-after-change-function): Use text properties to find the
8025 position of the prefix text.
8026 (occur-engine): Set stickiness of prefix text properties.
8027
8f1383f7
GM
80282011-09-17 Glenn Morris <rgm@gnu.org>
8029
8030 * progmodes/etags.el (complete-tag):
8031 Fix call to completion-in-region. (Bug#9526)
8032
744ba0e3
JL
80332011-09-17 Juri Linkov <juri@jurta.org>
8034
8035 * textmodes/ispell.el (ispell-word): Add to the error message
8036 the word, ispell program name and current dictionary (bug#9121).
8037 (ispell-tex-arg-end): Capitalize "error" in the error message.
8038
d9bbf400
AS
80392011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8040
8041 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8042 check. (Bug#4251)
8043
8da11505
JL
80442011-09-17 Juri Linkov <juri@jurta.org>
8045
8046 * window.el (window-safe-min-height, window-safe-min-width):
8047 Fix typos (followup to bug#9522).
8048
a91adc7e
SJ
80492011-09-17 Sven Joachim <svenjoac@gmx.de>
8050
8051 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8052
064f328a
EZ
80532011-09-16 Eli Zaretskii <eliz@gnu.org>
8054
8055 * simple.el (line-move): If goal-column is set, move by logical
8056 lines, not by display lines. (Bug#971)
8057 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8058 to reflect the above change.
8059
e69df516
SM
80602011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8061
8062 * image.el (imagemagick-register-types): Use regexp-opt.
8063
cbb0f9ab
CY
80642011-09-15 Chong Yidong <cyd@stupidchicken.com>
8065
8066 * window.el (display-buffer-base-action): Rename from
8067 display-buffer-default-action. Make default value empty.
8068 (display-buffer-overriding-action): Convert to defvar.
8069 (display-buffer-fallback-action): New var.
8070
25322144
CY
80712011-09-15 Chong Yidong <cyd@stupidchicken.com>
8072
8073 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8074 declaration.
8075 (package--add-to-archive-contents): If there is a duplicate entry
8076 with an older version, remove it.
8077 (package-menu-mark-delete, package-menu-mark-install)
8078 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
8079 (package-menu-mark-obsolete-for-deletion):
8080 Use package-menu-get-status instead of a regexp search.
25322144
CY
8081 (package-menu-get-status): Use tabulated-list-entry.
8082 (package-menu-mark-upgrades): New command.
d770725a 8083 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
8084 (package-menu-execute): Do installation before deletion.
8085 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8086 instead of checking major-mode.
8087 (package-menu--find-upgrades): New function.
8088
7520339c
LMI
80892011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8090
8091 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8092 passwords in the log buffer.
65a046c4
LMI
8093 (smtpmail-process-filter): Update the process marker so that the
8094 "broken by peer" status message is inserted in the right place.
7520339c 8095
d3c30954
SM
80962011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8097
3fe48822
SM
8098 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8099 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8100 bibtex-completion-at-point-function.
8101 (bibtex-completion-at-point-function): Use them.
8102
1b8b3954
SM
8103 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8104
d3c30954
SM
8105 * mpc.el (mpc-constraints-tag-lookup): New function.
8106 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8107 also to browser "album|playlist".
8108
72779976
JL
81092011-09-14 Juri Linkov <juri@jurta.org>
8110
8111 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8112 (isearch-edit-string): Use length of `isearch-string' when
8113 `isearch-fail-pos' returns nil.
8114 (isearch-message): Remove duplicate code and call
8115 `isearch-fail-pos' with arg `t'.
8116
a0bf2bcd
CY
81172011-09-14 Chong Yidong <cyd@stupidchicken.com>
8118
17bb0a2d
CY
8119 * replace.el (occur-mode-goto-occurrence): Don't force using other
8120 window (Bug#9499).
8121
a0bf2bcd
CY
8122 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8123
f678e0b6
MR
81242011-09-14 Martin Rudalics <rudalics@gmx.at>
8125
8126 * window.el (display-buffer-window): Remove.
8127 (display-buffer-record-window): Use help-setup window parameter
8128 instead of variable display-buffer-window.
8129 (display-buffer-function, special-display-buffer-names)
8130 (special-display-function): Mention help-setup parameter instead
8131 of display-buffer-window in doc-string.
d3c30954
SM
8132 * help.el (help-window-setup): New argument help-window.
8133 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
8134 Reword some messages.
8135 (with-help-window): Pass window used for displaying the buffer
8136 to help-window-setup. Don't set display-buffer-window.
8137
8e39b2e8
GM
81382011-09-13 Glenn Morris <rgm@gnu.org>
8139
8140 * emacs-lisp/debug.el (debugger-make-xrefs):
8141 Preserve point. (Bug#9462)
8142
85e9c04b
CY
81432011-09-13 Chong Yidong <cyd@stupidchicken.com>
8144
8145 * window.el (window-deletable-p): Use next-frame.
8146
1b36ed6a
MR
81472011-09-13 Martin Rudalics <rudalics@gmx.at>
8148
8149 * window.el (window-auto-delete): Remove.
8150 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 8151 dedication and previous buffers.
1b36ed6a
MR
8152 (switch-to-prev-buffer): Don't delete window.
8153 (delete-windows-on): Delete a window's frame if and only if the
8154 window is dedicated.
8155 (replace-buffer-in-windows): Delete buffer's window or frame if
8156 and only if window is dedicated.
8157 (quit-window): Handle quit-restore as before last change.
4d61f28d 8158 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 8159
ef8ef9fb
CY
81602011-09-13 Chong Yidong <cyd@stupidchicken.com>
8161
8162 * window.el (window-deletable-p): Never delete the last frame on a
8163 given terminal.
8164
b2cba41e
GM
81652011-09-13 Glenn Morris <rgm@gnu.org>
8166
8167 * help.el (describe-key-briefly): Copy previous standard-output change.
8168
51553db6 81692011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
8170
8171 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8172
b7556719
GM
81732011-09-13 Glenn Morris <rgm@gnu.org>
8174
8175 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8176 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8177
64b51947
CY
81782011-09-12 Chong Yidong <cyd@stupidchicken.com>
8179
8180 * dired-aux.el (dired-mark-read-string): Don't return default
8181 value on empty input (Bug#9361).
8182 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8183 Omit initial minibuffer contents.
8184 (dired-do-chmod): Signal an error on empty input.
8185 (dired-mark-read-string): Don't return default on empty input.
8186
8187 * files.el (file-modes-symbolic-to-number): Doc fix.
8188
393a301e
SM
81892011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8190
8191 * international/mule-cmds.el (ucs-completions): Remove.
8192 (read-char-by-name): Use complete-with-action instead; add metadata.
8193
fa5660f9
CY
81942011-09-11 Chong Yidong <cyd@stupidchicken.com>
8195
8196 * window.el (display-buffer--action-function-custom-type)
8197 (display-buffer--action-custom-type): New vars.
8198 (display-buffer-alist, display-buffer-default-action)
8199 (display-buffer-overriding-action): Add defcustom types.
8200
4a592f66
CY
8201 * frame.el (delete-other-frames): Doc fix (Bug#276).
8202
73d56dbd
LMI
82032011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8204
8205 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8206
37ac18a3
CY
82072011-09-11 Chong Yidong <cyd@stupidchicken.com>
8208
8209 Change modes that used same-window-* vars to use switch-to-buffer.
8210
8211 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8212 Use switch-to-buffer.
8213
8214 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
8215 (customize-browse, custom-buffer-create-other-window):
8216 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
8217
8218 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8219 (Info-prev, Info-up, Info-speedbar-goto-node)
8220 (info-display-manual): Use switch-to-buffer.
8221 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8222
8223 * mail/sendmail.el (mail): Use switch-to-buffer.
8224 (mail-recover): Use switch-to-buffer-other-window.
8225
8226 * cmuscheme.el (run-scheme, switch-to-scheme):
8227 * ielm.el (ielm):
8228 * shell.el (shell):
8229 * net/rlogin.el (rlogin):
8230 * net/telnet.el (telnet, rsh):
8231 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8232
10195bd6
AS
82332011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8234
8235 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8236
b322f63a
LMI
82372011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8238
39d7fed6
LMI
8239 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8240 so don't mention it (bug#9301).
ba5a81f1 8241 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8242
ee0e9f11
LMI
8243 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8244 match `x', `w32' and `ns', like the manual says (bug#9029).
8245
0b1c89c1 8246 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8247 (process-kill-buffer-query-function): Mention the buffer name in
8248 the query.
0b1c89c1 8249
77549ea8
LMI
8250 * image-mode.el (image-next-line): The line parameter is mandatory
8251 (bug#9258).
8252
803ef892
LMI
8253 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8254 which can be useful (bug#9301).
8255
12980837
LMI
8256 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8257
91054f8f
LMI
8258 * subr.el (match-string): Mention that the current buffer should
8259 be the same as the search was done in (bug#9282).
8260
b322f63a
LMI
8261 * facemenu.el: Disable the remove-* commands if the mark isn't
8262 active (bug#9162).
8263
3199b96f
CY
82642011-09-10 Chong Yidong <cyd@stupidchicken.com>
8265
8266 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8267 of display-buffer.
8268 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8269
8270 * replace.el (occur-mode-goto-occurrence)
8271 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8272 and display-buffer.
8273
8274 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8275 display-buffer.
8276
8277 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8278 special-display and same-window variables.
8279 (mail-other-window): Use switch-to-buffer-other-window.
8280 (mail-other-frame): USe switch-to-buffer-other-frame.
8281
393a301e
SM
8282 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8283 Use display-buffer-other-frame.
3199b96f
CY
8284 (gdb-display-gdb-buffer): Use pop-to-buffer.
8285
8286 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8287
8288 * progmodes/python.el: Don't set same-window-buffer-names.
8289
8290 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8291
8292 * window.el (display-buffer-alist): Add *Python*.
8293
8319e0bf
CY
82942011-09-10 Chong Yidong <cyd@stupidchicken.com>
8295
8296 * window.el (display-buffer-alist): Add entry for buffers
8297 previously handled same-window-*.
8298 (display-buffer-alist, display-buffer-default-action)
8299 (display-buffer-overriding-action): Mark as risky.
8300 (display-buffer-alist): Document action function changes.
8301 (display-buffer--same-window-action)
8302 (display-buffer--other-frame-action): New variables.
8303 (switch-to-buffer, display-buffer-other-frame): Use them.
8304 (display-buffer): Rename reuse-frame entry to reusable-frames.
8305 (display-buffer-reuse-selected-window): Function deleted.
8306 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8307 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8308 (display-buffer-special): New function.
8309 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8310 display-buffer-reuse-or-pop-window. Split off special-display
8311 part into display-buffer-special.
8312 (display-buffer-use-some-window): Don't perform any special
8313 pop-up-frames handling.
8314 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8315 (display-buffer--maybe-same-window): Rename from
0d3ff375 8316 display-buffer-maybe-same-window.
8319e0bf 8317
919a69aa
CY
8318 * info.el: Don't set same-window-regexps.
8319 (info-setup): New function.
8320 (info-other-window, info): Call it.
8321
8322 * cus-edit.el: Don't set same-window-regexps.
8323 (customize-group): New argument.
8324 (customize-group-other-window): Use it.
8325 (customize-face, customize-face-other-window): Likewise.
8326 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8327
8319e0bf
CY
8328 * net/rlogin.el:
8329 * net/telnet.el:
8330 * progmodes/gud.el: Don't set same-window-regexps.
8331
8332 * cmuscheme.el:
8333 * ielm.el:
8334 * shell.el:
8335 * mail/sendmail.el:
8336 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8337
25173000
JL
83382011-09-10 Juri Linkov <juri@jurta.org>
8339
8340 * isearch.el (isearch-edit-string): Remove obsolete mention of
8341 `C-w' (`isearch-yank-word-or-char') from docstring.
8342 (isearch-query-replace): Fix typo in docstring (bug#9466).
8343
056e44ef
JL
83442011-09-10 Juri Linkov <juri@jurta.org>
8345
8346 * paren.el (show-paren-function): Don't show escaped parens.
8347 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8348
c3760c17
EZ
83492011-09-10 Eli Zaretskii <eliz@gnu.org>
8350
8351 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8352 (mm-default-file-encoding): Remove autoload forms, they are
8353 replaced with autoload cookies in mml.el and mm-encode.el.
8354 (mail-add-attachment): New command.
8355 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8356 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8357 the doc string.
8358 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8359
fece895e
RT
83602011-09-10 Reuben Thomas <rrt@sc3d.org>
8361
e69df516
SM
8362 * simple.el (count-words-region): Use buffer if there's no region
8363 (bug#9429).
fece895e 8364
5e68ce4a
JL
83652011-09-09 Juri Linkov <juri@jurta.org>
8366
8367 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8368 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8369 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8370
0a6b9622
AM
83712011-09-09 Alan Mackenzie <acm@muc.de>
8372
8373 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8374 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8375
14a29deb
EZ
83762011-09-09 Eli Zaretskii <eliz@gnu.org>
8377
8378 Fix for Savannah bug#9392.
8379 * simple.el (mail-encode-mml): New defvar.
8380
8381 * mail/rmail.el (mail-encode-mml): Add a defvar.
8382 (rmail-enable-mime-composing): Default to t.
8383 (rmail-forward): Use MIME method of forwarding only if both
8384 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8385 Set mail-encode-mml non-nil if the MIME method was used.
8386
8387 * mail/sendmail.el (mml-to-mime): Add autoload form.
8388 (mail-encode-mml): Add a defvar.
8389 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8390 to nil.
8391 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8392 message through mml-to-mime, and reset mail-encode-mml to nil.
8393
28c45130
GM
83942011-09-09 Glenn Morris <rgm@gnu.org>
8395
8396 * woman.el (woman-if-body): When processing an .el block,
8397 do not delete the next .el block as well. (Bug#9447)
69f4b618 8398 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8399
9b1c252e
MR
84002011-09-08 Martin Rudalics <rudalics@gmx.at>
8401
8402 * window.el (window-deletable-p): Make sure window is live before
8403 invoking window-prev-buffers.
8404
567457e3
LL
84052011-09-08 Leo Liu <sdl.web@gmail.com>
8406
8407 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8408
97f05794
JL
84092011-09-08 Juri Linkov <juri@jurta.org>
8410
8411 * progmodes/compile.el (compilation-environment): Make it
8412 a defcustom (bug#8340).
8413
8b0874b5
MR
84142011-09-08 Martin Rudalics <rudalics@gmx.at>
8415
8416 * window.el (frame-auto-delete): Rename to window-auto-delete.
8417 Make it control auto-deletion of windows and/or frames.
8418 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8419 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8420 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8421 Rewrite handling of case when window/frame can be deleted.
8422 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8423 argument t. (Bug#9456)
8b0874b5 8424
4feb6e73
CY
84252011-09-07 Chong Yidong <cyd@stupidchicken.com>
8426
8427 * help-mode.el (help-mode): Restore autoload.
8428
91ab9c13
JL
84292011-09-07 Juri Linkov <juri@jurta.org>
8430
8431 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8432 `compilation-environment'. Set buffer-local
8433 `compilation-environment' to `thisenv' later after (funcall mode).
8434 (Bug#8340)
8435
8436 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8437 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8438 instead of replacing its value. (Bug#8340)
8439
0527e251
JL
84402011-09-07 Juri Linkov <juri@jurta.org>
8441
8442 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8443 based on text properties put by `grep-filter' instead of matching
8444 escape sequences.
8445 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8446 to the value of `grep-error-screen-columns' (bug#9438).
8447
249f792c
JL
84482011-09-07 Juri Linkov <juri@jurta.org>
8449
8450 * simple.el (next-error-highlight, next-error-highlight-no-select):
8451 Doc fix (bug#9432).
8452
ff7271b9
OT
84532011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8454
8455 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8456 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8457
183fc730
LL
84582011-09-07 Leo Liu <sdl.web@gmail.com>
8459
8460 * net/rcirc.el (rcirc-mode): Conditionally initialize
8461 rcirc-input-ring.
8462
77694924
SM
84632011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8464
8465 * emacs-lisp/find-func.el (find-function-C-source): Only set
8466 find-function-C-source-directory after checking that we found a source
8467 file there (bug#9440).
8468
d809b8eb
AM
84692011-09-06 Alan Mackenzie <acm@muc.de>
8470
8471 * isearch.el (isearch-other-meta-char): Wherever a key list is
8472 unread, "unread" the prefix arg, too. This fixes bug #8901.
8473
453de99f
OG
84742011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8475
8476 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8477
90439906
JL
84782011-09-05 Juri Linkov <juri@jurta.org>
8479
8480 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8481
f62bd846
JL
84822011-09-05 Juri Linkov <juri@jurta.org>
8483
8484 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8485 keeping point where processing of grep matches begins, and
8486 continue to delete remaining escape sequences from the same point.
8487 (grep-filter): Make leading zero optional in "0?1;31m" because
8488 git-grep emits "\033[1;31m" escape sequences unlike expected
8489 "\033[01;31m" as GNU Grep does (bug#9408).
8490 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8491
045820ec
JL
84922011-09-05 Juri Linkov <juri@jurta.org>
8493
8494 * subr.el (y-or-n-p): Capitalize "yes".
8495
f5e29b9b
MA
84962011-09-04 Michael Albinus <michael.albinus@gmx.de>
8497
8498 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8499 `tramp-cache-unload-hook' where appropriate.
8500 (tramp-methods): Rename `tramp-remote-sh' to
8501 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8502 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8503
8504 * net/tramp-sh.el (top): Don't require 'shell.
8505 (tramp-methods): Add `tramp-remote-shell' and
8506 `tramp-remote-shell-args' entries.
8507 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8508 (tramp-sh-handle-shell-command): Remove.
8509 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8510 Use `tramp-remote-shell'.
8511
2784c434
CY
85122011-09-03 Chong Yidong <cyd@stupidchicken.com>
8513
393a301e 8514 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8515 (sendmail-query-once): Save directly to send-mail-function.
8516 Update message-send-mail-function too.
8517
8518 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8519
464cdf56
CS
85202011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8521
8522 * progmodes/python.el (python-mode-map): Use correct function to
8523 start python interpreter from menu-bar (as reported by Geert
8524 Kloosterman).
8525 (inferior-python-mode-map): Fix typo.
393a301e 8526 (python-shell-map): Remove.
464cdf56 8527
d37e5c87
DD
85282011-09-03 Deniz Dogan <deniz@dogan.se>
8529
8530 * net/rcirc.el (rcirc-print): Simplify code for
8531 rcirc-scroll-show-maximum-output. There is no need to walk
8532 through all windows to find the right one.
8533
f3ada0ee
CS
85342011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8535
8536 * help.el (help-return-method): Doc fix.
8537
1f3c99ca
MR
85382011-09-03 Martin Rudalics <rudalics@gmx.at>
8539
8540 * window.el (window-deletable-p): Don't return a non-nil value
8541 when there's a buffer that was shown in the window before.
8542 (Bug#9419)
393a301e
SM
8543 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8544 Set window's previous buffers to nil.
1f3c99ca 8545
a3cf097f
EZ
85462011-09-03 Eli Zaretskii <eliz@gnu.org>
8547
8548 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8549 newline before and after the tag line, so it doesn't interfere
8550 with determining the paragraph direction of bidirectional text.
8551
3d03de90
LL
85522011-09-03 Leo Liu <sdl.web@gmail.com>
8553
8554 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8555
c3313451
CY
85562011-09-02 Chong Yidong <cyd@stupidchicken.com>
8557
393a301e 8558 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8559 (pop-to-buffer): Change interactive spec. Pass second argument
8560 directly to display-buffer.
8561 (display-buffer): Fix interactive spec. Use functionp to
8562 distinguish between a function and a list of functions.
8563
8564 * abbrev.el (edit-abbrevs):
8565 * arc-mode.el (archive-extract):
8566 * autoinsert.el (auto-insert):
8567 * bookmark.el (bookmark-bmenu-list):
8568 * files.el (find-file):
8569 * view.el (view-buffer):
8570 * progmodes/compile.el (compilation-goto-locus):
8571 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8572
89894cd8
CY
85732011-09-02 Chong Yidong <cyd@stupidchicken.com>
8574
8575 * window.el (display-buffer-alist): Doc fix.
8576 (display-buffer): Add docstring. Don't treat
8577 display-buffer-default specially.
8578 (display-buffer-reuse-selected-window)
8579 (display-buffer-same-window, display-buffer-maybe-same-window)
8580 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8581 (display-buffer-pop-up-window)
8582 (display-buffer-reuse-or-pop-window)
8583 (display-buffer-use-some-window): New functions.
8584 (display-buffer-default-action): Use them.
393a301e 8585 (display-buffer-default): Delete.
89894cd8
CY
8586 (pop-to-buffer-1): Fix choice of actions.
8587
ae0bc9fb
SM
85882011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8589
8590 * minibuffer.el (completion--insert-strings): Don't get confused by
8591 completion entries that end with an LF char.
8592
e9d90883
EZ
85932011-09-01 Eli Zaretskii <eliz@gnu.org>
8594
8595 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8596
437014c8
CY
85972011-09-01 Chong Yidong <cyd@stupidchicken.com>
8598
8599 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8600 (display-buffer-same-window, display-buffer-other-window):
8601 New functions.
437014c8
CY
8602 (pop-to-buffer-1): New function. Use the above.
8603 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8604 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8605
8606 * view.el (view-buffer-other-window, view-buffer-other-frame):
8607 Just use pop-to-buffer.
8608
a5e063d5
TV
86092011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8610
8611 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8612
793d32bb
WH
86132011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8614
8615 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8616
d65e4c15
RS
86172011-08-31 Richard Stallman <rms@gnu.org>
8618
8619 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8620 of the separation of rmail-view-buffer from rmail-buffer.
8621 If you say no to "replace original", the decrypt is in the
8622 view buffer. If you say yes, the decrypt goes into the
8623 rmail buffer also.
8624
f818cd2a
MR
86252011-08-31 Martin Rudalics <rudalics@gmx.at>
8626
8627 * window.el (display-buffer-window): Rewrite doc-string.
8628 (display-buffer-record-window): New function.
8629 (display-buffer-macro-specifiers)
8630 (display-buffer-even-window-sizes, display-buffer-set-height)
8631 (display-buffer-set-width, display-buffer-in-window)
8632 (display-buffer-reuse-window, display-buffer-split-specifiers)
8633 (display-buffer-side-specifiers, display-buffer-split-window-1)
8634 (display-buffer-split-window, display-buffer-split-atom-window)
8635 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8636 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8637 (display-buffer-other-window-means-other-frame)
8638 (display-buffer-normalize-special)
8639 (display-buffer-normalize-default)
8640 (display-buffer-normalize-argument)
8641 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8642 (display-buffer-normalize-specifiers, display-buffer-frame)
8643 (display-buffer-same-window, display-buffer-same-frame)
8644 (display-buffer-other-window)
8645 (display-buffer-same-frame-other-window)
8646 (display-buffer-other-frame, pop-to-buffer-same-window)
8647 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8648 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8649 (switch-to-buffer-same-frame)
8650 (switch-to-buffer-other-window-same-frame)
8651 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8652 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8653 (display-buffer-alist-set): Remove.
8654 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8655 (special-display-regexps, special-display-function):
8656 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8657 parameter.
8658 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8659 (special-display-frame-alist, special-display-popup-frame)
8660 (same-window-buffer-names, same-window-regexps, same-window-p)
8661 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8662 (split-window-preferred-function, split-height-threshold)
8663 (split-width-threshold, window-splittable-p)
8664 (split-window-sensibly, window--try-to-split-window)
8665 (window--frame-usable-p, even-window-heights)
8666 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8667 (window--display-buffer-2, display-buffer-other-frame):
8668 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8669 (display-buffer-default, display-buffer-assq-regexp): New functions.
8670 (display-buffer-alist): Rewrite doc-string.
8671 (display-buffer-default-action)
8672 (display-buffer-overriding-action): New variables.
8673 (display-buffer, switch-to-buffer): Rewrite.
8674 (pop-to-buffer): Restore Emacs 23 behavior but use
8675 window-normalize-buffer-to-display.
8676 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8677 Restore Emacs 23 behavior but use
8678 window-normalize-buffer-to-switch-to.
8679 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8680 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8681 Rewrite using Emacs 23 options.
f818cd2a 8682
5bc3b51d
MA
86832011-08-31 Michael Albinus <michael.albinus@gmx.de>
8684
8685 * net/tramp.el (tramp-root-regexp): Remove.
8686 (tramp-completion-file-name-regexp-unified)
8687 (tramp-completion-file-name-regexp-separate)
8688 (tramp-completion-file-name-regexp-url): Don't use leading volume
8689 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8690 (tramp-drop-volume-letter): Simplify definition.
8691 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8692
b1a4f8e1
SM
86932011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8694
8695 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8696 (bug#9356).
8697
5664fa7b
RT
86982011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8699
b1a4f8e1 8700 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8701
9a45d6c3
JL
87022011-08-29 Juri Linkov <juri@jurta.org>
8703
8704 * isearch.el (isearch-done): Don't display message "Mark saved"
8705 when arg `edit' is non-nil to prevent its flicker in the echo area.
8706
fb87e0fb
CY
87072011-08-28 Chong Yidong <cyd@stupidchicken.com>
8708
8709 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8710 obsolete packages for deletion.
8711
09ac1c2a
CS
87122011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8713
8714 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8715 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8716 view-mode from help-mode.
8717 (help-xref-override-view-map): Remove.
8718 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8719 view-mode is not used anymore.
8720
7a1ff57f
CY
87212011-08-28 Chong Yidong <cyd@stupidchicken.com>
8722
8723 * server.el (server-port): Doc fix.
8724
b9696605
CY
8725 * cus-theme.el (custom-theme-choose-mode): Inherit from
8726 special-mode (Bug#9124).
8727 (custom-theme-choose-mode-map): Add special-mode to parent.
8728
ef8cdf8c
AM
87292011-08-28 Alan Mackenzie <acm@muc.de>
8730
8731 * progmodes/cc-fonts.el
8732 (c-make-font-lock-BO-decl-search-function): New function.
8733 (c-basic-matchers-after - "Fontify the clauses after various
8734 keywords"): Extract the three keyword lists for the 3 erroneous
8735 constructs from the list of four, and use the new function above
8736 in place of an old one.
8737
27de4e20
DD
87382011-08-28 Deniz Dogan <deniz@dogan.se>
8739
8740 * net/rcirc.el (rcirc-insert-prev-input)
8741 (rcirc-insert-next-input): Remove unused argument.
8742
356a3681
SM
87432011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8744
8745 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8746
3fc9b218
AM
87472011-08-27 Alan Mackenzie <acm@muc.de>
8748
8749 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8750 handle function pointer parameters properly.
8751
538a061c
MR
87522011-08-27 Martin Rudalics <rudalics@gmx.at>
8753
8754 * window.el (display-buffer-reuse-window): Fix case where
8755 selected window was reused with non-nil OTHER-WINDOW argument.
8756 (Bug#9381)
8757
35b1c40c
DD
87582011-08-27 Deniz Dogan <deniz@dogan.se>
8759
8760 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8761 oftc's NickServ messages.
8762
2f6a3e79
GM
87632011-08-27 Glenn Morris <rgm@gnu.org>
8764
8765 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8766
7254299e
CY
87672011-08-26 Chong Yidong <cyd@stupidchicken.com>
8768
8769 * emacs-lisp/package.el (package-install): Call package-initialize
8770 if called interactively.
8771
f8ccf167
LL
87722011-08-26 Leo Liu <sdl.web@gmail.com>
8773
8774 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8775
3e8cd5ce
JL
87762011-08-25 Juri Linkov <juri@jurta.org>
8777
8778 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8779 `search-whitespace-regexp' (bug#9364).
8780
93eb7113
JL
87812011-08-25 Juri Linkov <juri@jurta.org>
8782
8783 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8784 `regexp-search-ring' to their global values to protect from
8785 updating by `read-from-minibuffer' (bug#9185).
8786
f65d1611
JL
87872011-08-25 Juri Linkov <juri@jurta.org>
8788
8789 * textmodes/ispell.el (ispell-command-loop): Add newline
8790 at the end of the "Use option `i'..." line.
8791
f1cf7a31
JL
87922011-08-25 Juri Linkov <juri@jurta.org>
8793
8794 * battery.el (display-battery-mode): If `battery-status-function'
8795 or `battery-mode-line-format' is nil, display the message and set
8796 `display-battery-mode' to nil (bug#9363).
8797
0c95fcf7
EZ
87982011-08-25 Eli Zaretskii <eliz@gnu.org>
8799
8800 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8801 bidi-string-mark-left-to-right; they are unnecessary now.
8802
a2ebe600
DD
88032011-08-25 Deniz Dogan <deniz@dogan.se>
8804
8805 * net/quickurl.el: Documentation typo fixes.
8806
e4ed06f1
CY
88072011-08-25 Chong Yidong <cyd@stupidchicken.com>
8808
8809 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8810
e5f1c99e
GM
88112011-08-25 Glenn Morris <rgm@gnu.org>
8812
b2948976
GM
8813 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8814
e5f1c99e
GM
8815 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8816 (smtpmail-via-smtp): Handle nil response from smtp.
8817
f22f4808
JL
88182011-08-24 Juri Linkov <juri@jurta.org>
8819
8820 * proced.el (proced-marked): Inherit from `error' instead of
8821 `font-lock-warning-face'.
8822
8823 * ibuffer.el (ibuffer-marked-face): Change default face from
8824 `font-lock-warning-face' to `warning'.
8825 (ibuffer-deletion-face): Change default face from
8826 `font-lock-type-face' to `error'.
8827
8828 * battery.el (battery-update): Use the face `error' instead of
8829 `font-lock-warning-face' (bug#6117).
8830
6a93965e
JL
88312011-08-24 Juri Linkov <juri@jurta.org>
8832
8833 * faces.el (success): Change face color from "Green3" to
8834 "ForestGreen" on light background (bug#9353).
8835
1ed43b09
CY
88362011-08-24 Chong Yidong <cyd@stupidchicken.com>
8837
5664fa7b
RT
8838 * window.el (quit-window): Rename from quit-restore-window.
8839 Use same arglist as old quit-window.
1ed43b09
CY
8840 (frame-auto-delete): Doc fix.
8841
8842 * view.el (view-mode-exit): Use quit-window.
8843
11dcdbb2
JL
88442011-08-24 Juri Linkov <juri@jurta.org>
8845
8846 * isearch.el (isearch-ring-adjust1): Start visiting previous
8847 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8848 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8849 for empty search string (when the last search string is reused
8850 automatically) to adjust the isearch ring to the last element and
8851 prepare the correct index for further M-p commands (bug#9185).
8852
de62b4df
KH
88532011-08-24 Kenichi Handa <handa@m17n.org>
8854
8855 * international/ucs-normalize.el: If decomposition property of
8856 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8857 nil.
8858 (nfd, nfkd): Likewise.
8859
963b492b
SM
88602011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8861
8862 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8863 from process filters aren't reliably transmitted to the surrounding
8864 accept-process-output.
8865 (mpc-proc-check): New function.
8866 (mpc-proc-sync): Use it (bug#8293)
8867
93b6b5e1
SM
88682011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8869
8870 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8871 Add compatibility functions (bug#9313).
8872
bca633fb
EZ
88732011-08-23 Eli Zaretskii <eliz@gnu.org>
8874
b177498a
EZ
8875 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8876
6df6ae42 8877 * international/uni-bidi.el: Regenerate.
bca633fb 8878
0902a04e
KH
88792011-08-23 Kenichi Handa <handa@m17n.org>
8880
8881 * international/charprop.el:
8882 * international/uni-bidi.el:
8883 * international/uni-category.el:
8884 * international/uni-combining.el:
8885 * international/uni-comment.el:
8886 * international/uni-decimal.el:
8887 * international/uni-decomposition.el:
8888 * international/uni-digit.el:
8889 * international/uni-lowercase.el:
8890 * international/uni-mirrored.el:
8891 * international/uni-name.el:
8892 * international/uni-numeric.el:
8893 * international/uni-old-name.el:
8894 * international/uni-titlecase.el:
8895 * international/uni-uppercase.el: Regenerate.
8896
3bbf23bc
MR
88972011-08-23 Martin Rudalics <rudalics@gmx.at>
8898
8899 * help.el (help-window-setup): Fix message displayed when other
8900 window is reused. (Bug#9341)
8901
b3fd59bd
SM
89022011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8903
1802e444
SM
8904 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8905 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8906
b3fd59bd
SM
8907 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8908 Mark obsolete.
8909 * shell.el (shell-parse-pcomplete-arguments): New function.
8910 (shell-completion-vars): Use it instead (bug#9160).
8911
4eb61348
SM
89122011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8913
867cab74
SM
8914 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8915 strings and comments (bug#9333).
8916
4eb61348
SM
8917 * emacs-lisp/debug.el (debug-arglist): New function.
8918 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8919 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8920
262a1439
JL
89212011-08-22 Juri Linkov <juri@jurta.org>
8922
56ee679c
JL
8923 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8924 Revert regexp that highlights output switches to its old
8925 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8926
262a1439
JL
8927 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8928 to check for empty output (bug#9226).
8929
f13f86fb
CY
89302011-08-22 Chong Yidong <cyd@stupidchicken.com>
8931
8932 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8933 symbol-constituent as the default, as that stops font-lock from
8934 working properly (Bug#8843).
8935
c65c9622
LMI
89362011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8937
8938 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8939 `coding-system-for-*' around the process open call to avoid
8940 auth-source side effects.
e7f2c178 8941 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8942 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8943 probe hangs.
c65c9622 8944
23a8a5ab
CY
89452011-08-21 Chong Yidong <cyd@stupidchicken.com>
8946
ff98b2dd
CY
8947 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8948
23a8a5ab
CY
8949 * emacs-lisp/find-func.el (find-function-noselect): New arg
8950 lisp-only.
8951
8952 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8953 signal an error for built-in functions (Bug#6664).
8954
f5e3c598
LMI
89552011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8956
8957 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8958 (smtpmail-try-auth-methods): Use it.
8959
a3f2468a
CY
89602011-08-21 Chong Yidong <cyd@stupidchicken.com>
8961
2c34e8da
CY
8962 * font-lock.el (font-lock-fontify-region)
8963 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8964 (font-lock-default-unfontify-buffer)
8965 (font-lock-default-fontify-region)
8966 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8967
b3fd59bd
SM
8968 * progmodes/compile.el (compilation-error-properties):
8969 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
8970 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8971 `ant' regexp.
ee31aabc 8972
a3f2468a
CY
8973 * net/browse-url.el (browse-url-firefox): Don't call
8974 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8975
8e999f70
GM
89762011-08-20 Glenn Morris <rgm@gnu.org>
8977
c21a496a
GM
8978 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8979
59ee0542
GM
8980 * tutorial.el (tutorial--default-keys): Update some default bindings.
8981
8e999f70
GM
8982 * files.el (hack-local-variables): Fully ignore case for "mode:".
8983
e3715033
AM
89842011-08-20 Alan Mackenzie <acm@muc.de>
8985
8986 Resolve invalid use of a regexp in regexp-opt.
8987
4d61f28d
JB
8988 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8989 detection for a java annotation.
e3715033 8990
4d61f28d 8991 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
8992 detection for a java annotation.
8993
4d61f28d
JB
8994 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8995 handling for java.
e3715033
AM
8996 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8997
04ed2e9c
CY
89982011-08-20 Chong Yidong <cyd@stupidchicken.com>
8999
9000 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9001 (Bug#9274).
9002
826cee64
AM
90032011-08-20 Alan Mackenzie <acm@muc.de>
9004
58179cce 9005 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
9006 such a construct. Mainly for when jit-lock etc. starts a chunk
9007 here.
9008
58179cce 9009 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 9010 variable.
58179cce 9011 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
9012 c-make-font-lock-search-function.
9013 (c-make-font-lock-search-function): Use the above function.
9014 (c-make-font-lock-context-search-function): New function.
9015 (c-cpp-matchers): Enhance the preprocessor expression case with
9016 the above function
9017 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9018 which takes an expression.
9019
9020 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9021
13009bd8
MR
90222011-08-20 Martin Rudalics <rudalics@gmx.at>
9023
9024 * window.el (display-buffer-reuse-window)
9025 (display-buffer-pop-up-window): Don't reuse or split a side
9026 window.
9027
9234ff7f
GM
90282011-08-19 Glenn Morris <rgm@gnu.org>
9029
9030 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 9031 Downcase "Mode:". (Bug#9331)
9234ff7f 9032
f635daa1
CY
90332011-08-18 Chong Yidong <cyd@stupidchicken.com>
9034
9035 * international/characters.el: Add L and R categories.
9036
9037 * subr.el (bidi-string-mark-left-to-right): Rename from
9038 string-mark-left-to-right. Use category search.
9039
9040 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9041
bc987f8b
JL
90422011-08-18 Juri Linkov <juri@jurta.org>
9043
9044 * faces.el (error, warning, success): New faces with definitions
9045 copied from old default values of `font-lock-warning-face',
9046 `compilation-warning', `compilation-info' (bug#6117).
9047
9048 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9049
9050 * progmodes/compile.el (compilation-error): Inherit from `error'.
9051 (compilation-warning): Inherit from `warning'.
9052 (compilation-info): Inherit from `success'.
9053
9054 * dired.el (dired-marked): Inherit from `warning'.
9055 (dired-flagged): Inherit from `error'.
9056
57173b96
LMI
90572011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9058
3e79eb87
LMI
9059 * mail/smtpmail.el (auth-source): Require to avoid problems with
9060 binding variables (bug#9298). Also clean up some unused
9061 autoloads.
9062
b3fd59bd
SM
9063 * net/network-stream.el (network-stream-open-starttls):
9064 Support using starttls.el without using gnutls-cli.
57173b96 9065
02b404de
JL
90662011-08-17 Juri Linkov <juri@jurta.org>
9067
9068 * progmodes/grep.el (rgrep): Handle the case when
9069 `grep-find-command' is a cons cell (bug#9278).
9070
8c9177f2
MR
90712011-08-17 Martin Rudalics <rudalics@gmx.at>
9072
9073 * window.el (display-buffer-pop-up-frame): Run frame creation
9074 function with BUFFER current (as special-display-popup-frame
9075 does). Reported by Drew Adams.
9076
3644a0ab
DU
90772011-08-17 Daiki Ueno <ueno@unixuser.org>
9078
9079 * epa-mail.el: Simplify GnuPG group expansion using
9080 epg-expand-group.
9081 (epa-mail-group-alist, epa-mail-group-modtime)
9082 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9083 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9084 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9085 Remove.
9086
5e617bc2 90872011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
9088
9089 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9090
9c4aeabf
AM
90912011-08-16 Alan Mackenzie <acm@muc.de>
9092
9093 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9094 Correct, to avoid the inside of macros.
9095
3a99bf64
RS
90962011-08-16 Richard Stallman <rms@gnu.org>
9097
04963aa8
RS
9098 * epa-mail.el: Handle GnuPG group definitions.
9099 (epa-mail-group-alist, epa-mail-group-modtime)
9100 (epa-mail-gnupg-conf-file): New variables.
9101 (epa-mail-parse-groups, epa-mail-sync-groups)
9102 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9103 (epa-mail-expand-recipients): New functions.
9104 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9105
177549d0
RS
9106 * mail/rmail.el (rmail-epa-decrypt): New command.
9107
fe38beef
RS
9108 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9109 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
9110 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9111 (epa-decrypt-armor-in-region): Make error message clearer.
9112
934eacb9
SM
91132011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9114
9115 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9116 and "a2b" to "ab" for `prefix'.
9117
d024fb4e
CY
91182011-08-14 Chong Yidong <cyd@stupidchicken.com>
9119
9120 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9121 filter groups.
de148fee
CY
9122 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9123 Fourquet (Bug#8804).
d024fb4e 9124
62f1ca49
JB
91252011-08-12 Juanma Barranquero <lekktu@gmail.com>
9126
9127 * startup.el (argi): Declare as global variable (bug#9275).
9128
9ccaaa4b
CY
91292011-08-12 Chong Yidong <cyd@stupidchicken.com>
9130
9131 * subr.el (string-mark-left-to-right): Search the entire string
9132 for RTL script, not just the terminating character. Doc fix.
9133
a3dae87a
SM
91342011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9135
6cd18349
SM
9136 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9137 New function.
9138 (js--regexp-literal, js-syntax-propertize-function): Remove.
9139 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9140 (js-mode-map): Don't rebind electric keys.
9141 (js-insert-and-indent): Remove.
9142 (js-mode): Setup electric-layout and electric-indent instead.
9143
a3dae87a
SM
9144 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9145
9d5cb631
DU
91462011-08-12 Daiki Ueno <ueno@unixuser.org>
9147
9148 * epa.el (epa-progress-callback-function): Fix the logic of
9149 displaying progress.
9150 * epa-file.el (epa-file-insert-file-contents): Make progress
9151 display more user-friendly.
9152 (epa-file-write-region): Ditto.
9153
3e26a4a2
CY
91542011-08-10 Chong Yidong <cyd@stupidchicken.com>
9155
9156 * subr.el (string-mark-left-to-right): New function.
9157
9158 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9159 Use string-mark-left-to-right.
9160 (list-buffers-noselect): Caller changed.
9161
a3dae87a
SM
9162 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9163 Use string-mark-left-to-right.
3e26a4a2
CY
9164 (tabulated-list-print): Recenter after moving point.
9165
ac8cf6e6
JL
91662011-08-10 Juri Linkov <juri@jurta.org>
9167
9168 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9169 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9170 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9171
8d96c9a4
CY
91722011-08-09 Chong Yidong <cyd@stupidchicken.com>
9173
9174 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9175 (Bug#7554).
9176
7be1c708 91772011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
9178
9179 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9180 character. (Bug#6594)
9181
37e11a63
CY
91822011-08-08 Chong Yidong <cyd@stupidchicken.com>
9183
839dde57
CY
9184 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9185 (image-dired--with-db-file): New macro.
9186 (image-dired-write-tags, image-dired-remove-tag)
9187 (image-dired-create-gallery-lists, image-dired-write-comments)
9188 (image-dired-get-comment, image-dired-mark-tagged-files)
9189 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9190 (image-dired-gallery-generate): Use insert-file-contents.
9191
37e11a63
CY
9192 * time.el (display-time-world-list, display-time-world-display):
9193 * time-stamp.el (time-stamp-string):
9194 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9195 set-time-zone-rule (Bug#7337).
9196
0b4946c4
DU
91972011-08-08 Daiki Ueno <ueno@unixuser.org>
9198
9199 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9200 (epg-error-to-string, epg-errors-to-string): New function.
9201 (epg-wait-for-completion): Reverse errors list.
9202 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9203 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9204 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9205 (epg-sign-keys, epg-generate-key-from-file)
9206 (epg-generate-key-from-string): Format errors by using
9207 epg-errors-to-string (bug#9255).
9208 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9209
75bfc667
JL
92102011-08-07 Juri Linkov <juri@jurta.org>
9211
9212 * faces.el (list-faces-display): Remove extra angle bracket
9213 from `help-mode-map'.
9214
9215 * info.el (Info-history-toc-nodes): Doc fix.
9216
9217 * longlines.el (longlines-mode): Doc fix.
9218
673e08bb
SM
92192011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9220
4640dd88
SM
9221 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9222 of statements and in a few more cases (bug#9183).
9223
673e08bb
SM
9224 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9225 New functions.
9226 (cl-transform-lambda): Use them (bug#9239).
9227
89b3f019
MR
92282011-08-05 Martin Rudalics <rudalics@gmx.at>
9229
9230 * window.el (display-buffer-same-window)
9231 (display-buffer-same-frame, display-buffer-other-window)
9232 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9233 (pop-to-buffer-other-window)
9234 (pop-to-buffer-same-frame-other-window)
9235 (pop-to-buffer-other-frame): Make them defuns.
9236 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9237
640c8776
SM
92382011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9239
9240 * subr.el (make-composed-keymap): Move from C. Change calling
9241 convention, and improve docstring to bring attention to a subtle point.
9242 * minibuffer.el (completing-read-default): Adjust accordingly.
9243
63648a95
MA
92442011-08-03 Michael Albinus <michael.albinus@gmx.de>
9245
9246 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9247 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9248
9249 * net/trampver.el: Update release number.
9250
b796c9b7
SM
92512011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9252
9253 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9254 "in" (bug#9190).
9255
2239d7d5
LMI
92562011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9257
e07dd7c3
LMI
9258 * mail/sendmail.el (sendmail-query-once): Restore the current
9259 buffer after querying (bug#9074).
9260
0e6a2bd7
LMI
9261 * dired.el (dired-flagged): Use different faces for marked and
9262 flagged files (bug#6117).
9263
ce887515
LMI
9264 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9265 (bug#4433).
9266
92f2affc
LMI
9267 * ido.el (ido-mode): Switch off the message if called
9268 non-interactively.
9269
57d5aff0
LMI
9270 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9271 before 587, since it appears that that's more likely to work for
9272 more people.
9273
98cd6c18 9274 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9275 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9276 exist.
9277
b96dec83
LMI
9278 * info.el: Remove the `Info-beginning-of-buffer' function
9279 (bug#8325).
9280
b796c9b7
SM
9281 * net/network-stream.el (network-stream-open-starttls):
9282 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9283
d90e2ea0
MR
92842011-08-01 Martin Rudalics <rudalics@gmx.at>
9285
9286 * window.el (display-buffer-in-window): Don't set dedicated status
9287 of window here (Bug#9215).
9288 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9289 (display-buffer-pop-up-side-window)
b796c9b7 9290 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9291
cca09170
SM
92922011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9293
9294 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9295 before binding generated-autoload-file.
9296
027b979c
DD
92972011-08-01 Deniz Dogan <deniz@dogan.se>
9298
9299 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9300
3c7ee4f3
MA
93012011-07-30 Michael Albinus <michael.albinus@gmx.de>
9302
9303 Sync with Tramp 2.2.2.
9304
9305 * net/trampver.el: Update release number.
9306
2cc8e51a
JL
93072011-07-30 Juri Linkov <juri@jurta.org>
9308
9309 * dired-aux.el (dired-touch-initial): Remove function.
9310 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9311 current time, and `default' to the last modification time of the
9312 current marked file (bug#6887).
9313
a514d856
JM
93142011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9315
9316 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9317 numeric argument to read-number (bug#9163).
a514d856 9318
8a7eddd7
MA
93192011-07-27 Michael Albinus <michael.albinus@gmx.de>
9320
9321 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9322 connection process, it could be nil.
9323
1ddd96f5
LL
93242011-07-27 Leo Liu <sdl.web@gmail.com>
9325
9326 Simplify url handling in rcirc-mode.
9327
9328 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9329 (rcirc-browse-url-at-mouse): Remove.
9330 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9331
b248a85d
AM
93322011-07-26 Alan Mackenzie <acm@muc.de>
9333
9334 Fontify bitfield declarations properly.
9335
9336 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9337 (c-symbol-chars): Now exported as a lang variable.
9338 (c-not-primitive-type-keywords): New lang variable.
9339
9340 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9341 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9342 parsed as a bitfield declaration.
b248a85d 9343
b796c9b7
SM
9344 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9345 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9346 (c-punctuation-in): New function.
9347 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9348 declarations properly.
9349
68575ab0
UJ
93502011-07-26 Ulf Jasper <ulf.jasper@web.de>
9351
9352 * calendar/icalendar.el (icalendar--all-events): Take care of
9353 multiple vcalendars in a single file.
b796c9b7 9354 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9355
0f0a88b9
DD
93562011-07-25 Deniz Dogan <deniz@dogan.se>
9357
9358 * image.el (insert-image): Clarifying docstring.
9359
0b3f36df
MA
93602011-07-24 Michael Albinus <michael.albinus@gmx.de>
9361
9362 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9363 `tramp-send-command-and-check' if there is no error.
9364 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9365
a9901f61
AM
93662011-07-22 Alan Mackenzie <acm@muc.de>
9367
9368 Prevent cc-langs.elc being loaded at run time.
9369
9370 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9371 cc-langs.
9372
4d61f28d 9373 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9374 "(require 'cc-langs)". Quote a form so it will evaluate at
9375 (cc-mode's) compilation time.
9376
11d074b2
MA
93772011-07-22 Michael Albinus <michael.albinus@gmx.de>
9378
9379 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9380 loading. (Bug#9114)
9381
938b94c8
MR
93822011-07-21 Martin Rudalics <rudalics@gmx.at>
9383
9384 * window.el (display-buffer-pop-up-window)
9385 (display-buffer-pop-up-side-window)
9386 (display-buffer-in-side-window): Call display-buffer-set-height
9387 and display-buffer-set-width after setting the new window's
b796c9b7 9388 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9389
bfa4f190
SS
93902011-07-20 Sam Steingold <sds@gnu.org>
9391
9392 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9393 (etags-tags-included-tables): Call `convert-standard-filename' on
9394 the file names contained in TAGS so that windows Emacs can handle
9395 TAGS files created by cygwin ctags.
9396
8ca42262
LMI
93972011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9398
9399 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9400 which apparently didn't work.
9401
5db2afd2 94022011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9403
5db2afd2
RW
9404 * proced.el (proced-send-signal): For *Marked Processes* buffer
9405 put point at beginning of buffer.
9406
92e15d10
SB
94072011-07-19 Stephen Berman <stephen.berman@gmx.net>
9408
9409 * proced.el (proced-format): Make header lines align with the text
9410 (bug#1779).
9411
1bfd59e5
LMI
94122011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9413
9414 * view.el (view-buffer): Allow running in `special' modes if we're
9415 visiting a file (bug#8615).
9416
f5aae37c
MR
94172011-07-19 Martin Rudalics <rudalics@gmx.at>
9418
9419 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9420 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9421 New functions.
f5aae37c
MR
9422 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9423 more accurately.
9424
bf2c1571
AM
94252011-07-18 Alan Mackenzie <acm@muc.de>
9426
9427 Fontify declarators properly when, e.g., a jit-lock chunk begins
9428 inside a declaration.
9429
9430 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9431
b796c9b7
SM
9432 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9433 New function.
bf2c1571
AM
9434 (c-complex-decl-matchers): Insert reference to
9435 c-font-lock-enclosing-decls.
9436
9437 * progmodes/cc-engine.el (c-backward-single-comment):
9438 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9439 to nil around calls to (forward-comment -1).
9440
4e190b80
LMI
94412011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9442
12dc863d
LMI
9443 * image.el (put-image): Doc typo fix.
9444
a762e966
LMI
9445 * progmodes/etags.el (tags-search): Doc typo fix.
9446
4e190b80
LMI
9447 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9448 password if we get errors 550 to 554.
9449
f019fb21
LMI
94502011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9451
b796c9b7 9452 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9453
81746738
LMI
9454 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9455 indentation character (bug#6380).
9456
3ee3a1b5
LMI
9457 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9458
c82f64de
LMI
9459 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9460 to clarify what the problem is (bug#4291).
9461
f019fb21
LMI
9462 * simple.el (current-kill): Clarify what
9463 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9464 (auto-fill-mode): Document `auto-fill-function' in relation to
9465 `auto-fill-mode' (bug#2470).
f019fb21 9466
0794775d
LM
94672011-07-16 Lawrence Mitchell <wence@gmx.li>
9468
9469 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9470 method if slot is read-only (bug#9035).
9471
be39b8cc
MR
94722011-07-16 Martin Rudalics <rudalics@gmx.at>
9473
b796c9b7 9474 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9475 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9476 selected before, see discussion of (Bug#8615), (Bug#6954).
9477 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9478
6ccf7859
GM
94792011-07-15 Glenn Morris <rgm@gnu.org>
9480
9481 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9482 Respect help-form.
6ccf7859 9483
87e86684
LM
94842011-07-09 Lawrence Mitchell <wence@gmx.li>
9485
9486 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9487 (gnutls-negotiate): Use it.
9488
d6066239
LMI
94892011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9490
b796c9b7
SM
9491 * net/gnutls.el (gnutls-negotiate):
9492 Upcase `gnutls-algorithm-priority'.
d6066239 9493
bd23ebc0
GM
94942011-07-15 Glenn Morris <rgm@gnu.org>
9495
c65bca65
GM
9496 * jka-compr.el (jka-compr-verbose): Move from here...
9497 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9498 Add missing :version tag.
9499 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9500
478615cc
LMI
95012011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9502
7b41decb
LMI
9503 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9504 (gnutls-negotiate): Use it.
9505
dbc44fcd
LMI
9506 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9507
06789f97
LMI
9508 * info.el (Info-beginning-of-buffer): New command.
9509 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9510 announcing `b' as the key (bug#8325).
ab896c37 9511 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9512
c39da690
LMI
9513 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9514
3aa5f34b
LMI
9515 * international/mule-cmds.el
9516 (describe-specified-language-support): Make the error message
9517 clearer (bug#8905).
9518
4bf0979f
LMI
9519 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9520
478615cc
LMI
9521 * isearch.el (isearch-barrier): Add a doc string, since it's
9522 mentioned in a function doc string (bug#8678).
9523
75c68aa1
MR
95242011-07-15 Martin Rudalics <rudalics@gmx.at>
9525
9526 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9527 buffer argument (Bug#9083) and self-identifying label argument.
9528
a7c33da2
GM
95292011-07-15 Glenn Morris <rgm@gnu.org>
9530
9531 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9532
2f5c6024
LMI
95332011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9534
9535 * man.el (Man-fontify-manpage): Fix message when formatting the
9536 man page (bug#7929).
9537
0bb23927 95382011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9539
9540 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9541 argument LRM; if non-nil, append an invisible LRM character to the
9542 buffer name.
9543 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9544 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9545 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9546 paragraph direction.
cce4b0a7 9547
621ef9ab
LMI
95482011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9549
d1583c48
LMI
9550 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9551 the man page name (bug#7929).
9552
6a57fb5f
LMI
9553 * image.el (put-image): Mention the `put-image' overlay property
9554 (bug#7834).
9555
d7956b14
LMI
9556 * scroll-bar.el (set-scroll-bar-mode): Mention that
9557 `scroll-bar-mode' lists the values (bug#7772).
9558
5b2d4a66
LMI
9559 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9560 command (bug#7729).
9561
7509a874
LMI
9562 * rect.el (apply-on-rectangle): Return the point after the last
9563 operation.
9564 (string-rectangle): Go to the point after the last operation
9565 (bug#7522).
9566
4fe74b19
LMI
9567 * printing.el (pr-toggle-region): Clarify the documentation
9568 slightly (bug#7493).
9569
b796c9b7
SM
9570 * time.el (display-time-update):
9571 Allow `display-time-mail-function' to return nil (bug#7158).
9572 Fix suggested by Detlev Zundel.
ab283561 9573
fc233c9d
LMI
9574 * vc/diff.el (diff): Clarify the order the file names are read
9575 (bug#7111).
9576
43f5740b
LMI
9577 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9578 the doc string (bug#7015).
9579
f2182a76
LMI
9580 * font-lock.el (font-lock-maximum-decoration): Mention what
9581 numeric levels mean (bug#6935).
9582
621ef9ab
LMI
9583 * startup.el (initial-buffer-choice): Don't mention the `none'
9584 selection, which is against policy.
9585
adc47434
MR
95862011-07-14 Martin Rudalics <rudalics@gmx.at>
9587
b796c9b7
SM
9588 * window.el (display-buffer-normalize-special):
9589 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9590
7e5bfb8f
EZ
95912011-07-14 Eli Zaretskii <eliz@gnu.org>
9592
9593 * subr.el (version<, version<=, version=): Mention "-CVS" and
9594 "-12345" alpha version numbers.
9595
27fa387a
CY
95962011-07-14 Chong Yidong <cyd@stupidchicken.com>
9597
9598 * bindings.el: Add advertised binding for set-mark-command
9599 (Bug#5772).
9600
8bdfa064
CY
96012011-07-14 Chong Yidong <cyd@stupidchicken.com>
9602
9603 * bindings.el (mode-line-other-buffer):
9604 * bookmark.el (bookmark-bmenu-2-window):
9605 * bs.el (bs-cycle-next, bs-cycle-previous):
9606 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9607 switch-to-buffer.
9608
9609 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9610 Delete.
8bdfa064 9611
5eba16a3
JB
96122011-07-14 Juanma Barranquero <lekktu@gmail.com>
9613
9614 * follow.el (follow-debug-message, follow-redisplay):
9615 * jka-cmpr-hook.el (with-auto-compression-mode):
9616 Fix typos in docstrings.
9617
15853710
LMI
96182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9619
a28e4607
LMI
9620 * subr.el (with-silent-modifications): Clarify somewhat what the
9621 macro inhibits (bug#6525).
9622
15853710
LMI
9623 * simple.el (eval-expression): Note what it does if called
9624 interactively (bug#6495).
9625
bee0fcef
CY
96262011-07-13 Chong Yidong <cyd@stupidchicken.com>
9627
b796c9b7
SM
9628 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9629 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9630
9631 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9632 Remove switch-to-buffer.
9633
58274504
LMI
96342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9635
bd2fcc8d
LMI
9636 * files.el (make-directory): Clarify that an error will be raised
9637 if there's an error (bug#6397).
9638
0f04b32c
LMI
9639 * startup.el (initial-buffer-choice): Add `none' as a choice
9640 (bug#6234).
9641
465c5fc8
LMI
9642 * subr.el (add-hook): Clarify section about buffer-local hooks
9643 (bug#6218).
9644
58274504
LMI
9645 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9646
bead9a43
JB
96472011-07-13 Juanma Barranquero <lekktu@gmail.com>
9648
9649 * tabify.el (untabify): Preserve the current column so that point
9650 doesn't move (bug#6032).
9651
3af98a7b
LMI
96522011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9653
b796c9b7
SM
9654 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9655 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9656
6240145a
GM
96572011-07-13 Glenn Morris <rgm@gnu.org>
9658
9659 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9660 (dired-insert-directory): Give a message the first time
9661 if ls is found not to support --dired.
9662
1d8c2ccc
LMI
96632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9664
9665 * simple.el (toggle-truncate-lines): Clarify what is toggled
9666 (bug#5580). Text by Drew Adams.
9667
5fc4038e
CY
96682011-07-13 Chong Yidong <cyd@stupidchicken.com>
9669
9670 * simple.el (blink-matching-open): Make the error message from the
9671 last change less verbose.
9672
bf6012e5
DN
96732011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9674
9675 * font-lock.el (font-lock-comment-face): Use the high contrast
9676 "yellow" color for font-lock-comment-face on low color terminals
9677 using a dark background color (bug#4221).
9678
343c3b5a
LMI
96792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9680
7e9505c5
LMI
9681 * dired.el (dired-insert-set-properties): Make the doc string
9682 reflect what it does now (bug#5325).
9683
c26fdcf5
LMI
9684 * simple.el (blink-matching-open): Say that we were unable to find
9685 the match within the limit, if we're limited (bug#5122).
9686
bb388cc5
LMI
9687 * international/mule-cmds.el (prefer-coding-system): Add an
9688 example (bug#4869).
9689
343c3b5a
LMI
9690 * progmodes/etags.el (tags-search): Document `file-list-form'
9691 (bug#4731).
9692
2a517d45
LM
96932011-07-13 Lawrence Mitchell <wence@gmx.li>
9694
9695 * net/browse-url.el (browse-url-default-browser)
9696 (browse-url-browser-function): Make the default browser choice a
9697 bit more logical (bug#4300). Also clean up the doc string.
9698
b6c78ef2
JB
96992011-07-13 Juanma Barranquero <lekktu@gmail.com>
9700
9701 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9702 binary endings (bug#4440).
9703
1c4dd947
LMI
97042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9705
a2014063
LMI
9706 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9707 which can be pretty annoying (bug#8971).
9708
9c9c2d88
LMI
9709 * jka-compr.el (jka-compr-verbose): New variable, and use
9710 throughout (bug#8971).
9711
1c4dd947
LMI
9712 * info.el (Info-find-file): Fall back on the installation
9713 directory if we can't find the info node anywhere else.
9714
a1c9f41b
SO
97152011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9716
9717 * vc/vc.el (vc-revert-file):
9718 Don't set file time-stamp in the past. (Bug#5181)
9719
536f3d36
LMI
97202011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9721
7152b011
LMI
9722 * files.el (after-find-file): Give a better error message when
9723 trying to find a symlink that points to a file that doesn't exist
9724 (bug#4398).
9725
536f3d36
LMI
9726 * progmodes/cc-vars.el: Remove (probably) misleading comment
9727 (bug#4396).
9728
460c0fba
JB
97292011-07-12 Johan Bockgård <bojohan@gnu.org>
9730
9731 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9732
7a6bda45
CY
97332011-07-12 Chong Yidong <cyd@stupidchicken.com>
9734
9735 * mouse-sel.el: Hack restoring functionality, while keeping
9736 compatibility with 2010-07-03 changes to mouse selection.
9737 (mouse-sel-primary-overlay): New var.
9738 (mouse-sel-selection-alist): Use it.
9739 (mouse-sel-mode): Doc fix; remove points that are default features
9740 of mouse.el.
9741
c79598ef
JB
97422011-07-12 Johan Bockgård <bojohan@gnu.org>
9743
9744 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9745 Fix previous fix (bug#2490).
9746
ff8be6ef
RW
97472011-07-12 Roland Winkler <winkler@gnu.org>
9748
b796c9b7
SM
9749 * textmodes/bibtex.el (bibtex-initialize):
9750 Use pop-to-buffer-same-window.
ff8be6ef
RW
9751 (bibtex-search-entries): Fix interactive call.
9752
296ba3ee
LMI
97532011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9754
f5242a02 9755 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9756 Fontise bytecomp Error lines more correctly (bug#2490).
9757 Fix suggested by Johan Bockgård.
f5242a02 9758
296ba3ee
LMI
9759 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9760
9761 * dired-x.el (dired-guess-default): Use `delete-dups'.
9762
f69fd0d2
CY
97632011-07-12 Chong Yidong <cyd@stupidchicken.com>
9764
9765 * dired.el (dired-mark-prompt):
9766 * dired-aux.el (dired-read-shell-command): Doc fix.
9767
eab5dc07
LMI
97682011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9769
b796c9b7
SM
9770 * mail/sendmail.el (sendmail-query-once):
9771 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9772 emacs -Q.
9773
9774 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9775
eab5dc07
LMI
9776 * cus-edit.el (custom-file): Take an optional no-error variable.
9777 (customize-save-variable): Set the variable, and give a warning if
9778 running under "emacs -q".
9779
a1e65d42
JB
97802011-07-11 Juanma Barranquero <lekktu@gmail.com>
9781
9782 * loadhist.el (unload-feature-special-hooks):
9783 Add `auto-coding-functions', `fill-nobreak-predicate' and
9784 `find-directory-functions' (bug#5327).
9785
1d52da10
LMI
97862011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9787
be958f1d
LMI
9788 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9789
5bedb26c
LMI
9790 * cus-edit.el (custom-guess-name-alist): -alist variables should
9791 use the `alist' type (bug#3120). Suggested by Drew Adams.
9792
1d52da10
LMI
9793 * printing.el: Add documentation to all the `pr-toggle-' commands.
9794
cd394be1 97952011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9796
9797 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9798 backends where it makes sense (bug#2623).
9799
dcc88d8a
LMI
98002011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9801
c3de9feb
LMI
9802 * dired-x.el (dired-guess-default): Remove duplicate shell command
9803 entries (bug#2028).
8a93078b 9804 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9805 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9806
dcc88d8a
LMI
9807 * subr.el (remove-duplicates): New conveniency function.
9808
505e3645
LMI
98092011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9810
9811 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9812 (bug#1526).
9813
98142011-07-10 Martin Rudalics <rudalics@gmx.at>
9815
9816 * window.el (display-buffer-normalize-default): Don't invert
9817 meaning of even-window-heights. Reported by Eli Zaretskii
9818 <eliz@gnu.org>.
9819
455e4fa1
BR
98202011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9821
9822 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9823
8e0bc3e9
CY
98242011-07-10 Chong Yidong <cyd@stupidchicken.com>
9825
9826 * window.el (display-buffer): Fix arguments to
9827 display-buffer-reuse-window in last change.
9828
fa7c3228
CY
9829 * faces.el (link): Use a less saturated blue on light backgrounds.
9830
9831 * startup.el (fancy-startup-text, fancy-about-text)
9832 (fancy-startup-tail): Use font-lock faces, for background safety.
9833
c0a7f300
BN
98342011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9835
b796c9b7
SM
9836 * emulation/viper-cmd.el (viper-change-state-to-vi):
9837 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9838
4dc2a129
MR
98392011-07-09 Martin Rudalics <rudalics@gmx.at>
9840
9841 * window.el (display-buffer-default-specifiers): Remove.
9842 (display-buffer-macro-specifiers): Remove default specifiers.
9843 (display-buffer-alist): Default to nil.
b796c9b7 9844 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9845 (display-buffer-pop-up-window): Allow splitting internal
9846 windows. Check whether a live window was created.
9847 (display-buffer-other-window-means-other-frame)
9848 (display-buffer-normalize-arguments): Rename to
9849 display-buffer-normalize-argument and rewrite. Set the
9850 other-window specifier.
9851 (display-buffer-normalize-special): New function.
9852 (display-buffer-normalize-options): Rename to
9853 display-buffer-normalize-default and rewrite.
9854 (display-buffer-normalize-options-inhibit): Remove.
9855 (display-buffer-normalize-specifiers): Rewrite.
9856 (display-buffer): Process other-window specifier and call
9857 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9858 more faithfully.
b796c9b7 9859 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9860 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9861 (display-buffer-in-window, display-buffer-alist-set):
9862 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9863 <tassilo@member.fsf.org>.
9864
2d43b8c9
LL
98652011-07-09 Leo Liu <sdl.web@gmail.com>
9866
9867 * register.el (insert-register): Restore accidental change on
9868 2011-06-26. (Bug#9028)
9869
7f9b7c53
GM
98702011-07-09 Glenn Morris <rgm@gnu.org>
9871
9872 * subr.el (remq): Handle the empty list. (Bug#9024)
9873
f042cfd8
AS
98742011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9875
9876 * mail/sendmail.el (send-mail-function): No longer delay custom
9877 initialization.
9878 * custom.el (custom-initialize-delay): Doc fix.
9879
856b2f11
SM
98802011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9881
9882 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9883
afae1d68
MA
98842011-07-08 Michael Albinus <michael.albinus@gmx.de>
9885
9886 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9887 human-friendly prompt.
9888
0757af94
SM
98892011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9890
9891 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9892 provided by a particular plugin.
9893
d760b731
LMI
98942011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9895
9896 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9897 save customizations (with "emacs -Q"), just set the variable
9898 instead of erroring out.
9899
9900 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9901
cd79ce90
JL
99022011-07-08 Juri Linkov <juri@jurta.org>
9903
9904 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9905 (archive-zip-update-case): Use 7z if found by `executable-find'.
9906 The order of searching the available programs is the same as in
9907 `archive-zip-extract' (bug#8968).
9908
14cc04aa
CY
99092011-07-07 Chong Yidong <cyd@stupidchicken.com>
9910
9911 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9912 (menu-bar-options-menu): Tweak descriptions.
9913
0a1848ec
LMI
99142011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9915
9916 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9917 menu items into verb phrases (bug#1421). Also refill to fit under
9918 80 columns.
9919
f5bd0689
CY
99202011-07-07 Chong Yidong <cyd@stupidchicken.com>
9921
538e85c6
CY
9922 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9923 (Info-read-node-name): Doc fix (Bug#1084).
9924
f5bd0689
CY
9925 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9926 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9927 (end-of-sexp, beginning-of-sexp)
9928 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9929 (forward-symbol, forward-same-syntax, word-at-point)
9930 (sentence-at-point): Doc fix (Bug#1144).
9931
56ec5115
LMI
99322011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9933
f3f8e37f
LMI
9934 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9935 should cover it (bug#1281).
9936
0757af94 9937 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9938
e9fce1ac 9939 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9940 negotiation fails, then possibly try again with a non-encrypted
9941 connection (bug#9017).
9942
56ec5115
LMI
9943 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9944 be used.
9945
c2f9aec8
RS
99462011-07-07 Richard Stallman <rms@gnu.org>
9947
9948 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9949 property, and handle its changed format.
9950 Look for the correct line number.
9951 Use file's line contents (but not past first =) to find
9952 correct line in message.
9953
ef7b981d 99542011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9955
9956 * international/characters.el (build-unicode-category-table):
9957 Delete it.
0757af94 9958 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9959
0757af94 9960 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9961 to src/chartab.c.
9962 (get-char-code-property): Call unicode-property-table-internal to
9963 load a file. Call get-unicode-property-internal where necessary.
9964 (put-char-code-property): Call unicode-property-table-internal to
9965 load a file. Call put-unicode-property-internal where necessary.
9966 put-unicode-property-internal where necessary.
0757af94
SM
9967 (char-code-property-description):
9968 Call unicode-property-table-internal to load a file.
c805dec0
KH
9969
9970 * international/charprop.el:
9971 * international/uni-bidi.el:
9972 * international/uni-category.el:
9973 * international/uni-combining.el:
9974 * international/uni-comment.el:
9975 * international/uni-decimal.el:
9976 * international/uni-decomposition.el:
9977 * international/uni-digit.el:
9978 * international/uni-lowercase.el:
9979 * international/uni-mirrored.el:
9980 * international/uni-name.el:
9981 * international/uni-numeric.el:
9982 * international/uni-old-name.el:
9983 * international/uni-titlecase.el:
9984 * international/uni-uppercase.el: Regenerate.
9985
9986 * loadup.el: Load international/charprop.el before
9987 international/characters.
9988
e14b388a
CY
99892011-07-07 Chong Yidong <cyd@stupidchicken.com>
9990
9991 * window.el (next-buffer, previous-buffer): Signal an error if
9992 called from a minibuffer window.
9993
9994 * bindings.el: Revert 2011-07-04 change.
9995
354cf0ba
RS
99962011-07-06 Richard Stallman <rms@gnu.org>
9997
9998 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9999 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10000 Treat markers like ints.
10001 (rmail-mime-entity): Doc fix.
10002
a48868a7
LMI
100032011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10004
4906cd3d
LMI
10005 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10006 defcustom again for backwards compatibility.
10007
e0457abe
LMI
10008 * simple.el (shell-command-on-region): Fill.
10009
d67f7e1f
LMI
10010 * dired-aux.el (dired-kill-line): Add a doc string.
10011
fe204702
LMI
10012 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10013 to "\\sw\\|\\s_" (bug#358).
10014
a48868a7
LMI
10015 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10016 (dired-unmark-backward): Ditto.
10017 (dired-flag-backup-files): Ditto.
10018
10019 * dired-x.el (dired-mark-sexp): Ditto.
10020
aa8a705c
RS
100212011-07-06 Richard Stallman <rms@gnu.org>
10022
10023 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10024 (rmail-mime-entity): New arg TRUNCATED.
10025 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10026 New functions.
10027 (rmail-mime-save): Warn if entity is truncated.
10028 (rmail-mime-toggle-hidden): Likewise, for showing.
10029 (rmail-mime-process-multipart): Record when an entity is truncated.
10030
a9a936b9
RS
10031 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10032 if ENTITY is a string.
10033
1f2b92cb
LMI
100342011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10035
f4f73198 10036 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
10037 of faces when `M-C-x'-ing their definitions (bug#8378).
10038 Also clean up the code slightly.
f4f73198 10039
12b16734 10040 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 10041 because that makes the colors go away.
12b16734 10042
f0691d22
LMI
10043 * mail/sendmail.el (send-mail-function): Change the default to
10044 `sendmail-query-once'.
9e87df06 10045 (sendmail-query-once): Add an autoload cookie.
f0691d22 10046
1f2b92cb
LMI
10047 * net/network-stream.el (network-stream-open-starttls): Try using
10048 a plain connection even if the server offered STARTTLS, and we
10049 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10050 capability. This should make smtpmail.el work in slightly more
10051 configurations.
10052
1cdd2a1b
MA
100532011-07-06 Michael Albinus <michael.albinus@gmx.de>
10054
10055 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10056 New defun.
10057 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10058
fbcc67e2
MM
100592011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10060
10061 * progmodes/sql.el: Version 3.0
0757af94 10062 (sql-product-alist): Add product :completion-object,
fbcc67e2 10063 :completion-column, and :statement attributes.
0757af94 10064 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 10065 (sql-mode-syntax-table): Mark all punctuation.
0757af94 10066 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
10067 ansi keywords.
10068 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 10069 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
10070 (sql-oracle-show-reserved-words): New function for development.
10071 (sql-product-font-lock): Simplify for source code buffers.
10072 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10073 New functions.
10074 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
10075 (sql-mode-map): Add statement movement functions.
10076 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10077 New variable.
fbcc67e2
MM
10078 (sql-statement-regexp, sql-beginning-of-statement)
10079 (sql-end-of-statement, sql-signum): New functions.
0757af94 10080 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
10081 (sql-show-sqli-buffer): Bug fix.
10082 (sql-interactive-mode): Store connection data as buffer local.
0757af94 10083 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
10084 with sql-interactive-mode.
10085 (sql-save-connection): Save buffer local settings.
0757af94 10086 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
10087 (sql-product-interactive): Bug fix.
10088 (sql-preoutput-hold): New variable.
10089 (sql-interactive-remove-continuation-prompt): Bug fixes.
10090 (sql-debug-redirect): New variable.
10091 (sql-str-literal): New function.
10092 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 10093 Redesign.
fbcc67e2
MM
10094 (sql-oracle-save-settings, sql-oracle-restore-settings)
10095 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10096 (sql-completion-object, sql-completion-column)
10097 (sql-completion-sqlbuf): New variables.
10098 (sql-build-completions-1, sql-build-completions)
10099 (sql-try-completion): New functions.
10100 (sql-read-table-name): Use them.
10101 (sql-contains-names): New buffer local variable.
10102 (sql-list-all, sql-list-table): Use it.
10103 (sql-oracle-completion-types): New variable.
10104 (sql-oracle-completion-object, sql-sqlite-completion-object)
10105 (sql-postgres-completion-object): New functions.
10106
d4eaeab1
GM
101072011-07-06 Glenn Morris <rgm@gnu.org>
10108
10109 * window.el (pop-to-buffer): Doc fix.
10110
322b7dab 101112011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
10112
10113 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10114
322b7dab 101152011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 10116
322b7dab 10117 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 10118
322b7dab 10119 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 10120
605dd5bf
CY
101212011-07-05 Chong Yidong <cyd@stupidchicken.com>
10122
10123 * button.el (button): Inherit from link face. Suggested by Dan
10124 Nicolaescu.
10125
7dbfa719
SM
101262011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10127
3db614b0
SM
10128 * progmodes/gdb-mi.el: Fit in 80 columns.
10129 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10130 switch-to-buffer.
10131
7dbfa719
SM
10132 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10133 if imenu is simply not configured (bug#8941).
10134
919d884a
KM
101352011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10136
10137 * allout.el (allout-post-undo-hook): New allout outline-change
10138 event hook to signal undo activity.
10139 (allout-post-command-business): Run allout-post-undo-hook if an
10140 undo just occurred.
7dbfa719
SM
10141 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10142 * allout-widgets.el (allout-widgets-after-undo-function):
10143 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
10144 in the vicinity of an undo.
10145 (allout-widgets-mode): Include allout-widgets-after-undo-function
10146 on the new allout-post-undo-hook.
10147
450a0f09
SM
101482011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10149
10150 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10151 Let define-derived-mode define it.
10152 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10153 cycles of abbrev-table inheritance (bug#8998).
10154
2de69e00
RW
101552011-07-05 Roland Winkler <winkler@gnu.org>
10156
10157 * textmodes/bibtex.el: Add support for biblatex.
10158 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10159 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10160 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10161 (bibtex-entry-alist, bibtex-field-alist): New variables.
10162 (bibtex-entry-field-alist): Obsolete alias for
10163 bibtex-BibTeX-entry-alist.
10164 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10165 (bibtex-set-dialect): New command.
10166 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
10167 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10168 Bind via bibtex-set-dialect.
2de69e00
RW
10169 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10170 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10171 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10172 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10173 Define via bibtex-set-dialect.
450a0f09
SM
10174 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10175 Obey bibtex-no-opt-remove-re.
2de69e00
RW
10176 (bibtex-vec-push, bibtex-vec-incr): New functions.
10177 (bibtex-format-entry, bibtex-field-list)
10178 (bibtex-print-help-message, bibtex-validate)
10179 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10180
2dcdbdd9
SM
101812011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10182
10183 * progmodes/compile.el (compilation-goto-locus):
10184 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10185 * bs.el (bs-cycle-next, bs-cycle-previous):
10186 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10187 * bindings.el (mode-line-other-buffer):
10188 * autoinsert.el (auto-insert):
10189 * arc-mode.el (archive-extract):
10190 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10191
b27640fe
JB
101922011-07-05 Juanma Barranquero <lekktu@gmail.com>
10193
10194 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10195 Fix check of `emacs-lock-unlockable-modes'.
10196 Coerce true values of `emacs-lock--try-unlocking' to t.
10197
53bbe3ad
JB
101982011-07-05 Juanma Barranquero <lekktu@gmail.com>
10199
10200 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10201 * emacs-lock.el: New file.
10202
1d3cdbc7
JD
102032011-07-05 Julien Danjou <julien@danjou.info>
10204
10205 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10206 than `boundp' to check if face is set.
10207
9173deec
JB
102082011-07-05 Juanma Barranquero <lekktu@gmail.com>
10209
10210 * register.el (registerv-make):
10211 * window.el (window-min-height): Fix typos in docstrings.
10212
869795d6
JD
102132011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10214
9173deec 10215 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
10216 Update doc string.
10217
b768cdcd
JB
102182011-07-04 Juanma Barranquero <lekktu@gmail.com>
10219
10220 * server.el (server-execute): Catch quit and call
10221 `server-return-error' to pass the error back to emacsclient and
10222 close the connection (bug#8942).
10223
13aa217b
KM
102242011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10225
10226 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10227 insecure exception for current topic. Also note that auto-saves
10228 are handled differently.
10229
5d3385a0 10230 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10231 State variables for tracking auto-save inhibition situation.
10232
10233 (allout-write-contents-hook-handler): Rename from
10234 'allout-write-file-hook-handler', and describe how it depends on
10235 write-contents-functions sensitivity to non-nil value to prevent
10236 file write.
10237
10238 (allout-auto-save-hook-handler): Remove. auto-save does not check
10239 this in individual buffers, only in the starting buffer, so this
10240 is not the right way for us to inhibit auto-save in a buffer
10241 according to its condition.
10242
10243 (allout-mode): Use new allout-write-contents-hook-handler, and
10244 only with write-contents-functions. Remove auto-save provisions -
10245 they're implemented elsewhere.
10246
10247 (allout-before-change-handler): If undo is in progress, note that
10248 for attention of allout-post-command-business.
10249
10250 (allout-post-command-business): If the command we're following was
10251 an undo, check for change in the status of encrypted items and
10252 adjust auto-save inhibitions accordingly.
10253
10254 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10255 according to whether there are or aren't any plain-text topics
10256 pending encryption.
10257
2dcdbdd9 10258 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10259 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10260 if there are plain-text topics pending encryption.
13aa217b
KM
10261
10262 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10263 buffer-saved-size and some allout state to not inhibit auto-saves
10264 if there are no longer any plain-text topics pending encryption.
10265
0757af94
SM
10266 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10267 No longer provide for exemption of the current topic.
13aa217b 10268
ac89b32c
JL
102692011-07-04 Juri Linkov <juri@jurta.org>
10270
10271 Add 7z operations to delete and save changed members (bug#8968).
10272 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10273 New defcustoms.
10274 (archive-7z-write-file-member): New function.
10275 (archive-7z-summarize): Fix the number of dashes in the
10276 listing output.
10277
8fa39615
SM
102782011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10279
10280 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10281 (bug#8958).
10282
2f11b3f1
CY
102832011-07-04 Chong Yidong <cyd@stupidchicken.com>
10284
d66fef2b
CY
10285 * bindings.el: Ignore next-buffer and previous-buffer in
10286 minibuffer-local-map.
10287
2f11b3f1
CY
10288 * font-lock.el (font-lock-builtin-face): Change light background
10289 color to dark slate blue (Bug#6693).
10290
f932a347
WD
102912011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10292
10293 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10294
c8af70e1
SM
102952011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10296
10297 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10298 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10299 Add switch-to-buffer.
10300
f158badc
LMI
103012011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10302
10303 * isearch.el (isearch-search-fun-function): Clarify further the
10304 meaning of the function returned.
10305
6d95bd46
MA
103062011-07-04 Michael Albinus <michael.albinus@gmx.de>
10307
10308 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10309
10310 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10311 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10312 Use it.
10313 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10314 `tramp-default-remote-path' does not exist.
10315 (tramp-send-command-and-read): New optional argument NOERROR.
10316 (tramp-open-connection-setup-interactive-shell)
10317 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10318 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10319 (tramp-process-sentinel): Flush also process' connection property.
10320 (tramp-sh-handle-start-file-process): Do not set process
10321 sentinel. It is done now ...
10322 (tramp-maybe-open-connection): ... here. (Bug#8929)
10323
909e6b67
MK
103242011-07-04 MON KEY <monkey@sandpframing.com>
10325
10326 * play/animate.el (animate-string): Doc fixes and allow changing
10327 the buffer name (bug#5417).
10328
103292011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10330
c8af70e1 10331 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10332
f34755dc
PE
103332011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10334
396cec72
PE
10335 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10336 This is simpler and helps future-proof the code.
10337 (timer-until): Use time-subtract and float-time.
08235028 10338 (timer--time-less-p): Use time-less-p.
f34755dc 10339
56e6cc31
JB
103402011-07-04 Juanma Barranquero <lekktu@gmail.com>
10341
3abb79e5
JB
10342 * type-break.el (timep): Use the value of `float-time' to avoid a
10343 byte-compiler warning.
10344
56e6cc31
JB
10345 * server.el (server-eval-and-print): Return any result, even nil.
10346
7b9430b4
PE
103472011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10348
10349 * type-break.el: Accept time formats that the builtins accept.
10350 (timep, type-break-time-difference): Accept any format that
10351 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10352 This is simpler and helps future-proof the code.
10353 (type-break-time-difference): Round rather than ignoring
10354 subseconds components.
10355
3034e9e7
LMI
103562011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10357
10358 * info.el (Info-apropos-matches): Make non-interactive, since it
10359 doesn't seem to do anything useful as a command (bug#8829).
10360
1485f4c0
CY
103612011-07-03 Chong Yidong <cyd@stupidchicken.com>
10362
10363 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10364 Move from faces.el.
1485f4c0
CY
10365 (frame-default-terminal-background): New function.
10366
10367 * custom.el (custom-push-theme): Don't record faces in `changed'
10368 theme; this doesn't work correctly for per-frame face settings.
10369 (disable-theme): Use face-set-after-frame-default to reset faces.
10370 (custom--frame-color-default): New function.
10371
9fa3dd45
LMI
103722011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10373
c8af70e1 10374 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10375 (bug#8769).
10376
6cbbc20c
KR
103772011-03-29 Kevin Ryde <user42@zip.com.au>
10378
10379 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10380 `perl-Test2' extend to match possible "fail #N" rep count
10381 (bug#8377).
10382
c7f98048
LMI
103832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10384
65676592
LMI
10385 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10386 `smtpmail-via-smtp' now returns the error instead of nil.
10387
c7f98048
LMI
10388 * isearch.el (isearch-search-fun-function): Clarify the doc string
10389 (bug#8101).
10390
56e6cc31 103912011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10392
10393 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10394 unnecessary spaces (bug#8987).
10395
2b216704
LMI
103962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10397
10398 * net/network-stream.el (open-network-stream): Use the
10399 :end-of-capability command thoughout.
10400
104012011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10402
10403 * net/network-stream.el (open-network-stream): Add the
10404 :end-of-capability command parameter, used by pop3.el.
10405
36adf6ce
LMI
104062011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10407
1ca0da0e
LMI
10408 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10409
fc00f69c
LMI
10410 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10411 for list)" (bug#6475).
10412
28fd8759 10413 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10414 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10415 an error (bug#6297).
10416
0dd8b6da
LMI
10417 * man.el (Man-reference-regexp): Allow matching possible
10418 word-wrapped references (bug#6289).
10419
ce1438d6
LMI
10420 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10421 for consistency with the other vc buffers (bug#6197).
10422 (vc-checkin): Ditto.
10423
10424 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10425
36adf6ce
LMI
10426 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10427
e83cc1f7
LMI
104282011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10429
8a20ca4c
LMI
10430 * custom.el (defcustom): Clarify that :set is only used in the
10431 Customize user interface (bug#6089).
10432
83319045
LMI
10433 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10434 associated with a file, refuse to run instead of erroring out
10435 (bug#6084).
10436
a8392169
LMI
10437 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10438 the doc string, since it appears that using `fill-column' always
10439 controls the width (bug#7845).
10440
e83cc1f7
LMI
10441 * simple.el (shell-command-on-region): Say where the error output
10442 went if `shell-command-default-error-buffer' is set (bug#6857).
10443
e47ca23b
KM
104442011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10445
10446 * allout.el (allout-yank-processing): Adjust cursor position for
10447 backwards-deleted space.
10448
10449 (allout-rebullet-heading): Register changes with
10450 allout-exposure-changed-hook, so the modified topic is properly
10451 decorated.
10452
5cf56143
LMI
104532011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10454
08549772
LMI
10455 * minibuffer.el (completion-in-region): Document PREDICATE
10456 (bug#7136).
10457
48e96771
LMI
10458 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10459 of keyword/argument pairs (bug#6904).
10460
c8af70e1
SM
10461 * replace.el (multi-occur):
10462 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10463
e17d05e2
LMI
104642011-07-02 Drew Adams <drew.adams@oracle.com>
10465
10466 * dired.el (dired-mark-if): Make the message about whether it's
10467 marking or unmarking clearer (bug#8523).
10468
063b0e45
LMI
104692011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10470
10471 * disp-table.el (display-table-print-array): New function.
10472 (describe-display-table): Use it to print the vectors more pretty
10473 (Bug#8859).
10474
28545e04
MR
104752011-07-02 Martin Rudalics <rudalics@gmx.at>
10476
10477 * window.el (window-state-get-1): Don't assign clone numbers.
10478 Add clone-of item to list of window parameters.
10479 (window-state-put-2): Don't process clone numbers.
10480 (display-buffer-alist): Fix doc-string.
10481
3349e122
SM
104822011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10483
10484 * subr.el (remq): Don't allocate if it's not needed.
10485 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10486 (keymap--merge-bindings): New functions.
10487 (keymap-canonicalize): Use them to refine the canonicalization.
10488 * minibuffer.el (minibuffer-local-completion-map)
10489 (minibuffer-local-must-match-map): Move initialization from C.
10490 (minibuffer-local-filename-completion-map): Move initialization from C;
10491 don't inherit from anything here.
10492 (minibuffer-local-filename-must-match-map): Make obsolete.
10493 (completing-read-default): Use make-composed-keymap to combine
10494 minibuffer-local-filename-completion-map with either
10495 minibuffer-local-must-match-map or
10496 minibuffer-local-filename-completion-map.
10497
d224ac83
GM
104982011-07-01 Glenn Morris <rgm@gnu.org>
10499
3de63bf8
GM
10500 * type-break.el (type-break-time-sum): Use dolist.
10501
d224ac83
GM
10502 * textmodes/flyspell.el (flyspell-word-search-backward):
10503 Replace CL function.
10504
1a1e3f32
SM
105052011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10506
fe3f64d5
SM
10507 * mouse.el (mouse--strip-first-event): New function.
10508 (function-key-map): Use it to map fringe clicks to normal clicks
10509 by default.
10510
eb604e34
SM
10511 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10512 (vc-bzr-revision-completion-table): Add support for annotate and date.
10513
1a1e3f32
SM
10514 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10515 inherit from parent.
10516
5bd35902
LMI
105172011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10518
ace6c69c 10519 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10520 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10521
191e2bed
LMI
10522 * dired.el (dired-mode): Fix up the doc string as suggested by
10523 Drew Adams (bug#8817).
10524
5bd35902
LMI
10525 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10526 cookie, since the manual says that it should be possible to add
10527 this function to `find-file-hook' (bug#8709).
10528
eee8207a
TZ
105292011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10530
10531 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10532 here. Noted Ted Zlatanov as the maintainer.
10533 (cfengine-common-settings, cfengine-common-syntax): New functions
10534 to set up common things between `cfengine-mode' and
10535 `cfengine3-mode'.
10536 (cfengine3-mode): New mode.
10537 (cfengine3-defuns cfengine3-defuns-regex
10538 (cfengine3-class-selector-regex cfengine3-category-regex)
10539 (cfengine3-vartypes cfengine3-font-lock-keywords)
10540 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10541 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10542
36b148cf
MA
105432011-07-01 Michael Albinus <michael.albinus@gmx.de>
10544
10545 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10546
10547 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10548
0bf4ba9a
MR
105492011-07-01 Martin Rudalics <rudalics@gmx.at>
10550
10551 * window.el (same-window-buffer-names, same-window-regexps)
10552 (same-window-p, special-display-frame-alist)
10553 (special-display-popup-frame, special-display-function)
10554 (special-display-buffer-names, special-display-regexps)
10555 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10556 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10557 (split-window-preferred-function, split-height-threshold)
10558 (split-width-threshold, even-window-heights)
10559 (display-buffer-mark-dedicated, window-splittable-p)
10560 (split-window-sensibly, window-safely-shrinkable-p):
10561 Un-obsolete.
10562 (display-buffer): Don't spread args with function specifier
10563 because special-display-popup-frame won't like it.
10564
35837f51
PE
105652011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10566
d0672f86
PE
10567 Time-stamp simplifications and fixes.
10568 These improve accuracy slightly, and future-proof the code
10569 against some potential changes to current-time format.
10570
b9444d97
PE
10571 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10572 by using time-since and float-time.
10573
0ef923dc
PE
10574 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10575 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10576 + NNN microseconds".
10577
2f81380d
PE
10578 * type-break.el (type-break-time-sum): Rewrite using time-add.
10579
845b5c3e
PE
10580 * play/hanoi.el (hanoi-current-time-float): Remove.
10581 All uses replaced by float-time.
10582
ee6f1be0
PE
10583 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10584 This yields a more-accurate answer.
10585 (rng-time-to-float): Remove; no longer needed.
10586
fe955043
PE
10587 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10588
5777162a
PE
10589 * calendar/timeclock.el (timeclock-seconds-to-time):
10590 Defalias to seconds-to-time, since they're the same thing.
10591
3103f8b6 10592 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10593 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10594 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10595
0e61a35f
SM
105962011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10597
10598 * window.el (bury-buffer): Don't iconify the only frame.
10599 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10600 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10601
ddd63a1e
CY
106022011-07-01 Chong Yidong <cyd@stupidchicken.com>
10603
0e61a35f
SM
10604 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10605 Add mouse-yank-primary.
ddd63a1e 10606
055f4923
TZ
106072011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10608
10609 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10610
6a2fb145
SM
106112011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10612
10613 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10614 (find-library-name): Use it to find relative load names when provided
10615 absolute file name (bug#8803).
10616
fd4983f2
LMI
106172011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10618
887d14ad
LMI
10619 * textmodes/flyspell.el (flyspell-word): Consider words that
10620 differ only in case as potential doublons (bug#5687).
10621
c53dc7fc
LMI
10622 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10623 Remove two rather uninteresting debugging-like messages to make
10624 debbugs.el more silent.
10625
fd4983f2
LMI
10626 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10627 a password-like phrase.
10628
7a71b18d 106292011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10630
10631 * progmodes/cc-guess.el: New file.
10632
6a2fb145 10633 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10634
10635 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10636 derived from `c-basic-common-init'.
10637
10638 * progmodes/cc-mode.el (top-level): Require cc-guess.
10639 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10640
1fa280a3
LM
106412011-06-30 Lawrence Mitchell <wence@gmx.li>
10642
10643 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10644
e6597158
AM
106452011-06-30 Alan Mackenzie <acm@muc.de>
10646
1fa280a3
LM
10647 * progmodes/cc-engine.el (c-guess-continued-construct):
10648 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10649 lock is disabled. Name this case as "CASE G".
10650
68ba37fb
KM
106512011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10652
10653 * allout.el (allout-yank-processing): Fix injection of extra space
10654 between bullet and non-whitespace character in first topic when
10655 pasting, ensuring that the actual spacing in the pasted topic
10656 following the bullet char is preserved. This extra space was
10657 causing pasted encrypted topics to get a decrypted status even
10658 when the content was actually still encrypted. Now the decryption
10659 status from before the paste is preserved.
10660
10661 (allout-flag-region): Set all allout overlays so they evaporate
10662 when reduced to zero length (evanescent), to prevent overlay
10663 leakage.
10664
887a0b34
GM
106652011-06-30 Glenn Morris <rgm@gnu.org>
10666
94b9acce
GM
10667 * w32-fns.el (w32-charset-info-alist): Declare.
10668
1d9b46d4
GM
10669 * find-dired.el (find-grep-options): Simplify.
10670
cc232200
GM
10671 * term/ns-win.el (ns-set-resource): Declare.
10672
28e77c46
GM
10673 * ses.el (row, col): Declare dynamic variables honestly.
10674
887a0b34
GM
10675 * textmodes/reftex-parse.el (index-tags): Declare.
10676
658d8eb8
CY
106772011-06-30 Chong Yidong <cyd@stupidchicken.com>
10678
10679 * cus-edit.el (customize-push-and-save): New function.
10680
10681 * files.el (hack-local-variables-confirm): Use it.
10682
1fa280a3
LM
10683 * custom.el (load-theme): New arg NO-CONFIRM.
10684 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10685 (custom-enabled-themes): Doc fix.
10686
10687 * cus-theme.el (customize-create-theme)
10688 (custom-theme-merge-theme): Callers to load-theme changed.
10689
bb617717
LMI
106902011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10691
d61bdd5d
LMI
10692 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10693 short URLs have at least one dot in them (bug #7614).
10694
bb617717
LMI
10695 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10696 nil, because using a pty is apparently too slow (bug #895).
10697
2f31f37a
LMI
106982011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10699
10700 * mail/sendmail.el (sendmail-query-once): New function.
10701 (sendmail-query-once-function): New variable.
10702
3076b24e
GM
107032011-06-29 Glenn Morris <rgm@gnu.org>
10704
faf2a174
GM
10705 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10706
3076b24e
GM
10707 * ses.el (top-level): Require cl when compiling.
10708 (ses-set-localvars): Fix error statement.
10709 Call it at compile time to silence a storm of warnings.
10710
5386012d
MR
107112011-06-29 Martin Rudalics <rudalics@gmx.at>
10712
10713 * window.el (normalize-live-buffer): Rename to
10714 window-normalize-buffer.
10715 (normalize-live-frame): Rename to window-normalize-frame.
10716 (normalize-any-window): Rename to window-normalize-any-window.
10717 (normalize-live-window): Rename to window-normalize-live-window.
10718 (make-window-atom): Rename to window-make-atom.
10719 (window-resize-reset): Rename to window--resize-reset.
10720 (window-resize-reset-1): Rename to window--resize-reset-1.
10721 (resize-mini-window): Rename to window--resize-mini-window.
10722 (resize-subwindows-skip-p): Rename to
10723 window--resize-subwindows-skip-p.
10724 (resize-subwindows-normal): Rename to
10725 window--resize-subwindows-normal.
10726 (resize-subwindows): Rename to window--resize-subwindows.
10727 (resize-other-windows): Rename to window--resize-siblings.
10728 (resize-this-window): Rename to window--resize-this-window.
10729 (resize-root-window): Rename to window--resize-root-window.
10730 (resize-root-window-vertically): Rename to
10731 window--resize-root-window-vertically.
10732 (normalize-buffer-to-display): Rename to
10733 window-normalize-buffer-to-display.
10734 (normalize-buffer-to-switch-to): Rename to
10735 window-normalize-buffer-to-switch-to.
10736 Correspondingly update all callers of the functions listed
10737 above.
10738 (display-buffer-alist, display-buffer-normalize-arguments)
10739 (display-buffer-normalize-options, display-buffer)
10740 (display-buffer-alist-set): Use "function" instead of
10741 "fun-with-args".
10742
1176868d
CY
107432011-06-28 Chong Yidong <cyd@stupidchicken.com>
10744
10745 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10746 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10747 debbugs.gnu.org. Mention acknowledgment email.
10748
20a7a65f
LMI
107492011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10750
10751 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10752 buffer multibyteness, since it shouldn't matter.
10753
5f45cca5
MR
107542011-06-28 Martin Rudalics <rudalics@gmx.at>
10755
10756 * window.el (display-buffer-in-side-window): Handle dedicated
10757 windows as in display-buffer-reuse-window.
10758 (display-buffer-normalize-alist): Use value of override
10759 specifier.
10760 (display-buffer-normalize-specifiers): Use value of
10761 other-window-means-other-frame specifier.
10762 (display-buffer-alist): Rewrite some texts in widgets.
10763 (display-buffer): Spread arguments when calling function
10764 specified by fun-with-args.
10765
ad85fe1f
DD
107662011-06-28 Deniz Dogan <deniz@dogan.se>
10767
1fa280a3
LM
10768 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10769 Unnest `let'.
da68c4c8 10770
ad85fe1f
DD
10771 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10772 selectors (Bug#5732).
ec49bd31 10773 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10774
a08cc025
JA
107752011-06-27 Jari Aalto <jari.aalto@cante.net>
10776
10777 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10778 (eshell-ls-date-format): New defcustom.
10779 (eshell-ls-file): Use it.
10780
e2b551c5
SM
107812011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10782
10783 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10784
8982b231
KY
107852011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10786
10787 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10788 (ange-ftp-make-tmp-name): New arg.
10789 (ange-ftp-file-local-copy): Use it.
10790
36c9fa27
J
107912011-06-27 Jambunathan K <kjambunathan@gmail.com>
10792
10793 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10794 no-conversion (Bug#8870).
10795
d68443dc
MR
107962011-06-27 Martin Rudalics <rudalics@gmx.at>
10797
10798 * window.el (window-right, window-left, window-child)
10799 (window-child-count, window-last-child)
10800 (window-iso-combination-p, walk-window-tree-1)
10801 (window-atom-check-1, window-tree-1, delete-window)
10802 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10803 new naming conventions - window-vchild, window-hchild,
10804 window-next and window-prev are now called window-top-child,
10805 window-left-child, window-next-sibling and window-prev-sibling
10806 respectively.
d615d6d2
MR
10807 (resize-window-reset): Rename to window-resize-reset.
10808 (resize-window-reset-1): Rename to window-resize-reset-1.
10809 (resize-window): Rename to window-resize.
10810 (window-min-height, window-min-width)
10811 (resize-mini-window, resize-this-window, resize-root-window)
10812 (resize-root-window-vertically, adjust-window-trailing-edge)
10813 (enlarge-window, shrink-window, maximize-window)
10814 (minimize-window, delete-window, quit-restore-window)
10815 (split-window, balance-windows, balance-windows-area-adjust)
10816 (balance-windows-area, window-state-put-2)
10817 (display-buffer-even-window-sizes, display-buffer-set-height)
10818 (display-buffer-set-width, set-window-text-height)
10819 (fit-window-to-buffer): Rename all "resize-window" prefixed
10820 calls to use the "window-resize" prefix convention.
10821 (display-buffer-alist): Fix symbol for label specifier.
10822 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10823 corresponding specifier.
10824 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10825
b6458526
VB
108262011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10827
10828 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10829 convention.
10830 (ses-call-printer): Does not pass an empty string to formatter when the
10831 cell is empty to keep from barking printer Calc math-format-value.
10832
d31fd9ac
RS
108332011-06-27 Richard Stallman <rms@gnu.org>
10834
43d5bf84
RS
10835 * battery.el (battery-mode-line-limit): New variable.
10836 (battery-update): Handle it.
10837
d31fd9ac
RS
10838 * mail/rmailmm.el (rmail-mime-process-multipart):
10839 Handle truncated messages.
10840
819a6054
GM
108412011-06-27 Glenn Morris <rgm@gnu.org>
10842
10843 * progmodes/flymake.el (flymake-err-line-patterns):
10844 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10845
cedc73f2
VB
108462011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10847
819a6054 10848 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10849 (ses--clean-!, ses--clean-_): New functions.
10850 (ses-range): Add configurability of readout order, and conversion
10851 to Calc vector.
10852
5e5d49b6
VB
10853 * ses.el (ses-repair-cell-reference-all): New function.
10854 (ses-cell-symbol): Set macro as safe, so that it can be used in
10855 formulas.
10856
56e6cc31 10857 * ses.el: Update cycle detection algorithm.
90ca8b49 10858 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10859 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10860 (ses-set-localvars): New function.
10861 (ses-make-cell): Add property-list as a cell element.
10862 (ses-cell-property-get-fun, ses-cell-property-get)
10863 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10864 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10865 New functions.
90ca8b49
VB
10866 (ses-cell-property-set, ses-cell-property-pop)
10867 (ses-cell-property-get-handle): New macro.
10868 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10869 New aliases, used for code readability.
10870 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10871 cycle detection.
10872 (ses-self-reference-early-detection): New defcustom.
fac916bf 10873 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10874 (ses-mode): Use ses-set-localvars.
10875 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10876 before lauching the update processing.
10877 (ses-initialize-Dijkstra-attempt): New function.
10878 (ses-recalculate-cell): Update for cycle detection based on
10879 Dijkstra algorithm.
10880
2bb63e81
VB
10881 * ses.el: Fix commenting and indenting convention.
10882
c9d29fb8
SM
108832011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10884
10885 * bs.el (bs-cycle-next): Complete last change.
10886
d8e4b68b
JB
108872011-06-27 Drew Adams <drew.adams@oracle.com>
10888
10889 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10890
40098786
LMI
108912011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10892
c9d29fb8
SM
10893 * net/network-stream.el (network-stream-open-starttls):
10894 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10895 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10896
40098786
LMI
10897 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10898 to binary to possibly avoid line encoding issues on Windows (among
10899 other things).
10900
468d09d4
LMI
109012011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10902
10903 * net/network-stream.el (open-network-stream): Return an :error
10904 saying what the problem was, if possible.
10905
10906 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10907 server.
10908
10909 * net/network-stream.el (network-stream-open-starttls): If we
10910 wanted to use STARTTLS, and the server offered it, but we weren't
10911 able to because we had no STARTTLS support, then close the connection.
10912 (open-network-stream): Return an :error element, if present.
10913
16f07dd7
CY
109142011-06-26 Chong Yidong <cyd@stupidchicken.com>
10915
88821ca0
CY
10916 * hl-line.el (hl-line-sticky-flag): Doc fix.
10917 (global-hl-line-sticky-flag): New option (Bug#8323).
10918 (global-hl-line-highlight): Obey it.
10919
16f07dd7
CY
10920 * vc/vc.el (vc-revert-show-diff): Default to t.
10921
6b5ccddf
KM
109222011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10923
c9d29fb8
SM
10924 * allout-widgets.el (allout-widgets-post-command-business):
10925 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10926 undecorated when an isearch is continued past, and isearch
10927 automatically collapses them. This leads to "widget leaks", where
10928 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10929 hidden widgets can slow down cursor travel, substantially.
10930 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10931 so we're doing without this nicety.
10932
10933 (allout-widgets-tally-string): Don't try to do a hash-table-count
10934 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10935 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10936 *Messages* when allout-widgets-maintain-tally is t.
10937
355f2e07
MR
109382011-06-26 Martin Rudalics <rudalics@gmx.at>
10939
10940 * window.el (display-buffer-normalize-argument): Rename to
10941 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10942 LABEL argument. Respect special-display-function when popping up
10943 a new frame. Fix code searching for a window showing the buffer
10944 on another frame.
c9d29fb8
SM
10945 (display-buffer-normalize-specifiers):
10946 Call display-buffer-normalize-arguments.
355f2e07
MR
10947 (display-buffer-in-window): Don't undedicate the window if its
10948 buffer remains the same.
10949 Reported by Drew Adams <drew.adams@oracle.com>.
10950 (display-buffer-alist): Add choice for same-window macro
10951 specfier.
10952 (display-buffer): Mention special meaning of LABEL argument in
10953 doc-string. Fix quoting. Don't pop up a new frame even as
10954 fallback.
10955
7ca8fc42
JB
109562011-06-26 Juanma Barranquero <lekktu@gmail.com>
10957
10958 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10959 avoid deleting the current window in some cases (bug#8911).
10960
bc312254
AS
109612011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10962
10963 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10964 (Bug#8934)
10965
2db18f3f
LMI
109662011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10967
c9d29fb8
SM
10968 * net/network-stream.el (network-stream-open-starttls):
10969 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
10970 (network-stream-open-tls): Ditto.
10971
6302e0d3
LL
109722011-06-26 Leo Liu <sdl.web@gmail.com>
10973
10974 * register.el (registerv): New struct.
10975 (registerv-make): New function.
c9d29fb8
SM
10976 (jump-to-register, describe-register-1, insert-register):
10977 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
10978 struct. (Bug#8415)
10979
5fdd4046
CY
109802011-06-26 Chong Yidong <cyd@stupidchicken.com>
10981
2afef60a
CY
10982 * vc/vc.el (vc-revert-show-diff): New defcustom.
10983 (vc-diff-internal): New arg specifying diff buffer.
10984 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10985 reuse an existing *vc-diff* buffer (Bug#8927).
10986
5fdd4046
CY
10987 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10988
e93db24a
GM
109892011-06-26 Glenn Morris <rgm@gnu.org>
10990
10991 * progmodes/f90.el (f90-critical-indent): New option.
10992 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10993 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10994 (f90-mode): Doc fix.
10995 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10996 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10997 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10998 (f90-match-end): Handle block, critical.
10999
eefff499
GM
110002011-06-25 Glenn Morris <rgm@gnu.org>
11001
f6ba4cc9
GM
11002 * calendar/diary-lib.el (diary-included-files): Doc fix.
11003 (diary-include-files): New function, extracted from
11004 diary-include-other-diary-files and diary-mark-included-diary-files.
11005 (diary-include-other-diary-files, diary-mark-included-diary-files):
11006 Just call diary-include-files.
11007 (diary-mark-entries): Reset diary-included-files on first call.
11008
16712304
GM
11009 * calendar/diary-lib.el (diary-mark-entries)
11010 (diary-mark-included-diary-files):
11011 Visit included diary-files in temp buffers.
11012
5d8e0d43
GM
11013 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11014 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11015 (f90-start-block-re, f90-imenu-generic-expression)
11016 (f90-looking-at-program-block-start, f90-no-block-limit):
11017 Add support for submodules.
11018
ccf7a5d5
GM
11019 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11020 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 11021
11fdef7d 110222011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
11023
11024 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11025 buffer-file-type before setting its value, to avoid disastrous
eefff499 11026 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 11027
74f53697
JB
110282011-06-25 Juanma Barranquero <lekktu@gmail.com>
11029
11030 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11031
11032 * ses.el (ses-unload-function):
11033 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11034
11035 * proced.el (proced-unload-function):
11036 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11037
18a4ce5e
AR
110382011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11039
11040 * server.el (server-create-window-system-frame): Add parameters arg.
11041 (server-process-filter): Doc fix. Handle frame-parameters.
11042
519d22cc
JB
110432011-06-25 Juanma Barranquero <lekktu@gmail.com>
11044
11045 Fix bug#8730, bug#8781.
11046
11047 * loadhist.el (unload--set-major-mode): New function.
11048 (unload-feature): Use it.
11049
11050 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11051 (python-unload-function): New function.
11052
c206f5b0
SM
110532011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11054
11055 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11056
f9ad64f3
GS
110572011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11058
11059 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11060 the candidates list.
11061
7d0da90e
JB
110622011-06-24 Juanma Barranquero <lekktu@gmail.com>
11063
11064 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11065
14b4e83d
RS
110662011-06-23 Richard Stallman <rms@gnu.org>
11067
11068 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11069 (rmail-variables): Set next-error-move-function.
11070 (rmail-what-message): Take argument POS.
11071 (rmail-next-error-move): New function.
11072
273d2baf
SM
110732011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11074
11075 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11076 messages for adjacent non-terminals.
11077
56c2cc9a
RS
110782011-06-23 Richard Stallman <rms@gnu.org>
11079
11080 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 11081 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
11082 (rmail-start-mail): Don't specify use of rmail-mail-return;
11083 that's done by mail-bury now.
11084 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 11085
d59eb518
MA
110862011-06-23 Michael Albinus <michael.albinus@gmx.de>
11087
11088 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11089 SIZE is a number.
11090
02cfc6d6
MR
110912011-06-23 Martin Rudalics <rudalics@gmx.at>
11092
11093 * window.el (get-lru-window, get-mru-window)
11094 (get-largest-window): Never return a minibuffer window.
11095 (display-buffer-pop-up-window): Fix a bug that could lead to
11096 reusing the minibuffer window.
11097 (display-buffer): Pass original specifier argument to
11098 display-buffer-function instead of the normalized one.
11099 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11100
4e323265
LL
111012011-06-22 Leo Liu <sdl.web@gmail.com>
11102
11103 * minibuffer.el (completing-read-function)
11104 (completing-read-default): Move from minibuf.c
11105
7a70468f
RS
111062011-06-22 Richard Stallman <rms@gnu.org>
11107
50718fc2
RS
11108 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11109 to Rmail even if not started by a special Rmail command.
11110
7a70468f
RS
11111 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11112 Copy the buffer currently showing just one message.
11113
297dde5a
RW
111142011-06-22 Roland Winkler <winkler@gnu.org>
11115
11116 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11117 (bibtex-clean-entry): First delete the old key so that a
11118 customized algorithm for generating the new key does not get
11119 confused by the old key.
11120 (bibtex-url): Obey regexp of first step.
11121 (bibtex-search-entries): Do not use add-to-list with local
11122 list-var.
11123
97bb1093
LMI
111242011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11125
11126 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11127 stored a user name, then query for the password first, instead of
11128 waiting for SMTP to give an error message and the trying again.
11129
1c0f1a19
JD
111302011-06-22 Lawrence Mitchell <wence@gmx.li>
11131
11132 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11133 BUFFER in call-process.
11134
396f7c9d
LMI
111352011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11136
11137 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11138 QUIT twice.
ddb7ffee
LMI
11139 (smtpmail-try-auth-methods): Require user name and password from
11140 auth-source.
396f7c9d 11141
8998d1b3
MR
111422011-06-22 Martin Rudalics <rudalics@gmx.at>
11143
11144 * window.el (display-buffer-default-specifiers)
11145 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11146 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 11147 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
11148
11149 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11150 (special-display-frame-alist, special-display-popup-frame):
11151 Remove duplicate declarations. These are now in window.el.
11152
4ea31e07
LMI
111532011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11154
c9d29fb8
SM
11155 * mail/smtpmail.el (smtpmail-via-smtp):
11156 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
11157 server supports it. SMTP servers that support STARTTLS commonly
11158 require it.
11159
11160 * net/network-stream.el (network-stream-open-starttls): Support
11161 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 11162 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 11163
95f41d9a
LMI
11164 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11165 upgrades with `open-network-stream', and rely solely on
11166 auth-source for all credentials. Big changes throughout the file,
11167 but in particular:
c9d29fb8
SM
11168 (smtpmail-auth-credentials): Remove.
11169 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
11170 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11171 MAIL FROM, too.
95f41d9a 11172
c9d29fb8
SM
11173 * net/network-stream.el (network-stream-open-starttls):
11174 Provide support for client certificates both for external and built-in
4ea31e07
LMI
11175 STARTTLS.
11176 (auth-source): Require.
11177 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
11178 (network-stream-certificate): Change cert-cert to cert and
11179 cert-key to key.
4ea31e07 11180
065ec2c7
MA
111812011-06-21 Michael Albinus <michael.albinus@gmx.de>
11182
11183 * net/tramp-cache.el (top): Don't load the persistency file when
11184 "emacs -Q" has been called.
11185
cd93b359
DR
111862011-06-21 Tim Harper <timcharper@gmail.com>
11187
d8e4b68b
JB
11188 * term/ns-win.el (ns-initialize-window-system):
11189 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
11190 resource to NO as it is not yet supported by the NS port.
11191
ae9c0411
JB
111922011-06-21 Juanma Barranquero <lekktu@gmail.com>
11193
11194 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11195 (list-dynamic-libraries): ...not here.
11196
7f3f739f
LL
111972011-06-21 Leo Liu <sdl.web@gmail.com>
11198
11199 * subr.el (sha1): Implement sha1 using secure-hash.
11200
327c8fb1
MR
112012011-06-21 Martin Rudalics <rudalics@gmx.at>
11202
11203 * window.el (display-buffer-alist): In default value do not
11204 enforce searching a window on any but the selected frame.
11205 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11206 (display-buffer-select-window): Remove function.
11207 (display-buffer-in-window): When a window on another frame gets
11208 reused, do not select it any more but just raise its frame if
11209 necessary (Bug#8851) and (Bug#8856).
11210 (display-buffer-normalize-options): Handle pop-up-frames related
11211 options more faithfully.
11212 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11213 window if it is on another frame.
c9d29fb8
SM
11214 (display-buffer-alist, display-buffer-default-specifiers):
11215 Don't make new frame unsplittable by default.
9e9de014
MR
11216 (display-buffer-normalize-argument): Fix doc-string typo and use
11217 'same-frame-other-window instead of 'other-window when associating
11218 with display-buffer-macro-specifiers.
327c8fb1 11219
7cf3f556
VB
112202011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11221
11222 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11223 New functions.
11224 (5x5-mode-map, 5x5-mode-menu): Bind them.
11225 (5x5-draw-grid): Tweak the solver's rendering.
11226
60a406cf
SM
112272011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11228
11229 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11230 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11231
d8e4b68b 112322011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11233
11234 * menu-bar.el: Use function variable instead of switch-to-buffer.
11235 (menu-bar-select-buffer-function): New variable.
60a406cf 11236 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11237
478d6f95
SM
112382011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11239
11240 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11241 variable's status.
11242
ca530739
JD
112432011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11244
11245 * x-dnd.el (x-dnd-version-from-flags)
11246 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11247 and long as number (Bug#8899).
11248 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11249
bcd70d97
SM
112502011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11251
60a406cf 11252 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11253 (completion-try-completion, completion-all-completions): Compute the
11254 metadata argument if it's missing; make it optional (bug#8795).
11255
60a406cf 11256 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11257 (widget-complete): Use new :completion-function property.
11258 (widget-completions-at-point): New function.
11259 (default): Use :completion-function instead of :complete.
60a406cf
SM
11260 (widget-default-completions): Rename from widget-default-complete;
11261 Rewrite.
bcd70d97
SM
11262 (widget-string-complete, widget-file-complete, widget-color-complete):
11263 Remove functions.
11264 (file, symbol, function, variable, coding-system, color):
11265 * international/mule-cmds.el (default-input-method, charset)
11266 (language-info-custom-alist):
11267 * cus-edit.el (face): Use new property :completions.
11268
11269 * progmodes/pascal.el (pascal-completions-at-point): New function.
11270 (pascal-mode): Use it.
11271 (pascal-mode-map): Use completion-at-point.
11272 (pascal-toggle-completions): Make obsolete.
11273 (pascal-complete-word, pascal-show-completions):
11274 * progmodes/octave-mod.el (octave-complete-symbol):
11275 Redefine as obsolete alias.
11276 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11277 Signal absence of completion info for old Octave,
11278 (inferior-octave-complete): Redefine as obsolete alias.
11279 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11280 (meta-completions-at-point): Rename from meta-complete-symbol and
11281 adapt it for use on completion-at-point-functions.
11282 (meta-common-mode): Use it.
11283 (meta-looking-at-backward, meta-match-buffer): Remove.
11284 (meta-complete-symbol): Redefine as obsolete alias.
11285 (meta-common-mode-map): Use completion-at-point.
11286 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11287 (makefile-mode-map): Use completion-at-point.
11288 (makefile-completions-at-point): Rename from makefile-complete and
11289 adapt it for use on completion-at-point-functions.
11290 (makefile-mode): Use it.
11291 (makefile-complete): Redefine as obsolete alias.
11292
aebf69c8
DD
112932011-06-20 Deniz Dogan <deniz@dogan.se>
11294
11295 * net/rcirc.el: Delete trailing whitespaces once and for all.
11296
bfbbb27d
DC
112972011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11298
11299 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11300
d264a46b
CY
113012011-06-19 Chong Yidong <cyd@stupidchicken.com>
11302
4ca009e5
CY
11303 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11304
d264a46b
CY
11305 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11306
fbf5b3ce
MR
113072011-06-19 Martin Rudalics <rudalics@gmx.at>
11308
11309 * window.el (display-buffer-other-window-means-other-frame):
11310 Call display-buffer-normalize-alist.
11311 (display-buffer-normalize-specifiers-1): Rename to
11312 display-buffer-normalize-argument. New argument other-frame.
11313 Rewrite.
11314 (display-buffer-normalize-specifiers-2): Rename to
11315 display-buffer-normalize-options.
11316 (display-buffer-normalize-alist-1): New function.
11317 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11318 display-buffer-normalize-alist.
11319 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11320 (display-buffer-normalize-options-inhibit): New variable.
11321 (display-buffer-normalize-specifiers): Rewrite calling
11322 display-buffer-normalize-alist,
11323 display-buffer-normalize-argument, and
11324 display-buffer-normalize-options. Don't call the latter if
11325 display-buffer-normalize-options-inhibit is non-nil.
11326 (frame-auto-delete): New option.
11327 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11328 (window-list-no-nils, window-state-ignored-parameters)
11329 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11330 (window-state-put-1, window-state-put-2, window-state-put):
11331 New functions.
9a028c23
MR
11332 (display-buffer-normalize-options): Move special-display-p group
11333 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11334
6d10d800
CY
113352011-06-18 Chong Yidong <cyd@stupidchicken.com>
11336
6420d28b
CY
11337 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11338 groups (Bug#8776).
11339 (rx-submatch-n): New function.
11340 (rx): Document it.
11341
ddb8b596
CY
11342 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11343 (Bug#8768).
11344
11345 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11346
77080289
CY
11347 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11348
61dfb316
CY
11349 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11350 anytime existing face settings are present (Bug#8889).
11351
6d10d800
CY
11352 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11353 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11354 Remove unused argument.
11355
be3fb2b8
MR
113562011-06-18 Martin Rudalics <rudalics@gmx.at>
11357
bcd70d97
SM
11358 * window.el (display-buffer-default-specifiers):
11359 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11360 pop-up-window-min-width, and another reuse-window specifier
11361 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11362 (display-buffer-normalize-specifiers-2):
11363 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11364 pop-up-windows is unset. Add a reuse-window specifier for the
11365 case popping up a new window fails.
11366 (special-display-popup-frame): Remove double quoting.
28dec25a 11367 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11368
1c6d8c76
SM
113692011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11370
11371 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11372 according to comint-completion-addsuffix.
11373
11374 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11375 (pcomplete-suffix-list): Mark as obsolete.
11376 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11377 pcomplete-seen in the closure.
11378 (pcomplete-comint-setup): Setup completion-at-point as well.
11379 (pcomplete--entries): New function.
11380 (pcomplete--env-regexp): New var.
11381 (pcomplete-entries): Rewrite to work with partial-completion and
11382 without relying on pcomplete-suffix-list.
11383 (pcomplete-pare-list): Remove, unused.
11384
25aef8b8
MR
113852011-06-17 Martin Rudalics <rudalics@gmx.at>
11386
11387 * window.el (display-buffer-alist): Set pop-up-window-min-height
11388 and pop-up-window-min-width in default value. Reported by
11389 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11390 other-window-means-other-frame.
11391 (display-buffer-macro-specifiers): Comment out entry for
11392 other-window specifier.
11393 (display-buffer-other-window-means-other-frame): New function.
11394 (display-buffer-normalize-specifiers-1): New arguments
11395 buffer-name and label. Treat other-window case specially.
11396 (display-buffer-normalize-specifiers-2): Treat other-window case
11397 specially.
11398 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11399 (display-buffer-normalize-specifiers):
11400 Call display-buffer-normalize-specifiers-3.
25aef8b8 11401
dbad4f69
MR
114022011-06-17 Martin Rudalics <rudalics@gmx.at>
11403
11404 * window.el (same-window-p): Fix two typos introduced when
11405 adding with-no-warnings.
d1067961
MR
11406 (display-buffer-normalize-specifiers-1): Don't check
11407 pop-up-frames for 'unset initialization.
11408 (display-buffer-normalize-specifiers-2): Major rewrite using
11409 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11410 (pop-up-frames, display-buffer-reuse-frames)
11411 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11412 Suggested by David Engster <deng@randomsample.de>.
11413 (even-window-heights): Initialize to 'unset.
11414 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11415 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11416 other window case.
dbad4f69 11417
9b9c9e3a
MR
114182011-06-16 Martin Rudalics <rudalics@gmx.at>
11419
bcd70d97
SM
11420 * window.el (display-buffer-normalize-specifiers-1):
11421 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11422 second argument of display-buffer (Bug#8865).
981d5c09
MR
11423 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11424 (switch-to-buffer-other-window-same-frame)
11425 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11426 Adams (Bug#8875).
9c2755e9
MR
11427 (display-buffer): Don't check noninteractive when calling
11428 display-buffer-pop-up-frame.
11429 (display-buffer-pop-up-frame): Never pop up a frame in
11430 noninteractive mode (Bug#8857).
67222e1d
MR
11431 (enlarge-window, shrink-window): Don't report an error when the
11432 window can't be resized as requested (Bug#8862).
9b9c9e3a 11433
2b75be67
SM
114342011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11435
9ffdd3ba
SM
11436 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11437
cb581a67
SM
11438 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11439
2b75be67
SM
11440 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11441
8c0e3589
AM
114422011-06-15 Alan Mackenzie <acm@muc.de>
11443
cb581a67
SM
11444 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11445 for declarators, disable knr checking to speed up for normal files.
11446 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11447
b96e6cde
LMI
114482011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11449
4bba86e6
LMI
11450 * net/network-stream.el (open-network-stream): Add the keyword
11451 :always-query-capabilities for the case where you want to force a
11452 `plain' network connection, but the protocol still requires the
11453 capabilitiy command (i.e., SMTP and EHLO).
11454
2b75be67 11455 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11456 consistency with other `-live-p' functions.
11457
efdcdbf8
SM
114582011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11459
11460 * window.el (same-window-buffer-names, same-window-regexps)
11461 (special-display-frame-alist, special-display-popup-frame)
11462 (special-display-function, special-display-buffer-names)
11463 (special-display-regexps, pop-up-frame-alist)
11464 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11465 (pop-up-windows, split-window-preferred-function)
11466 (split-height-threshold, split-width-threshold, even-window-heights)
11467 (display-buffer-mark-dedicated): Don't encourage the use of
11468 display-buffer-alist from Elisp code.
11469
c5cde042
DN
114702011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11471
11472 * progmodes/python.el (python-mode): Derive from prog-mode.
11473 * progmodes/ps-mode.el (ps-mode):
11474 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11475 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11476 * progmodes/ld-script.el (ld-script-mode): Likewise.
11477
baa1c9ab
MR
114782011-06-15 Martin Rudalics <rudalics@gmx.at>
11479
11480 * window.el (display-buffer-alist): Trim default value to avoid
11481 popping up a new frame (Bug#8857) or reusing an arbitrary window
11482 on another frame.
11483 (display-buffer): Do not fall back on popping up a new frame in
11484 batch mode (Bug#8857).
11485
c5dd5a51
CY
114862011-06-14 Chong Yidong <cyd@stupidchicken.com>
11487
11488 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11489 (custom-theme-summary): New function.
11490 (customize-themes): Use it.
11491
d647b7c4
GM
114922011-06-13 Glenn Morris <rgm@gnu.org>
11493
11494 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11495
9481c002
MR
114962011-06-13 Martin Rudalics <rudalics@gmx.at>
11497
357f93d2
MR
11498 * help.el (help-window): Remove variable.
11499 (help-window-point-marker, temp-buffer-max-height)
11500 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11501 (help-print-return-message): Don't set help-window.
11502 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11503 (help-window-setup-finish): Remove.
11504 (help-window-display-message, help-window-setup)
11505 (with-help-window): Major rewrite based on new
11506 display-buffer-window variable.
11507
11508 * help-mode.el (help-mode-finish): Remove help-window related
11509 code.
11510
11511 * view.el (view-exits-all-viewing-windows): Remove reference to
11512 view-return-to-alist in doc-string.
11513 (view-return-to-alist): Make obsolete.
11514 (view-buffer): Call pop-to-buffer-same-window and remove
11515 undo-window code.
11516 (view-buffer-other-window): Call pop-to-buffer-other-window and
11517 simplify code. Ignore second argument.
11518 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11519 simplify code. Ignore second argument.
11520 (view-return-to-alist-update): Make obsolete.
11521 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11522 Rewrite using quit-restore window parameters.
2b75be67
SM
11523 (view-mode-exit): Rename second argument to EXIT-ONLY.
11524 Rewrite using quit-restore-window.
357f93d2
MR
11525 (View-exit, View-exit-and-edit, View-leave, View-quit)
11526 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11527 appropriate arguments.
11528 (view-end-message): Use quit-restore window parameter.
11529
9481c002
MR
11530 * window.el (display-buffer-function): Rewrite doc-string.
11531 (display-buffer-window, display-buffer-alist): New variables.
11532 (display-buffer-split-specifiers)
11533 (display-buffer-side-specifiers)
11534 (display-buffer-macro-specifiers): New constants.
11535 (display-buffer-even-window-sizes, display-buffer-set-height)
11536 (display-buffer-set-width, display-buffer-select-window)
11537 (display-buffer-in-window, display-buffer-reuse-window)
11538 (display-buffer-split-window-1, display-buffer-split-window)
11539 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11540 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11541 (display-buffer-in-side-window, normalize-buffer-to-display)
11542 (display-buffer-normalize-specifiers-1)
11543 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11544 (display-buffer-normalize-specifiers, display-buffer-frame):
11545 New functions.
9481c002
MR
11546 (display-buffer): Major rewrite.
11547 (display-buffer-other-window, display-buffer-other-frame)
11548 (pop-to-buffer, switch-to-buffer-other-window)
11549 (switch-to-buffer-other-frame): Rewrite.
11550 (display-buffer-same-window, display-buffer-same-frame)
11551 (display-buffer-same-frame-other-window)
11552 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11553 (pop-to-buffer-other-window)
11554 (pop-to-buffer-same-frame-other-window)
11555 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11556 (switch-to-buffer-other-window-same-frame): New functions.
11557 (same-window-p, special-display-p): Rewrite disabling warnings.
11558 Make obsolete.
11559 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11560 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11561 Make obsolete
11562 (same-window-buffer-names, same-window-regexps)
11563 (special-display-frame-alist, special-display-popup-frame)
11564 (special-display-function, special-display-buffer-names)
11565 (special-display-regexps, pop-up-frame-alist)
11566 (pop-up-frame-function, split-window-preferred-function)
11567 (split-height-threshold, split-width-threshold)
11568 (even-window-heights): Make obsolete.
11569
9db51aca
GM
115702011-06-12 Glenn Morris <rgm@gnu.org>
11571
11572 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11573 Misc simplifications.
9db51aca 11574
39cffb44
MR
115752011-06-12 Martin Rudalics <rudalics@gmx.at>
11576
11577 * window.el (window-safely-shrinkable-p): Restore function which
11578 was inadvertently removed in change from 2011-06-11. Declare as
11579 obsolete.
11580
2b75be67
SM
11581 * calendar/calendar.el (calendar-generate-window):
11582 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11583 window-safely-shrinkable-p.
11584
a8955be7
GM
115852011-06-12 Glenn Morris <rgm@gnu.org>
11586
11587 * progmodes/fortran.el (fortran-mode-syntax-table):
11588 * progmodes/f90.el (f90-mode-syntax-table):
11589 Set % to punctuation. (Bug#8820)
11590 (f90-find-tag-default): Remove, no longer needed.
11591
f0d4059d
DC
115922011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11593
11594 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11595
1100a63c
CY
115962011-06-11 Chong Yidong <cyd@stupidchicken.com>
11597
11598 * image.el (image-animated-p): Return animation delay in seconds.
11599 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11600 (image-animate-timeout): Remove DELAY argument. Don't assume
11601 every subimage has the same delay; get it from image-animated-p.
11602 (image-animate): Caller changed.
11603
def722bf
MA
116042011-06-11 Michael Albinus <michael.albinus@gmx.de>
11605
11606 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11607 to ignored backtrace functions.
11608
0a2bb1a9
GM
116092011-06-11 Glenn Morris <rgm@gnu.org>
11610
11611 * calendar/appt.el (appt-disp-window-function): Doc fix.
11612 (appt-check): Handle overlapping appointments. (Bug#8337)
11613
6198ccd0
MR
116142011-06-11 Martin Rudalics <rudalics@gmx.at>
11615
11616 * window.el (window-tree-1, window-tree): New functions, moving
11617 the latter to window.el.
11618 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11619 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11620 (bw-refresh-edges): Remove.
11621 (balance-windows-1, balance-windows-2): New functions.
11622 (balance-windows): Rewrite in terms of window tree functions,
11623 balance-windows-1 and balance-windows-2.
11624 (bw-adjust-window): Remove.
11625 (balance-windows-area-adjust): New function with functionality of
11626 bw-adjust-window but using resize-window.
2b75be67
SM
11627 (set-window-text-height): Rewrite doc-string.
11628 Use normalize-live-window and resize-window.
11629 (enlarge-window-horizontally, shrink-window-horizontally):
11630 Rename argument to DELTA.
6198ccd0
MR
11631 (window-buffer-height): New function.
11632 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11633 Rewrite using new window resize routines.
2b75be67
SM
11634 (kill-buffer-and-window, mouse-autoselect-window-select):
11635 Use ignore-errors instead of condition-case.
6198ccd0
MR
11636 (quit-window): Call delete-frame instead of delete-windows-on
11637 for the only buffer on frame.
11638
9397e56f
MR
116392011-06-10 Martin Rudalics <rudalics@gmx.at>
11640
11641 * loadup.el (top-level): Load window before files for the sake
11642 of replace-buffer-in-windows.
11643
11644 * files.el (read-buffer-to-switch)
11645 (switch-to-buffer-other-window)
2b75be67
SM
11646 (switch-to-buffer-other-frame, display-buffer-other-frame):
11647 Move to window.el.
9397e56f
MR
11648
11649 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11650 (previous-buffer): Move to window.el.
11651
11652 * bindings.el (unbury-buffer): Move to window.el.
11653
11654 * window.el (delete-other-windows-vertically): Move after
11655 definition of delete-other-windows.
11656 (other-window, delete-windows-on, replace-buffer-in-windows):
11657 Move here from window.c.
11658 (record-window-buffer, unrecord-window-buffer)
11659 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11660 (switch-to-next-buffer): New functions.
11661 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11662 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11663 (previous-buffer): Move here from simple.el.
11664 Call switch-to-prev-buffer.
9397e56f
MR
11665 (bury-buffer): Move here from buffer.c. Switch to previous
11666 buffer when window cannot be deleted.
11667 (unbury-buffer): Move here from bindings.el.
11668 (ctl-x-map): Move binding for other-window from window.c to
11669 here.
11670 (read-buffer-to-switch, switch-to-buffer-other-window)
11671 (switch-to-buffer-other-frame): Move here from files.el.
11672 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11673 (switch-to-buffer): Move here from buffer.c.
11674 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11675
562dd5e9
MR
116762011-06-10 Martin Rudalics <rudalics@gmx.at>
11677
11678 * window.el (window-min-height, window-min-width): Move here
11679 from window.c. Add defcustoms and rewrite doc-strings.
11680 (resize-mini-window, resize-window): New functions.
11681 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11682 Move here from window.c.
11683 (maximize-window, minimize-window): New functions.
11684 (delete-window, delete-other-windows, split-window): Move here
11685 from window.c.
11686 (window-split-min-size): New function.
11687 (split-window-keep-point): Mention split-window-above-each-other
11688 instead of split-window-vertically.
2b75be67 11689 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11690 Rename split-window-vertically to split-window-above-each-other
11691 and provide defalias for old definition.
11692 (split-window-side-by-side, split-window-horizontally):
11693 Rename split-window-horizontally to split-window-side-by-side
11694 and provide defalias for the old definition.
562dd5e9
MR
11695 (ctl-x-map): Move bindings for delete-window,
11696 delete-other-windows and enlarge-window here from window.c.
11697 Replace bindings for split-window-vertically and
11698 split-window-horizontally by bindings for
11699 split-window-above-each-other and split-window-side-by-side.
11700
11701 * cus-start.el (all): Remove entries for window-min-height and
11702 window-min-width. Add entries for window-splits and
11703 window-nest.
11704
f0da764a
GM
117052011-06-09 Glenn Morris <rgm@gnu.org>
11706
80675c21
GM
11707 * calendar/appt.el (appt-mode-line): New function.
11708 (appt-check, appt-disp-window): Use it.
11709
f0da764a
GM
11710 * files.el (hack-one-local-variable-eval-safep):
11711 Allow minor-modes with explicit +/-1 arguments.
11712
59f623b7
TZ
117132011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11714
11715 * term/xterm.el (xterm): Add defgroup.
11716 (xterm-extra-capabilities): Add defcustom to supply known xterm
11717 capabilities, skip querying them, or query them (default).
11718 (terminal-init-xterm): Use it.
11719 (terminal-init-xterm-modify-other-keys): New function to set up
11720 modifyOtherKeys support to simplify `terminal-init-xterm'.
11721
9aab8e0d
MR
117222011-06-09 Martin Rudalics <rudalics@gmx.at>
11723
11724 * window.el (resize-window-reset, resize-window-reset-1)
11725 (resize-subwindows-skip-p, resize-subwindows-normal)
11726 (resize-subwindows, resize-other-windows, resize-this-window)
11727 (resize-root-window, resize-root-window-vertically)
11728 (window-deletable-p, window-or-subwindow-p)
11729 (frame-root-window-p): New functions.
11730
e8b08aee
GM
117312011-06-09 Glenn Morris <rgm@gnu.org>
11732
11733 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11734 (ange-ftp-get-files): Use it.
11735
254c37a5
AK
117362011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11737
11738 * mail/sendmail.el (mail-recover-1, mail-recover):
11739 * files.el (recover-file, recover-session):
11740 Handle dired-listing-switches not being just a single short option.
11741
35d7dbd3
GM
117422011-06-09 Glenn Morris <rgm@gnu.org>
11743
11744 * calendar/appt.el (appt-display-message, appt-disp-window):
11745 Handle lists of appointments.
11746
387522b2
MR
117472011-06-08 Martin Rudalics <rudalics@gmx.at>
11748
2b75be67
SM
11749 * window.el (one-window-p): Move down in code.
11750 Rewrite doc-string.
11751 (window-current-scroll-bars): Rewrite doc-string.
11752 Normalize live window argument.
387522b2
MR
11753 (walk-windows, get-window-with-predicate, count-windows):
11754 Rewrite doc-string. Use window-list-1.
11755 (window-in-direction-2, window-in-direction, get-mru-window):
11756 New functions.
11757
d8e4b68b 117582011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11759
11760 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11761 Doc fix (Bug#8713).
11762
117632011-06-08 Chong Yidong <cyd@stupidchicken.com>
11764
11765 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11766
117672011-06-08 Juanma Barranquero <lekktu@gmail.com>
11768
11769 * loadhist.el (unload-feature-special-hooks):
11770 Add `comint-output-filter-functions'.
11771
0de12c52
IK
117722011-06-08 Ivan Kanis <gnu@kanis.fr>
11773
11774 * calendar/appt.el (appt-check): Move some initializations into the let.
11775
f3d1777e
MR
117762011-06-08 Martin Rudalics <rudalics@gmx.at>
11777
11778 * window.el (window-height): Defalias to window-total-height.
11779 (window-width): Defalias to window-body-width.
11780
18af70d0
CY
117812011-06-07 Chong Yidong <cyd@stupidchicken.com>
11782
11783 * image-mode.el (image-toggle-animation): New command.
11784 (image-mode-map): Bind it to RET.
11785 (image-mode): Update message.
11786 (image-toggle-display-image): Avoid a spurious cache flush.
11787 (image-transform-rotation): Doc fix.
11788 (image-transform-properties): Return quickly in the normal case.
11789 (image-animate-loop): Rename from image-animate-max-time.
11790
2b75be67 11791 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11792 (create-animated-image): Remove unnecessary function.
11793 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11794 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11795 (image-animate-timer): Use car-safe.
11796 (image-animate-timeout): Rename argument.
11797
190b47e6
MR
117982011-06-07 Martin Rudalics <rudalics@gmx.at>
11799
11800 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11801 window.c. Rename first argument to ALL-FRAMES.
11802 Rephrase doc-strings.
11803 (get-buffer-window-list): Rewrite using window-list-1.
11804 Rephrase doc-string.
a1511caf
MR
11805 (window-safe-min-height, window-safe-min-width): New constants.
11806 (window-size-ignore, window-min-size, window-min-size-1)
11807 (window-sizable, window-sizable-p, window-size-fixed-1)
11808 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11809 (window-max-delta-1, window-max-delta, window-resizable)
11810 (window-resizable-p, window-total-height, window-total-width)
11811 (window-body-width): New functions.
11812 (window-full-height-p, window-full-width-p): Rewrite using
11813 window-total-size.
11814 (window-body-height): Rewrite using window-body-size.
190b47e6 11815
85cc1f11
MR
118162011-06-06 Martin Rudalics <rudalics@gmx.at>
11817
11818 * window.el (window-right, window-left, window-child)
11819 (window-child-count, window-last-child, window-any-p)
11820 (normalize-live-buffer, normalize-live-frame)
11821 (normalize-any-window, normalize-live-window)
11822 (window-iso-combination-p, window-iso-combined-p)
11823 (window-iso-combinations)
11824 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11825 (windows-with-parameter, window-with-parameter)
11826 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11827 (window-atom-check, window-side-check, window-check):
11828 New functions.
85cc1f11
MR
11829 (ignore-window-parameters, window-sides, window-sides-vertical)
11830 (window-sides-slots): New variables.
11831 (window-size-fixed): Move down in code. Minor doc-string fix.
11832
e7156492
AS
118332011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11834
11835 * comint.el (comint-dynamic-complete-as-filename)
11836 (comint-dynamic-complete-filename): Correctly call
11837 completion-in-region.
11838
7e821d0d
DD
118392011-06-05 Deniz Dogan <deniz@dogan.se>
11840
11841 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11842 in last change.
11843
ac09b8a1
DD
118442011-06-05 Deniz Dogan <deniz@dogan.se>
11845
11846 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11847 (rcirc): Use it to prompt for encryption.
11848
34699b85
RW
118492011-06-05 Roland Winkler <winkler@gnu.org>
11850
11851 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11852 (bibtex-search-entries): New command bound to C-c C-a.
11853 (bibtex-display-entries): New function.
11854
004dedd3
RW
118552011-06-05 Roland Winkler <winkler@gnu.org>
11856
11857 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11858 (bibtex-insert-kill): After yanking insert newline if necessary.
11859 (bibtex-initialize): Call bibtex-string-files-init only once.
11860 (bibtex-mode): Do not call easy-menu-add.
11861 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11862 (bibtex-yank): Set arg properly if nil.
11863
022fe7ce
RW
118642011-06-05 Roland Winkler <winkler@gnu.org>
11865
2b75be67
SM
11866 * textmodes/bibtex.el (bibtex-search-entry-globally):
11867 New variable.
022fe7ce
RW
11868 (bibtex-search-entry): Use it.
11869
b7c3692a
RW
118702011-06-05 Roland Winkler <winkler@gnu.org>
11871
11872 * textmodes/bibtex.el (bibtex-entry-format): New option
11873 sort-fields.
11874 (bibtex-format-entry, bibtex-reformat): Honor this option.
11875 (bibtex-parse-entry): Return fields in proper order.
11876
8eda563d
JB
118772011-06-05 Juanma Barranquero <lekktu@gmail.com>
11878
11879 * doc-view.el (doc-view-remove-if): Move computation of result out
11880 of `dolist' to silence misleading lexical-binding warning.
11881
7dbe3dbc
CY
118822011-06-04 Chong Yidong <cyd@stupidchicken.com>
11883
11884 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11885 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11886
0c33dd17
MA
118872011-06-04 Michael Albinus <michael.albinus@gmx.de>
11888
11889 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11890 "SunOS 5.10".
11891
f8f91c2b
MA
118922011-06-04 Michael Albinus <michael.albinus@gmx.de>
11893
11894 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11895 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11896 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11897 (tramp-parse-putty):
11898 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11899 (tramp-completion-function-alist-ssh)
11900 (tramp-completion-function-alist-telnet)
11901 (tramp-completion-function-alist-su)
11902 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11903 cookie.
11904
11905 * net/tramp-ftp.el:
11906 * net/tramp-sh.el:
11907 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11908 load "tramp.el" `tramp-set-completion-function'.
11909
e17d9003
SM
119102011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11911
11912 * shell.el: Require and use pcomplete.
11913 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11914 (shell-completion-vars): Set pcomplete-default-completion-function.
11915
6c4cab03
DD
119162011-06-04 Deniz Dogan <deniz@dogan.se>
11917
11918 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11919 `memq' (Bug#8799).
11920
ea9fafe0
SM
119212011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11922
11923 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11924
b3e945d3
JB
119252011-06-02 Juanma Barranquero <lekktu@gmail.com>
11926
11927 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11928 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11929 * vc/log-view.el (log-view-beginning-of-defun):
11930 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11931 (smerge-refine-forward, smerge-refine-chopup-region):
11932 Silence warning for unused `dotimes' counter variables.
11933
7d520089
SM
119342011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11935
11936 * net/tramp.el (tramp-with-progress-reporter): Rename from
11937 with-progress-reporter. Use `declare'.
11938 * net/tramp-smb.el:
11939 * net/tramp-sh.el:
11940 * net/tramp-gvfs.el: Update all uses.
11941
a1c2400f
JB
119422011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11943
11944 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11945 buffer isn't killed before making it current.
11946
2403c841
SM
119472011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11948
11949 Silence various byte-compiler warnings.
11950 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11951 `access-type' and new obsolescence format.
11952 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11953 new format.
11954 (byte-compile-check-variable): New `access-type' argument.
11955 Only warn if the access-type is obsolete.
11956 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11957 (byte-compile-variable-set): Adjust callers.
11958 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11959 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11960 setting it as obsolete.
11961 * simple.el (minibuffer-completing-symbol):
11962 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11963 access as obsolete.
11964 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11965 obsolete yet.
11966 * international/quail.el (quail-mouse-choose-completion): Remove unused
11967 code referring to obsolete var.
11968 (quail-choose-completion-string): Remove.
11969 * server.el (server-clients-with, server-kill-buffer-query-function)
11970 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11971 * proced.el (proced-send-signal):
11972 * emacs-lisp/lisp.el (lisp-complete-symbol):
11973 Replace completion-annotate-function with completion-extra-properties.
11974
2462470b
SM
119752011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11976
fb5b2591
SM
11977 * simple.el (goto-line): Use read-number.
11978 (overriding-map-is-bound): Remove.
11979 (saved-overriding-map): Change default.
11980 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11981 Take the map as argument.
11982 (universal-argument, negative-argument, digit-argument): Use it.
11983 (restore-overriding-map): Adjust.
11984 (do-auto-fill): Use fill-forward-paragraph.
11985 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11986
fd6fa53f
SM
11987 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11988 (minibuffer-inactive-mode): New major mode.
11989 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11990 the *Messages* buffer" hack.
11991 (mouse-popup-menubar): Don't burp if the event is a normal key.
11992
2462470b
SM
11993 Miscellaneous tweaks.
11994 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11995 lexical scoping as in subr.el's dolist and dotimes.
11996 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11997 Silence compiler warning.
11998 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11999 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12000 * international/ccl.el (ccl-compile): Trivial simplification.
12001 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12002 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12003 `printflag' argument.
12004 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12005 Purecopy the whole obsolescence data.
12006
108bf785
LL
120072011-06-01 Leo Liu <sdl.web@gmail.com>
12008
12009 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12010 improve doc-string as suggested by Marco Pessotto
12011 <melmothx@gmail.com>.
12012 (rcirc-print): Fix last change.
12013
30a23501
SM
120142011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12015
12016 * minibuffer.el (complete-with-action): Return nil for the metadata and
12017 boundaries of non-functional tables.
12018 (completion-table-dynamic): Return nil for the metadata.
12019 (completion-table-with-terminator): Add default case, using
12020 complete-with-action.
12021 (completion--metadata): New function.
12022 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12023 to try and avoid pathological performance problems.
12024 (completion--embedded-envvar-table): Return `category' metadata.
12025
bcd54f83
LMI
120262011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12027
12028 * subr.el (process-alive-p): New tiny convenience function.
12029
e227544d
SM
120302011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12031
12032 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12033 content but also its previous major mode.
12034
e8296fdc
HE
120352011-05-31 Helmut Eller <eller.helmut@gmail.com>
12036
4d61f28d 12037 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
12038 *Backtrace* buffer when we exit with C-M-c.
12039
620c53a6
SM
120402011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12041
12042 * minibuffer.el: Add metadata method to completion tables.
12043 (completion-category-overrides): New defcustom.
12044 (completion-metadata, completion--field-metadata)
12045 (completion-metadata-get, completion--styles)
12046 (completion--cycle-threshold): New functions.
12047 (completion-try-completion, completion-all-completions):
12048 Add `metadata' argument to choose completion-styles.
12049 (completion--do-completion): Use metadata to choose cycling.
12050 (completion-all-sorted-completions): Use metadata for sorting.
12051 Remove :completion-cycle-penalty which is not needed any more.
12052 (completion--try-word-completion): Add `metadata' argument.
12053 (minibuffer-completion-help): Check metadata for annotation function
12054 and sorting.
12055 (completion-file-name-table): Return `category' metadata.
12056 (minibuffer-completing-file-name): Make obsolete.
12057 * simple.el (minibuffer-completing-symbol): Make obsolete.
12058 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12059 completion-try-completion.
12060
1257e755
SM
120612011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12062
12063 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12064
3767e706
LL
120652011-05-30 Leo Liu <sdl.web@gmail.com>
12066
12067 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
12068 (rcirc-print): Decode all incoming messages (bug#8744).
12069 (rcirc-decode-coding-system): Allow value nil for automatic coding
12070 system detection.
3767e706 12071
d1a5d56a
GM
120722011-06-01 Glenn Morris <rgm@gnu.org>
12073
12074 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12075
e8cbec34
CY
120762011-05-29 Chong Yidong <cyd@stupidchicken.com>
12077
12078 * image.el (image-animate-max-time): Allow nil and t values.
12079 Default to nil.
12080 (create-animated-image): Doc fix.
12081 (image-animate-start): Remove second arg; just use
12082 image-animate-max-time.
12083 (image-animate-timeout): Doc fix. Args changed.
12084
12085 * image-mode.el (image-toggle-display-image): Ensure that the
12086 image spec passed to the animate timer is the same object as in
58179cce 12087 the buffer's display property (Bug#6981).
e8cbec34
CY
12088 (image-transform-properties): Doc fix.
12089
12090 * image.el (image-animate-max-time): Default to nil.
12091
159daf87
MR
120922011-05-29 Martin Rudalics <rudalics@gmx.at>
12093
12094 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12095 entire buffer list (Bug#8184).
12096
d66c4c7c
CY
120972011-05-29 Chong Yidong <cyd@stupidchicken.com>
12098
12099 * image.el (imagemagick-types-inhibit)
12100 (imagemagick-register-types): Doc fix.
12101
80aec780
DD
121022011-05-29 Deniz Dogan <deniz@dogan.se>
12103
12104 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12105 default.
12106
1dd3c2d9
CY
121072011-05-29 Chong Yidong <cyd@stupidchicken.com>
12108
12109 * select.el: Don't perform clipboard-manager saving in hooks;
12110 leave the hooks empty.
12111
60e56523
LL
121122011-05-28 Leo Liu <sdl.web@gmail.com>
12113
12114 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12115 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12116 (occur-edit-mode): New major mode (Bug#8463).
12117 (occur-after-change-function): New function.
12118 (occur-engine): Give Occur tags a read-only property.
12119
2b1e1a22
KR
121202011-05-28 Kevin Ryde <user42@zip.com.au>
12121
12122 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12123
5d344e88
CY
121242011-05-28 Chong Yidong <cyd@stupidchicken.com>
12125
8e6ca83d
CY
12126 * bindings.el (help-echo): Make the initial non-indicator dash
12127 empty on graphical terminals (Bug#7295).
12128
5d344e88
CY
12129 * files.el (auto-mode-alist): Move config rule after the
12130 in-stripping one (Bug#8547).
12131
bfbbace7
CY
12132 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12133
fbeba6e2
CY
12134 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12135 setting (Bug#8740).
12136
60ed8c72
AA
121372011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12138
4ac619f0
AA
12139 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12140 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12141 (Bug#8539).
60ed8c72 12142
23db196e
CY
121432011-05-28 Chong Yidong <cyd@stupidchicken.com>
12144
12145 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12146
5012f24c
DK
121472011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12148
12149 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12150 (hs-hide-block-at-point, hs-find-block-beginning)
12151 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12152 (Bug#8279).
12153
6a639b16
GM
121542011-05-28 Glenn Morris <rgm@gnu.org>
12155
12156 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12157
d43eaf2c
CY
121582011-05-28 Chong Yidong <cyd@stupidchicken.com>
12159
5199bde1
CY
12160 * help-fns.el (describe-function-1): If the function is a derived
12161 major mode, print the parent mode.
12162
d43eaf2c
CY
12163 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12164 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12165
423428a8
SM
121662011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12167
0ff8e1ba 12168 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 12169 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
12170 * progmodes/etags.el (tags-completion-at-point-function):
12171 * info-look.el (info-lookup-completions-at-point): Mark as
12172 non-exclusive.
12173 (info-complete): Adjust accordingly.
12174
423428a8
SM
12175 * info-look.el: Convert to lexical-binding and completion-at-point.
12176 (info-lookup-completions-at-point): New function.
12177 (info-complete): Use it and completion-in-region.
12178
b74aa22b
DA
121792011-05-28 Drew Adams <drew.adams@oracle.com>
12180
12181 * isearch.el: Let M-e start with point at the first mismatched char.
12182 (isearch-fail-pos): New function.
12183 (isearch-edit-string): Use it.
12184
66e2e71d
DK
121852011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12186
12187 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12188
b1890b0f 121892011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
12190
12191 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12192 traversal functions for avl-trees.
12193 (avl-tree--stack): New struct.
12194 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12195 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
12196 (avl-tree--do-enter): Add optional `updatefun' arg.
12197 Change return value.
eb95d01d 12198 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12199 (avl-tree--do-delete): Add `test' and `nilflag' args.
12200 Change return value.
eb95d01d
TC
12201 (avl-tree-member): Add optional `nilflag'
12202 (avl-tree-member-p): New function.
12203 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12204 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12205 (avl-tree-stack-empty-p): New functions.
12206
3769ddcf
TC
12207 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12208 avl-tree--del-balance1 and make it work both ways.
12209 (avl-tree--del-balance2): Remove.
12210 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12211 make it work both ways.
12212 (avl-tree--enter-balance2): Remove.
12213 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12214 New macros.
12215 (avl-tree--mapc, avl-tree-map): Add direction argument.
12216
eb95d01d 122172011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
12218
12219 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12220
a9f737ee
CY
122212011-05-27 Chong Yidong <cyd@stupidchicken.com>
12222
12223 * select.el: Support clipboard managers with built-in function
12224 x-clipboard-manager-save, via delete-frame-functions and
12225 kill-emacs-hook.
12226 (xselect-convert-to-targets): Add MULTIPLE target to list.
12227 (xselect-convert-to-save-targets): New function.
12228
c92a1e54
KH
122292011-05-27 Kenichi Handa <handa@m17n.org>
12230
12231 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12232 let-binding rfc2047-encode-encoded-words to nil.
12233
e145f188
GM
122342011-05-27 Glenn Morris <rgm@gnu.org>
12235
5ec8a862
GM
12236 * mail/emacsbug.el: Don't require url-util.
12237
4b29d9fb
GM
12238 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12239
e145f188
GM
12240 * files.el (set-auto-mode):
12241 Also respect mode: entries at the end of the file. (Bug#8586)
12242
7d15102b
GM
122432011-05-26 Glenn Morris <rgm@gnu.org>
12244
98f593b8
GM
12245 * files.el (hack-local-variables-prop-line, hack-local-variables):
12246 Downcase mode names, as seems to be traditional.
27b48e63 12247 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12248
7d15102b
GM
12249 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12250 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12251
51d5b4ec
JD
122522011-05-25 Julien Danjou <julien@danjou.info>
12253
12254 * textmodes/rst.el (rst-define-level-faces): Do not define face
12255 symbol if it is already defined.
12256
91513f63
VB
122572011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12258
12259 * play/5x5.el (5x5-new-game, 5x5-randomize):
12260 Reset 5x5-solver-output to nil when a new grid is cast.
12261 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12262 these debugging traces, as defmacro breaks the compiled code.
12263
4d90d6d0
DK
122642011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12265
12266 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12267
e1b90ef6
LL
122682011-05-24 Leo Liu <sdl.web@gmail.com>
12269
12270 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12271 (vc-bzr-sha1): Adapt.
12272
d8e4b68b 12273 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12274
12275 * bindings.el: Provide sha1 feature.
12276
db0406bb 122772011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12278
12279 * mail/sendmail.el: Require `rfc2047'.
12280 (mail-insert-from-field): Do not perform RFC2047 encoding.
12281 (mail-encode-header): New function.
12282 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12283 buffer to the return value of select-message-coding-system.
12284 Call mail-encode-header.
b8d747b9
KH
12285
12286 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12287
db0406bb 122882011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12289
4d90d6d0
DK
12290 * mail/supercite.el (sc-default-cite-frame):
12291 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12292
eb8a5e9b
GM
122932011-05-24 Glenn Morris <rgm@gnu.org>
12294
f8630703
GM
12295 * progmodes/python.el (brm-menu): Declare.
12296
8831bbed
GM
12297 * emulation/viper.el (viper-set-hooks): Declare.
12298
eb8a5e9b
GM
12299 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12300 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12301 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12302 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12303 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12304 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12305
a2a25d24
SM
123062011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12307
12308 Add an :exit-function for completion-at-point.
12309
12310 * minibuffer.el (completion--done): New fun.
12311 (completion--do-completion): Use it. New arg `expect-exact'.
12312 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12313 since completion--do-completion does it for us now.
12314 (minibuffer-force-complete): Use completion--done and
12315 completion--replace. Handle sole-completion case with more care.
12316 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12317 (completion-extra-properties): New var.
12318 (completion-annotate-function): Make obsolete.
12319 (minibuffer-completion-help): Adjust accordingly.
12320 Use completion-list-insert-choice-function.
12321 (completion-at-point, completion-help-at-point):
12322 Bind completion-extra-properties.
12323 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12324 * simple.el (completion-list-insert-choice-function): New var.
12325 (completion-setup-function): Preserve it.
12326 (choose-completion): Pay attention to it, shuffle the code a bit.
12327 (choose-completion-string): New arg `insert-function'.
12328
12329 * textmodes/bibtex.el: Convert to lexical binding.
12330 (bibtex-mode-map): Use completion-at-point.
12331 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12332 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12333 (bibtex-complete): Define as obsolete alias.
12334 (bibtex-complete-internal): Remove.
12335 (bibtex-format-entry): Remove unused sub-group in regexp.
12336 * shell.el (shell--command-completion-data)
12337 (shell-environment-variable-completion):
12338 * pcomplete.el (pcomplete-completions-at-point):
12339 * comint.el (comint--complete-file-name-data): Use :exit-function
12340 instead of completion-table-with-terminator so it also works for
12341 choose-completion.
12342
e44e373d
SM
123432011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12344
4f91a816
SM
12345 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12346
782fc819
SM
12347 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12348 (bug#8710).
12349
e44e373d
SM
12350 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12351
381987c3
KM
123522011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12353
12354 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12355 customization variable and implement: If non-nil, auto-fill will
12356 be inhibited while on topic's header line.
12357
b776bc70
VB
123582011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12359
12360 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12361 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12362 always have a solution in grid size = 5 cases.
12363 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12364 (5x5-solver-output, 5x5-log-buffer): New vars.
12365 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12366 Make these variables buffer local to achieve 5x5 multi-session-ness.
12367 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12368 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12369 (5x5-solve-suggest): New funs.
12370 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12371 randomize a grid so that we ensure that there is always a solution.
12372 (5x5-make-random-grid): Allow other movement than flipping.
12373
7de88b6e
KR
123742011-05-23 Kevin Ryde <user42@zip.com.au>
12375
12376 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12377 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12378 advice and passes PREDICATE.
12379
b1ef1257
SM
123802011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12381
bbca48fe
SM
12382 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12383 byte-compile-lambda if it's actually a lambda.
12384
b1ef1257
SM
12385 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12386 Fix function quoting. Use backquote better.
12387
92a9cc65
YS
123882011-05-22 Yuanle Song <sylecn@gmail.com>
12389
12390 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12391 matching (Bug#8516).
12392
f0fb8059
JA
123932011-01-22 Jari Aalto <jari.aalto@cante.net>
12394
12395 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12396 different face (Bug#8178).
12397
d5b44c93
CY
123982011-05-22 Chong Yidong <cyd@stupidchicken.com>
12399
12400 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12401 defface (Bug#8144).
12402
79106a44
SM
124032011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12404
9c848d8a
SM
12405 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12406 funcall as well (bug#8712). Warn when performing those conversions.
12407 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12408
79106a44
SM
12409 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12410
88dfa756
GM
124112011-05-22 Glenn Morris <rgm@gnu.org>
12412
12413 * files.el (hack-local-variables-prop-line): Small simplifications.
12414 (hack-local-variables, hack-local-variables-prop-line):
12415 If MODE-ONLY, return the mode, rather than just `t'.
12416
b7cf2c79
SM
124172011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12418
12419 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12420
3f1a8558
GM
124212011-05-21 Glenn Morris <rgm@gnu.org>
12422
7e4ccca3
GM
12423 * files.el (hack-local-variables-prop-line, hack-local-variables):
12424 If only interested in the mode, don't bother doing the other stuff.
12425
637d46ca
GM
12426 * image-mode.el (image-after-revert-hook):
12427 Redraw all frames on which the image is visible. (Bug#8567)
12428
973d955b
GM
12429 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12430
3f1a8558
GM
12431 * wid-edit.el (widget-checklist-match-inline):
12432 Fix 2011-04-19 change. (Bug#8649)
12433
96479927
SM
124342011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12435
1dcf791f
SM
12436 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12437 Also allow singlespace after single-letter capitals followed by a dot.
12438
96479927
SM
12439 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12440 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12441
35fd0881
N
124422011-05-20 Nix <nix@esperi.org.uk>
12443
12444 * files.el (basic-save-buffer-2):
12445 Fix handling of break-hardlink-on-save with non-existent files.
12446
82745640
DD
124472011-05-19 Deniz Dogan <deniz@dogan.se>
12448
12449 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12450 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12451
4a720484
GM
124522011-05-19 Glenn Morris <rgm@gnu.org>
12453
d1f21341
GM
12454 * progmodes/f90.el (f90-type-def-re):
12455 Handle "type, bind(c)". (Bug#8691)
12456
4a720484
GM
12457 * emacs-lisp/autoload.el (batch-update-autoloads):
12458 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12459
2fb0a219
MA
124602011-05-18 Michael Albinus <michael.albinus@gmx.de>
12461
12462 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12463 property for the correct connection in case of multihops.
12464
e565dd37
GM
124652011-05-18 Glenn Morris <rgm@gnu.org>
12466
c2571358 12467 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12468 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12469
e565dd37
GM
12470 Rationalize calendar handling of day and month abbrev-arrays.
12471 * calendar/calendar.el (calendar-customized-p): New function.
12472 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12473 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12474 Add :set function.
12475 (calendar-abbrev-length, calendar-day-abbrev-array)
12476 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12477 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12478 Elements may no longer be nil.
12479 (calendar-day-name, calendar-month-name):
12480 Update for changed nature of abbrev arrays.
12481 * calendar/diary-lib.el (diary-name-pattern):
12482 Update for changed nature of abbrev arrays.
12483 (diary-mark-entries-1): Update calendar-make-alist calls.
12484 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12485 * calendar/cal-html.el (cal-html-day-abbrev-array):
12486 Simply inherit from calendar-day-abbrev-array.
12487
1d99a745
SM
124882011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12489
12490 * progmodes/grep.el (grep-mode): Disable default
12491 compilation-directory-matcher setting (bug#8684).
12492
7c1d9aa0
MA
124932011-05-17 Michael Albinus <michael.albinus@gmx.de>
12494
12495 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12496 instead of "head" and "tail". There were problems with SunOS 5.9,
12497 and it performs better.
12498
3952e9d8
GM
124992011-05-17 Glenn Morris <rgm@gnu.org>
12500
2dd12e7f
GM
12501 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12502
e4157b9c
GM
12503 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12504 Replace obsolete function.
12505
8e249bbd
GM
12506 * shell.el (pcomplete-parse-arguments-function): Declare.
12507
3952e9d8
GM
12508 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12509 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12510 (appt-check): Doc fixes.
12511 (appt-disp-window-function, appt-delete-window-function):
12512 Remove needless special case in custom :type.
12513 (appt-display-count): Default to 0, not nil.
12514 (appt-check): Reset appt-display-count to 0, not nil.
12515
c71a0d48 125162011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12517
c71a0d48
GM
12518 * progmodes/python.el (python-font-lock-keywords):
12519 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12520
31d55be9
SM
125212011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12522
12523 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12524
3bfacb2f
KR
125252011-05-16 Kevin Ryde <user42@zip.com.au>
12526
12527 * info-look.el (makefile-automake-mode): New setups, looking in
12528 automake manual, then makefile-mode.
12529 (makefile-mode): Remove automake manual, have it just in
12530 makefile-automake-mode since there's various things different or
12531 not relevant to plain make.
12532 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12533 believe a hypothetical automake-mode would go to makefile-mode,
12534 not the other way around.
12535
c8e83751
CY
125362011-05-15 Chong Yidong <cyd@stupidchicken.com>
12537
5e9e35cd
CY
12538 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12539 hunk-end tags (Bug#8672).
12540
c8e83751
CY
12541 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12542 vc-annotate-show-diff-revision-at-line (Bug#8671).
12543
50b23e5a
GM
125442011-05-14 Glenn Morris <rgm@gnu.org>
12545
7210a739
GM
12546 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12547 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12548 (change-log-font-lock-keywords): Also handle multiple author lines
12549 with leading tabs. (Bug#8644)
7210a739 12550
4691905a
GM
12551 * calendar/appt.el (appt-check): Rename some local variables.
12552 Some simplification/reordering.
12553
50b23e5a
GM
12554 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12555 (feedmail-sendmail-f-doesnt-sell-me-out)
12556 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12557 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12558 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12559 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12560 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12561 (feedmail-binmail-gnulinuxish-template):
12562 Rename from feedmail-binmail-linuxish-template.
12563 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12564 Use insert-buffer-substring.
12565
215cda7c
BC
125662011-05-14 Bill Carpenter <bill@carpenter.org>
12567
12568 * mail/feedmail.el (feedmail-patch-level): Increase.
12569 (feedmail-debug): New custom group.
12570 (feedmail-confirm-outgoing-timeout)
12571 (feedmail-sendmail-f-doesnt-sell-me-out)
12572 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12573 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12574 (feedmail-sender-line, feedmail-from-line)
12575 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12576 (feedmail-spray-this-address)
215cda7c
BC
12577 (feedmail-spray-address-fiddle-plex-list)
12578 (feedmail-queue-use-send-time-for-date)
12579 (feedmail-queue-use-send-time-for-message-id)
12580 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12581 (feedmail-buffer-eating-function):
12582 Doc fixes.
12583 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12584 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12585 (feedmail-message-action-scroll-down): New functions.
12586 (feedmail-queue-directory, feedmail-queue-draft-directory):
12587 Use expand-file-name.
12588 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12589 Remove C-v help entry.
12590 (feedmail-queue-buffer-file-name): New variable.
12591 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12592 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12593 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12594 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12595 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12596 (feedmail-message-action-toggle-spray)
12597 (feedmail-run-the-queue-no-prompts)
12598 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12599 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12600 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12601 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12602 (feedmail-envelope-deducer, feedmail-fiddle-from)
12603 (feedmail-fiddle-sender, feedmail-default-date-generator)
12604 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12605 (feedmail-fiddle-spray-address)
12606 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12607 (feedmail-fiddle-list-of-fiddle-plexes)
12608 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12609 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12610 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12611 Change default. Doc fix.
12612 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12613 (feedmail-binmail-linuxish-template): New constant.
12614 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12615 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12616 (feedmail-send-it): Add debug call.
12617 Use feedmail-queue-buffer-file-name, and
12618 feedmail-send-it-immediately-wrapper.
12619 (feedmail-message-action-send): Add debug call.
12620 Use feedmail-send-it-immediately-wrapper.
12621 (feedmail-queue-express-to-queue): Add debug call.
12622 Run feedmail-queue-express-hook.
12623 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12624 (feedmail-message-action-help-blat):
12625 Rename from feedmail-queue-send-edit-prompt-help-first.
12626 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12627 Check line-endings. Handle errors better.
12628 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12629 Doc fix. Add debug call.
12630 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12631 Use feedmail-queue-send-edit-prompt-inner.
12632 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12633 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12634 from feedmail-queue-send-edit-prompt.
12635 (feedmail-queue-send-edit-prompt-help)
12636 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12637 (feedmail-tidy-up-slug): Add debug call.
12638 Respect feedmail-queue-slug-suspect-regexp.
12639 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12640 (feedmail-dump-message-to-queue): Add debug call.
12641 Expand queue-directory.
12642 (feedmail-dump-message-to-queue): Change message slightly.
12643 Use feedmail-say-chatter.
12644 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12645 (feedmail-send-it-immediately-wrapper): New function.
12646 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12647 Insert empty string rather than newline. Handle full-frame case.
12648 Use catch/throw. Use feedmail-say-chatter.
12649 (feedmail-fiddle-from): Try mail-host-address.
12650 (feedmail-default-message-id-generator): Doc fix.
12651 Bind system-time-locale. Handle missing end.
12652 (feedmail-fiddle-x-mailer): Add debug call.
12653 Handle feedmail-x-mailer-line being nil.
12654 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12655 Add debug call. Use buffer-substring-no-properties.
12656 (feedmail-say-debug, feedmail-say-chatter): New functions.
12657 (feedmail-find-eoh): Give an explicit error.
12658
42c7e61e
UJ
126592011-05-13 Ulf Jasper <ulf.jasper@web.de>
12660
c2571358 12661 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12662 family from helvetica to sans.
c2571358 12663 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12664 etc/images/newsticker.
12665
c2571358 12666 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12667 family from helvetica to sans.
12668
12669 * net/newst-plainview.el (newsticker-new-item-face)
12670 (newsticker-old-item-face, newsticker-immortal-item-face)
12671 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12672 (newsticker-statistics-face): Change default family from
42c7e61e 12673 helvetica to sans.
c2571358 12674 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12675 etc/images/newsticker.
12676
5d3385a0
JB
12677 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12678 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12679 auto-marking.
12680
8497a297
DV
126812011-05-13 Didier Verna <didier@xemacs.org>
12682
12683 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12684 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12685 TODO entries.
8497a297
DV
12686 (lisp-lambda-list-keyword-parameter-indentation)
12687 (lisp-lambda-list-keyword-parameter-alignment)
12688 (lisp-lambda-list-keyword-alignment): New customizable user options.
12689 (lisp-indent-defun-method): Improve docstring.
12690 (extended-loop-p): Fix comment.
12691 (lisp-indent-lambda-list-keywords-regexp): New variable.
12692 (lisp-indent-lambda-list): New function.
12693 (lisp-indent-259): Use it.
12694 (lisp-indent-defmethod): Support for more than one
12695 method qualifier and properly indent methods lambda-lists.
12696 (defgeneric): Provide a missing common-lisp-indent-function property.
12697
f278f87f
SM
126982011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12699
12700 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12701 bounds for the empty string (bug#8667).
12702
5233edd7
GM
127032011-05-13 Glenn Morris <rgm@gnu.org>
12704
5237a44f
GM
12705 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12706
8340026c 12707 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12708 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12709
5233edd7 12710 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12711 (appt-time-msg-list): Doc fix.
a5464014 12712 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12713
92d10796
AS
127142011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12715
12716 * progmodes/ld-script.el (ld-script-keywords)
12717 (ld-script-builtins): Update keywords list.
12718
914a0ae1
SM
127192011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12720
c89be45f
SM
12721 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12722
914a0ae1
SM
12723 * shell.el (shell-completion-vars): New function.
12724 (shell-mode):
12725 * simple.el (read-shell-command): Use it.
12726 (blink-matching-open): No need for " [...]" in minibuffer-message.
12727
98dc3df3
GM
127282011-05-12 Glenn Morris <rgm@gnu.org>
12729
12730 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12731 (appt-check): Simplify.
12732
d2fc7e3d 127332011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12734
4d61f28d 12735 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12736 literal "/dev/null".
12737
d2fc7e3d 127382011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12739
12740 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12741 Fix typo.
12742
d2fc7e3d 127432011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12744
3f254caa
SM
12745 * progmodes/which-func.el (which-function):
12746 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12747 which might not be defined (Bug#8260).
12748
d45885f7
GM
127492011-05-12 Glenn Morris <rgm@gnu.org>
12750
12751 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12752 Let byte-compile-initial-macro-environment always take precedence.
12753
488086f4
SM
127542011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12755
12756 * net/rcirc.el: Add support for SSL/TLS connections.
12757 (rcirc-server-alist): New field `encryption'.
12758 (rcirc): Check `encryption' settings.
12759 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12760 Merge make-local-variable into `set'.
12761 (rcirc--connection-open-p): New function.
12762 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12763 the process is not a network process (e.g. running gnutls-cli).
12764 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12765 Make rcirc-(en|de)code-coding-system local here.
12766 (rcirc-mode): Merge make-local-variable into `set'.
12767 (rcirc-parent-buffer): Make permanent buffer-local.
12768 (rcirc-multiline-minor-mode): Don't do it here.
12769 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12770 there's no server buffer.
12771
7d3b9d44
GM
127722011-05-11 Glenn Morris <rgm@gnu.org>
12773
f64049c6
GM
12774 * newcomment.el (comment-kill): Prefix "unused" local.
12775
93c9df73
GM
12776 * term/w32console.el (get-screen-color): Declare.
12777
7d3b9d44
GM
12778 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12779 Handle symbol elements of byte-compile-initial-macro-environment.
12780
9e2dd53f
LL
127812011-05-10 Leo Liu <sdl.web@gmail.com>
12782
488086f4
SM
12783 * bookmark.el (bookmark-bmenu-mode-map):
12784 Bind bookmark-bmenu-search to `/'.
8b340240 12785
9e2dd53f 12786 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12787 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12788 (Footnote-unicode): New function.
12789 (footnote-style-alist): Add unicode style to the list.
12790 (footnote-style): Doc fix.
9e2dd53f 12791
79b70037
GM
127922011-05-10 Jim Meyering <meyering@redhat.com>
12793
12794 Fix doubled-word typos.
12795 * international/quail.el (quail-insert-kbd-layout): and and -> and
12796 * kermit.el: and and -> and
12797 * net/ldap.el (ldap-search-internal): to to -> to
12798 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12799 * progmodes/js.el (js-mode): and and -> and
12800 * textmodes/artist.el (artist-move-to-xy): at at -> at
12801 (artist-draw-region-trim-line-endings): if if -> if
12802 And Safetyc -> Safety.
12803 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12804
b8f82dc1 128052011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12806 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12807
12808 * files.el (hack-one-local-variable-eval-safep):
12809 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12810
4f99f44b
GM
128112011-05-10 Glenn Morris <rgm@gnu.org>
12812
12813 * calendar/diary-lib.el (diary-list-entries-hook)
12814 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12815 (diary-nongregorian-marking-hook, diary-list-entries)
12816 (diary-include-other-diary-files, diary-mark-entries)
12817 (diary-mark-included-diary-files): Doc fixes.
12818
84f29e6b
JB
128192011-05-09 Juanma Barranquero <lekktu@gmail.com>
12820
12821 * misc.el: Require tabulated-list.el during compilation.
12822
9bedd73a
CY
128232011-05-09 Chong Yidong <cyd@stupidchicken.com>
12824
488086f4
SM
12825 * progmodes/compile.el (compilation-start):
12826 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12827 (compilation-filter-hook): Doc fix.
12828
797c735c
DD
128292011-05-09 Deniz Dogan <deniz@dogan.se>
12830
12831 * wdired.el: Remove outdated installation comment. Fix usage
12832 comment.
12833
5f4b1dfe
JB
128342011-05-09 Juanma Barranquero <lekktu@gmail.com>
12835
12836 * misc.el: Implement new command `list-dynamic-libraries'.
12837 (list-dynamic-libraries--loaded-only-p): New variable.
12838 (list-dynamic-libraries--refresh): New function.
12839 (list-dynamic-libraries): New command.
12840
4c44026c
CY
128412011-05-09 Chong Yidong <cyd@stupidchicken.com>
12842
488086f4
SM
12843 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12844 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12845 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12846 higher priority to avoid clobbering by gnu.
12847
027f966d
CY
128482011-05-08 Chong Yidong <cyd@stupidchicken.com>
12849
12850 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12851 if the face has existing theme settings (Bug#8454).
12852
085f5d7d
CY
128532011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12854
488086f4
SM
12855 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12856 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12857
2a86a00c
RS
12858 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12859 special file names `.' and `..' (Bug#8259).
12860
d9c54a06
CY
128612011-05-08 Chong Yidong <cyd@stupidchicken.com>
12862
488086f4
SM
12863 * progmodes/grep.el (grep-mode-font-lock-keywords):
12864 Remove buffer-changing entries.
d9c54a06
CY
12865 (grep-filter): New function.
12866 (grep-mode): Add it to compilation-filter-hook.
12867
12868 * progmodes/compile.el (compilation-filter-hook)
12869 (compilation-filter-start): New defvars.
12870 (compilation-filter): Call compilation-filter-hook prior to
12871 updating the process mark.
12872
c4662635
SM
128732011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12874
12875 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12876
b0512a1d
EZ
128772011-05-07 Eli Zaretskii <eliz@gnu.org>
12878
605c9376
EZ
12879 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12880 mailclient-send-it even if window-system is nil. (Bug#8595)
12881
c4662635
SM
12882 * term/w32console.el (terminal-init-w32console):
12883 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12884 background-mode. (Bug#8597)
12885
d1dc2cc2
SM
128862011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12887
12888 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12889 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12890 New functions.
12891 (defgeneric, eieio--defmethod): Use them.
12892 (eieio-defgeneric): Remove.
12893 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12894
915d1300
GM
128952011-05-07 Glenn Morris <rgm@gnu.org>
12896
a3961c3e
GM
12897 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12898 Use let rather than let*.
12899 (timeclock-find-discrep): Remove unused local.
12900
314347b9
GM
12901 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12902
915d1300
GM
12903 * calendar/appt.el (appt-time-msg-list): Doc fix.
12904
275b59b0
NF
129052011-05-06 Noah Friedman <friedman@splode.com>
12906
12907 * apropos.el (apropos-print-doc): Only use
12908 emacs-lisp-docstring-fill-column when it is bound to an integer,
12909 per that variable's documentation.
12910
6c19f744
SM
129112011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12912
12913 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12914 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12915
60f884b2
GM
129162011-05-06 Glenn Morris <rgm@gnu.org>
12917
5006e634
GM
12918 * calendar/appt.el (appt-message-warning-time): Doc fix.
12919 (appt-warning-time-regexp): New option.
12920 (appt-make-list): Respect appt-message-warning-time.
12921
548d0a63
GM
12922 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12923 New options.
12924 (diary-add-to-list): Strip comments from the displayed string.
12925 (diary-mode): Set comment-start and comment-end.
12926
60f884b2
GM
12927 * vc/diff-mode.el (smerge-refine-subst): Declare.
12928 (diff-refine-hunk): Don't require smerge-mode when compiling.
12929
989681bb
JB
129302011-05-06 Juanma Barranquero <lekktu@gmail.com>
12931
12932 * simple.el (list-processes): Return nil as the docstring says.
12933
a6bc05e1
MA
129342011-05-05 Michael Albinus <michael.albinus@gmx.de>
12935
12936 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12937 to "".
12938 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12939 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12940 determining of binary transfer. (Bug#7383)
12941
23c22e9a
MA
129422011-05-05 Michael Albinus <michael.albinus@gmx.de>
12943
c4662635
SM
12944 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12945 Fix port computation bug. (Bug#8618)
23c22e9a 12946
0bff894f
GM
129472011-05-05 Glenn Morris <rgm@gnu.org>
12948
b8296902
GM
12949 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12950
1f522ce8
GM
12951 * simple.el (shell-dynamic-complete-functions)
12952 (comint-dynamic-complete-functions): Declare.
12953
cf5bee67
GM
12954 * net/network-stream.el (gnutls-negotiate):
12955 * simple.el (tabulated-list-print): Fix declarations.
12956
12957 * progmodes/gud.el (syntax-symbol, syntax-point):
12958 Remove unnecessary and incorrect declarations.
12959
0bff894f
GM
12960 * emacs-lisp/check-declare.el (check-declare-scan):
12961 Handle byte-compile-initial-macro-environment in bytecomp.el
12962
9869b3ae
SM
129632011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12964
12965 Fix earlier half-done eieio-defmethod change (bug#8338).
12966 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12967 Streamline and change calling convention.
12968 (defmethod): Adjust accordingly and simplify.
12969 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12970 new eieio--defmethod.
12971 (slot-boundp): Minor CSE simplification.
12972
9c1d5ac5
MZ
129732011-05-05 Milan Zamazal <pdm@zamazal.org>
12974
12975 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12976 (glasses-make-readable): Use glasses-separate-capital-groups.
12977
455c834e
JB
129782011-05-05 Juanma Barranquero <lekktu@gmail.com>
12979
12980 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12981 (warning-series): Doc fix.
12982 (display-warning): Don't try to create the buffer if we just found it.
12983
9ed7c8cb
CY
129842011-05-04 Chong Yidong <cyd@stupidchicken.com>
12985
12986 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12987 (autoload-find-generated-file): New function.
12988 (generate-file-autoloads): Bind generated-autoload-file to
12989 buffer-file-name.
9869b3ae
SM
12990 (update-file-autoloads, update-directory-autoloads):
12991 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
12992 output file (Bug#7989).
12993 (batch-update-autoloads): Doc fix.
12994
0898ca10
JB
129952011-05-04 Juanma Barranquero <lekktu@gmail.com>
12996
12997 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12998
31dfb76c
GM
129992011-05-04 Glenn Morris <rgm@gnu.org>
13000
f330b642
GM
13001 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13002 function, so it follows changes in calendar-date-style.
13003 (diary-fancy-date-matcher): New function.
13004 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13005 (diary-fancy-font-lock-fontify-region-function):
13006 Use diary-fancy-date-pattern as a function.
13007
31dfb76c
GM
13008 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13009 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13010
48e79d6a
TZ
130112011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13012
13013 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13014 instead of positional arguments. Allow :keylist and :crlfiles
13015 arguments.
13016 (open-gnutls-stream): Call it.
13017
13018 * net/network-stream.el (network-stream-open-starttls): Adjust to
13019 call `gnutls-negotiate' with :process and :hostname arguments.
13020
dd5a5ee0
SM
130212011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13022
ef80fc09
SM
13023 * minibuffer.el (completion--message): New function.
13024 (completion--do-completion, minibuffer-complete)
13025 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13026 (completion--do-completion): Don't ignore completion-auto-help when in
13027 icomplete-mode.
13028
dd5a5ee0
SM
13029 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13030 internal encoding (e.g. tibetan zero is not whitespace).
13031 (global-whitespace-mode): Prefer save-current-buffer.
13032 (whitespace-trailing-regexp): Remove useless save-match-data.
13033 (whitespace-empty-at-bob-regexp): Minor simplification.
13034
b7d22a83
CY
130352011-05-03 Chong Yidong <cyd@stupidchicken.com>
13036
13037 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13038
5192af46
AM
130392011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13040
13041 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 13042 Use `concat' to create string for insertion.
5192af46 13043
5767d190
SM
130442011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13045
13046 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13047 Avoid open-line which runs post-self-insert-hook.
13048 (bibtex-fill-entry): Remove unused `end' var.
13049
bf242939
AM
130502011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13051
5767d190
SM
13052 * textmodes/ispell.el (ispell-add-per-file-word-list):
13053 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 13054
25666126
LL
130552011-05-03 Leo Liu <sdl.web@gmail.com>
13056
13057 * isearch.el (isearch-yank-pop): New command.
5767d190 13058 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
13059 (isearch-forward): Mention it.
13060
52d3c2d0
SM
130612011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13062
1bcace58
SM
13063 * simple.el (minibuffer-complete-shell-command): Remove.
13064 (minibuffer-local-shell-command-map): Use completion-at-point.
13065 (read-shell-command): Setup completion vars here instead.
13066 (read-expression-map): Bind TAB to symbol completion.
13067
52d3c2d0
SM
13068 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13069 error directly rather via storing it into `results'.
13070
35813471
LL
130712011-05-02 Leo Liu <sdl.web@gmail.com>
13072
13073 * vc/diff.el: Fix description.
13074
e793a940
LMI
130752011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13076
13077 * server.el (server-eval-at): New function.
13078
8de66e05
LMI
130792011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13080
13081 * net/network-stream.el (open-network-stream): Take a :nowait
13082 parameter and pass it on to `make-network-process'.
13083 (network-stream-open-plain): Ditto.
13084
dcb79f20
AS
130852011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13086
13087 * faces.el (face-spec-set-match-display): Don't match toolkit
13088 options on terminal frames.
13089
14a7fbd8
SM
130902011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13091
7eabc1be
SM
13092 * progmodes/pascal.el: Use lexical binding.
13093 (pascal-mode-map): Remove author preferences.
13094
14a7fbd8
SM
13095 * pcomplete.el (pcomplete-std-complete): Don't abuse
13096 completion-at-point.
13097
50f84510
JB
130982011-04-28 Juanma Barranquero <lekktu@gmail.com>
13099
6e087a44
JB
13100 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13101 removing code that has been dead since 1991 or so.
13102
50f84510
JB
13103 * startup.el (command-line): When warning about "_emacs", use a
13104 delayed warning to allow the user to filter it out.
13105
0ba690bd
DD
131062011-04-28 Deniz Dogan <deniz@dogan.se>
13107
13108 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13109 user has not joined.
13110
08abfaad
SM
131112011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13112
13113 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13114 aren't any completions at point.
13115
638f053a
JB
131162011-04-28 Juanma Barranquero <lekktu@gmail.com>
13117
13118 * subr.el (display-delayed-warnings): New function.
13119 (delayed-warnings-hook): New variable.
13120
8fff8daa
SM
131212011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13122
08abfaad
SM
13123 * minibuffer.el (completion-at-point, completion-help-at-point):
13124 Don't presume that a given completion-at-point-function will always
13125 use the same calling convention.
13126
8fff8daa
SM
13127 * pcomplete.el (pcomplete-completions-at-point):
13128 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13129 pcomplete-seen is non-nil.
13130 (pcomplete-comint-setup): Also recognize the new comint/shell
13131 completion functions.
13132 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13133 pcomplete-seen is non-nil.
13134
841a1577 131352011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 13136
841a1577 13137 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 13138 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 13139 the first character in the entry. This allows for code to add its
211ec907
UJ
13140 own uid to the entry.
13141 (icalendar--convert-float-to-ical): Add export of
13142 `diary-float'-entries save for those with the optional DAY
13143 argument.
13144
2a782793
DC
131452011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13146
13147 * subr.el (shell-quote-argument): Use alternate escaping strategy
13148 when we spot a variable reference in a string.
13149
0438ce91
DC
131502011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13151
13152 * cus-start.el (all): Define customization for debug-on-event.
13153
841a1577 131542011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
13155
13156 * subr.el (shell-quote-argument): Escape correctly under Windows.
13157
d090ed6c
SM
131582011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13159
13160 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13161
bfd31217
MA
131622011-04-25 Michael Albinus <michael.albinus@gmx.de>
13163
d090ed6c
SM
13164 * net/tramp.el (tramp-process-actions): Add POS argument.
13165 Delete region between POS and (pos).
bfd31217 13166
d090ed6c
SM
13167 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13168 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
13169 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13170
13171 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13172 position in `tramp-process-actions' call.
13173
13174 * net/trampver.el: Update release number.
13175
e92f3bd3
SM
131762011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13177
850256b5
SM
13178 * custom.el (defcustom): Obey lexical-binding.
13179
e92f3bd3
SM
13180 Fix octave-inf completion problems reported by Alexander Klimov.
13181 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13182 Inherit from octave-mode-syntax-table.
13183 (inferior-octave-mode): Set info-lookup-mode.
13184 (inferior-octave-completion-at-point): New function.
13185 (inferior-octave-complete): Use it and completion-in-region.
13186 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13187 comint-filename-completion.
13188 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13189 symbol elements which shouldn't be word elements.
13190 (octave-font-lock-keywords, octave-beginning-of-defun)
13191 (octave-function-header-regexp): Adjust regexps accordingly.
13192 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13193
cd22b309
JB
131942011-04-25 Juanma Barranquero <lekktu@gmail.com>
13195
13196 * net/gnutls.el (gnutls-errorp): Declare before first use.
13197
8b492194
TZ
131982011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13199
13200 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13201 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13202 default trustfile exists before going to use it. Add missing
5a5fa834 13203 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13204 Reported by Claudio Bley <claudio.bley@gmail.com>.
13205 (open-gnutls-stream): Add usage example.
13206
13207 * net/network-stream.el (network-stream-open-starttls): Give host
13208 parameter to `gnutls-negotiate'.
13209 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13210 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13211
841a1577 132122011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13213
cd22b309
JB
13214 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13215 Use correct match group (bug#8438).
05842630 13216
3ba7869c
CY
132172011-04-24 Chong Yidong <cyd@stupidchicken.com>
13218
512e3ae1
CY
13219 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13220 (package-menu--generate): New arg specifying packages to show.
13221 (package-menu-refresh, package-menu-execute, list-packages):
13222 Callers changed.
13223 (package-show-package-list): New function, replacing deleted
13224 package--list-packages (renamed because it is non-internal).
13225
13226 * finder.el (finder-list-matches): Use package-show-package-list
13227 instead of deleted package--list-packages.
13228
e92f3bd3
SM
13229 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13230 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13231 (vc-annotate-mode-map): Bind it to RET.
13232
7031be6d
UR
132332011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13234
13235 * progmodes/etags.el (next-file): Don't use set-buffer to change
13236 buffers (Bug#8478).
13237
4ef177aa
CY
132382011-04-24 Chong Yidong <cyd@stupidchicken.com>
13239
c8d173eb
CY
13240 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13241
4ef177aa
CY
13242 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13243 (apropos-accumulator): Doc fix.
13244 (apropos-function, apropos-macro, apropos-command)
13245 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13246 (apropos-plist): Add face property.
13247 (apropos-symbols-internal): Fix indentation.
13248 (apropos-print): Simplify help, and recognize apropos-multi-type.
13249 (apropos-print-doc): Use button-type-get to extract the button's
13250 face property. Fill docstring (Bug#8352).
13251
4ffd0d6b 132522011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13253
13254 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13255
c6c32125 13256 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13257 (mpuz-mode-map): Use mapc.
c6c32125
JB
13258 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13259 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13260 Fix typos in docstrings.
13261
58d468b4
JB
13262 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13263 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13264
6470c3c6
JB
13265 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13266
4ffd0d6b 132672011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13268
13269 * minibuffer.el (completion--do-completion): Avoid the "Next char
13270 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13271
3ad8bad0
CY
13272 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13273 mouse-2 into unread-command-events, it is interpreted correctly.
13274
71d73c9c 13275 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13276 (image-toggle-display): Doc fix.
71d73c9c 13277
841a1577 132782011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13279
4ffd0d6b
GM
13280 * textmodes/page.el (what-page): Use line-number-at-pos to
13281 calculate line number (Bug#6825).
6e1dbaa9 13282
c2fb1b60
JB
132832011-04-22 Juanma Barranquero <lekktu@gmail.com>
13284
13285 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13286 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13287 Pass argument NO-DEFAULT to `find-tag-interactive'.
13288
e02f48d7
JB
132892011-04-22 Juanma Barranquero <lekktu@gmail.com>
13290
13291 Lexical-binding cleanup.
13292
13293 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13294 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13295 * progmodes/ada-prj.el (ada-prj-initialize-values)
13296 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13297 (ada-prj-show-value):
13298 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13299 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13300 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13301 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13302 * progmodes/bug-reference.el (bug-reference-push-button):
13303 * progmodes/fortran.el (fortran-line-length):
13304 * progmodes/glasses.el (glasses-change):
13305 * progmodes/octave-mod.el (octave-fill-paragraph):
13306 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13307 (python-pdbtrack-grub-for-buffer, python-sentinel):
13308 * progmodes/sql.el (sql-save-connection):
13309 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13310 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13311 Mark unused parameters.
13312
13313 * progmodes/compile.el (compilation--flush-directory-cache)
13314 (compilation--flush-parse, compile-internal): Mark unused parameters.
13315 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13316 (compilation-next-error-function): Remove unused variable `timestamp'.
13317
13318 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13319 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13320
13321 * progmodes/dcl-mode.el (dcl-end-of-command):
13322 Remove unused variable `start'.
13323 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13324 (dcl-option-value-basic, dcl-option-value-offset)
13325 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13326 Mark unused parameters.
13327 (dcl-save-local-variable): Remove unused variable `val'.
13328 (mode): Declare.
13329
13330 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13331 Mark unused parameters.
13332 (delphi-ignore-changes): Move before first use.
13333 (delphi-charset-token-at): Remove unused variable `start'.
13334 (delphi-else-start): Remove unused variable `if-count'.
13335 (delphi-comment-block-start, delphi-comment-block-end):
13336 Remove unused variable `kind'.
13337 (delphi-indent-line): Remove unused variable `new-point'.
13338
13339 * progmodes/ebrowse.el (ebrowse-files-list)
13340 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13341 Mark unused parameters. Don't quote `lambda'.
13342 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13343 Don't quote `lambda'.
13344 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13345 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13346 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13347 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13348 Use `ignore-errors'.
13349 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13350 (ebrowse-view/find-file-and-search-pattern)
13351 (ebrowse-view/find-member-declaration/definition):
13352 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13353 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13354 Rename parameter PREFIX-ARG to PREFIX.
13355 (ebrowse-tags-read-name): Remove unused variables `start' and
13356 `member-info'.
13357 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13358 to `tags-file'.
13359
13360 * progmodes/etags.el (local-find-tag-hook): Declare.
13361 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13362 Mark unused parameters.
13363
13364 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13365 (executable-interpret): Mark unused parameter.
13366
13367 * progmodes/flymake.el (flymake-process-sentinel)
13368 (flymake-after-change-function)
13369 (flymake-create-temp-with-folder-structure)
13370 (flymake-get-include-dirs-dot): Mark unused parameters.
13371 (flymake-safe-delete-directory): Remove unused variable `err'.
13372
13373 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13374 (speedbar-timer-fn, speedbar-line-text)
13375 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13376 (speedbar-center-buffer-smartly): Declare functions.
13377 (gdb-find-watch-expression): Remove unused variable `array'.
13378 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13379 (gdb-starting): Mark unused parameters.
13380 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13381 (gdb-table-string): Remove unused variable `res'.
13382 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13383 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13384 (gdb-display-buffer): Remove unused variable `cur-size'.
13385
13386 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13387 allow lexical-binding compilation.
13388 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13389 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13390 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13391 Mark unused parameters.
13392 (gud-gdb-marker-filter): Remove unused variable `match'.
13393 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13394 lambda expressions and funcall them, instead of using `fset'.
13395
13396 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13397 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13398
13399 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13400 variable `header-beg'; use `let'.
13401
13402 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13403 `restart', `last-sexp' and `at-do'.
13404
13405 * progmodes/js.el (js--debug): Mark unused parameter.
13406 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13407 (js--splice-into-items): Remove unused variable `item'.
13408 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13409
13410 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13411 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13412 (makefile-complete): Remove unused variable `try'.
13413 (makefile-fill-paragraph, makefile-match-function-end):
13414 Mark unused parameters.
13415
13416 * progmodes/octave-inf.el (inferior-octave-complete):
13417 Remove unused variable `proc'.
13418 (inferior-octave-output-digest): Mark unused parameter.
13419
13420 * progmodes/perl-mode.el (perl-calculate-indent):
13421 Remove unused variable `err'.
13422
13423 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13424 (prolog-indent-line): Mark unused parameters.
13425 (prolog-indent-line): Remove unused variable `beg'.
13426
13427 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13428 (reporter-dont-compact-list): Declare.
13429
13430 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13431 Remove unused variable `char'.
13432 (sh-debug): Mark unused parameter.
13433 (sh-get-indent-info): Remove unused variable `start'.
13434 (sh-calculate-indent): Remove unused variable `var'.
13435
13436 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13437 (simula-electric-keyword): Remove unused variable `null'.
13438 (simula-search-backward, simula-search-forward): Remove unused
13439 variables `begin' and `end'.
13440
13441 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13442 Remove unused variable `pos'.
13443 (vera-electric-tab, vera-comment-uncomment-region):
13444 Mark unused parameters.
13445 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13446
7ede3b65
CY
134472011-04-22 Chong Yidong <cyd@stupidchicken.com>
13448
13449 * emacs-lisp/package.el (package--builtins, package-alist)
13450 (package-load-descriptor, package-built-in-p, package-activate)
13451 (define-package, package-installed-p)
13452 (package-compute-transaction, package-buffer-info)
13453 (package--push): Doc fix. Distinguish more clearly between
13454 version strings and version lists.
13455
121656e9
JB
134562011-04-21 Juanma Barranquero <lekktu@gmail.com>
13457
13458 Lexical-binding cleanup.
13459
13460 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13461 (5x5-make-mutate-best):
13462 * play/fortune.el (fortune-in-buffer):
13463 * play/gomoku.el (gomoku-init-display):
13464 * play/solitaire.el (solitaire, solitaire-do-check):
13465 * play/tetris.el (tetris-default-update-speed-function):
13466 Mark unused parameters.
13467
13468 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13469 (bubbles--shift): Remove unused variable `char-org'.
13470 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13471 (bubbles--show-images): Remove unused variable `char'.
13472
13473 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13474 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13475 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13476 (decipher-analyze-buffer): Use ?\s.
13477 (decipher-make-checkpoint): Remove unused variable `mapping'.
13478
13479 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13480
13481 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13482 Remove unused variable `result'; use `let'.
13483
13484 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13485 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13486 (gametree-children-shown-p, gametree-compute-reduced-score):
13487 Use `ignore-errors'.
13488
13489 * play/handwrite.el (ps-lpr-switches): Declare.
13490 (handwrite): Remove unused variables `pmin' and `lastp'.
13491
13492 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13493
13494 * play/landmark.el (landmark-init-display)
13495 (landmark-update-naught-weights): Mark unused parameters.
13496 (landmark-y): Remove unused variable `noise'. Simplify.
13497 (landmark-human-plays): Remove unused variable `score'.
13498
13499 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13500 (mpuz-try-proposal): Remove unused variable `game'.
13501
13502 * play/zone.el (life-patterns): Declare.
13503
80f499c7
JB
135042011-04-20 Juanma Barranquero <lekktu@gmail.com>
13505
13506 * vc/vc.el (ediff-vc-internal): Declare function.
13507
024ff170
SM
135082011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13509
c0a193ea
SM
13510 * shell.el: Use lexical-binding and std completion UI.
13511 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13512 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13513 comint-preoutput-filter-functions rather than on
13514 comint-output-filter-functions.
13515 (shell-command-completion, shell--command-completion-data)
13516 (shell-filename-completion, shell-environment-variable-completion)
13517 (shell-c-a-p-replace-by-expanded-directory): New functions.
13518 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13519 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13520 (shell-dynamic-complete-environment-variable): Use them.
13521 (shell-dynamic-complete-as-environment-variable)
13522 (shell-dynamic-complete-as-command): Remove.
13523 (shell-match-partial-variable): Match past point.
13524 * comint.el: Clean up use of completion-at-point-functions.
13525 (comint-completion-at-point): New function.
13526 (comint-mode): Use it completion-at-point-functions.
13527 (comint-dynamic-complete): Make it obsolete.
13528 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13529 (comint-c-a-p-replace-by-expanded-history): New function.
13530 (comint-dynamic-complete-functions)
13531 (comint-replace-by-expanded-history): Use it.
13532 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13533 termination strings. Try harder to avoid second try-completion.
13534 (completion-in-region-mode-map): Disable bindings that don't work yet.
13535
2dbaa080
SM
13536 * comint.el: Use lexical-binding. Require CL.
13537 (comint-dynamic-complete-functions): Use comint-filename-completion.
13538 (comint-completion-addsuffix): Tweak custom type.
13539 (comint-filename-completion, comint--common-suffix)
13540 (comint--common-quoted-suffix, comint--table-subvert)
13541 (comint--complete-file-name-data): New functions.
13542 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13543 (comint-dynamic-list-filename-completions): Use them.
13544 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13545
2dbaa080
SM
13546 * minibuffer.el (completion-in-region-mode):
13547 Keep completion-in-region-mode--predicate global.
13548 (completion-in-region--postch):
13549 Assume completion-in-region-mode--predicate is not null.
13550
c79a6f38
SM
13551 * progmodes/flymake.el (flymake-start-syntax-check-process):
13552 Obey `dir'. Simplify.
13553
024ff170
SM
13554 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13555 we're in VC after all.
13556
1c6c854e
CS
135572011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13558
13559 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13560 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13561 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13562
bed7f140
SM
135632011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13564
332e62ab
SM
13565 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13566 add sanity check.
13567
bed7f140
SM
13568 * obsolete/erc-hecomplete.el: Make obsolete.
13569 * obsolete/: Standardize obsolescence info in the header.
13570
f195c582
GM
135712011-04-20 Glenn Morris <rgm@gnu.org>
13572
13573 * calendar/solar.el (solar-horizontal-coordinates):
13574 Use the longitude argument rather than `calendar-longitude'.
13575 (solar-date-next-longitude): Remove unused locals.
13576
cb79b8c0
VJL
135772011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13578
13579 * whitespace.el: New version 13.2.1.
13580
135812011-04-20 felix <EmacsWiki> (tiny change)
13582
d8e4b68b 13583 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13584 switching between major modes on a file.
13585
602ea69d
SM
135862011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13587
13588 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13589 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13590 multi-line comments as well.
13591
06b60517
JB
135922011-04-19 Juanma Barranquero <lekktu@gmail.com>
13593
13594 Lexical-binding cleanup.
13595
13596 * arc-mode.el (archive-mode-revert):
13597 * cmuscheme.el (scheme-interactively-start-process):
13598 * custom.el (custom-initialize-delay):
13599 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13600 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13601 * emacs-lock.el (emacs-lock-clear-sentinel):
13602 * ezimage.el (defezimage):
13603 * follow.el (follow-avoid-tail-recenter):
13604 * fringe.el (set-fringe-mode-1):
13605 * generic-x.el (bat-generic-mode-compile):
13606 * help-mode.el (help-info-variable, help-do-xref)
13607 (help-mode-revert-buffer):
13608 * help.el (view-emacs-todo):
13609 * iswitchb.el (iswitchb-completion-help):
13610 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13611 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13612 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13613 * locate.el (locate-update):
13614 * longlines.el (longlines-encode-region)
13615 (longlines-after-change-function):
13616 * outline.el (outline-isearch-open-invisible):
13617 * ps-def.el (declare-function, charset-dimension, char-width)
13618 (encode-char):
13619 * ps-mule.el (ps-mule-plot-string):
13620 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13621 (recentf-edit-list-select, recentf-edit-list-validate)
13622 (recentf-open-files-action):
13623 * rect.el (delete-whitespace-rectangle-line)
13624 (rectangle-number-line-callback):
13625 * register.el (window-configuration-to-register)
13626 (frame-configuration-to-register):
13627 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13628 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13629 (xselect-convert-to-targets, xselect-convert-to-delete)
13630 (xselect-convert-to-filename, xselect-convert-to-charpos)
13631 (xselect-convert-to-lineno, xselect-convert-to-colno)
13632 (xselect-convert-to-os, xselect-convert-to-host)
13633 (xselect-convert-to-user, xselect-convert-to-class)
13634 (xselect-convert-to-name, xselect-convert-to-integer)
13635 (xselect-convert-to-atom, xselect-convert-to-identity):
13636 * subr.el (declare, ignore, process-kill-without-query)
13637 (text-clone-maintain):
13638 * terminal.el (te-get-char, te-tic-sentinel):
13639 * tool-bar.el (tool-bar-make-keymap):
13640 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13641 * type-break.el (type-break-mode, type-break-noninteractive-query):
13642 * view.el (View-back-to-mark):
13643 * wid-browse.el (widget-browse-action, widget-browse-widget)
13644 (widget-browse-widgets, widget-browse-sexp):
13645 * widget.el (define-widget-keywords):
13646 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13647 Mark unused parameters.
13648
13649 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13650 (align-areas): Remove unused variable `look'.
13651 (align-region): Remove unused variables `real-end' and `pos-list'.
13652
13653 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13654
13655 * bindings.el (mode-line-modified, mode-line-remote):
13656 Mark unused parameters.
13657 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13658
13659 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13660 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13661
13662 * comint.el (comint-history-isearch-pop-state)
13663 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13664 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13665 (comint-substitute-in-file-name): Doc fix.
13666
13667 * completion.el (cmpl-statistics-block): Mark unused parameter.
13668 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13669 (save-completions-to-file, load-completions-from-file):
13670 Remove unused local variable `e'.
13671
13672 * composite.el (compose-chars): Remove unused variable `len'.
13673 (lgstring-insert-glyph): Remove unused variable `g'.
13674 (compose-glyph-string): Remove unused variables `ascent',
13675 `descent', `lbearing' and `rbearing'.
13676 (compose-glyph-string-relative): Remove unused variables
13677 `lbearing', `rbearing' and `wadjust'.
13678 (compose-gstring-for-graphic): Remove unused variables `header',
13679 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13680 (compose-gstring-for-terminal): Remove unused variables `header'
13681 and `nchars'. Use `let', not `let*'.
13682
13683 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13684 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13685 (Custom-buffer-done, custom-buffer-create-internal)
13686 (custom-browse-visibility-action, custom-browse-group-tag-action)
13687 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13688 (widget-magic-mouse-down-action, custom-toggle-parent)
13689 (custom-add-parent-links, custom-toggle-hide-variable)
13690 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13691 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13692 (custom-face-menu-create, custom-variable-menu-create, get)
13693 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13694 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13695 (customize-apropos): Remove unused variable `tests'.
13696 (custom-group-value-create): Remove unused variable `hidden-p'.
13697 (sort-fold-case): Declare.
13698
13699 * cus-theme.el (custom-reset-standard-faces-list)
13700 (custom-reset-standard-variables-list): Declare.
13701 (customize-create-theme, custom-theme-revert, custom-theme-write)
13702 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13703 Mark unused parameters.
13704
13705 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13706
13707 * delim-col.el (delimit-columns-max): Move defvar before first use.
13708
13709 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13710 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13711
13712 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13713 (auto-insert): Declare.
13714 (desktop-restore-file-buffer): Rename desktop-* parameters;
13715 mark unused ones.
13716 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13717 (desktop-buffer): Rename desktop-* parameters.
13718
13719 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13720 (dframe-reposition-frame-xemacs, dframe-help-echo)
13721 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13722 Mark unused parameters.
13723
13724 * dired-aux.el (backup-extract-version-start, overwrite-query)
13725 (overwrite-backup-query, rename-regexp-query)
13726 (rename-non-directory-query): Declare.
13727 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13728 (dired-add-entry): Remove unused variable `orig-file-name'.
13729 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13730 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13731 `dired-copy-preserve-time' directly.
13732 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13733 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13734
13735 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13736 (dired-virtual-revert, dired-make-relative-symlink):
13737 Mark unused parameters.
13738 (manual-program): Declare.
13739 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13740 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13741 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13742
13743 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13744
13745 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13746
13747 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13748 Declare.
13749
13750 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13751
13752 * electric.el (Electric-command-loop): Rename parameter
13753 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13754
13755 * expand.el (expand-in-literal): Remove unused variable `here'.
13756
13757 * facemenu.el (facemenu-add-new-color):
13758 Remove unused variable `docstring'.
13759
13760 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13761 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13762 (face-attr-construct): Mark unused parameter. Doc fix.
13763 (read-color): Remove unused variable `hex-string'.
13764
13765 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13766 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13767 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13768 (display-buffer-other-frame): Remove unused variable `old-window'.
13769 (kill-buffer-hook): Declare.
13770 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13771 Mark unused parameters.
13772 (after-find-file): Pass 1 to `auto-save-mode', not t.
13773
13774 * files-x.el (auto-insert): Declare.
13775 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13776
13777 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13778 variable `buf'. Mark unused parameter.
06b60517
JB
13779 (find-lisp-insert-directory): Mark unused parameter.
13780
13781 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13782 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13783 (format-common-tail): Remove, unused.
13784 (format-deannotate-region): Remove unused variable `loc'.
13785 (format-annotate-region): Remove unused variable `p'.
13786 (format-annotate-single-property-change): Remove unused variables
13787 `default' and `tail'.
13788
13789 * forms.el (read-file-filter): Declare.
13790 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13791
13792 * frame.el (frame-creation-function-alist): Mark unused parameter.
13793 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13794
13795 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13796 Remove unused parameters.
13797 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13798 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13799
13800 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13801 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13802 (hfy-prepare-tag-map): Mark unused parameters.
13803 (htmlfontify-buffer): Use `called-interactively-p'.
13804
13805 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13806 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13807 (ibuffer-do-occur): Mark unused parameters.
13808 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13809 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13810
13811 * ibuffer.el: Don't quote `lambda'.
13812 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13813 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13814 Mark unused parameters.
13815
13816 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13817 (ido-completing-read): Mark unused parameters.
13818 (ido-copy-current-word): Mark unused parameters;
13819 remove unused variable `name'.
13820 (ido-sort-merged-list): Remove unused parameter `dirs'.
13821
13822 * ielm.el (ielm-input-sender): Mark unused parameter.
13823 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13824 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13825 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13826 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13827 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13828
13829 * image-dired.el (image-dired-display-thumbs): Remove unused
13830 variables `curr-file' and `count'.
13831 (image-dired-remove-tag): Remove unused variable `start'.
13832 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13833 variable `curr-file'
13834 (image-dired-rotate-original): Remove unused variable `temp-file'.
13835 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13836 Remove unused variable `file'.
13837 (image-dired-gallery-generate): Remove unused variable `curr'.
13838 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13839
13840 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13841
13842 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13843
13844 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13845
13846 * isearch.el (minibuffer-history-symbol): Declare.
13847 (isearch-edit-string): Remove unused variable `err'.
13848 (isearch-message-prefix, isearch-message-suffix):
13849 Mark unused parameters.
13850
13851 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13852
13853 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13854
13855 * makesum.el (double-column): Remove unused variable `cnt'.
13856
13857 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13858 (ido-ignore-item-temp-list): Declare.
13859
13860 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13861 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13862 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13863 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13864 `mouse-col-delta'.
13865
13866 * mouse-sel.el (mouse-extend-internal):
13867 Remove unused variable `orig-window-frame'.
13868
13869 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13870 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13871 Move declarations before first use.
13872 (pcomplete-opt): Mark unused parameters; doc fix.
13873
13874 * proced.el (proced-revert): Mark unused parameter.
13875 (proced-send-signal): Remove unused variable `err'.
13876
13877 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13878 Rename parameter PREFIX-ARG to ARG.
13879 (ps-basic-plot-string, ps-basic-plot-whitespace):
13880 Mark unused parameters.
13881
13882 * replace.el (replace-count): Define.
13883 (occur-revert-function): Mark unused parameters.
13884 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13885 (isearch-case-fold-search, isearch-string): Declare.
13886 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13887 bind `case-fold-search'. Remove unused variables `beg' and `end',
13888 and simplify.
13889 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13890 COUNT and bind `replace-count'.
13891 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13892 to COUNT.
13893
13894 * savehist.el (print-readably, print-string-length): Declare.
13895
13896 * shadowfile.el (shadow-expand-cluster-in-file-name):
13897 Remove unused variable `cluster'.
13898 (shadow-copy-file): Remove unused variable `i'.
13899 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13900 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13901 (shadow-define-literal-group, shadow-define-regexp-group)
13902 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13903
13904 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13905 (shell): Use `called-interactively-p'.
13906 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13907
13908 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13909 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13910 (delete-backward-char): Remove unused variable `ocol'.
13911 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13912 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13913 (event-apply-hyper-modifier, event-apply-shift-modifier)
13914 (event-apply-control-modifier, event-apply-meta-modifier):
13915 Mark unused parameters.
13916 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13917 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13918
13919 * speedbar.el (speedbar-ignored-directory-expressions)
13920 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13921 (speedbar-find-file, speedbar-dir-follow)
13922 (speedbar-directory-buttons-follow, speedbar-tag-find)
13923 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13924 (speedbar-buffers-line-directory, speedbar-buffer-click):
13925 Mark unused parameters.
13926 (speedbar-tag-file): Remove unused variable `mode'.
13927 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13928
13929 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13930
13931 * talk.el (talk): Remove unused variable `display'.
13932
13933 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13934 (tar-write-region-annotate): Mark unused parameter.
13935
13936 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13937 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13938 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13939 warning by another.
13940
13941 * time-stamp.el (time-stamp-string-preprocess):
13942 Remove unused variable `require-padding'.
13943
13944 * tree-widget.el (widget-glyph-enable): Declare.
13945 (tree-widget-action): Mark unused parameter.
13946
13947 * w32-fns.el (x-get-selection): Mark unused parameter.
13948 (autoload-make-program, generated-autoload-file): Declare.
13949
13950 * wdired.el (wdired-revert): Mark unused parameters.
13951 (wdired-xcase-word): Remove unused variable `err'.
13952
13953 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13954 (whitespace-help-scroll): Remove unused variable `data-help'.
13955
13956 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13957 (widget-image-insert, widget-after-change, default)
13958 (widget-default-format-handler, widget-default-notify)
13959 (widget-default-prompt-value, widget-info-link-action)
13960 (widget-url-link-action, widget-function-link-action)
13961 (widget-variable-link-action, widget-file-link-action)
13962 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13963 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13964 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13965 (widget-insert-button-action, widget-delete-button-action, visibility)
13966 (widget-documentation-link-action, widget-documentation-string-action)
13967 (widget-const-prompt-value, widget-regexp-match, symbol)
13968 (widget-coding-system-prompt-value)
13969 (widget-key-sequence-value-to-external, sexp)
13970 (widget-sexp-value-to-internal, character, vector, cons)
13971 (widget-choice-prompt-value, widget-boolean-prompt-value)
13972 (widget-color--choose-action): Mark unused parameters.
13973 (widget-item-match-inline, widget-choice-match-inline)
13974 (widget-checklist-match, widget-checklist-match-inline)
13975 (widget-group-match): Rename parameter VALUES to VALS.
13976 (widget-field-value-set): Remove unused variable `size'.
13977 (widget-color-action): Remove unused variables `value' and `start'.
13978
13979 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 13980 variable `dir'. Doc fix.
06b60517
JB
13981 (windmove-find-other-window): Don't pass it.
13982
13983 * window.el (count-windows): Mark unused parameter.
13984 (bw-adjust-window): Remove unused variable `err'.
13985
13986 * woman.el (woman-file-name): Remove unused variable `default'.
13987 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13988 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13989 (global-font-lock-mode): Declare.
13990 (woman-decode-region): Mark unused parameter.
13991 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13992
13993 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13994 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13995 (x-dnd-handle-moz-url): Remove unused variable `title'.
13996 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13997
13998 * xml.el (xml-parse-tag, xml-parse-attlist):
13999 Remove unused variable `pos'.
14000
bc4f7f3d
GM
140012011-04-19 Glenn Morris <rgm@gnu.org>
14002
14003 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14004 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14005 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14006 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14007 * calendar/cal-html.el (cal-html-insert-minical):
14008 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14009 (calendar-mark-date-pattern):
14010 Prefix "unused" locals.
14011
14012 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14013 optional argument `style'.
14014
14015 * calendar/appt.el (appt-make-list):
14016 * calendar/cal-china.el (calendar-chinese-date-string):
14017 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14018 (diary-hebrew-yahrzeit):
14019 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14020 * calendar/calendar.el (calendar-generate-window):
14021 * calendar/time-date.el (time-to-days):
14022 Remove unused local variables.
14023
16a43933
CY
140242011-04-18 Chong Yidong <cyd@stupidchicken.com>
14025
14026 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14027 glyphless-char-display table.
14028 (tabulated-list-glyphless-char-display): New var.
14029
7eed1860
SS
140302011-04-18 Sam Steingold <sds@gnu.org>
14031
14032 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14033 to acknowledgments.
14034
4d2d1ccd
GM
140352011-04-17 Glenn Morris <rgm@gnu.org>
14036
14037 * calendar/diary-lib.el (diary-sexp-entry):
14038 * calendar/holidays.el (holiday-sexp):
14039 Set debug-on-error rather than the removed stack-trace-on-error.
14040
239da61d
GM
140412011-04-16 Glenn Morris <rgm@gnu.org>
14042
14043 * progmodes/f90.el: Use lexical-binding.
14044 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14045
8b05752a
SM
140462011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14047
daca8ba5
SM
14048 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14049 (mail-mode): Setup mailalias completion here instead.
14050 * mail/mailalias.el: Use lexical-binding.
14051 (pattern, mailalias-done): Declare dynamic.
14052 (mail-completion-at-point-function): New function, from mail-complete.
14053 (mail-complete): Use it.
14054 (mail-completion-expand): New function.
14055 (mail-get-names): Use it.
14056 (mail-directory, mail-directory-process, mail-directory-stream):
14057 Don't use `pattern' for lexically bound arg.
14058
6f542485
SM
14059 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14060
037e7c3f
SM
14061 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14062 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14063 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14064
8b05752a
SM
14065 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14066 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14067 (byte-interactive-p): Define them again, for use when inlining
14068 old code.
14069
49093f60
JB
140702011-04-15 Juanma Barranquero <lekktu@gmail.com>
14071
14072 * loadup.el: Use `string-to-number', not `string-to-int'.
14073
b5b8e7de
SM
140742011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14075
14076 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14077 gud-gdb-complete-command.
14078 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14079 (gud-gdb-completion-at-point): New function.
14080 (gud-gdb-completions): Remove.
14081
f42efeb5
MA
140822011-04-14 Michael Albinus <michael.albinus@gmx.de>
14083
49093f60
JB
14084 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14085 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14086 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14087 whether `executable-find' is bound.
f42efeb5
MA
14088
14089 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14090
e240cc21
SM
140912011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14092
14093 * minibuffer.el (completion-in-region-mode-predicate)
14094 (completion-in-region-mode--predicate): New vars.
14095 (completion-in-region, completion-in-region--postch)
14096 (completion-in-region-mode): Use them.
14097 (completion--capf-wrapper): Also return the hook function.
14098 (completion-at-point, completion-help-at-point):
14099 Adjust and provide a predicate.
c2bd2ab0
SM
14100
14101 Preserve arg names for advice of subr and lexical functions (bug#8457).
14102 * help-fns.el (help-function-arglist): Consolidate the subr and
14103 new-byte-code cases. Add argument `preserve-names' to extract names
14104 from the docstring when needed.
14105 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14106 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14107 (ad-arglist): Use help-function-arglist's new arg.
14108 (ad-definition-type): Use cond.
14109
c183f693
JB
141102011-04-13 Juanma Barranquero <lekktu@gmail.com>
14111
06641a47
JB
14112 * autorevert.el (auto-revert-handler):
14113 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14114 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14115 Don't quote lambda.
14116
c183f693
JB
14117 * image-mode.el (image-transform-set-scale):
14118 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14119
1e3b6001
G
141202011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14121
14122 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 14123 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
14124 Upgrades via gnutls-cli are too slow to be done opportunistically.
14125
2d6af8dd
JB
141262011-04-12 Juanma Barranquero <lekktu@gmail.com>
14127
14128 * dframe.el (dframe-current-frame): Remove spurious quote.
14129
c0749a51
GM
141302011-04-12 Glenn Morris <rgm@gnu.org>
14131
088d0d61
GM
14132 * calendar/cal-tex.el (cal-tex-end-document):
14133 Try to automatically use latin1 input if needed.
14134
c0749a51
GM
14135 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14136 Don't try to cons a mark onto an empty element.
14137
5c90fde0
LL
141382011-04-11 Leo Liu <sdl.web@gmail.com>
14139
14140 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14141 buffers.
14142 (ido-kill-buffer-at-head): Support killing virtual buffers.
14143
369e974d
CY
141442011-04-10 Chong Yidong <cyd@stupidchicken.com>
14145
14146 * minibuffer.el (completion-show-inline-help): New var.
14147 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
14148 (minibuffer-force-complete, minibuffer-complete-word):
14149 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
14150
14151 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14152 to avoid interference from inline help (Bug#5849).
14153
37f1c930
LL
141542011-04-10 Leo Liu <sdl.web@gmail.com>
14155
099c39a4
JB
14156 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14157 Fix typo.
37f1c930 14158
a32d4040
CY
141592011-04-09 Chong Yidong <cyd@stupidchicken.com>
14160
14161 * image-mode.el (image-toggle-display-image): Signal an error if
14162 not in Image mode.
14163 (image-transform-mode, image-transform-resize)
14164 (image-transform-set-rotation): Doc fix.
daca8ba5 14165 (image-transform-set-resize): Delete.
a32d4040
CY
14166 (image-transform-set-scale, image-transform-fit-to-height)
14167 (image-transform-fit-to-width): Handle image-toggle-display-image
14168 and image-transform-resize directly.
14169
099c39a4 141702011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
14171
14172 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
14173 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14174 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
14175 (doc-view-mode-map): Add bindings for the new functions.
14176
099c39a4 141772011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 14178
4d61f28d 14179 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
14180 Fix typo in docstring.
14181
3726838a
EZ
141822011-04-08 Eli Zaretskii <eliz@gnu.org>
14183
04f33f1e
EZ
14184 * files.el (file-size-human-readable): Produce one digit after
14185 decimal, like "ls -lh" does.
14186
14187 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14188 the file size representation.
14189
3726838a
EZ
14190 * simple.el (list-processes): If async subprocesses are not
14191 available, error out with a clear error message.
14192
cbb59342
CY
141932011-04-08 Chong Yidong <cyd@stupidchicken.com>
14194
14195 * help.el (help-form-show): New function, to be called from C.
14196 Put help-form output in a buffer named differently than *Help*.
14197
e3971c44
EZ
141982011-04-08 Eli Zaretskii <eliz@gnu.org>
14199
14200 * files.el (file-size-human-readable): New function.
14201
14202 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14203 computing the representation inline. Don't require `cl'.
14204
12544bbe
GM
142052011-04-08 Glenn Morris <rgm@gnu.org>
14206
a1de6c6a
GM
14207 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14208
3c4671f4
GM
14209 * net/browse-url.el (browse-url-firefox):
14210 Test system-type, not system-configuration.
14211
b605679c
GM
14212 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14213 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14214 Use log-edit-empty-buffer-p. (Bug#7598)
14215
56442f0c
GM
14216 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14217 (rlogin-mode-map): Initialize in the defvar.
14218 (rlogin): Use ignore-errors.
14219
12544bbe
GM
14220 * replace.el (occur-mode-map): Some fixes for menu items.
14221
eb237b0f
AH
142222011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14223
14224 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14225
7d668f2c
CY
142262011-04-06 Chong Yidong <cyd@stupidchicken.com>
14227
e67a13ab
CY
14228 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14229 issuing unused warnings.
14230
14231 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14232 macro directly.
14233
7d668f2c
CY
14234 * simple.el: Lisp reimplement of list-processes. Based on an
14235 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14236 (process-menu-mode): New major mode.
14237 (list-processes--refresh, list-processes):
14238 (process-menu-visit-buffer): New functions.
14239
14240 * files.el (save-buffers-kill-emacs): Don't assume any return
14241 value of list-processes, which is undocumented anyway.
14242
a83ec3c9
CY
142432011-04-06 Chong Yidong <cyd@stupidchicken.com>
14244
14245 * emacs-lisp/tabulated-list.el: New file.
14246
e91a96fe
CY
14247 * emacs-lisp/package.el: Use Tabulated List mode.
14248 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14249 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14250 table format using Tabulated List mode variables.
14251 (package--push): New macro, replacing package-list-maybe-add.
14252 (package-menu--generate): Use package--push. Renamed from
14253 package--generate-package-list.
14254 (package-menu-refresh, list-packages): Use it.
daca8ba5 14255 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14256 Return insertion data instead of inserting it directly.
099c39a4
JB
14257 (package-menu-describe-package, package-menu-execute):
14258 Use tabulated-list-get-id.
e91a96fe
CY
14259 (package-menu-mark-delete, package-menu-mark-install)
14260 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14261 (package-menu-mark-obsolete-for-deletion):
14262 Use tabulated-list-put-tag.
e91a96fe
CY
14263 (package--list-packages, package-menu-revert)
14264 (package-menu-get-package, package-menu-get-version)
14265 (package-menu-sort-by-column): Functions deleted.
14266 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14267 (package-menu--status-predicate, package-menu--version-predicate)
14268 (package-menu--name-predicate)
14269 (package-menu--description-predicate): Handle arguments in the
14270 Tabulated List format.
14271 (package-list-packages-no-fetch): Call list-packages.
14272
3e214b50
JB
142732011-04-06 Juanma Barranquero <lekktu@gmail.com>
14274
14275 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14276 (after-find-file): Don't bind it.
3e214b50
JB
14277 (revert-buffer-in-progress-p): New variable.
14278 (revert-buffer): Bind it.
14279 Pass nil for `after-find-file-from-revert-buffer'.
14280
14281 * saveplace.el (save-place-find-file-hook): Use new variable
14282 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14283
3f0f1700
GM
142842011-04-06 Glenn Morris <rgm@gnu.org>
14285
c0274801
GM
14286 * Makefile.in (AUTOGEN_VCS): New variable.
14287 (autoloads): Use $AUTOGEN_VCS.
14288
3f0f1700
GM
14289 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14290 * calendar/calendar.el (calendar-mode-map):
14291 Check for toolkit scroll bars. (Bug#8305)
14292
41ea9e48
CY
142932011-04-05 Chong Yidong <cyd@stupidchicken.com>
14294
14295 * minibuffer.el (completion-in-region--postch)
14296 (completion-in-region-mode): Remove unnecessary messages.
14297
6194c800
JB
142982011-04-05 Juanma Barranquero <lekktu@gmail.com>
14299
33256f14
JB
14300 * font-lock.el (font-lock-refresh-defaults):
14301 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14302 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14303
6194c800
JB
14304 * info.el (Info-directory-list, Info-read-node-name-2)
14305 (Info-split-parameter-string): Doc fixes.
14306 (Info-virtual-nodes): Reflow docstring.
14307 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14308 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14309 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14310 Fix typos in docstrings.
14311 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14312 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14313 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14314 (Info-restore-desktop-buffer): Mark unused parameters.
14315 (Info-directory-find-file, Info-directory-find-node)
14316 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14317 (Info-virtual-index-find-node, Info-apropos-find-file)
14318 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14319 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14320 (Info-virtual-index): Remove unused local variable `nodename'.
14321
b87a8200 143222011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14323
b87a8200
DD
14324 * net/rcirc.el: Update my e-mail address.
14325 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14326
3b2ff876
CY
143272011-04-05 Chong Yidong <cyd@stupidchicken.com>
14328
14329 * startup.el (command-line): Save the cursor's theme-face
14330 directly, instead of using face-override-spec.
14331
14332 * custom.el (load-theme): Minor optimization in assigning faces.
14333
8d17e7ca
JB
143342011-04-04 Juanma Barranquero <lekktu@gmail.com>
14335
14336 * help-fns.el (describe-variable): Complete all variables having
14337 documentation, including keywords.
14338 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14339
2fbc1934
JB
143402011-04-04 Juanma Barranquero <lekktu@gmail.com>
14341
14342 Convert to lexical-binding.
14343
14344 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14345 (bs--get-marked-string, bs--get-modified-string)
14346 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14347 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14348 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14349
14350 * ehelp.el (electric-help-execute-extended)
14351 (electric-help-ctrl-x-prefix):
14352 * hexl.el (hexl-revert-buffer-function):
14353 * linum.el (linum-after-change, linum-after-scroll):
14354 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14355
14356 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14357
74f50695
DU
143582011-04-04 Daiki Ueno <ueno@unixuser.org>
14359
14360 * epa-dired.el:
14361 * epa-mail.el:
14362 * epa-hook.el:
14363 * epa-file.el:
14364 * epa.el:
14365 * epg.el: Use lexical binding.
14366
c11325f7
CY
143672011-04-03 Chong Yidong <cyd@stupidchicken.com>
14368
0d9e9a12
CY
14369 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14370
c11325f7 14371 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14372 dictionary case for flyspell-mark-duplications-exceptions.
14373 Use regexp matching for languages.
c11325f7
CY
14374 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14375 default dictionary (Bug#7926).
14376
da91b5f2
CY
143772011-04-02 Chong Yidong <cyd@stupidchicken.com>
14378
099c39a4
JB
14379 * emacs-lisp/package.el (package--with-work-buffer):
14380 Recognize https URLs.
da91b5f2 14381
099c39a4
JB
14382 * net/network-stream.el: Move from gnus/proto-stream.el.
14383 Change prefix to network-stream throughout.
da91b5f2
CY
14384 (open-protocol-stream): Merge into open-network-stream, leaving
14385 open-protocol-stream as an alias. Handle nil BUFFER args.
14386
14387 * subr.el (open-network-stream): Move to net/network-stream.el.
14388
afa8e9f6
GM
143892011-04-02 Glenn Morris <rgm@gnu.org>
14390
1d2e369d
GM
14391 * find-dired.el (find-exec-terminator): New option.
14392 (find-ls-option): Test for -ls support.
14393 (find-ls-subdir-switches): Test for -b in find-ls-option.
14394 (find-dired, find-grep-dired): Doc fixes.
14395 (find-dired): Use find-exec-terminator.
14396
8abb7da8 14397 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14398 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14399 (find-name-arg): Remove purecopy.
8abb7da8 14400
f3ca7378
GM
14401 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14402 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14403 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14404 accordingly. Don't add the null-device if not needed.
14405
afa8e9f6
GM
14406 * files.el (save-some-buffers): Doc fix.
14407
35eae264
EZ
144082011-04-02 Eli Zaretskii <eliz@gnu.org>
14409
14410 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14411
26b51db5
JB
144122011-04-01 Juanma Barranquero <lekktu@gmail.com>
14413
14414 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14415 Use `dolist' rather than `mapcar'.
14416
7200d79c
SM
144172011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14418
03408648 14419 Add lexical binding.
7200d79c 14420
03408648
SM
14421 * subr.el (apply-partially): Use new closures rather than CL.
14422 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14423 (dolist, dotimes): Use slightly different expansion for lexical code.
14424 (functionp): Move to C.
14425 (letrec): New macro.
14426 (with-wrapper-hook): Use it and apply-partially instead of CL.
14427 (eval-after-load): Preserve lexical-binding.
14428 (save-window-excursion, with-output-to-temp-buffer): Turn them
14429 into macros.
7200d79c 14430
03408648
SM
14431 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14432
14433 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14434 than the arglist.
14435 (help-add-fundoc-usage): Don't add `Not documented'.
14436 (help-function-arglist): Handle closures, subroutines, and new
14437 byte-code-functions.
14438 (help-make-usage): Remove leading underscores.
14439 (describe-function-1): Handle closures.
14440 (describe-variable): Use special-variable-p for completion.
14441
14442 * files.el (lexical-binding): Declare safe.
f488fb65 14443
03408648
SM
14444 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14445 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14446 (pcase): Add `let' pattern.
14447 Change memoization so it actually works.
14448 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14449 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14450 <let>: New case.
f488fb65 14451
03408648
SM
14452 * emacs-lisp/macroexp.el: Use lexical binding.
14453 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14454 Don't convert ' to #' without checking that it's indeed quoting
14455 a lambda.
14456
14457 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14458 Use eval-sexp-add-defvars.
03408648
SM
14459 (eval-sexp-add-defvars): New fun.
14460
14461 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14462
14463 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14464 Don't autoload.
14465 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14466 than the internal `byte-compile-lambda'.
14467 (defmethod): Don't hide code under quotes.
14468 (eieio-defmethod): New `code' argument.
14469
14470 * emacs-lisp/eieio-comp.el: Remove.
14471
14472 * emacs-lisp/edebug.el (edebug-eval-defun)
14473 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14474 (edebug-toggle): Avoid `eval'.
14475
14476 * emacs-lisp/disass.el (disassemble-internal): Handle new
14477 `closure' objects.
14478 (disassemble-1): Handle new byte codes.
14479
14480 * emacs-lisp/cl.el (pushnew): Silence warning.
14481
14482 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14483 (cl-byte-compile-throw): Remove.
14484 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14485
14486 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14487 closures.
14488
14489 * emacs-lisp/cconv.el: New file.
14490
14491 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14492 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14493 (byte-compile-initial-macro-environment):
14494 Handle declare-function here.
14495 (byte-compile--lexical-environment): New var.
14496 (byte-stack-ref, byte-stack-set, byte-discardN)
14497 (byte-discardN-preserve-tos): New lap codes.
14498 (byte-interactive-p): Don't use any more.
14499 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14500 New macros.
14501 (byte-compile-lapcode): Use them and handle new lap codes.
14502 (byte-compile-obsolete): Remove.
14503 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14504 (byte-compile-arglist-warn): Check late def of inlinable funs.
14505 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14506 since they should have been expanded by now.
14507 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14508 (byte-compile-from-buffer): Remove unused second arg.
14509 (byte-compile-preprocess): New function.
14510 (byte-compile-toplevel-file-form): New function to distinguish
14511 file-form calls from outside from file-form calls from hunk-handlers.
14512 (byte-compile-file-form): Simplify.
14513 (byte-compile-file-form-defsubst): Remove.
14514 (byte-compile-file-form-defmumble): Simplify now that
14515 byte-compile-lambda always returns a byte-code-function.
14516 (byte-compile): Preprocess.
14517 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14518 Remove, not used any more.
14519 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14520 (byte-compile-make-args-desc): New funs.
14521 (byte-compile-lambda): Handle lexical functions. Always return
14522 a byte-code-function.
14523 (byte-compile-reserved-constants): New var, to make up room for
14524 closed-over variables.
14525 (byte-compile-constants-vector): Obey it.
14526 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14527 (byte-compile-macroexpand-declare-function): New function.
14528 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14529 byte-code-functions.
14530 (byte-compile-form): Check obsolescence here.
14531 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14532 (byte-compile-variable-ref): Remove.
14533 (byte-compile-dynamic-variable-op): New fun.
14534 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14535 (byte-compile-variable-set): New funs.
14536 (byte-compile-discard): Add 2 args.
14537 (byte-compile-stack-ref, byte-compile-stack-set)
14538 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14539 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14540 macroexpand-all instead.
14541 (byte-compile-quote-form): Remove.
14542 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14543 (byte-compile-bind, byte-compile-unbind): New funs.
14544 (byte-compile-let): Handle let* and lexical binding.
14545 (byte-compile-let*): Remove.
14546 (byte-compile-catch, byte-compile-unwind-protect)
14547 (byte-compile-track-mouse, byte-compile-condition-case):
14548 Handle a new :fun-body form, used for lexical scoping.
14549 (byte-compile-save-window-excursion)
14550 (byte-compile-with-output-to-temp-buffer): Remove.
14551 (byte-compile-defun): Simplify.
14552 (byte-compile-stack-adjustment): New fun.
14553 (byte-compile-out): Use it.
14554 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14555
14556 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14557 handler any more.
14558
14559 * emacs-lisp/byte-opt.el: Use lexical binding.
14560 (byte-inline-lapcode): Remove (to bytecomp).
14561 (byte-compile-inline-expand): Pay attention to inlining to/from
14562 lexically bound code.
14563 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14564 any more.
14565 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14566 any more and don't call compiler-macros.
14567 (byte-compile-splice-in-already-compiled-code): Remove.
14568 (byte-code): Don't inline any more.
14569 (disassemble-offset): Receive `bytes' as argument rather than via
14570 dynamic scoping.
14571 (byte-compile-tag-number): Declare before first use.
14572 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14573 `return' even if make-spliceable.
14574 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14575 obsolete interactive-p.
14576 (byte-optimize-lapcode): Optimize new lap-codes.
14577 Don't trip up on new form of `byte-constant' lap code.
14578
14579 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14580
14581 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14582
14583 * custom.el (custom-initialize-default, custom-declare-variable):
14584 Use `defvar'.
14585
14586 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14587 New variables.
14588 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14589 (COMPILE_FIRST): Add macroexp and cconv.
14590 * makefile.w32-in: Mirror changes in Makefile.in.
14591
14592 * vc/cvs-status.el:
14593 * vc/diff-mode.el:
14594 * vc/log-edit.el:
14595 * vc/log-view.el:
14596 * vc/smerge-mode.el:
14597 * textmodes/bibtex-style.el:
14598 * textmodes/css.el:
14599 * startup.el:
14600 * uniquify.el:
da91b5f2
CY
14601 * minibuffer.el:
14602 * newcomment.el:
14603 * reveal.el:
14604 * server.el:
14605 * mpc.el:
14606 * emacs-lisp/smie.el:
14607 * doc-view.el:
14608 * dired.el:
03408648
SM
14609 * abbrev.el: Use lexical binding.
14610
0f0c1f27
EZ
146112011-04-01 Eli Zaretskii <eliz@gnu.org>
14612
14613 * info.el (info-display-manual): New function.
14614
c82b2579
SM
146152011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14616
14617 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14618
221ddf68
TH
146192011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14620
14621 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14622 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14623
cba6e77e
GM
146242011-03-31 Glenn Morris <rgm@gnu.org>
14625
e040639f
GM
14626 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14627
cba6e77e
GM
14628 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14629
6d0f1c9e
CS
146302011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14631
14632 * progmodes/python.el (python-default-interpreter)
14633 (python-python-command-args, python-jython-command-args)
14634 (python-which-shell, python-which-args, python-which-bufname)
14635 (python-file-queue, python-comint-output-filter-function)
14636 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14637 variables and functions.
14638
3e2d70fd
SM
146392011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14640
14641 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14642 (completion-in-region-mode): New minor mode.
14643 (completion-in-region): Use it.
14644 (completion-in-region--data, completion-in-region-mode-map): New vars.
14645 (completion-in-region--postch): New function.
14646 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14647 New vars.
14648 (completion--capf-wrapper): New function.
14649 (completion-at-point): Use it to track well-behavedness of
14650 hook functions.
14651 (completion-help-at-point): New command.
14652
f3e4086c
JM
146532011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14654
14655 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14656 syntax class to search for whitespace on a single line
14657 (Message-ID: <4D938140.4030905@redhat.com>).
14658
eb7ffc14
LL
146592011-03-30 Leo Liu <sdl.web@gmail.com>
14660
14661 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14662 New commands.
14663 (edit-abbrevs-map): Bind them here.
14664 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14665
d806ab68
KM
146662011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14667
14668 * allout.el (allout-hide-by-annotation, allout-flag-region):
14669 Reduce possibility of overlay leakage by making them volatile.
14670
14671 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14672 hash is not shared between buffers. Mode initialization is
14673 responsible for giving it a useful starting value.
14674 (allout-item-span): Reduce possibility of overlay leakage by
14675 making them volatile.
14676 (allout-widgets-count-buttons-in-region): Add diagnostic function
14677 for tracking down button overlay leaks.
14678
ea622834
LL
146792011-03-29 Leo Liu <sdl.web@gmail.com>
14680
14681 * ido.el (ido-read-internal): Use the default history var
14682 minibuffer-history if no HISTORY is specified.
14683
b62f8267
G
146842011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14685
03408648
SM
14686 * net/imap.el (imap-shell-open, imap-process-connection-type):
14687 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14688 Kerberos, SSL, other subprocesses.
14689
947b6566
LL
146902011-03-28 Leo Liu <sdl.web@gmail.com>
14691
14692 * abbrev.el (abbrev-table-empty-p): New function.
14693 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14694 nonempty ones. (Bug#5937)
14695
5ffb62aa
JD
146962011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14697
14698 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14699
7a097943
LL
147002011-03-27 Leo Liu <sdl.web@gmail.com>
14701
14702 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14703 for foreground and background colors.
14704 (ansi-color-make-color-map): Adapt.
14705
c5b40130
LL
147062011-03-25 Leo Liu <sdl.web@gmail.com>
14707
1f48f7d2
LL
14708 * midnight.el (midnight-time-float): Remove. Note it calculates
14709 the microsecond component incorrectly and seconds-to-time does the
14710 same job.
625897ec 14711 Remove redundant (require 'timer).
1f48f7d2 14712
c5b40130
LL
14713 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14714 (ido-completions): Remove unused arguments. (Bug#8329)
14715
d86d2721
SM
147162011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14717
14718 * minibuffer.el (completion--flush-all-sorted-completions):
14719 Remove itself from hook.
14720 (completion-at-point): Let the functions perform the completion
14721 immediately and return nil or t.
14722 * comint.el (comint-dynamic-complete-functions): Now identical to
14723 completion-at-point-functions.
14724 (comint-dynamic-list-input-ring): Remove unused var `index'.
14725 (comint--match-partial-filename, comint--unquote&expand-filename):
14726 New funs, split from comint-match-partial-filename.
14727 (comint-dynamic-complete): Use completion-at-point.
14728 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14729
e8974c48
DA
147302011-03-24 Drew Adams <drew.adams@oracle.com>
14731
14732 * thingatpt.el: Support `defun'.
14733
def71b5e
LL
147342011-03-23 Leo Liu <sdl.web@gmail.com>
14735
cb5af48e
LL
14736 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14737
def71b5e
LL
14738 * help-mode.el (help-mode-finish): Tweak regexp.
14739
927c53e7
GM
147402011-03-23 Glenn Morris <rgm@gnu.org>
14741
18d05bed
GM
14742 * eshell/esh-opt.el (eshell-eval-using-options):
14743 Do not bind unused local variable `eshell-option-stub'.
14744
927c53e7
GM
14745 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14746
9d0da923
JB
147472011-03-22 Juanma Barranquero <lekktu@gmail.com>
14748
14749 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14750 keymap variable in `with-no-warnings' to avoid a warning when the
14751 keymap has been already `defconst'ed.
14752
4b978a67
LL
147532011-03-22 Leo Liu <sdl.web@gmail.com>
14754
14755 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14756 encode all chars in abbrevs; otherwise use emacs-mule or
14757 utf-8-emacs. (Bug#8308)
14758
5fd62452
JB
147592011-03-22 Juanma Barranquero <lekktu@gmail.com>
14760
0b1596c6
JB
14761 * simple.el (backward-delete-char-untabify):
14762 Avoid warning about using `delete-backward-char'.
14763
5fd62452
JB
14764 * image.el (image-type-file-name-regexps): Make it variable.
14765 `imagemagick-register-types' modifies it, and the user may want
14766 to add new extensions for known image types.
14767 (imagemagick-register-types): Throw error if not using ImageMagick.
14768
0b4e93f1
LL
147692011-03-22 Leo Liu <sdl.web@gmail.com>
14770
14771 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14772 located before rcirc-prompt-end-marker.
14773 (rcirc-complete): Error if point is not after rcirc prompt.
14774 Handle the case when table is nil.
9882e214 14775 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14776
fccee4ab
CY
147772011-03-22 Chong Yidong <cyd@stupidchicken.com>
14778
14779 * custom.el (custom--inhibit-theme-enable): Make it affect only
14780 custom-theme-set-variables and custom-theme-set-faces.
14781 (provide-theme): Ignore custom--inhibit-theme-enable.
14782 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14783 (custom-enabling-themes): Delete variable.
d86d2721
SM
14784 (enable-theme): Accept only loaded themes as arguments.
14785 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14786 (custom-enabled-themes): Forbid themes from setting this.
14787 Eliminate use of custom-enabling-themes.
14788 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14789
af896da6
LL
147902011-03-21 Leo Liu <sdl.web@gmail.com>
14791
14792 * ido.el (ido-read-internal): Add ido-selected to history instead
14793 of user input.
14794
78f64af0
SM
147952011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14796
14797 * subr.el (deferred-action-list, deferred-action-function):
14798 Mark obsolete.
14799
b16ac1ec
LL
148002011-03-21 Leo Liu <sdl.web@gmail.com>
14801
810f7698
LL
14802 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14803 change on 2011-02-13 (bug#8309).
14804
b16ac1ec
LL
14805 * minibuffer.el (read-file-name-function): Change default value.
14806 (read-file-name--defaults): Rename from read-file-name-defaults.
14807 (read-file-name-default): Rename from read-file-name.
14808 (read-file-name): Call read-file-name-function.
14809
4e05e67e
GM
148102011-03-21 Glenn Morris <rgm@gnu.org>
14811
14812 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14813 Doc fixes.
14814
4359915b
CY
148152011-03-21 Chong Yidong <cyd@stupidchicken.com>
14816
14817 * cus-theme.el: Add missing provide statement.
14818 (customize-create-theme): Extract theme value correctly.
14819 (custom-theme-visit-theme): Autoload.
14820 (customize-create-theme): Prompt before inserting default faces.
14821
1fe275ee
JB
148222011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14823
14824 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14825 units and musical notes.
14826
cd394be1 148272011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14828
14829 * ido.el (ido-read-internal): Use completing-read-default.
14830 (ido-completing-read): Fix compatibility with completing-read.
14831
7d476bde
CO
148322011-03-20 Christian Ohler <ohler@gnu.org>
14833
14834 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14835 (ert-delete-all-tests): Use `called-interactively-p' rather than
14836 `interactive-p'.
14837 (ert--make-xrefs-region): Respect END.
14838
fe0fb33e
CY
148392011-03-19 Chong Yidong <cyd@stupidchicken.com>
14840
ff854b0b
CY
14841 * dired-aux.el (dired-create-directory): Signal an error if the
14842 directory already exists (Bug#8246).
14843
fe0fb33e
CY
14844 * facemenu.el (list-colors-display): Call list-faces-display
14845 inside with-help-window.
14846 (list-colors-print): Use display property to align the final
14847 column, instead of checking window-width.
14848
576bce32
EZ
148492011-03-19 Eli Zaretskii <eliz@gnu.org>
14850
4d61f28d 14851 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14852 windows-nt systems.
14853 (emerge-protect-metachars): Quote correctly for ms-dos and
14854 windows-nt systems.
14855
89c41d68 148562011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14857
14858 * info.el (info-initialize): Replace all uses of `:' with
14859 path-separator for compatibility with non-Unix systems.
14860 Cache quoting of path-separator. (Bug#8258)
14861
b14e3e21 148622011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14863
14864 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14865 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14866 (mouse-avoidance-mode): Fix typos in docstrings.
14867
4525ce3e
CY
148682011-03-19 Chong Yidong <cyd@stupidchicken.com>
14869
14870 * startup.el (package-subdirectory-regexp): Move from package.el.
14871 Omit \\` and \\', and let callers add them.
14872
14873 * emacs-lisp/package.el (package-strip-version)
14874 (package-load-all-descriptors): Add \\` and \\' to
14875 package-subdirectory-regexp before using it.
14876 (package-untar-buffer): New arg DIR; ensure that file untars only
14877 into this expected directory. Remove superfluous delete-region.
14878 (package-unpack): Caller changed.
14879 (package-tar-file-info): Use package-subdirectory-regexp.
14880
a904a09a 148812011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14882
a904a09a
SM
14883 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14884 diff-mode-shared-map (bug#8284).
14885 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14886
148872011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14888
14889 * calendar/time-date.el (format-seconds): Use assoc instead of
14890 assoc-string, since assoc-string doesn't exist in XEmacs.
14891
171fc304
JB
148922011-03-17 Juanma Barranquero <lekktu@gmail.com>
14893
14894 * custom.el (custom-known-themes): Reflow docstring.
14895 (custom-theme-load-path): Fix typo in docstring.
14896 (load-theme): Fix typo in error message.
14897 (custom-available-themes, custom-variable-theme-value):
14898 Use `let', not `let*'.
14899
d71990a1
JB
149002011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14901
14902 * calc/README: Mention inclusion of musical notes.
14903
14904 * calc/calc-units.el (calc-lu-quant): Rename from
14905 `calc-logunits-quantity'.
14906 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14907 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14908 (calc-db): Rename from `calc-dblevel'.
14909 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14910 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14911 (calc-np): Rename from `calc-nplevel'.
14912 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14913 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14914 (calc-lu-plus): Rename from `calc-logunits-add'.
14915 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14916 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14917 (calc-lu-minus): Rename from `calc-logunits-sub'.
14918 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14919 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14920 (calc-lu-times): Rename from `calc-logunits-mul'.
14921 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14922 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14923 (calc-lu-divide): Rename from `calc-logunits-div'.
14924 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14925 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14926
14927 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14928 functions being autoloaded.
14929
14930 * calc/calc.el (calc-lu-power-reference): Rename from
14931 `calc-logunits-power-reference'.
14932 (calc-lu-field-reference): Rename from
14933 `calc-logunits-field-reference'.
14934
7a71b18d
GM
14935 * calc/calc-help.el (calc-l-prefix-help):
14936 Mention musical note functions.
d71990a1 14937
40c2934b
SM
149382011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14939
14940 * minibuffer.el (completion-all-sorted-completions):
14941 Use :completion-cycle-penalty text property if present.
14942
b0911414
KM
149432011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14944
14945 * allout.el (allout-yank-processing): Adjust for new rebulleting
14946 regime so bullet being yanked is used without prompting the user
14947 for a choice.
14948
8a05b668
JB
149492011-03-16 Juanma Barranquero <lekktu@gmail.com>
14950
14951 * startup.el (command-line): Warn the user that _emacs is deprecated.
14952
5ba5fb81
JB
149532011-03-16 Juanma Barranquero <lekktu@gmail.com>
14954
14955 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14956 (delphi-verbose, delphi-comment-face, delphi-string-face)
14957 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14958 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14959 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14960 (delphi-new-comment-line, delphi-font-lock-defaults)
14961 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14962 Fix typos in docstrings.
14963
2dab465b
KM
149642011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14965
5ba5fb81 14966 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
14967 Invert the roles of character and string values for INSTEAD, so a
14968 string is used for the more common case of a defaulting prompt.
14969
0adf5618
SM
149702011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14971
14972 * progmodes/ruby-mode.el (ruby-backward-sexp):
14973 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14974 * play/gamegrid.el (gamegrid-make-face):
14975 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14976 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14977 * notifications.el (notifications-notify):
14978 * net/xesam.el (xesam-search-engines):
14979 * net/quickurl.el (quickurl-list-insert):
14980 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14981
d72700e5
CY
149822011-03-15 Chong Yidong <cyd@stupidchicken.com>
14983
14984 * startup.el (command-line): Update package subdirectory regexp.
14985
49c5410a
SM
149862011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14987
c6eee9aa
SM
14988 * allout.el (allout-abbreviate-flattened-numbering)
14989 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14990
49c5410a
SM
14991 * subr.el (read-char-choice): Only show the cursor after the prompt,
14992 not after the answer.
14993
047b2bb9
KR
149942011-03-15 Kevin Ryde <user42@zip.com.au>
14995
14996 * help-fns.el (variable-at-point): Skip leading quotes, if any
14997 (bug#8253).
14998
0a57d256
SM
149992011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15000
15001 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15002 warning message.
15003
77c992bc
MA
150042011-03-14 Michael Albinus <michael.albinus@gmx.de>
15005
15006 * shell.el (shell): When called interactively, offer to change the
15007 shell file name on remote hosts.
15008
eebc475d
TZ
150092011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15010
15011 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15012 integration for LDAP parameters. The host, base, user or binddn,
15013 and secret tokens can be specified in a netrc file, for instance.
15014 This is optional because an `auth-source' parameter must be
15015 specified in the search attributes.
15016
9d05d1ba
JB
150172011-03-13 Juanma Barranquero <lekktu@gmail.com>
15018
15019 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15020
09d9db2c
GM
150212011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15022
15023 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15024 into declaration. Remove redundant and harmful binding.
15025
150262011-03-12 Eli Zaretskii <eliz@gnu.org>
15027
15028 * files.el (file-ownership-preserved-p): Pass `integer' as an
15029 explicit 2nd argument to `file-attributes'. If the file's owner
15030 is the Administrators group on Windows, and the current user is
15031 Administrator, consider that a match.
15032
15033 * server.el (server-ensure-safe-dir): Consider server directory
15034 safe on MS-Windows if its owner is the Administrators group while
15035 the current Emacs user is Administrator. Use `=' to compare
15036 numerical UIDs, since they could be integers or floats.
15037
219bd536
JB
150382011-03-12 Juanma Barranquero <lekktu@gmail.com>
15039
15040 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15041
f3afd36b
MA
150422011-03-12 Michael Albinus <michael.albinus@gmx.de>
15043
15044 Sync with Tramp 2.2.1.
15045
15046 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15047
15048 * net/trampver.el: Update release number.
15049
3aaaa6f1
SM
150502011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15051
94642599
SM
15052 * progmodes/compile.el (compilation--previous-directory): Fix up
15053 various nil/dead-marker mismatches (bug#8014).
15054 (compilation-directory-properties, compilation-error-properties):
15055 Don't call it at a position past the one we're about to change.
15056
3aaaa6f1
SM
15057 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15058 Disable obsolescence warnings in the file that declares it.
15059
14239447
KM
150602011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15061
099c39a4
JB
15062 * allout-widgets.el (allout-widgets-tally):
15063 Initialize allout-widgets-tally as a hash table rather than nil to
15064 prevent mode-line redisplay warnings. Also, clarify the module
15065 description and fix a comment typo.
14239447 15066
135e287c
JB
150672011-03-11 Juanma Barranquero <lekktu@gmail.com>
15068
15069 * help-fns.el (describe-variable): Don't complete keywords.
15070 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15071
ffbf300e
CY
150722011-03-10 Chong Yidong <cyd@stupidchicken.com>
15073
ba08b241
CY
15074 * emacs-lisp/package.el (package-version-join): Impose a standard
15075 string representation for pre/alpha/beta version lists.
15076 (package-unpack-single): Standardize the directory name by passing
15077 it through package-version-join.
15078 (package-strip-rcs-id): Accept any version string that does not
15079 signal an error in version-to-list.
ffbf300e 15080
f346fd6b
MA
150812011-03-10 Michael Albinus <michael.albinus@gmx.de>
15082
15083 * simple.el (delete-trailing-whitespace): Return nil for the
15084 benefit of `write-file-functions'.
15085
ccb55d27
GM
150862011-03-10 Glenn Morris <rgm@gnu.org>
15087
5ceaac0c
GM
15088 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15089
02da65ff
GM
15090 * vc/vc-git.el (vc-git-program): New option.
15091 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15092 (vc-git--call): Use it.
15093
b2f603cc
GM
15094 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15095
5772caab
GM
15096 * cus-edit.el (Custom-newline): If no button at point, look
15097 for a subgroup button at start-of-line. (Bug#2298)
15098
ccb55d27
GM
15099 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15100
ec6ecaed
JD
151012011-03-10 Julien Danjou <julien@danjou.info>
15102
15103 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15104 `cursor-type' is nil.
15105
9d5aa01d
JB
151062011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15107
15108 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15109
b6a5875b
KM
151102011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15111
7a71b18d 15112 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
15113 preserves the existing header prefix, rebulleting it if necessary,
15114 rather than replacing it. This is necessary for proper operation
15115 of cooperative addons like allout-widgets.
1154d12e
JB
15116 (allout-make-topic-prefix, allout-rebullet-heading):
15117 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15118 value as alternate bullet to be used, instead of prompting the user
15119 for a bullet character.
b6a5875b 15120
ee545c35
MA
151212011-03-09 Michael Albinus <michael.albinus@gmx.de>
15122
d86d2721
SM
15123 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15124 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
15125 `tramp-default-port'.
15126
c47971d7
DD
151272011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15128
15129 * net/rcirc.el (rcirc-handler-001): Remove useless
15130 with-rcirc-process-buffer.
15131 (rcirc-check-auth-status): Swap arguments to string-match.
15132
13522cb4
GM
151332011-03-09 Glenn Morris <rgm@gnu.org>
15134
0be6f4f1
GM
15135 * shell.el (shell-mode):
15136 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15137
13522cb4
GM
15138 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15139 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15140
515de2e3
CY
151412011-03-08 Chong Yidong <cyd@stupidchicken.com>
15142
15143 * emacs-lisp/package.el (package-refresh-contents)
15144 (package-menu-execute): Use condition-case-no-debug.
15145
b511b994
MA
151462011-03-08 Michael Albinus <michael.albinus@gmx.de>
15147
15148 * simple.el (shell-command-to-string): Use `process-file'.
15149
15150 * emacs-lisp/package.el (package-tar-file-info): Handle also
15151 remote files.
15152
d86d2721
SM
15153 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15154 Use `equal' for upload base check.
b511b994 15155
25bbfb31
AM
151562011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15157
15158 * textmodes/texinfo.el (texinfo-environments):
15159 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15160
be996521
GM
151612011-03-08 Glenn Morris <rgm@gnu.org>
15162
e9c8529f
GM
15163 * cus-start.el (cursor-in-non-selected-windows):
15164 Fix :set quoting oddness. (Bug#8192)
15165
be996521
GM
15166 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15167 in some setf expressions. (Bug#2159)
15168
2bb5649e
CY
151692011-03-08 Chong Yidong <cyd@stupidchicken.com>
15170
15171 * custom.el (custom-available-themes): Return themes in
15172 alphabetical order.
15173
33383987 15174See ChangeLog.15 for earlier changes.
e3d51b27
MR
15175
15176;; Local Variables:
15177;; coding: utf-8
e3d51b27
MR
15178;; End:
15179
acaf905b 15180 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
15181
15182 This file is part of GNU Emacs.
15183
15184 GNU Emacs is free software: you can redistribute it and/or modify
15185 it under the terms of the GNU General Public License as published by
15186 the Free Software Foundation, either version 3 of the License, or
15187 (at your option) any later version.
15188
15189 GNU Emacs is distributed in the hope that it will be useful,
15190 but WITHOUT ANY WARRANTY; without even the implied warranty of
15191 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15192 GNU General Public License for more details.
15193
15194 You should have received a copy of the GNU General Public License
15195 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.