* lisp/emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
a12ac9d7
SM
12012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4 (bug#11649). Add cl-defun and cl-defmacro.
5
87e6e64f
DA
62012-06-13 Drew Adams <drew.adams@oracle.com>
7
8 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9 Fix last change.
10
682cefaf
MA
112012-06-13 Michael Albinus <michael.albinus@gmx.de>
12
13 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
14 Otherwise, it blocks in batch mode.
15
773e1f08
JB
162012-06-13 Juanma Barranquero <lekktu@gmail.com>
17
18 * help-mode.el (bookmark-make-record-default): Declare.
19
60057926
CY
202012-06-13 Chong Yidong <cyd@gnu.org>
21
22 * emacs-lisp/package.el (list-packages): Compute a list of
23 packages that are newly-available since the last list-packages
24 invocation.
25 (package-menu--new-package-list): New var.
26 (package-menu--generate, package-menu--print-info)
27 (package-menu--status-predicate, package-menu-mark-install):
28 Handle new status label "new".
29
ad4d226c
SM
302012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
31
32 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
33 conversion to backquotes.
34
f1a4e679
CY
352012-06-12 Chong Yidong <cyd@gnu.org>
36
37 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
38 Rename from gud-inhibit-global-bindings.
39
40 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
41
42 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
43 hook from nxml-glyph-set-hook.
44
45 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
46 declaration.
47
48 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
49
50 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
51 Convert to defcustom.
52
0c9e42b5
DA
532012-06-12 Drew Adams <drew.adams@oracle.com>
54
55 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
56 New functions.
57 (help-mode): Use them.
58
09e06855
GM
592012-06-11 Glenn Morris <rgm@gnu.org>
60
61 * progmodes/fortran.el (fortran-font-lock-keywords-3):
62 Use preprocessor face for directives.
63 (fortran-directive-re): Doc fix.
64
71adb94b
SM
652012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
66
2eb87922
SM
67 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
68 conversion to backquotes (bug#11652).
69
71adb94b
SM
70 Fix compiler-expansion of CL's cXXr functions (bug#11673).
71 * emacs-lisp/cl-lib.el (cl--defalias): New function.
72 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
73 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
74 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
75 (cl-ninth, cl-tenth): Mark them as inlinable.
76 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
77 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
78 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
79 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
80 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
81 (cl-list*, cl-adjoin): Don't put an autoload manually.
82 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
83 (cl--compiler-macro-list*): Add autoload cookie.
84 (cl--compiler-macro-cXXr): New function.
2eb87922 85
71adb94b
SM
86 * help-fns.el (help-fns--compiler-macro): New function extracted from
87 describe-function-1; follow aliases and use `compiler-macro' property.
88 (describe-function-1): Use it.
89
a6674402
CY
902012-06-11 Chong Yidong <cyd@gnu.org>
91
92 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
93 is uninstalled, if imagemagick is installed.
94
bb3faf5b
SM
952012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
96
97 * emacs-lisp/cl-lib.el: Use lexical-binding.
98 (cl-map-extents, cl-maclisp-member): Remove.
99 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
100 (cl--set-substring, cl--block-wrapper, cl--block-throw)
101 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
102 * emacs-lisp/cl-extra.el: Use lexical-binding.
103 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
104 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
105 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
106 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
107 * emacs-lisp/cl-seq.el: Use lexical-binding.
108 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
109 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
110 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
111 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
112 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
113 CL's internals.
114
2fe4b125
MA
1152012-06-11 Michael Albinus <michael.albinus@gmx.de>
116
117 Sync with Tramp 2.2.6-pre.
118
119 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
120 `print-length' and `print-level' to nil, in order to avoid
121 truncation. Reported by Christopher Schmidt
122 <christopher@ristopher.com>.
123
124 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
125
126 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
127 New defmacro.
128 (tramp-compat-copy-directory): Add optional argument
129 COPY-CONTENTS. It is not handled yet.
130
131 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
132 (tramp-ftp-file-name-p): Simplify.
133
134 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
135 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
136 connection vector.
137
138 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
139 (tramp-methods): Do not use `tramp-password-end-of-line'.
140 (tramp-completion-function-alist-putty): Handle UNIX case.
141 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
142 (tramp-do-file-attributes-with-stat)
143 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
144 gid as real numbers. They could run out of integer range on cygwin.
145 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
146 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
147 (tramp-open-connection-setup-interactive-shell):
148 Use `tramp-cleanup'. Move check for busyboxes ...
149 (tramp-find-shell): ... here. Simplify implementation.
150 Set "remote-shell" property also for alternative shells.
151 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
152 If failing, a regular file would be written otherwise.
153 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
154 (tramp-find-inline-encoding): Cache the coding commands in the
155 process cache. Apply test command on the remote side, if defined.
156 (tramp-find-inline-compress): Cache the compress commands in the
157 process cache.
158 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
159 when requested. Handle hops.
160 (tramp-current-connection): New defvar.
87e6e64f
DA
161 (tramp-maybe-open-connection): Use `tramp-cleanup'.
162 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 163 Handle user interrupt. (Bug#10187)
87e6e64f
DA
164 (tramp-get-inline-compress, tramp-get-inline-coding):
165 Read connection properties from the process cache.
2fe4b125
MA
166
167 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
168 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
169 New defconsts.
2fe4b125
MA
170 (tramp-smb-prompt): Extend for powershell prompt.
171 (tramp-smb-file-name-handler-alist): Add handlers for
172 `process-file', `shell-command' and `start-file-process'.
173 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
174 (tramp-smb-winexe-shell-command-switch): New defcustoms.
175 (tramp-smb-file-name-p): Simplify.
176 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
177 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
178 (tramp-smb-shell-quote-argument): New defuns.
179 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
180 Implement using "tar". By this, time-stamps are preserved.
181 (tramp-smb-handle-copy-file): Handle also the case of directories.
182 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
183 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
184 Use `tramp-get-connection-buffer').
2fe4b125
MA
185 (tramp-smb-handle-rename-file): Use "rename", when source and
186 target are on the same share.
87e6e64f
DA
187 (tramp-smb-maybe-open-connection): Handle wrong passwords.
188 Use `tramp-smb-server-version'.
2fe4b125
MA
189 (tramp-smb-wait-for-output): Remove prompt.
190
191 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
192 (tramp-methods, tramp-rsh-end-of-line):
193 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
194 (tramp-save-ad-hoc-proxies): New defcustom.
195 (tramp-completion-function-alist): Adapt docstring.
196 (tramp-default-password-end-of-line): Remove defcustom.
197 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
198 (tramp-user-regexp, tramp-file-name-regexp-unified)
199 (tramp-file-name-regexp-url): Extend regexp by hop separator.
200 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
201 (tramp-remote-file-name-spec-regexp): New defconst.
202 (tramp-file-name-structure): Extend structure for hops.
203 (tramp-get-method-parameter): Move up.
204 (tramp-file-name-p, tramp-dissect-file-name)
205 (with-parsed-tramp-file-name): Handle hops.
206 (tramp-file-name-hop): New defun.
207 (tramp-make-tramp-file-name): New optional arg HOP.
208 (tramp-message-show-progress-reporter-message): New defvar.
209 (tramp-with-progress-reporter): Use it. We cannot use
210 `tramp-message-show-message' here, because this suppresses also
211 error buffers.
212 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
213 `tramp-message-show-message' is nil.
214 Use `tramp-get-connection-buffer'.
2fe4b125
MA
215 (tramp-cleanup): New defun.
216 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
217 (tramp-file-name-handler): If `debug-on-error' is set, propagate
218 an error unchanged.
219 (tramp-completion-handle-file-name-all-completions): Handle hops.
220 Fix an error when called from ido.
221 (tramp-completion-dissect-file-name): Use better local variable
222 name. Add hop to the vector.
223 (tramp-handle-insert-file-contents): Use progress-reporter for the
224 whole scenario.
225 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
226 to `t'.
227 (tramp-check-for-regexp): Simplify search.
228 (tramp-enter-password): Remove it. Move implementation ...
229 (tramp-action-password): ... here.
230 (tramp-mode-string-to-int, tramp-local-host-p)
231 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
232 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
233 Set tramp-autoload cookie.
2fe4b125
MA
234
235 * net/trampver.el: Update release number.
236
2372012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
238 Michael Albinus <michael.albinus@gmx.de>
239
240 * net/tramp.el (tramp-set-completion-function): Fix docstring.
241 (tramp-parse-group, tramp-parse-file)
242 (tramp-parse-shostkeys-sknownhosts): New defuns.
243 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
244 (tramp-parse-shosts-group, tramp-parse-sconfig)
245 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
246 (tramp-parse-sknownhosts, tramp-parse-hosts)
247 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
248 Use them.
249 (tramp-parse-passwd-group, tramp-parse-netrc-group)
250 (tramp-parse-putty-group): Don't narrow.
251 (tramp-parse-putty): Make a loop.
252 (tramp-file-name-handler): Catch the `suppress' signal.
253
72834e10
CY
2542012-06-11 Chong Yidong <cyd@gnu.org>
255
256 * image.el (imagemagick-register-types): Put the ImageMagick entry
257 at the end of image-type-file-name-regexps.
258
a4712e11
JB
2592012-06-11 Johan Bockgård <bojohan@gnu.org>
260
261 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
262 (pcase, pcase-let*, pcase-dolist): Use them.
263
82ad98e3
SM
2642012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
265
266 * emacs-lisp/pcase.el (pcase--let*): New function.
267 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
268 (pcase--expand): Use macroexp-let².
269
f80efb86
SM
2702012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
271
272 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
273 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
274 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
275 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
276 * emacs-lisp/derived.el: Use pcase instead of `cl'.
277 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
278
31ca4639 2792012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 280
31ca4639
CY
281 * mail/rmail.el (rmail-yank-current-message): Leave point at
282 correct position. (Bug#11660)
94f0aa34 283
31ca4639 2842012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 285
31ca4639 286 * allout-widgets.el: Fix code header.
9e1b8ec4 287
31ca4639 2882012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 289
f80efb86
SM
290 * cus-edit.el (customize-changed-options-previous-release):
291 Bump to 24.1.
31ca4639 292
642b6d30
AS
2932012-06-09 Andreas Schwab <schwab@linux-m68k.org>
294
295 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
296
4f5d2ba1
CY
2972012-06-09 Chong Yidong <cyd@gnu.org>
298
299 * ebuff-menu.el (electric-buffer-list): Preserve header line.
300
e75852fd
MR
3012012-06-09 Martin Rudalics <rudalics@gmx.at>
302
303 * window.el (special-display-popup-frame): Don't use
304 window--display-buffer (Bug#11651).
305
1e48e282
EZ
3062012-06-09 Eli Zaretskii <eliz@gnu.org>
307
8a26b487
EZ
308 Fix parallel builds: make sure loaddefs.el is not being written
309 while Lisp files are compiled.
310 (compile): Don't depend on 'mh-autoloads'.
311 (compile-CMD, compile-SH): Depend on 'autoloads'.
312 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
313
1e48e282
EZ
314 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
315
6175e34b
CY
3162012-06-09 Chong Yidong <cyd@gnu.org>
317
318 * face-remap.el (face-remap-add-relative, face-remap-set-base)
319 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
320 Doc fixes (Bug#11225).
321
d9857e53
SM
3222012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
323
324 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
325 a function if there's a clear indication that it has a compiler-macro.
326 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
327 (macro-declarations-alist): Add arglist to declaration functions.
328 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
329 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
330 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
331 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
332 Also add autoload to find the compiler macro.
333 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
334 (cl--compiler-macro-member, cl--compiler-macro-assoc)
335 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
336 (cl--compiler-macro-get): New functions, replacing calls to
337 cl-define-compiler-macro.
338 (cl-typep) [compiler-macro]: Use macroexp-let².
339
f81298f8 3402012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
341
342 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
343 string properly, fixes Bug#11473.
344
4b56d0fe
CY
3452012-06-08 Chong Yidong <cyd@gnu.org>
346
347 * faces.el (set-face-attribute): Doc fix.
348 (modify-face): Don't use :bold and :italic.
349 (error, warning, success): Tweak definitions.
350
351 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
352 (custom-modified, custom-set, custom-changed, custom-themed)
353 (custom-saved, custom-button, custom-button-mouse)
354 (custom-button-pressed, custom-state, custom-comment-tag)
355 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
356 (custom-group-subtitle): Use new-style face specs.
357 (custom-invalid-face, custom-rogue-face, custom-modified-face)
358 (custom-set-face, custom-changed-face, custom-saved-face)
359 (custom-button-face, custom-button-pressed-face)
360 (custom-documentation-face, custom-state-face)
361 (custom-comment-face, custom-comment-tag-face)
362 (custom-variable-tag-face, custom-variable-button-face)
363 (custom-face-tag-face, custom-group-tag-face-1)
364 (custom-group-tag-face): Remove obsolete face alias.
365
366 * epa.el (epa-validity-high, epa-validity-medium)
367 (epa-validity-low, epa-mark, epa-field-name, epa-string)
368 (epa-field-name, epa-field-body):
369 * font-lock.el (font-lock-comment-face, font-lock-string-face)
370 (font-lock-keyword-face, font-lock-builtin-face)
371 (font-lock-function-name-face, font-lock-variable-name-face)
372 (font-lock-type-face, font-lock-constant-face):
373 * ido.el (ido-first-match, ido-only-match, ido-subdir)
374 (ido-virtual, ido-indicator, ido-incomplete-regexp):
375 * speedbar.el (speedbar-button-face, speedbar-file-face)
376 (speedbar-directory-face, speedbar-tag-face)
377 (speedbar-selected-face, speedbar-highlight-face)
378 (speedbar-separator-face):
379 * whitespace.el (whitespace-newline, whitespace-space)
380 (whitespace-hspace, whitespace-tab, whitespace-trailing)
381 (whitespace-line, whitespace-space-before-tab)
382 (whitespace-space-after-tab, whitespace-indentation)
383 (whitespace-empty):
384 * emulation/cua-base.el (cua-global-mark):
385 * eshell/em-prompt.el (eshell-prompt):
386 * net/newst-plainview.el (newsticker-new-item-face)
387 (newsticker-old-item-face, newsticker-immortal-item-face)
388 (newsticker-obsolete-item-face, newsticker-date-face)
389 (newsticker-statistics-face, newsticker-default-face):
390 * net/newst-reader.el (newsticker-feed-face)
391 (newsticker-extra-face, newsticker-enclosure-face):
392 * net/newst-treeview.el (newsticker-treeview-face)
393 (newsticker-treeview-new-face, newsticker-treeview-old-face)
394 (newsticker-treeview-immortal-face)
395 (newsticker-treeview-obsolete-face)
396 (newsticker-treeview-selection-face):
397 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
398 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
399 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
400 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
401 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
402 (nxml-outline-active-indicator, nxml-outline-ellipsis):
403 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
404 (mpuz-text):
405 * progmodes/vera-mode.el (vera-font-lock-number)
406 (vera-font-lock-function, vera-font-lock-interface):
407 * textmodes/table.el (table-cell): Use new-style face specs, and
408 don't use the old :bold and :italic attributes.
409
410 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
411 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
412 (ebrowse-member-class, ebrowse-progress): Likewise.
413 (ebrowse-tree-mark-face, ebrowse-root-class-face)
414 (ebrowse-file-name-face, ebrowse-default-face)
415 (ebrowse-member-attribute-face, ebrowse-member-class-face)
416 (ebrowse-progress-face): Remove obsolete faces.
417
418 * progmodes/flymake.el (flymake-errline, flymake-warnline):
419 Inherit from error and warning faces respectively.
420
421 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
422 Likewise.
f80efb86
SM
423 (flyspell-incorrect-face, flyspell-duplicate-face):
424 Remove obsolete aliases.
4b56d0fe 425
03310646
MA
4262012-06-08 Michael Albinus <michael.albinus@gmx.de>
427
428 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
429 Avoid infloop.
430
513749ee
SM
4312012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
432
433 * startup.el (argv, argi): Make lexically scoped.
434 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
435 * emacs-lisp/cl-macs.el: Use lexical-binding.
436 Rename cl-bind-* to cl--bind-*.
437 * files.el: Don't require `cl' since it doesn't use it.
438 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
439
595ef4ad
JB
4402012-06-08 Juanma Barranquero <lekktu@gmail.com>
441
442 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
443 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
444 instead of calling external sort utility.
445 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
446
e9f66fcb
EZ
4472012-06-08 Eli Zaretskii <eliz@gnu.org>
448
449 * descr-text.el (describe-char): Mention how to insert the
450 character, if the current input method doesn't support it.
451 See the discussion in this thread for the details:
452 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
453
3d10db47
SS
4542012-06-08 Sam Steingold <sds@gnu.org>
455
456 * bindings.el (global-map): Bind XF86Forward to next-buffer and
457 XF86Back to previous-buffer.
458 (minibuffer-local-map): Bind them to next-history-element and
459 previous-history-element respectively.
460 * help-mode.el (help-mode-map): Bind them to help-go-forward and
461 help-go-back respectively.
462 * info.el (Info-mode-map): Bind them to Info-history-forward and
463 Info-history-back respectively.
464 These are the keys next to Up on the ThinkPad keyboard.
465
de7e2b36
SM
4662012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
467
468 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
469 * emacs-lisp/cl-macs.el: Provide itself.
470 (cl--labels-convert-cache): New var.
471 (cl--labels-convert): New function.
472 (cl-flet, cl-labels): New implementation with new semantics, relying on
473 lexical-binding.
474 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
475 (cl-closure-vars, cl--function-convert-cache)
476 (cl--function-convert): Move from cl-macs.el.
477 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
478 rename by removing the "cl-" prefix.
479 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
480
6fa6c4ae
SM
4812012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
482
483 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
484 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
485 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
486 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
487 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
488 (cl-hash-table-count): Add old compatibility aliases.
489
490 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
491 Use macroexpand-all-environment instead.
492 (cl--old-macroexpand): New var.
493 (cl--sm-macroexpand): New function.
494 (cl-symbol-macrolet): Use it during macro expansion.
495 (cl--function-convert-cache): New var.
496 (cl--function-convert): New function, extracted from
497 cl-macroexpand-all.
498 (cl-lexical-let): Use it.
499
500 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
501 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
502 (cl-member): Remove old alias.
503
504 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
505 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
506 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
507 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
508 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
509 (cl-macroexpand-cmacs): Remove var.
510 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
511 Use macroexpand-all instead.
512
4dd1c416
SM
5132012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
514
515 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
516 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
517 (macroexp-copyable-p): New functions and macros.
518 * emacs-lisp/edebug.el (edebug-unwrap):
519 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
520 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
521 (pcase--let*): Remove.
522 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
523 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
524 macroexp-const-p instead.
525 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
526
527 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
528 instead of "cl-" for internal definitions. Use macroexp-const-p.
529 (cl-old-bc-file-form): Remove var.
530 (cl-const-exprs-p): Remove fun.
531 (cl-labels, cl-macrolet): Use backquote.
532 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
533 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
534 (cl-define-setf-expander): Rename from cl-define-setf-method.
535 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
536
537 * international/mule-cmds.el: Don't require CL.
538 (view-hello-file): Don't use `letf'.
539
ed8bd4d7
SM
5402012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
541
7287f2f3
SM
542 * tmm.el (tmm-prompt): Use string-prefix-p.
543 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
544 (tmm-add-prompt): Use minibuffer-completion-help.
545 (tmm-delete-map): Remove.
546
ed8bd4d7
SM
547 * subr.el (kbd): Make it its own function.
548
7b4cdbf4
SM
5492012-06-07 Stefan Merten <smerten@oekonux.de>
550
551 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
552 Silence compiler warnings. Fix versions.
ed8bd4d7 553 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 554 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 555 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
556 (rst-package-emacs-version-alist): Correct Emacs version to
557 represent major merge with upstream.
ed8bd4d7 558 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 559
2b48d721
GM
5602012-06-06 Glenn Morris <rgm@gnu.org>
561
562 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
563 Only print environment variables if set.
564
fa779ab0
SM
5652012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
566
567 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
568 (macroexp--cons): Rename from maybe-cons.
569 (macroexp--accumulate): Rename from macroexp-accumulate.
570 (macroexp--all-forms): Rename from macroexpand-all-forms.
571 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
572 (macroexp--expand-all): Rename from macroexpand-all-1.
573
628299e0
SS
5742012-06-06 Sam Steingold <sds@gnu.org>
575
576 * calendar/calendar.el (calendar-in-read-only-buffer):
577 Call `special-mode' to enable the standard read-only keybindings.
578
b7bb5838
SM
5792012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
580
581 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
582 with "loading" messages (bug#11635).
583
dfb308ba
MA
5842012-06-06 Michael Albinus <michael.albinus@gmx.de>
585
586 * files.el (enable-remote-dir-locals): New option.
587 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
588
0372ee92
MA
589 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
590 Ensure, that the temp directory is local.
591
592 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
593 `temporary-file-directory'.
594
eed0bb91
MA
595 * progmodes/python.el (python-send-region): Ensure, that the
596 temporary file is created also in the remote case.
597
7a58f64d
GM
5982012-06-06 Glenn Morris <rgm@gnu.org>
599
f7dd4e98
GM
600 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
601 (vc-rcs-update-changelog): Use it.
602
276d5f5d
GM
603 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
604
7a58f64d
GM
605 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
606 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
607 (vc-sccs-diff): Replace use of the external vcdiff script.
608
daed4003
GM
6092012-06-05 Glenn Morris <rgm@gnu.org>
610
611 * ledit.el: Move to obsolete/.
612
48c455c7
SS
6132012-06-05 Sam Steingold <sds@gnu.org>
614
615 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
616 patch (Bug#11140).
617
57a7d507
SM
6182012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
619
d32926ff
SM
620 * emacs-list/cust-print.el: Move to obsolete.
621
53aacf21
SM
622 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
623 compiler-macro expansion.
624
57a7d507
SM
625 Add native compiler-macro support.
626 * emacs-lisp/macroexp.el (macroexpand-all-1):
627 Support compiler-macros directly. Properly follow aliases and apply
628 the compiler macros more thoroughly.
629 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
630 macroexpand now properly follows aliases.
631 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
632 (cl-compiler-macroexpand): Use new prop.
633 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
634
635 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
636
51a5f9d8
MR
6372012-06-05 Martin Rudalics <rudalics@gmx.at>
638
639 * window.el (get-lru-window, get-mru-window, get-largest-window):
640 New argument NOT-SELECTED to avoid picking the selected window.
641 (window--display-buffer-1, window--display-buffer-2): Replace by
642 new function window--display-buffer
643 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
644 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
645 Use window--display-buffer.
51a5f9d8
MR
646 (display-buffer-use-some-window): Remove temporary dedication
647 hack by calling get-lru-window and get-largest-window with
648 NOT-SELECTED argument non-nil. Call window--display-buffer.
649
08f9f738
GM
6502012-06-05 Glenn Morris <rgm@gnu.org>
651
652 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
653 Replace external vcdiff script.
654
e364a2b7
SM
6552012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
656
657 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
658
041df390
CY
6592012-06-04 Chong Yidong <cyd@gnu.org>
660
e364a2b7
SM
661 * image.el (imagemagick-types-inhibit): Revert last change.
662 Add INFO and M.
47b36b94 663 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 664
7c1898a7
SM
6652012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
666
667 * emacs-lisp/cl-lib.el: Rename from cl.el.
668 * emacs-lisp/cl.el: New compatibility file.
669 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
670 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
671 to obey the "cl-" prefix.
672 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
673
0c3461de
GM
6742012-06-03 Glenn Morris <rgm@gnu.org>
675
1e266c88
GM
676 * emacs-lisp/authors.el (authors-aliases): Addition.
677
0c3461de
GM
678 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
679 Fix :version.
680
d8a52e15
SM
6812012-06-03 Stefan Merten <smerten@oekonux.de>
682
683 * textmodes/rst.el: Add comments.
684 (rst-transition, rst-adornment): New faces.
685 (rst-adornment-faces-alist): Make default safe to reevaluate.
686 Fixes
687 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
688 Improve customization tags.
689 (rst-define-level-faces): Clarify meaning.
690
5205d6f6
CY
6912012-06-03 Chong Yidong <cyd@gnu.org>
692
693 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
694 (compilation-mode-line-run, compilation-mode-line-exit):
695 New faces.
5205d6f6
CY
696 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
697
757ee657
JD
6982012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
699
7c1898a7
SM
700 * progmodes/which-func.el (which-func-update-ediff-windows):
701 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 702
5f2c76c6
CY
7032012-06-03 Chong Yidong <cyd@gnu.org>
704
705 * bindings.el: Remove explicit help text from format-mode-line.
706 It is now supplied by mode-line-default-help-echo.
707 (mode-line-front-space, mode-line-end-spaces)
708 (mode-line-misc-info): New variables.
709 (mode-line-modes, mode-line-position): Move the default value to
710 the variable definition.
711 (mode-line-default-help-echo): New defcustom.
383f7350
CY
712 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
713 (mode-line-modified-help-echo): New functions.
714 (mode-line-mule-info, mode-line-modified): Use them.
715 (mode-line-eol-desc, propertized-buffer-identification):
716 Consistency fixes for help text.
cbe46e5f
CY
717 (mode-line-coding-system-map): Allow using mouse-3 to invoke
718 set-buffer-file-coding-system (Bug#289).
719 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 720
f2d6a3df
SM
7212012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
722
723 * simple.el (execute-extended-command): Set real-this-command
724 (bug#11506).
725
37269466
CY
7262012-06-02 Chong Yidong <cyd@gnu.org>
727
728 Remove incorrect uses of "modeline" in comments, docstrings, and
729 function/variable names (Bug#10329).
730
731 * cus-edit.el (mode-line):
732 * dframe.el (dframe-mouse-hscroll):
733 * emacs-lisp/re-builder.el:
734 * emacs-lisp/easy-mmode.el (define-minor-mode):
735 * frame.el (set-frame-name):
736 * help.el (lookup-minor-mode-from-indicator):
737 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
738 * progmodes/cc-cmds.el (c-toggle-auto-newline)
739 (c-toggle-hungry-state):
740 * progmodes/antlr-mode.el (antlr-language-alist):
741 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
742 * progmodes/vhdl-mode.el (vhdl-mode):
743 * progmodes/which-func.el (which-func, which-func-cleanup-function):
744 * term/ns-win.el (ns-face-at-pos):
745 * term/sup-mouse.el (sup-mouse-report):
746 * textmodes/flyspell.el (flyspell-mode-line-string):
747 * textmodes/ispell.el (ispell-highlight-face):
748 * textmodes/reftex-global.el:
749 * vc/vc-arch.el (vc-arch-mode-line-string):
750 * vc/vc-cvs.el (vc-cvs-mode-line-string):
751 * vc/vc-git.el (vc-git-mode-line-string):
752 * vc/vc-hooks.el (vc-display-status)
753 (vc-default-mode-line-string):
754 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
755
756 * ansi-color.el (ansi-color-faces-vector): Change default faces.
757
758 * dired.el (dired-sort-set-mode-line): Rename from
759 dired-sort-set-modeline. All callers changed.
760
761 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
762 eshell-status-in-modeline.
763
764 * foldout.el (foldout-mode-line-string): Rename from
765 foldout-modeline-string. All callers changed.
766 (foldout-update-mode-line): Rename from foldout-update-modeline.
767
768 * subr.el (redraw-modeline): Make into obsolete alias.
769
770 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
771 timeclock-modeline-display. Make old name an alias.
772 (timeclock-update-mode-line): Likewise. All callers changed.
773 (timeclock-mode-line-display): No need to check before using
774 add-hook.
775 (timeclock-relative, timeclock-day-over-hook)
776 (timeclock-use-elapsed, timeclock-mode-string)
777 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
778
779 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
780 crisp-mode-modeline-string.
781
782 * play/solitaire.el (solitaire-build-mode-line): Rename from
783 solitaire-build-modeline. All callers changed.
784
785 * play/zone.el (zone-hiding-mode-line): Rename from
786 zone-hiding-modeline. All callers changed.
787 (zone): Remove unusued `modeline-hidden-level' property.
788
789 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
790 xscheme-modeline-initialize. All callers changed.
791
792 * strokes.el (strokes-lighter): Rename from
793 strokes-modeline-string.
794
795 * textmodes/sgml-mode.el (html-face-tag-alist)
796 (html-tag-face-alist): Use mode-line face instead of obsolete
797 alias modeline.
798
42152ee4
SM
7992012-06-02 Stefan Merten <smerten@oekonux.de>
800
801 * textmodes/rst.el: Always require `cl'.
4cf9b38d 802 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 803
95f520b5
CY
8042012-06-02 Chong Yidong <cyd@gnu.org>
805
806 * image.el (imagemagick-enabled-types): Rename from
807 imagemagick-types-enable. Add many more types.
808 (imagemagick-types-inhibit): Change default to nil.
809 (imagemagick-filter-types): Caller changed.
810
4a5f187a
SM
8112012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
812
03fef3e6
SM
813 * emacs-lisp/cl-macs.el: Use backquotes.
814 (cl-transform-function-property): Use eval-and-compile rather than
815 abusing `require'.
816 (defstruct): Use declare-function instead of with-no-warnings.
817
4a5f187a
SM
818 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
819 (byte-compile-output-docform): Re-add the print-circle bindings.
820 (byte-compile-fix-header): Use #$ just because it's shorter.
821 (byte-compile-output-file-form): Remove defun/defmacro.
822
bd56924f
MR
8232012-06-01 Martin Rudalics <rudalics@gmx.at>
824
825 * simple.el (choose-completion): Remove now obsolete binding for
826 owindow.
827
046e38ce
MA
8282012-06-01 Michael Albinus <michael.albinus@gmx.de>
829
830 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
831 in order to avoid "Stack overflow in regexp matcher".
832
32d72c2f
GM
8332012-05-31 Glenn Morris <rgm@gnu.org>
834
835 * image.el: For clarity, call imagemagick-register-types at
836 top-level, rather than relying on a custom :initialize.
837 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
838 (imagemagick-filter-types): New function. (Bug#7406)
839 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
840 If disabling support, remove elements altogether rather
841 than using an impossible regexp.
842 (imagemagick-types-inhibit): Give it the default init function.
843
dd41169b
SM
8442012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
845
4a5f187a
SM
846 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
847 Handle arbitrary file name lengths (Bug#11585).
dd41169b 848
efc00ab1 8492012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
850
851 * desktop.el (desktop-read): Clear previous and next buffers for
852 all windows and bury *Messages* buffer (bug#11556).
853
500fcedc
SM
8542012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
855
856 Add `declare' for `defun'. Align `defmacro's with it.
857 * emacs-lisp/easy-mmode.el (define-minor-mode)
858 (define-globalized-minor-mode): Don't autoload the var definitions.
859 * emacs-lisp/byte-run.el: Use lexical-binding.
860 (defun-declarations-alist, macro-declarations-alist): New vars.
861 (defmacro, defun): Use them.
862 (make-obsolete, define-obsolete-function-alias)
863 (make-obsolete-variable, define-obsolete-variable-alias):
864 Use `declare'.
865 (macro-declaration-function): Mark obsolete.
866 * emacs-lisp/autoload.el: Use lexical-binding.
867 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
868
6e8a1786
AM
8692012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
870
871 * textmodes/ispell.el (ispell-with-no-warnings):
872 Define as a macro.
500fcedc
SM
873 (ispell-kill-ispell, ispell-change-dictionary):
874 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
875 `interactive-p'.
876
61b108cc
SM
8772012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
878
879 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
880 (macro-declaration-function): Move var from C code.
881 (macro-declaration-function): Define function with defalias.
882 * emacs-lisp/macroexp.el (macroexpand-all-1):
883 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
884 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
885 defun/defmacro any more.
886 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
887 Provide fallback for unknown arglist.
888 (byte-compile-arglist-warn): Change calling convention.
889 (byte-compile-output-file-form): Move print-vars binding.
890 (byte-compile-output-docform): Simplify accordingly.
891 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
892 (byte-compile-defmacro-declaration): Remove.
893 (byte-compile-file-form-defmumble): Generalize to defalias.
894 (byte-compile-output-as-comment): Return byte-positions.
895 Simplify callers accordingly.
896 (byte-compile-lambda): Use `assert'.
897 (byte-compile-defun, byte-compile-defmacro): Remove.
898 (byte-compile-file-form-defalias):
899 Use byte-compile-file-form-defmumble.
900 (byte-compile-defalias-warn): Remove.
901
6d3f7c2f
SM
9022012-05-29 Stefan Merten <smerten@oekonux.de>
903
904 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 905 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
906
907 (rst-mode-abbrev-table): Merge definition.
908 (rst-mode): Make sure `font-lock-defaults' is buffer local.
909 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
910
6dbaa1c7
UJ
9112012-05-29 Ulf Jasper <ulf.jasper@web.de>
912
913 * calendar/icalendar.el
914 (icalendar-export-region): Export UID properly.
915
9162012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
917 * calendar/icalendar.el (icalendar-import-format):
918 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
919 (icalendar-import-format-uid): New.
920 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
921 Export UID.
922
6876a58d
SM
9232012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
924
925 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
926 different alternative patterns.
927 (pcase-codegen): Be more careful to preserve identity.
928 (pcase--u1): Don't forget to mark vars as used.
929
930 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
931 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
932 (byte-compile-from-buffer): ...rather than here.
933
934 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
935 functions from byte-compile-function-environment.
936
46b7967e
TN
9372012-05-29 Troels Nielsen <bn.troels@gmail.com>
938
939 * window.el (window-deletable-p): Avoid deleting the root window
940 of a frame with an active minibuffer.
941
69d565e2
MR
9422012-05-29 Martin Rudalics <rudalics@gmx.at>
943
944 * simple.el (choose-completion): Use quit-window (Bug#11567).
945
a149fa51
CY
9462012-05-29 Chong Yidong <cyd@gnu.org>
947
948 * whitespace.el (whitespace-cleanup): Fix usage of
949 whitespace-empty-at-bob-regexp (Bug#11492).
950
2b311310
AH
9512012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
952
953 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
954 revert (Bug#11488).
955
b9cb2387
JL
9562012-05-29 Juri Linkov <juri@jurta.org>
957
958 * isearch.el (isearch-mode-map): Bind `M-s _' to
959 `isearch-toggle-symbol'. Bind `M-s c' to
960 `isearch-toggle-case-fold'.
961 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
962 (isearch-forward): Add `M-s _' to the docstring.
963 (isearch-forward-symbol, isearch-toggle-case-fold)
964 (isearch-symbol-regexp): New functions. (Bug#11381)
965
d5e61c1c
JL
9662012-05-29 Juri Linkov <juri@jurta.org>
967
968 * isearch.el (isearch-word): Add docstring. (Bug#11381)
969 (isearch-occur, isearch-search-and-update): If `isearch-word' is
970 a function, call it to get the regexp.
971 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
972 property `isearch-message-prefix' instead of the string "word ".
973 (isearch-search-fun-default): For the case of `isearch-word',
974 return a lambda that calls re-search-forward/re-search-backward
975 with a regexp returned by `word-search-regexp' or by the function
976 in `isearch-word'.
977
8cbd80f7
JL
9782012-05-29 Juri Linkov <juri@jurta.org>
979
980 * isearch.el (isearch-search-fun-default): New function.
981 (isearch-search-fun): Move default part to the new function
982 `isearch-search-fun-default'.
983 (isearch-search-fun-function): Set the default value to
984 `isearch-search-fun-default'. (Bug#11381)
985
986 * comint.el (comint-history-isearch-end):
987 Use `isearch-search-fun-default'.
988 (comint-history-isearch-search): Use `isearch-search-fun-default'
989 and remove spacial case for `isearch-word'.
990 (comint-history-isearch-wrap): Remove spacial case for
991 `isearch-word'.
992
993 * hexl.el (hexl-isearch-search-function):
994 Use `isearch-search-fun-default'.
995
996 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
997 Use `word-search-regexp' for `isearch-word'.
998
999 * misearch.el (multi-isearch-search-fun):
1000 Use `isearch-search-fun-default'.
1001
1002 * simple.el (minibuffer-history-isearch-search):
1003 Use `isearch-search-fun-default' and remove spacial case for
1004 `isearch-word'.
1005 (minibuffer-history-isearch-wrap): Remove spacial case for
1006 `isearch-word'.
1007
1008 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1009 Remove spacial case for `isearch-word'.
1010 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1011
85c8c5b6
AM
10122012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1013
1014 Decrease XEmacs incompatibilities.
1015 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1016 Use `string-match'.
1017 (flyspell-delete-region-overlays): Use alternative definition for
1018 XEmacs.
1019 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1020 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1021 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1022 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1023 `define-obsolete-face-alias' under XEmacs, but old method.
1024
1025 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1026 `with-no-warnings' definition or Emacs alias.
1027 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1028 (ispell-word): Do not use `region-p' if XEmacs.
1029
8cab9efc
AM
10302012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1031
1032 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1033 Check for `ispell-dictionary-base-alist' instead of full
1034 `ispell-dictionary-alist'.
1035 (ispell-init-process): Show spellchecker when starting new Ispell
1036 process.
1037
fda91268
RZ
10382012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1039
1040 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1041 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1042
694ea8e3
JB
10432012-05-27 Juanma Barranquero <lekktu@gmail.com>
1044
1045 * version.el (motif-version-string, gtk-version-string)
1046 (ns-version-string): Declare.
1047
e4d4f539
JL
10482012-05-27 Juri Linkov <juri@jurta.org>
1049
1050 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1051 after the `eval-defun-1' specialcaseing
1052 like in `edebug-eval-defun' (bug#10181).
1053
1054 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1055 like in `eval-defun-1'.
1056
33017faf 10572012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 1058
fda91268
RZ
1059 * mail/sendmail.el (mail-yank-region):
1060 Recognize rmail-yank-current-message in addition to insert-buffer.
1061 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
1062 a *mail* buffer created through rmail-start-mail with sendmail as
1063 mail-user-agent.
1064
33017faf
GM
10652012-05-27 Chong Yidong <cyd@gnu.org>
1066
1067 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1068 Default to 256 (Bug#11267).
1069
1070 * help.el (describe-mode): Doc fix.
1071
04188bb9
GM
10722012-05-26 Glenn Morris <rgm@gnu.org>
1073
38264cc9
GM
1074 * w32-fns.el (w32-init-info): Remove.
1075 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1076
eb7afdad
GM
1077 * info.el (info-initialize): For self-contained NS builds, put the
1078 included info/ directory at the front. (Bug#2791)
1079
04188bb9
GM
1080 * paths.el (Info-default-directory-list): Make it a defcustom,
1081 mainly so that we can use custom-initialize-delay.
1082
a179e3f7
SM
10832012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1084
43416392
SM
1085 * subr.el (buffer-has-markers-at): Mark obsolete.
1086
a179e3f7 1087 * subr.el (lambda): Use declare.
43416392 1088
a179e3f7
SM
1089 * emacs-lisp/lisp-mode.el (lambda):
1090 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1091
34a008d9
AH
10922012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1093
1094 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1095
0a3b289f
GM
10962012-05-26 Glenn Morris <rgm@gnu.org>
1097
1098 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1099
758c81e8
GM
11002012-05-25 Glenn Morris <rgm@gnu.org>
1101
f9f334f0
GM
1102 * paths.el: Remove no-byte-compile.
1103 * loadup.el: No need to load paths.el uncompiled.
1104
87eb79c2
GM
1105 * image.el (imagemagick-types-inhibit): Doc fix.
1106
758c81e8
GM
1107 * version.el: Remove no-byte-compile and associated formatting.
1108 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1109 is ancient code from when there was an "inc-vers.el".
1110
e7e85dc0
SM
11112012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1112
1113 * progmodes/gdb-mi.el: Minor style changes.
1114 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1115 Turn into minor modes.
1116 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1117 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1118 (gdb-shell): Remove unneeded let-binding.
1119 (gdb-get-many-fields): Eliminate O(n²) behavior.
1120
f31237a4
EZ
11212012-05-25 Eli Zaretskii <eliz@gnu.org>
1122
1123 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1124 platforms that don't link in fontset.c.
1125
bc1b21bb
JL
11262012-05-25 Juri Linkov <juri@jurta.org>
1127
1128 Use the same diff color scheme as in modern VCSes (bug#10181).
1129
1130 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1131 to avoid confusion with `diff-added' that now uses green colors.
1132 (diff-removed): Use shades of red.
1133 (diff-added): Use shades of green.
1134 (diff-changed): Leave just the yellow color.
1135 (diff-use-changed-face): New variable.
1136 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1137 how to highlight context diff changes.
1138 (diff-refine-change): Use shades of yellow.
1139 (diff-refine-removed): New face that uses shades of red.
1140 (diff-refine-added): New face that uses shades of green.
1141 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1142 `diff-refine-removed' in the call to `smerge-refine-subst'
1143 depending on the value of `diff-use-changed-face'.
1144
1145 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1146 (smerge-other): Use shades of green.
1147 (smerge-base): Use shades of yellow.
1148 (smerge-refined-change): Empty face.
1149 (smerge-refined-removed): New face that uses shades of red.
1150 (smerge-refined-added): New face that uses shades of green.
1151 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1152 args `props-r' and `props-a', and use them. Doc fix.
1153 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1154 on its value use different faces `smerge-refined-change',
1155 `smerge-refined-removed', `smerge-refined-added' in the call to
1156 `smerge-refine-subst'.
1157
1158 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1159 Add face condition `min-colors 88' with shades of red.
1160 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1161 `min-colors 88' with shades of green.
1162 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1163 `min-colors 88' with shades of yellow.
1164
6df9112c
GM
11652012-05-24 Glenn Morris <rgm@gnu.org>
1166
ead5edc0
GM
1167 * paths.el (prune-directory-list, remote-shell-program): Move to...
1168 * files.el (prune-directory-list, remote-shell-program): ...here.
1169 For the latter, delay initialization, prefer ssh, just search PATH.
1170
f18b81e6
GM
1171 * paths.el (term-file-prefix): Move to faces.el (the only user).
1172 * faces.el (term-file-prefix): Move here, make it a defcustom.
1173
ee2f89a6
GM
1174 * paths.el (news-directory, news-path, news-inews-program):
1175 Move to gnus/nnspool.el.
61a583ca 1176
f8815e4c
GM
1177 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1178
c8f3b42c
GM
1179 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1180 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1181 Make the latter a defcustom, with a delayed initialization.
1182
6df9112c
GM
1183 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1184 These were deleted from Gnus itself late 2010.
1185
5dadff36
JB
11862012-05-22 Juanma Barranquero <lekktu@gmail.com>
1187
9e1701c6
JB
1188 * progmodes/which-func.el (which-func-ff-hook):
1189 Check against user-error, not error.
1190
bd7239f5 1191 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
1192 cl-specs.el, which no longer exists.
1193
3290526d
GM
11942012-05-22 Glenn Morris <rgm@gnu.org>
1195
1196 * info.el (info-emacs-bug): New command.
1197 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1198 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1199
ff0c3cfb
GM
12002012-05-21 Glenn Morris <rgm@gnu.org>
1201
1202 * makefile.w32-in (update-subdirs-SH):
1203 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1204
5814f126
SM
12052012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1206
a52c0aa0
SM
1207 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1208
5814f126
SM
1209 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1210 Simplify Maven regexp, and make sure the file can't start with a space
1211 (bug#11517).
1212
b847032c
GM
12132012-05-21 Glenn Morris <rgm@gnu.org>
1214
1215 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1216 Scrap superfluous subshells.
1217
3858bfe7
SM
12182012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1219
1220 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1221 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1222
d14b0029
JB
12232012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1224
1225 * calc/calc.el (calc-ensure-consistent-units): New variable.
1226
a52c0aa0
SM
1227 * calc/calc-units.el (math-consistent-units-p)
1228 (math-check-unit-consistency): New functions.
1229 (calc-quick-units, calc-convert-units):
1230 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1231 is non-nil.
d14b0029
JB
1232 (calc-extract-units): Fix typo.
1233
60c4db3a
SM
12342012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1235
77f3b62e
SM
1236 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1237
60c4db3a
SM
1238 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1239 (flyspell-default-deplacement-commands): Don't spell check after
1240 repeated window/frame switches (e.g. triggered by mouse-movement).
1241 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1242 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1243 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1244 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1245 Remove unused vars.
1246 (flyspell-get-casechars, flyspell-get-not-casechars):
1247 Simplify; Don't bother removing a ] just to add it back.
1248 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1249
b1a10716
RS
12502012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1251
1252 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1253 New functions.
bd7239f5 1254 (math-function-table): Add support for more C functions.
b1a10716 1255
3f1b25b5
AM
12562012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1257
1258 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1259 (flyspell-debug-signal-word-checked): Protect delay handling for
1260 otherchars against empty otherchars.
1261
b581bb5c
SM
12622012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1263
1264 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1265 their respective macro declarations.
1266 * skeleton.el (define-skeleton):
1267 * progmodes/compile.el (define-compilation-mode):
1268 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1269 (define-ibuffer-filter):
1270 * emacs-lisp/generic.el (define-generic-mode):
1271 * emacs-lisp/easy-mmode.el (define-minor-mode)
1272 (define-globalized-minor-mode):
1273 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1274 * emacs-lisp/byte-run.el (defsubst):
1275 * custom.el (deftheme): Add doc-string metadata.
1276
70b8ef8f
SM
12772012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1278
1279 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1280
b1198e17
SM
12812012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1282
9abdc45d
SM
1283 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1284
b1198e17
SM
1285 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1286 * emacs-lisp/cl-macs.el: Idem.
1287 * emacs-lisp/cl-specs.el: Remove.
1288
4735906a
SM
12892012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 Minor renaming of internal CL functions and variables.
1292 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1293 (cl--position): Rename from cl-position.
1294 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1295 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1296 (cl--random-state): Rename from *random-state*.
1297
ac348012
SM
12982012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1299
1300 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1301 parens around the arg list (bug#11499).
1302
a0a79cde
JL
13032012-05-17 Juri Linkov <juri@jurta.org>
1304
1305 * isearch.el (word-search-regexp, word-search-backward)
1306 (word-search-forward, word-search-backward-lax)
1307 (word-search-forward-lax): Move functions from search.c
1308 (bug#10145, bug#11381).
1309
65034a51
AM
13102012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1311
1312 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1313 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1314 normal word components.
1315
1a72a195
SM
13162012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1317
1318 * minibuffer.el (completion--sifn-requote): Fix last change.
1319 (minibuffer-local-must-match-filename-map):
1320 Move define-obsolete-variable-alias before its var.
1321
fdb058c2
SM
13222012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1323
c41045e6
SM
1324 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1325
036dfb8b
SM
1326 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1327 behavior.
1328 (completion--string-equal-p): New function.
1329 (completion--twq-all): Use it to get better assertion failure data.
1330
2473256d
SM
1331 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1332 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1333 (shell--requote-argument): New functions.
1334 (shell-completion-vars): Use them.
1335 (shell--parse-pcomplete-arguments): Rename from
1336 shell-parse-pcomplete-arguments.
1337 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1338 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1339 Obey comint-file-name-quote-list.
1340
fdb058c2
SM
1341 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1342 (smie-indent-keyword): Use it.
1343
51fa99f1
SM
13442012-05-14 Stefan Merten <smerten@oekonux.de>
1345
1346 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1347
e18afed7 13482012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1349
1350 * net/rlogin.el (rlogin-mode-map): Fix last change.
1351
e18afed7 13522012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1353
1354 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1355 the following \r\n using a single `process-send-string', since the
1356 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1357 with two `process-send-string's (Bug#11444).
8633b1f4 1358
e18afed7 13592012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1360
fdb058c2
SM
1361 * shell.el (shell-parse-pcomplete-arguments):
1362 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1363
2d21d7f6
WJ
13642012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1365
e18afed7 1366 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1367 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1368 (image-transform-width, image-transform-fit-width): New functions.
1369 (image-transform-properties): Use them.
1370 (image-transform-check-size): New function.
1371 (image-toggle-display-image): Use it (for testing).
1372 (image-transform-set-rotation): Reduce angle mod 360.
1373 Delete obsolete comment.
1374
7102e6d0
WJ
13752012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1376
1377 * image-mode.el: Fix scaling (bug#11399).
1378 (image-transform-resize): Doc fix.
1379 (image-transform-properties): Default scale is 1 and height should
1380 be an integer.
1381
06bc5e6e
SM
13822012-05-13 Johan Bockgård <bojohan@gnu.org>
1383
1384 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1385 than hard-coding `car', to fix misbehavior when moving forward.
1386
0ae03b6a
CY
13872012-05-13 Chong Yidong <cyd@gnu.org>
1388
1389 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1390 (tabulated-list-entries, tabulated-list-padding)
1391 (tabulated-list-sort-key): Make permanent-local.
1392
1393 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1394 (electric-buffer-list): Put electric buffer menu
1395 command descriptions in this docstring, instead of the docstring
1396 of electric-buffer-menu-mode. Code cleanups.
1397 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1398 Electric-buffer-menu-mode.
1399 (electric-buffer-update-highlight): Minor code cleanup.
1400
205a7391
MA
14012012-05-13 Michael Albinus <michael.albinus@gmx.de>
1402
1403 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1404 (Bug#11447)
1405
e5bd0a28
SM
14062012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1407
1408 Move define-obsolete-variable-alias before the var's definition.
1409 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1410 * tooltip.el (tooltip-hook):
1411 * textmodes/reftex-toc.el (reftex-toc-map):
1412 * textmodes/reftex-sel.el (reftex-select-label-map)
1413 (reftex-select-bib-map):
1414 * textmodes/reftex-index.el (reftex-index-map)
1415 (reftex-index-phrases-map):
1416 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1417 * progmodes/meta-mode.el (meta-mode-map):
1418 * novice.el (disabled-command-hook):
1419 * loadhist.el (unload-hook-features-list):
1420 * frame.el (blink-cursor):
1421 * files.el (find-file-not-found-hooks, write-file-hooks)
1422 (write-contents-hooks):
1423 * emulation/tpu-edt.el (GOLD-map):
1424 * emacs-lock.el (emacs-lock-from-exiting):
1425 * emacs-lisp/generic.el (generic-font-lock-defaults):
1426 * emacs-lisp/chart.el (chart-map):
1427 * dos-fns.el (register-name-alist):
1428 * dired-x.el (dired-omit-files-p):
1429 * desktop.el (desktop-enable):
1430 * cus-edit.el (custom-mode-hook):
1431 * buff-menu.el (buffer-menu-mode-hook):
1432 * bookmark.el (bookmark-read-annotation-text-func)
1433 (bookmark-exit-hooks):
1434 * allout.el (allout-mode-deactivate-hook)
1435 (allout-exposure-change-hook, allout-structure-added-hook)
1436 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1437 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1438 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1439 comes before the corresponding variable's definition.
1440
ac59c2f6
CY
14412012-05-12 Chong Yidong <cyd@gnu.org>
1442
1443 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1444 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1445 (Buffer-menu-mode-map): Bind it.
1446 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1447
dee6c9a3
SM
14482012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1449
2171cea5
SM
1450 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1451 (prolog-upper-case-string, prolog-lower-case-string)
1452 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1453 (prolog-use-smie, prolog-smie-grammar): New vars.
1454 (prolog-smie-forward-token, prolog-smie-backward-token)
1455 (prolog-smie-rules): New funs.
1456 (prolog-comment-indent): Remove.
1457 (prolog-mode-variables): Use default comment indentation instead.
1458 Setup SMIE.
1459 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1460 (prolog-mode): Don't call them any more.
1461 (prolog-electric-colon, prolog-electric-dash)
1462 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1463
aa0382bd
SM
1464 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1465
dbacb4bd
SM
1466 * minibuffer.el (completion--twq-all): Again, allow case differences.
1467
13bdd94c
SM
1468 * term.el: Move keymap initialization code to be more idiomatic.
1469 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1470 (term-terminal-menu): Move initialization into declaration.
1471 (term-escape-char): Let the user set it in her .emacs.
1472
ff46c759
SM
1473 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1474 Provide SMIE-based indentation (not enabled by default yet).
1475 (sh-mode-map): Don't bind electric keys.
1476 Use electric-pair-mode instead of skeleton-pair.
1477 (sh-assignment-regexp): Fit within 80 columns.
1478 (sh-indent-supported): Specify actual shell name instead of boolean.
1479 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1480 (sh-maybe-here-document): Use it. Make obsolete.
1481 (sh-electric-here-document-mode) New minor mode.
1482 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1483 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1484 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1485 (sh-smie-rc-grammar, sh-use-smie): New vars.
1486 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1487 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1488 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1489 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1490 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1491 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1492 (sh-set-shell): Use smie-setup if requested.
1493
dee6c9a3
SM
1494 * term.el (term-set-escape-char): Properly set term-escape-char.
1495 See http://stackoverflow.com/questions/10524656.
1496
9f9aa044
CY
14972012-05-10 Chong Yidong <cyd@gnu.org>
1498
1499 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1500 Use url-generic-parse-url, and handle host names and Windows
1501 filenames properly.
1502 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1503 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1504 URL schemes to work on.
1505 (ffap--toggle-read-only): New function.
1506 (ffap-read-only, ffap-read-only-other-window)
1507 (ffap-read-only-other-frame): Use it.
1508 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1509 necessary for ffap-url-unwrap-remote.
1510
836d29b3
DA
15112012-05-10 Dave Abrahams <dave@boostpro.com>
1512
1513 * cus-start.el (create-lockfiles): Add it.
1514
00fd78ed
CY
15152012-05-09 Chong Yidong <cyd@gnu.org>
1516
1517 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1518 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1519
666b903b 15202012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1521
1522 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1523
666b903b 15242012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1525
1526 * ansi-color.el (ansi-color-process-output): Check for validity of
1527 comint-last-output-start before using it. This avoids a bad
1528 interaction with gdb-mi's input/output buffer.
1529
666b903b 15302012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1531
1532 * files.el (dir-locals-read-from-file):
1533 Mention dir-locals in any error message.
1534
666b903b 15352012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1536
1537 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1538 package (Bug#11410).
1539
f677562b
CY
1540 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1541 variables into description.
1542
666b903b 15432012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1544
1545 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1546 shell-delimiter-argument-list (bug#11348).
1547 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1548
b499d8d0
JB
15492012-05-09 Juanma Barranquero <lekktu@gmail.com>
1550
8f6b6da8
JB
1551 * textmodes/rst.el: Silence byte-compiler warnings.
1552 (rst-re-alist, rst-reset-section-caches): Move around.
1553 (rst-re): Use `characterp', not `char-valid-p'.
1554 (font-lock-beg, font-lock-end): Declare.
1555
4824146a
JB
1556 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1557 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1558
b499d8d0
JB
1559 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1560
ad89bb83
GM
15612012-05-08 Glenn Morris <rgm@gnu.org>
1562
1563 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1564
8bba5a75
SM
15652012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1566
49ed9c8e
SM
1567 * vc/log-edit.el: Add GNU coding standards highlighting.
1568 (log-edit-font-lock-gnu-style)
1569 (log-edit-font-lock-gnu-keywords): New vars.
1570 (log-edit-font-lock-keywords): New fun.
1571 (log-edit-mode): Don't fold case in font-lock.
1572 (log-edit-font-lock-keywords): Do not assume case-folding.
1573
07d00b56
SM
1574 * imenu.el: Misc cleanup. Make docstrings out of comments.
1575 Use lexical-binding.
1576 (imenu--index-alist, imenu--last-menubar-index-alist)
1577 (imenu-menubar-modified-tick): Use defvar-local.
1578 (imenu--split-menu): Remove unused var.
1579 (imenu--cleanup-seen): Declare as global.
1580 (imenu--cleanup): Use dolist.
1581
8bba5a75
SM
1582 * subr.el (defvar-local): Add debug spec and doc-string position.
1583
5075bdb5
GM
15842012-05-08 Glenn Morris <rgm@gnu.org>
1585
c052c904
GM
1586 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1587 * language/english.el, language/georgian.el, language/greek.el:
1588 * language/japanese.el, language/khmer.el, language/korean.el:
1589 * language/lao.el, language/misc-lang.el, language/romanian.el:
1590 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1591 * language/thai.el, language/utf-8-lang.el:
1592 Remove no-byte-compile setting.
1593
5075bdb5
GM
1594 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1595
06f679a7
AH
15962012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1597
1598 * progmodes/make-mode.el (makefile-browse):
1599 Remove unnecessary interactive. (Bug#11324)
1600
03794570
GM
16012012-05-07 Glenn Morris <rgm@gnu.org>
1602
af8630f4
GM
1603 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1604
03794570
GM
1605 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1606
f0809a9d
SM
16072012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1608
28be5ce7
SM
1609 * loadup.el: Preload newcomment.el.
1610 * newcomment.el: Move autoload-only code to toplevel.
1611
f0809a9d
SM
1612 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1613 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1614 Handle new :right-align column property.
1615 (tabulated-list-print-col): Idem, plus use `display' text-property to
1616 try and preserve alignment for variable pitch fonts.
1617
1241b724
CY
16182012-05-07 Chong Yidong <cyd@gnu.org>
1619
1620 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1621 (tabulated-list-use-header-line): New var.
1622 (tabulated-list-init-header): Use it.
1623 (tabulated-list-print-fake-header): New function.
1624 (tabulated-list-print): Use it.
1625 (tabulated-list-sort-button-map): Add non-header-line commands.
1626 (tabulated-list-init-header): Add column name property to basic
1627 labels as well.
1628 (tabulated-list-col-sort): Handle non-header-line button case.
1629 (tabulated-list--sort-by-column-name): Fix a corner case.
1630
f0809a9d
SM
1631 * buff-menu.el (list-buffers--refresh):
1632 Handle Buffer-menu-use-header-line.
1241b724 1633
e5f9458f
CY
16342012-05-06 Chong Yidong <cyd@gnu.org>
1635
1636 * buff-menu.el: Convert to Tabulated List mode.
1637 (Buffer-menu-buffer+size-width): Make obsolete.
1638 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1639 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1640 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1641 documentation into docstring of buffer-menu.
1642 (Buffer-menu-toggle-files-only): Add an informative message.
1643 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1644 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1645 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1646 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1647 (Buffer-menu-execute, Buffer-menu-select)
1648 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1649 (Buffer-menu-bury): Use Tabulated List machinery.
1650 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1651 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1652 Delete.
e5f9458f
CY
1653 (list-buffers--refresh): New function.
1654 (list-buffers-noselect): Use it.
1655 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1656 (Buffer-menu--pretty-file-name): New helper functions.
1657
1658 * loadup.el: Preload tabulated-list.
1659
1660 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1661 tabulated-list-sort-column.
1662 (tabulated-list-init-header): Add the initial aligning space even
1663 if tabulated-list-padding is zero.
1664
e129292c
CS
16652012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1666
1667 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1668 whose cdr is not a cons cell correctly (bug#11038).
1669
6632d361
CY
16702012-05-06 Chong Yidong <cyd@gnu.org>
1671
e129292c
CS
1672 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1673 Accept additional plist in column descriptors.
6632d361
CY
1674 (tabulated-list-init-header): Obey it.
1675 (tabulated-list-get-entry): New function.
1676 (tabulated-list-put-tag): Use it. Use string-width instead of
1677 length.
1678 (tabulated-list--column-number): New function.
1679 (tabulated-list-print): Use it.
e129292c
CS
1680 (tabulated-list-print-col): New function.
1681 Set `tabulated-list-column-name' property on each column's text.
6632d361 1682 (tabulated-list-print-entry): Use it.
e129292c
CS
1683 (tabulated-list-delete-entry, tabulated-list-set-col):
1684 New functions.
6632d361
CY
1685 (tabulated-list-sort-column): New command (Bug#11337).
1686
3cc99f68
CY
1687 * buff-menu.el (list-buffers): Move C-x C-b binding from
1688 buff-menu.el to bindings.el.
1689
1690 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1691 :advertised-binding feature.
1692
52b61776
TN
16932012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1694
1695 * progmodes/compile.el (compilation-internal-error-properties):
1696 Calculate start position correctly when end-col is set but
1697 end-line is not (Bug#11382).
1698
ebfe2597
WJ
16992012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1700
1701 * man.el (Man-unindent): Use text-property-default-nonsticky to
1702 prevent untabify from inheriting face properties (Bug#11408).
1703
6d3f7c2f
SM
17042012-05-05 Stefan Merten <smerten@oekonux.de>
1705
1706 * textmodes/rst.el: Major merge with upstream development up to
1707 Docutils SVN r7399 / rst.el V1.2.1.
1708
1709 Clarify maintainership and authors.
1710
1711 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1712 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1713 (rst-official-version, rst-official-cvs-rev, rst-version)
1714 (rst-package-emacs-version-alist): New functions and variables
1715 for version information.
1716
1717 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1718 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1719 (rst-mode-syntax-table, rst-mode): New and corrected functions
1720 and variables representing reStructuredText features.
1721
1722 (rst-re): New function for reStructuredText regexes. Use in
1723 many places.
1724
1725 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1726 (rst-mode-map): Rebind keys.
1727
1728 (rst-mode-lazy, rst-font-lock-keywords)
1729 (rst-font-lock-extend-region)
1730 (rst-font-lock-extend-region-internal)
1731 (rst-font-lock-extend-region-extend)
1732 (rst-font-lock-find-unindented-line-limit)
1733 (rst-font-lock-find-unindented-line-match)
1734 (rst-adornment-level, rst-font-lock-adornment-level)
1735 (rst-font-lock-adornment-match)
1736 (rst-font-lock-handle-adornment-pre-match-form)
1737 (rst-font-lock-handle-adornment-matcher): Major revision of
1738 font-locking. Integrate with other code. Use `jit-lock-mode'.
1739
1740 (rst-preferred-adornments, rst-adjust-hook)
1741 (rst-new-adornment-down, rst-preferred-bullets)
1742 (rst-preferred-bullets, rst-indent, rst-indent-width)
1743 (rst-indent-field, rst-indent-literal-normal)
1744 (rst-indent-literal-minimized, rst-indent-comment): Change,
1745 extend and improve customization.
1746
1747 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1748 (rst-normalize-cursor-position, rst-get-decoration)
1749 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1750 (rst-rstrip, rst-toc-insert-find-delete-contents)
1751 (rst-shift-fill-region, rst-compute-bullet-tabs)
1752 (rst-debug-print-tabs, rst-debug-mark-found)
1753 (rst-shift-region-guts, rst-shift-region-right)
1754 (rst-shift-region-left, rst-use-char-classes)
1755 (rst-font-lock-keywords-function)
1756 (rst-font-lock-indentation-point)
1757 (rst-font-lock-find-unindented-line-begin)
1758 (rst-font-lock-find-unindented-line-end)
1759 (rst-font-lock-find-unindented-line)
1760 (rst-font-lock-adornment-point, rst-font-lock-level)
1761 (rst-adornment-level-alist): Remove functions and variables.
1762
1763 (rst-compare-adornments, rst-get-adornment-match)
1764 (rst-suggest-new-adornment, rst-get-adornments-around)
1765 (rst-adornment-complete-p, rst-get-next-adornment)
1766 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1767 (rst-straighten-adornments): Standardize function names to
1768 use "adornment" instead of "decoration". Correct callers.
1769 Similar standardizing in many places.
1770
1771 (rst-update-section, rst-adjust, rst-promote-region)
1772 (rst-enumerate-region, rst-bullet-list-region)
1773 (rst-repeat-last-character): Correct use of `interactive'.
1774
1775 (rst-classify-adornment, rst-find-all-adornments)
1776 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1777 (rst-find-leftmost-column, rst-repeat-last-character):
1778 Refactor functions.
1779
1780 (rst-find-title-line, rst-reset-section-caches)
1781 (rst-get-adornments-around, rst-adjust-adornment-work)
1782 (rst-arabic-to-roman, rst-roman-to-arabic)
1783 (rst-insert-list-pos, rst-insert-list-new-item)
1784 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1785 New functions.
1786
1787 (rst-all-sections, rst-section-hierarchy)
1788 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1789 New variables.
1790
1791 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1792 configuration instead of only buffer. Change where necessary.
1793
1794 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1795 (rst-shift-region, rst-adaptive-fill): New functions for
1796 indentation and filling.
1797
1798 (rst-comment-line-break, rst-comment-indent)
1799 (rst-comment-insert-comment, rst-comment-region)
1800 (rst-uncomment-region): New functions for handling comments.
1801
1802 (rst-compile): Quote shell arguments.
1803
1804 (rst-compile-pdf-preview, rst-compile-slides-preview):
1805 Delete temporary files after use.
1806
a43f98b3
GM
18072012-05-05 Glenn Morris <rgm@gnu.org>
1808
48176e8b
GM
1809 * calendar/cal-html.el: Optionally include holidays in the output.
1810 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1811 (cal-html-holidays): New option.
1812 (cal-html-css-default): Add holiday entry.
1813 (holiday-in-range): Autoload it.
1814 (cal-html-htmlify-entry): Add optional class argument.
1815 (cal-html-htmlify-list): Add optional holidays argument.
1816 (cal-html-insert-agenda-days): Include holidays in the output.
1817 (cal-html-one-month): Maybe include holidays.
1818
a43f98b3
GM
1819 * calendar/holidays.el (holiday-in-range):
1820 Move here from cal-tex-list-holidays.
1821 * calendar/cal-tex.el (cal-tex-list-holidays):
1822 Make it an obsolete alias for holiday-in-range. Update all callers.
1823
fef9d149 18242012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1825
1826 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1827 Nextstep.
1828
248da2f4
RW
18292012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1830
1831 * files.el (file-auto-mode-skip): New var.
1832 (set-auto-mode-1): Use it.
1833
f95e9344
SM
18342012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1835
df96ab1e
SM
1836 * repeat.el: Use lexical-binding.
1837 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1838 (repeat-undo-count): Remove.
1839 (repeat):
1840 * progmodes/octave-mod.el (octave-abbrev-start):
1841 * progmodes/f90.el (f90-abbrev-start):
1842 * face-remap.el (text-scale-adjust):
1843 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1844
5342bb06
SM
1845 * emacs-lisp/pcase.el (pcase--let*): New function.
1846 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1847 a bit more.
1848 (pcase--split-pred): Be more clever about ruling out overlap between
1849 a predicate and some constant pattern.
1850 (pcase--q1): Use `null' instead of (eq foo nil).
1851
f95e9344
SM
1852 * subr.el (setq-local, defvar-local): New macros.
1853 (kbd): Redefine as an alias.
1854 (with-selected-window): Leave unrelated frames alone.
1855 (set-temporary-overlay-map): New function.
1856
71873e2b
SM
18572012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1858
1859 * subr.el (user-error): New function.
1860 * window.el (switch-to-buffer):
1861 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1862 (smerge-match-conflict):
1863 * simple.el (previous-matching-history-element)
1864 (next-matching-history-element, goto-history-element, undo-more)
1865 (undo-start):
1866 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1867 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1868 (next-file, tags-loop-scan, list-tags, complete-tag):
1869 * progmodes/compile.el (compilation-loop):
1870 * mouse.el (mouse-minibuffer-check):
1871 * man.el (Man-bgproc-sentinel, Man-goto-page):
1872 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1873 (Info-history-forward, Info-follow-reference, Info-menu)
1874 (Info-extract-menu-item, Info-extract-menu-counting)
1875 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1876 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1877 (Info-next-reference, Info-prev-reference, Info-index)
1878 (Info-index-next, Info-follow-nearest-node)
1879 (Info-copy-current-node-name):
1880 * imenu.el (imenu--make-index-alist)
1881 (imenu-default-create-index-function, imenu-add-to-menubar):
1882 * files.el (basic-save-buffer, recover-file):
1883 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1884 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1885 (checkdoc-message-text, checkdoc-defun):
1886 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1887 * cus-edit.el (customize-changed-options, customize-rogue)
1888 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1889 (custom-variable-mark-to-reset-standard)
1890 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1891 (custom-file):
1892 * completion.el (check-completion-length):
1893 * comint.el (comint-search-arg)
1894 (comint-previous-matching-input-string-position)
1895 (comint-previous-matching-input)
1896 (comint-replace-by-expanded-history-before-point, comint-send-input)
1897 (comint-copy-old-input, comint-backward-matching-input)
1898 (comint-goto-process-mark, comint-set-process-mark):
1899 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1900 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1901
8a61ee22
SM
19022012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1903
66408d1e
SM
1904 * dabbrev.el (dabbrev--ignore-case-p): New function.
1905 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1906 Use it.
1907
8a61ee22
SM
1908 * files.el (automount-dir-prefix): Mark as obsolete.
1909
3c74813a
GM
19102012-05-04 Glenn Morris <rgm@gnu.org>
1911
1912 * patcomp.el, play/bruce.el: Move to obsolete/.
1913
0bfcf5c5
PE
19142012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1915
1916 Fix minor Y10k bugs.
1917 * arc-mode.el (archive-unixdate):
1918 * autoinsert.el (auto-insert-alist):
1919 * calc/calc-forms.el (math-this-year):
1920 * emacs-lisp/copyright.el (copyright-current-year)
1921 (copyright-update-year, copyright):
1922 * tar-mode.el (tar-clip-time-string):
1923 * time.el (display-time-update):
1924 Don't assume years have 4 digits.
1925
78f3273a
CY
19262012-05-04 Chong Yidong <cyd@gnu.org>
1927
1928 * dos-w32.el (file-name-buffer-file-type-alist)
1929 (direct-print-region-use-command-dot-com):
1930 * ffap.el (ffap-menu-regexp):
1931 * find-file.el (ff-special-constructs):
1932 * follow.el (follow-debug):
1933 * forms.el (forms--debug):
1934 * iswitchb.el (iswitchb-all-frames):
1935 * ido.el (ido-all-frames):
1936 * emacs-lisp/timer.el (timer-max-repeats):
1937 * mail/feedmail.el (feedmail-mail-send-hook)
1938 (feedmail-mail-send-hook-queued):
1939 * mail/footnote.el (footnote-signature-separator):
1940 * mail/mailabbrev.el (mail-alias-separator-string)
1941 (mail-abbrev-mode-regexp):
1942 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1943 * progmodes/idlwave.el (idlwave-libinfo-file)
1944 (idlwave-default-completion-case-is-down)
1945 (idlwave-library-routines): Convert defvars to defcustoms.
1946
1947 * mail/rmail.el (rmail-decode-mime-charset):
1948 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1949 (idlwave-shell-fix-inserted-breaks)
1950 (idlwave-shell-activate-alt-keybindings)
1951 (idlwave-shell-use-breakpoint-glyph):
1952 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1953
f7ae6719
SM
19542012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1955
1956 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1957
47086495
WS
19582012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1959
1960 * progmodes/verilog-mode.el (font-lock-keywords):
1961 Fix mis-highligting auto. Reported by Craig Barner.
1962 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1963 defines from global name space. Reported by Dan Dever.
1964 (verilog-auto-reset, verilog-auto-reset-widths)
1965 (verilog-auto-tieoff): Support using unbased numbers for
1966 AUTORESET and AUTOTIEOFF.
1967 (verilog-submit-bug-report): Update variable list.
1968 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1969 parenthesis from not matching. Reported by Michael Rytting.
1970 (verilog-auto-template-lint): Fix hash error when linting modules
1971 with no used templates.
1972 (verilog-warn, verilog-warn-error)
1973 (verilog-warn-fatal): When non-interactive report multiple
1974 warnings before exiting. Suggested by Brad Dobbie.
1975 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1976 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1977 to report unused template errors. Reported by Brad Dobbie.
1978 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1979 nets, bug438. Reported by Vns Blore.
1980 (verilog-auto-inout-module, verilog-auto-reg)
1981 (verilog-read-decls, verilog-read-sub-decls-sig)
1982 (verilog-signals-edit-wire-reg, verilog-signals-with):
1983 Fix passing of Verilog data types in ANSI input/output ports
1984 such as "output logic" into the AUTOs. Special case "wire" and
1985 "reg" for backwards compatibility presuming Verilog 2001.
1986 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1987 (verilog-preprocess): Fix replication of preprocess output.
1988 Reported by Brad Dobbie.
1989 (verilog-auto-inst-interfaced-ports):
1990 Create verilog-auto-inst-interfaced-ports, bug429.
1991 Reported by Julian Gorfajn.
1992 (verilog-after-save-font-hook)
1993 (verilog-before-save-font-hook): New variable.
1994 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1995 (verilog-save-font-mods): Wrap disabling fontification, reported
1996 by David Rogoff.
1997 (verilog-do-indent, verilog-pretty-declarations-auto)
1998 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1999 Reported by Pierre-David Pfister.
2000 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2001 of class declarations, bug292. Reported by Kevin Heilman.
2002 (verilog-read-decls): Fix 'parameter type' not appearing in
2003 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2004 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2005 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2006 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2007 Reported by David Kravitz.
2008
20092012-05-03 Michael McNamara <mac@mail.brushroad.com>
2010
2011 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2012 assignment with tests in ifs and for loops.
2013 (verilog-extended-complete-re, verilog-complete-reg): Change so
2014 that DPI inport functions don't look like fuction declarations.
2015 (verilog-pretty-expr): Don't line up assignment
2016 operations to the test and increment in if and for loops
2017 (verilog-extended-complete-re, verilog-complete-reg): Change so
2018 that DPI inport functions don't look like fuction declarations
2019
2e51d4b5
KH
20202012-05-03 Kenichi Handa <handa@m17n.org>
2021
2022 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 2023 decoding, and show a warning message without signaling an error
2e51d4b5
KH
2024 (Bug#11282).
2025
2bd785a2
SM
20262012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2027
2028 * emacs-lisp/bytecomp.el
2029 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2030 since cconv.el might have introduced :fun-body, internal-make-closure,
2031 and friends for bytecomp to handle (bug#11391).
2032 * custom.el (defcustom): Avoid ((λ ..) ..).
2033
99d27583
SM
20342012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2035
2036 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2037
55a71479
JB
20382012-05-02 Juanma Barranquero <lekktu@gmail.com>
2039
2040 * notifications.el (dbus-debug):
2041 * term/linux.el (gpm-mouse-enable):
2042 * term/screen.el (xterm-register-default-colors): Declare.
2043
7b97c764
CY
20442012-05-02 Chong Yidong <cyd@gnu.org>
2045
2bc356d7
CY
2046 * cus-start.el (gc-cons-percentage, exec-suffixes)
2047 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2048 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2049 (make-cursor-line-fully-visible, void-text-area-pointer)
2050 (font-list-limit): Add customization data.
2051
7b97c764
CY
2052 * allout.el (allout-exposure-change-functions)
2053 (allout-structure-added-functions)
2054 (allout-structure-deleted-functions)
2055 (allout-structure-shifted-functions): Rename abnormal hooks from
2056 *-hook, and convert to defcustoms.
5d3385a0
JB
2057 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2058 Convert to defcustoms.
7b97c764
CY
2059 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2060
2061 * allout-widgets.el: Hook callers changed.
2062
90207a15 20632012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2064
2065 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2066 the yanked message in preference to the default value of
2067 buffer-file-coding-system.
2068
90207a15 20692012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 2070
5d3385a0
JB
2071 * window.el (display-buffer--action-function-custom-type):
2072 Fix entry.
d9558cad 2073
90207a15 20742012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
2075
2076 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2077
d80ac57b
GM
20782012-05-01 Glenn Morris <rgm@gnu.org>
2079
976f7668
GM
2080 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2081
beb83b5a
GM
2082 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2083
d80ac57b
GM
2084 * cus-edit.el (custom-variable-documentation): Simplify with format.
2085
b593d6a9
AH
20862012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2087 Stefan Monnier <monnier@iro.umontreal.ca>
2088
2089 * simple.el (suggest-key-bindings, execute-extended-command):
2090 Move from keyboard.c.
2091
782fbf2a
CY
20922012-05-01 Chong Yidong <cyd@gnu.org>
2093
2094 * follow.el: Eliminate advice.
2095 (set-process-filter, process-filter, sit-for): Advice deleted.
2096 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
2097 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2098 Vars deleted.
782fbf2a
CY
2099 (follow-auto): Use a :set function.
2100 (follow-mode): Rewritten. Don't advise process filters.
2101 (follow-switch-to-current-buffer-all, follow-scroll-up)
2102 (follow-scroll-down): Assume follow-mode is bound.
2103 (follow-comint-scroll-to-bottom)
2104 (follow-align-compilation-windows): New functions.
2105 (follow--window-sorter): New function.
2106 (follow-all-followers): Use it to explicitly sort windows by their
2107 positions; don't make assumptions about next-window order.
2108 (follow-windows-start-end, follow-delete-other-windows-and-split)
2109 (follow-calc-win-start): Doc fix.
2110 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2111 vertical-motion unnecessarily.
2112 (follow-adjust-window): New function.
2113 (follow-post-command-hook): Use it.
2114 (follow-call-set-process-filter, follow-call-process-filter)
2115 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2116 (follow-stop-intercept-process-output, follow-generic-filter):
2117 Functions deleted.
2118 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
2119 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2120 New functions, replacing advice on scroll-bar-* commands.
87233a14 2121 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
2122
2123 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
2124 (comint-postoutput-scroll-to-bottom): Use it.
2125 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 2126
290af740
GM
21272012-05-01 Glenn Morris <rgm@gnu.org>
2128
2129 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2130 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2131 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2132 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2133 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2134 Remove no-byte-compile setting.
2135
6eac8dc9
SM
21362012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2137
2138 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2139 all-completions code to not return a number in the last cdr.
2140
9cc7819c
LL
21412012-04-30 Leo Liu <sdl.web@gmail.com>
2142
2143 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2144 read-only error.
2145
c93b886f
CY
21462012-04-29 Chong Yidong <cyd@gnu.org>
2147
2148 * follow.el (follow-calc-win-end): Rewrite to handle partial
2149 screen lines correctly (Bug#8390).
2150 (follow-avoid-tail-recenter): Minor cleanup.
2151
8b6c19f4
SM
21522012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2153
2154 Avoid the obsolete `assoc' package.
2155 * speedbar.el (speedbar-refresh): Avoid adelete.
2156 (speedbar-file-lists): Simplify and avoid aput.
2157 * man.el (Man--sections, Man--refpages): New vars, replacing
2158 Man-sections-alist and Man-refpages-alist.
2159 (Man-build-section-alist, Man-build-references-alist):
2160 Use them; avoid aput.
2161 (Man--last-section, Man--last-refpage): New vars.
2162 (Man-follow-manual-reference): Use them.
2163 Use the `default' arg of completing-read.
2164 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2165
c5bb7569
CY
21662012-04-27 Chong Yidong <cyd@gnu.org>
2167
d1d2e2e8
CY
2168 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2169
15cd8efd
CY
2170 * startup.el (x-apply-session-resources): New function.
2171
2172 * term/ns-win.el (ns-initialize-window-system):
2173 * term/w32-win.el (w32-initialize-window-system):
2174 * term/x-win.el (x-initialize-window-system): Use it to properly
2175 set menu-bar-mode and other vars from X resources, even if the
2176 initial frame is not a window-system frame (Bug#2299).
2177
c5bb7569
CY
2178 * subr.el (read-key): Avoid running filter function when setting
2179 up temporary tool bar entries (Bug#9922).
2180
a8e7d6d7 21812012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
2182
2183 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2184 (Bug#11344)
2185
a8e7d6d7 21862012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
2187
2188 * select.el (xselect--encode-string): New function, split from
2189 xselect-convert-to-string.
2190 (xselect-convert-to-string): Use it.
2191 (xselect-convert-to-filename, xselect-convert-to-os)
2192 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2193 returned strings are properly encoded (Bug#11315).
2194
a8e7d6d7 21952012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
2196
2197 * simple.el (delete-active-region): Move to killing custom group.
2198
a8e7d6d7 21992012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
2200
2201 * progmodes/which-func.el (which-func-current): Quote %
2202 characters for mode-line processing.
2203
578c1d4b 22042012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
2205
2206 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2207 reaching eob (Bug#11286).
2208
a8e7d6d7 22092012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
2210
2211 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2212 (gdb): Make it buffer-local and init to zero.
2213 (gdb-control-commands-regexp): New variable.
2214 (gdb-send): Don't wrap in "-interpreter-exec console" if
2215 gdb-control-level is positive. Increment gdb-control-level
2216 whenever the command matches gdb-control-commands-regexp, and
2217 decrement it each time the command is "end". (Bug#11279)
2218
a8e7d6d7 22192012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
2220
2221 * window.el (adjust-window-trailing-edge, enlarge-window)
2222 (shrink-window, window-resize):
2223 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2224 windows (Bug#11276).
2225
b3608390
CY
22262012-04-27 Chong Yidong <cyd@gnu.org>
2227
2228 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 2229 fix "missing prefix" warning. All callers changed.
b3608390 2230
797e6e88
SM
22312012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2232
2233 * emacs-lisp/assoc.el: Move to obsolete/.
2234
e95a67dc
SM
22352012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2236
657c21e4 2237 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
2238
2239 * term/ns-win.el (ns-define-service):
2240 * progmodes/pascal.el (pascal-goto-defun):
2241 * progmodes/js.el (js--read-tab):
2242 * progmodes/etags.el (tags-lazy-completion-table):
2243 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2244 * emacs-lisp/ewoc.el (ewoc--wrap):
2245 * emacs-lisp/assoc.el (aput, adelete, amake):
2246 * doc-view.el (doc-view-convert-current-doc):
2247 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2248
cb3e7ae0
CY
22492012-04-26 Chong Yidong <cyd@gnu.org>
2250
dce04f7f
CY
2251 * image.el (image-type-from-buffer): Only return supported image
2252 type (Bug#9045).
2253
cb3e7ae0
CY
2254 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2255 value, for symmetry with diff-end-of-hunk.
2256 (diff-split-hunk, diff-find-source-location)
2257 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2258 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2259 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2260 compute the relevant hunk or file properly (Bug#6005).
2261 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2262
0d42eb3e
SM
22632012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2264
2265 * vc/vc-mtn.el:
2266 * vc/vc-hg.el:
2267 * vc/vc-git.el:
2268 * vc/vc-dir.el:
2269 * vc/vc-cvs.el:
2270 * vc/vc-bzr.el:
2271 * vc/vc-arch.el:
2272 * vc/vc.el: Replace lexical-let by lexical-binding.
2273 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2274 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2275 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2276
f08ae1c9
CY
22772012-04-26 Chong Yidong <cyd@gnu.org>
2278
8b71081d
CY
2279 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2280 (diff-mode-shared-map): Bind it to / and [remap undo].
2281
f08ae1c9
CY
2282 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2283 (ediff-window-setup-function): Use it as the default, to set up
2284 windows based on whether the current frame is graphical (Bug#2138).
2285 (ediff-choose-window-setup-function-automatically): Make obsolete.
2286
2287 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2288
ef24141c
SM
22892012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2290
cc356a5d
SM
2291 * ffap.el: Remove old code for obsolete package.
2292 (ffap-complete-as-file-p): Remove.
2293
b4ff4f1f
SM
2294 Use completion-table-with-quoting for comint and pcomplete.
2295 * comint.el (comint--unquote&requote-argument)
2296 (comint--unquote-argument, comint--requote-argument): New functions.
2297 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2298 (comint-quote-filename): Use regexp-opt-charset.
2299 (comint--common-suffix, comint--common-quoted-suffix)
2300 (comint--table-subvert): Remove.
2301 (comint-unquote-function, comint-requote-function): New vars.
2302 (comint--complete-file-name-data): Use them with
2303 completion-table-with-quoting.
2304 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2305 * pcomplete.el (pcomplete-arg-quote-list)
2306 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2307 (pcomplete-unquote-argument-function): Default to non-nil.
2308 (pcomplete-unquote-argument): Simplify.
2309 (pcomplete--common-quoted-suffix): Remove.
2310 (pcomplete-requote-argument-function): New var.
2311 (pcomplete--common-suffix): New function.
2312 (pcomplete-completions-at-point): Use completion-table-with-quoting
2313 and completion-table-subvert.
2314
79c4eeb4
SM
2315 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2316 (minibuffer--double-dollars): Preserve properties.
2317 (completion--sifn-requote): New function.
2318 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2319
ef24141c
SM
2320 * minibuffer.el: Add support for completion of quoted/escaped data.
2321 (completion-table-with-quoting, completion-table-subvert): New funs.
2322 (completion--twq-try, completion--twq-all): New functions.
2323 (completion--nth-completion): New function.
2324 (completion-try-completion, completion-all-completions): Use it.
2325
784e7d6e
LL
23262012-04-25 Leo Liu <sdl.web@gmail.com>
2327
dd2ac746
SM
2328 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2329 Use compilation-message if available to find real filename.
784e7d6e 2330
07875ee7
CY
23312012-04-25 Chong Yidong <cyd@gnu.org>
2332
2333 * vc/diff-mode.el (diff-setup-whitespace): New function.
2334 (diff-mode): Use it.
2335
2336 * vc/diff.el (diff-sentinel):
2337 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2338 Whitespace mode variables based on diff style (Bug#8612).
2339
5055880d
LL
23402012-04-25 Leo Liu <sdl.web@gmail.com>
2341
daf75653
LL
2342 * progmodes/python.el (python-send-region): Add suffix .py to the
2343 temp file.
2344
5055880d
LL
2345 * files.el (auto-mode-alist): Use javascript-mode instead.
2346
db9b177b
AH
23472012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2348
ef24141c 2349 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2350
2351 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2352 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2353 references, see Bug#9.
ef24141c 2354 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2355 when receiving a fault reply.
ef24141c 2356 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2357
2358 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2359 (soap-inspect-simple-type): New function.
db9b177b 2360
ef24141c 2361 * soap-client.el (soap-simple-type): New struct.
db9b177b 2362 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2363 (soap-decode-basic-type, soap-encode-basic-type):
2364 support unsignedInt and double basic types.
db9b177b 2365 (soap-resolve-references-for-simple-type)
ef24141c
SM
2366 (soap-parse-simple-type, soap-encode-simple-type): New function.
2367 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2368
2369 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2370 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2371 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2372 the local name of "soapenc:Array".
2373 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2374 decoding integer, byte and anyURI xsd types.
2375
1fc6097b
CY
23762012-04-25 Chong Yidong <cyd@gnu.org>
2377
2378 * cus-edit.el (custom-buffer-create-internal): Update header text.
2379
afc6df87
EZ
23802012-04-25 Eli Zaretskii <eliz@gnu.org>
2381
2382 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2383 settings on 'system-type', not on 'window-system'. On MS-Windows,
2384 set interactive-mode on in GDB.
2385
dfbd787f
SM
23862012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2387
2388 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2389 (ruby-syntax-propertize-regexp): Remove.
2390 (ruby-syntax-propertize-function): Split regexp into chunks.
2391 Match following code directly.
2392
85222d44
DG
23932012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2394
51a8ea2a
DG
2395 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2396 (ruby-syntax-propertize-regexp): New function.
2397 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2398 by a special keyword.
2399
85222d44
DG
2400 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2401 (ruby-syntax-general-delimiters-goto-beg)
2402 (ruby-syntax-propertize-general-delimiters): New functions.
2403 (ruby-syntax-propertize-function): Use them to handle GDL.
2404 (ruby-font-lock-keywords): Move old handling of GDL...
2405 (ruby-font-lock-syntactic-keywords): .. to here.
2406 (ruby-calculate-indent): Adjust indentation for GDL.
2407
b613912b
MA
24082012-04-24 Michael Albinus <michael.albinus@gmx.de>
2409
b5380639
MA
2410 * notifications.el (top): Remove unneeded declarations.
2411 (notifications-specification-version): Change to "1.2".
e43042fe 2412 (notifications-interface, notifications-notify-method)
b613912b
MA
2413 (notifications-close-notification-method): Fix docstring.
2414 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2415 (notifications-notify): Add :action-items, :resident and
2416 :transient hints. Change "image_data" to "image-data" and
2417 "image_path" to "image-path".
b613912b
MA
2418 (notifications-get-capabilities): New defun.
2419
257440aa
LL
24202012-04-24 Leo Liu <sdl.web@gmail.com>
2421
2422 * progmodes/python.el: Move hideshow setup to the end.
2423
b1bac16e
MR
24242012-04-24 Martin Rudalics <rudalics@gmx.at>
2425
2426 * window.el (handle-select-window): Clear echo area since this is
2427 no more done by read_char (Bug#11304).
2428
d81bd059
SM
24292012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2430
2431 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2432 and `/ M' to filter-derived-mode.
2433 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2434 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2435 (ibuffer-mark-by-mode): Use default rather than initial-input.
2436 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2437
c4cf6d91
IA
24382012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2439
2440 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2441 (ibuffer-filter-by-derived-mode): New filter.
2442 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2443
7511ded8
CY
24442012-04-23 Andreas Politz <politza@fh-trier.de>
2445
2446 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2447
775c916b
CY
24482012-04-23 Chong Yidong <cyd@gnu.org>
2449
2450 * cus-edit.el (customize-apropos, customize-apropos-options):
2451 Disable matching of non-option variables (Bug#11176).
2452 (customize-option, customize-option-other-window)
2453 (customize-changed-options): Doc fix.
2454 (customize-apropos-options, customize-apropos-faces)
2455 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2456
2457 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2458 Fix word list splitting (Bug#11132).
46c71e23
CY
2459 (apropos-symbol, apropos-keybinding, apropos-label)
2460 (apropos-property, apropos-function-button)
2461 (apropos-variable-button, apropos-misc-button): New faces.
2462 (apropos-symbol-face, apropos-keybinding-face)
2463 (apropos-label-face, apropos-property-face, apropos-match-face):
2464 Variables removed (Bug#8396).
2465 (apropos-library-button, apropos-format-plist, apropos-print)
2466 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2467
2df41f9c
MA
24682012-04-23 Michael Albinus <michael.albinus@gmx.de>
2469
2470 * net/xesam.el (xesam-mode-map): Use let-bound map in
2471 initialization. (Bug#11292)
2472
da00640a
AM
24732012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2474
2475 Preserve ispell session localwords when switching back to
2476 original buffer.
2477
2478 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2479 variable to hold buffer session localwords.
2480 (ispell-kill-ispell): add option 'clear to delete session
2481 localwords.
2482 (ispell-command-loop, ispell-change-dictionary)
2483 (ispell-buffer-local-words): Preserve session localwords when
2484 needed.
2485
2486 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2487 Preserve session localwords when needed.
2488
f621ccf5
AM
24892012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2490
2491 * ispell.el (ispell-insert-word) Remove unneeded function using
2492 obsolete `translation-table-for-input'.
ef24141c
SM
2493 (ispell-word, ispell-process-line, ispell-complete-word):
2494 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2495
c2d1019e
CY
24962012-04-22 Chong Yidong <cyd@gnu.org>
2497
2498 * cus-edit.el (custom-variable-menu)
2499 (custom-variable-reset-saved, custom-face-menu)
2500 (custom-face-reset-saved): If there is no saved value, make the
2501 "reset-saved" operation bring back the default (Bug#9509).
2502 (custom-face-state): Properly detect themed faces.
2503
eeddc531
CY
2504 * faces.el (face-spec-set): Stop supporting deprecated form of
2505 third arg.
2506
dcbf5805
MA
25072012-04-22 Michael Albinus <michael.albinus@gmx.de>
2508
2509 Move functions from C to Lisp. Make non-blocking method calls
2510 the default. Implement further D-Bus standard interfaces.
2511
ef24141c
SM
2512 * net/dbus.el (dbus-message-internal): Declare function.
2513 Remove unneeded function declarations.
dcbf5805
MA
2514 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2515 (dbus-message-type-method-return, dbus-message-type-error)
2516 (dbus-message-type-signal): Declare variables. Remove local
2517 definitions.
2518 (dbus-interface-dbus, dbus-interface-peer)
2519 (dbus-interface-introspectable, dbus-interface-properties)
2520 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2521 Adapt docstring.
2522 (dbus-interface-objectmanager): New defconst.
2523 (dbus-call-method, dbus-call-method-asynchronously)
2524 (dbus-send-signal, dbus-method-return-internal)
2525 (dbus-method-error-internal, dbus-register-service)
2526 (dbus-register-signal, dbus-register-method): New defuns, moved
2527 from dbusbind.c
2528 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2529 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2530 New defuns.
dcbf5805
MA
2531 (dbus-call-method-non-blocking): Make it an obsolete function.
2532 (dbus-unregister-object, dbus-unregister-service)
2533 (dbus-handle-event, dbus-register-property)
2534 (dbus-property-handler): Obey the new structure of
2535 `bus-registered-objects'.
2536 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2537 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2538 Use `dbus-call-method'.
2539
cf20dee0
CY
25402012-04-22 Chong Yidong <cyd@gnu.org>
2541
2542 * cus-edit.el (custom-commands, custom-reset-menu)
2543 (Custom-reset-standard): Tweak labels.
2544 (custom-reset-button-menu): Change default to t.
2545 (custom-buffer-create-internal): For the custom-reset-button-menu
2546 case, put the revert button first.
2547 (custom-group-subtitle): New face.
2548 (custom-group-value-create): Align docstring to a specific column.
2549
2550 * wid-edit.el (widget-documentation-link-add): Don't handle
2551 indentation in this function.
2552 (widget-documentation-string-indent-to): New function.
2553 (widget-documentation-string-value-create): Use it.
2554
2555 * autorevert.el (auto-revert):
2556 * epg-config.el (epg):
2557 * ibuffer.el (ibuffer):
2558 * mpc.el (mpc):
2559 * ses.el (ses):
2560 * eshell/eshell.el (eshell):
2561 * net/ange-ftp.el (ange-ftp):
2562 * progmodes/ebnf2ps.el (postscript):
2563 * progmodes/flymake.el (flymake):
2564 * progmodes/prolog.el (prolog):
2565 * progmodes/verilog-mode.el (verilog-mode):
2566 * progmodes/which-func.el (which-func):
2567 * term/xterm.el (xterm):
2568 * textmodes/picture.el (picture):
2569 * textmodes/tildify.el (tildify):
2570 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2571 customization buffers.
2572
583e23bd
AM
25732012-04-22 Alan Mackenzie <acm@muc.de>
2574
2575 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2576 Adding a ) can hide the resulting (..) from searches. Fix it.
2577 Bound the backward search to the position of the existing (.
2578
7dd51bf1
JB
25792012-04-21 Juanma Barranquero <lekktu@gmail.com>
2580
2581 * progmodes/verilog-mode.el (verilog-mode): Check whether
2582 which-func-modes is t before adding verilog-mode.
2583 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2584
d64a438f
LL
25852012-04-21 Leo Liu <sdl.web@gmail.com>
2586
7dd51bf1 2587 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2588
081e8d65
MV
25892012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2590
2591 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2592 filling of the last column of a table (Bug#5635).
2593 (woman-find-next-control-line): New arg, specifying an additional
2594 regexp component for the control line.
2595 (woman2-roff-buffer): Use it.
2596 (woman-break-table): New function.
2597 (woman2-TS): Use it.
2598
25992012-04-21 Chong Yidong <cyd@gnu.org>
2600
2601 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2602 (woman-horizontal-escapes, woman-negative-vertical-space)
2603 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2604 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2605
ed571ccb
SM
26062012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2607
2608 * minibuffer.el (completion-file-name-table): Complete user names.
2609
39773899
LL
26102012-04-20 Leo Liu <sdl.web@gmail.com>
2611
2612 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2613 and pcase-let*.
2614
de6ff46d
CY
26152012-04-20 Chong Yidong <cyd@gnu.org>
2616
2617 * server.el (server-execute): Respect initial-buffer-choice if it
2618 is a string and there are no files to open (Bug#2825).
2619 (server-create-window-system-frame, server-create-tty-frame):
2620 Don't switch buffers here.
2d0e8e61
CY
2621 (server-process-filter): Only try to open a window system frame if
2622 compiled with graphical support (Bug#8314).
de6ff46d 2623
54071013
DN
26242012-04-20 Dan Nicolaescu <dann@gnu.org>
2625
2626 * battery.el (battery-echo-area-format): Display remaining time
2627 for sysfs backend too (Bug#11269).
2628 (battery-linux-sysfs): Fix conditional for the charge.
2629
f30d612a
CY
26302012-04-20 Chong Yidong <cyd@gnu.org>
2631
c07a4c0b 2632 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2633 (gdb-inferior-io--init-proc): New function.
2634 (gdb-init-1): Use it.
2635 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2636 responsible for allocating a new pty and hooking it to gdb when
2637 the old pty gets an EIO due to process exit.
2638 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2639 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2640 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2641
2116e93c
EZ
26422012-04-20 Eli Zaretskii <eliz@gnu.org>
2643
2644 * window.el (window-min-size, window-sizable, window-min-delta)
2645 (window-max-delta, window--resizable, window-resizable)
2646 (window-total-size, window-full-height-p, window-full-width-p)
2647 (window-in-direction, window--resize-mini-window, window-resize)
2648 (window--resize-child-windows-normal)
2649 (window--resize-child-windows, window--resize-siblings)
2650 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2651 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2652
c07a4c0b 26532012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2654
ef24141c
SM
2655 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2656 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2657 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2658 pty process (Bug#11273).
2659 (gdb-update): New arg to suppress talking to the gdb process.
2660 (gdb-done-or-error): Use it.
2661 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2662 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2663 sentinel not being called.
2664
2665 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2666
d02766ab
CY
2667 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2668
c07a4c0b 26692012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2670
2671 * net/network-stream.el (open-network-stream): Doc fix.
2672
c07a4c0b 26732012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2674
2675 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2676
c07a4c0b 26772012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2678
2679 Ensure searching for keywords is case sensitive.
2680
2681 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2682 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2683 (c-defun-name, c-mark-function, c-cpp-define-name)
2684 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2685 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2686
ef24141c
SM
2687 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2688 Bind case-fold-search to nil.
f0f6bc35 2689
c07a4c0b 26902012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2691
2692 * mail/sendmail.el (mail-bury): Call return action with the right
2693 Rmail buffer (Bug#11242).
2694
9a864fa2
CY
2695 * server.el (server-process-filter): Handle corner case where both
2696 tty and nowait options are present (Bug#11102).
2697
539aa513
EZ
26982012-04-20 Eli Zaretskii <eliz@gnu.org>
2699
2700 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2701 (top level): Put into the executable the ident-style '$Id:' tag on
2702 windows-nt as well.
539aa513 2703
cfc7d5da
SM
27042012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2705
2706 * electric.el (electric-indent-post-self-insert-function): Check that
2707 electric-indent-mode is enabled in current buffer.
2708
5b01685c
JB
27092012-04-19 Juanma Barranquero <lekktu@gmail.com>
2710
2711 * imenu.el (imenu-progress-message): Restore; it is "used" in
2712 erc/erc-imenu.el and net/snmp-mode.el.
2713
4d6769e1
JB
27142012-04-19 Juanma Barranquero <lekktu@gmail.com>
2715
2716 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2717 (mouse-avoidance-nudge-mouse): Remove unused binding.
2718
2719 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2720
2721 * descr-text.el (describe-char):
2722 * progmodes/python.el (python-describe-symbol):
2723 Don't call `toggle-read-only', set `buffer-read-only'.
2724
2725 * imenu.el (imenu-default-goto-function): Mark unused args.
2726 (imenu-progress-message): Remove obsolete macro; all callers changed.
2727
2728 * subr.el (keymap-canonicalize): Remove unused binding.
2729 (read-passwd): Mark unused arg.
2730
2731 * tutorial.el (tutorial--display-changes): Remove unused binding.
2732 (tutorial--save-tutorial-to): Remove unused variable.
2733
2734 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2735 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2736 (package-generate-autoloads, package-menu--generate)
2737 (package-menu--find-upgrades): Remove unused bindings.
2738
2739 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2740 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2741 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2742 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2743 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2744 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2745 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2746 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2747 (cua-delete-char-rectangle): Mark unused args.
2748 (cua-align-rectangle): Remove unused binding.
2749
2750 * mail/rmail.el (compilation--message->loc)
2751 (epa--find-coding-system-for-mime-charset): Declare.
2752
2753 * net/dbus.el (dbus-register-service): Declare.
2754 (dbus-name-owner-changed-handler): Remove unused binding.
2755
2756 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2757 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2758 (nxml-scan-backward-within): Mark unused arg.
2759 (nxml-dynamic-markup-word): Remove unused binding.
2760
2761 * mouse.el (mouse-menu-major-mode-map):
2762 * emacs-lisp/authors.el (authors-scan-change-log)
2763 (authors-add-to-author-list):
2764 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2765 * emacs-lisp/smie.el (smie-auto-fill):
2766 * mail/sendmail.el (mail-bury):
2767 * mail/unrmail.el (unrmail):
2768 * net/tls.el (open-tls-stream):
2769 * textmodes/picture.el (picture-mouse-set-point):
2770 Remove unused bindings.
2771
8c8fc5df
MA
27722012-04-19 Michael Albinus <michael.albinus@gmx.de>
2773
2774 * net/tramp.el (tramp-action-password): Let-bind
2775 `enable-recursive-minibuffers' to t.
2776
a77b0ac9
SS
27772012-04-18 Sam Steingold <sds@gnu.org>
2778
2779 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2780 instead of 'string to accommodate values like [f11].
2781 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2782 * progmodes/gdb-mi.el: Likewise.
2783
12a106a9
LL
27842012-04-18 Leo Liu <sdl.web@gmail.com>
2785
2786 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2787 current buffer.
2788 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2789 LOCAL is nil.
2790
bc6494ef
CY
27912012-04-18 Chong Yidong <cyd@gnu.org>
2792
2793 * simple.el (line-move): Use forward-line if in batch mode
2794 (Bug#11053).
2795
c09c46b2
CS
27962012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2797
2798 * files.el (after-find-file): Do not try to add a final newline if
2799 the buffer is read-only (Bug#11156).
2800
5f6530ea
RS
28012012-04-17 Richard Stallman <rms@gnu.org>
2802
2803 * mail/rmail.el (rmail-start-mail):
2804 Pass (rmail-mail-return...) for the return-action.
2805 Pass (rmail-yank-current-message...) for the yank-action.
2806 (rmail-yank-current-message): New function.
2807 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2808 (rmail-reply): Likewise.
2809 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2810
2811 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2812 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2813 buffer, not newbuf.
2814
197b6f3c
JB
28152012-04-17 Juanma Barranquero <lekktu@gmail.com>
2816
2817 * server.el (server-ensure-safe-dir): Simplify.
2818
2311d8e5 28192012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2820
2311d8e5
GM
2821 * emacs-lisp/smie.el: Provide smarter auto-filling.
2822 (smie-auto-fill): New function.
2823 (smie-setup): Use it.
98fb480e 2824
2311d8e5
GM
2825 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2826
28272012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2828
2829 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2830 (comment-indent): Use it.
2831
2311d8e5 28322012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2833
2834 * ses.el: The overall change is to add cell renaming, that is
2835 setting fancy names for cell symbols other than name matching
2836 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2837 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2838 (ses-create-cell-variable): New defun.
2311d8e5 2839 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2840 (ses-relocate-formula): Relocate formulas only for cells the
2841 symbols of which are not renamed, i.e. symbols whose names do not
2842 match regexp "\\`[A-Z]+[0-9]+\\'".
2843 (ses-relocate-all): Relocate values only for cells the symbols of
2844 which are not renamed.
2845 (ses-load): Create cells variables as the (ses-cell ...) are read,
2846 in order to check row col consistency with cell symbol name only
2847 for cells that are not renamed.
2848 (ses-replace-name-in-formula): New defun.
2849 (ses-rename-cell): New defun.
4bdf2ad2 2850
fc72b15c
PO
28512012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2852
2853 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2854 New option (bug#11118).
2855 (perl-calculate-indent): Respect it.
2856
12e10e61
GM
28572012-04-17 Glenn Morris <rgm@gnu.org>
2858
2859 * dired-aux.el (dired-mark-read-string): Doc fix.
2860
30009afd
DA
28612012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2862
2863 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2864 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2865
41f03f4d
GM
28662012-04-17 Glenn Morris <rgm@gnu.org>
2867
2868 * mouse.el (mouse-drag-track):
2869 * speedbar.el (speedbar-frame-mode):
2870 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2871
f45f90f3
LL
28722012-04-16 Leo Liu <sdl.web@gmail.com>
2873
2874 * progmodes/python.el: Trivial cleanup.
2875
94ee8db5
GM
28762012-04-16 Glenn Morris <rgm@gnu.org>
2877
121b8917
GM
2878 * vc/vc.el (vc-string-prefix-p):
2879 * vc/pcvs-util.el (cvs-string-prefix-p):
2880 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2881 * mpc.el (mpc-string-prefix-p):
2882 Make all of these into obsolete aliases for string-prefix-p.
2883 Update callers.
2884 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2885
1197ecfa
GM
2886 * textmodes/two-column.el: Move custom options to the start.
2887 (frame-width): Remove compat definition.
2888 (2C-associate-buffer, 2C-dissociate):
2889 Use with-current-buffer rather than save-excursion.
2890 (2C-dissociate): Force a mode-line update.
2891 (2C-autoscroll): Use ignore-errors.
2892
099e7202
GM
2893 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2894 Autoload trivia.
2895
bf350d6a
GM
2896 * emacs-lisp/cl-extra.el (*random-state*):
2897 Remove unnecessary declaration.
2898
0e829eab
GM
2899 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2900
e3ad7552
GM
2901 * play/cookie1.el (cookie-snarf):
2902 Give an explicit error if input file cannot be read.
2903
68892d27
GM
2904 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2905
20f0c46d
GM
2906 * progmodes/perl-mode.el (c-macro-expand):
2907 Remove unnecessary autoload (it is in loaddefs.el).
2908
5a0978ce
GM
2909 * textmodes/picture.el (picture-desired-column)
2910 (picture-update-desired-column): Convert comments to doc-strings.
2911 (picture-substitute): Remove function.
2912 (picture-mode-map): Initialize in the defvar.
2913
6b955486
GM
2914 * woman.el: Remove eval-after-load for tar-mode.
2915 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2916 (woman-tar-extract-file): Autoload it.
2917
94ee8db5
GM
2918 * frame.el (automatic-hscrolling): Make this alias obsolete.
2919
177eca34
AM
29202012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2921
2922 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2923 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2924 (ispell-dictionary-base-alist): Revert to original XEmacs
2925 friendly version for default. [:alpha:] will be added in
2926 `ispell-set-spellchecker-params' if needed
177eca34 2927
c505aaeb
CY
29282012-04-16 Chong Yidong <cyd@gnu.org>
2929
2930 * image.el (imagemagick--extension-regexp): New variable.
2931 (imagemagick-register-types): Use it.
2932 (imagemagick-types-inhibit): Add :set function. Allow new value
2933 of t to inhibit all types.
2934
2935 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2936 so we can preload it.
2937
2938 * loadup.el (fboundp): Preload regexp-opt, needed by
2939 imagemagick-register-types.
2940
60efac0f
CY
29412012-04-15 Chong Yidong <cyd@gnu.org>
2942
2943 * frame.el (scrolling): Remove nearly unused customization group.
2944
2945 * scroll-all.el (scroll-all-mode): Move to windows group.
2946
5dd1713e
CY
29472012-04-15 Chong Yidong <cyd@gnu.org>
2948
2949 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2950
e6fd457e
CY
29512012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2952
2953 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2954 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2955
e153c136
GM
29562012-04-15 Glenn Morris <rgm@gnu.org>
2957
2958 * simple.el (process-file-side-effects): Doc fix.
2959
e6fd457e 29602012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2961
2962 * international/mule-cmds.el (set-language-environment): Doc fix.
2963
3603c3b1
JB
29642012-04-14 Juanma Barranquero <lekktu@gmail.com>
2965
2966 * server.el (server-auth-key, server-generate-key): Doc fixes.
2967 (server-get-auth-key): Doc fix. Use `string-match-p'.
2968 (server-start): Reflow docstring.
2969
e6de100c
LI
29702012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2971
2972 * server.el (server-generate-key): `called-interactively-p'
2973 requires a parameter.
2974
29734c21
MN
29752012-04-14 Michal Nazarewicz <mina86@mina86.com>
2976
2977 * server.el (server-auth-key): New variable.
75f1671a 2978 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2979 (server-start): Use the new variable and functions to allow
2980 setting a permanent server key (bug#9423).
2981
d65c9521
LL
29822012-04-14 Leo Liu <sdl.web@gmail.com>
2983
2984 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2985
5ae255c7
PE
29862012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2987
2988 Spelling fixes.
2989 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2990 Emacs uses American spelling.
2991
d5e6342e
JB
29922012-04-14 Juanma Barranquero <lekktu@gmail.com>
2993
2994 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2995 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2996 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2997 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2998
ab036cd7
SM
29992012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3000
3001 * progmodes/which-func.el (which-func-modes): Change default.
3002
35dc09a1 30032012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
3004
3005 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3006 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3007
35dc09a1 30082012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
3009
3010 * custom.el (custom-theme-set-variables): Doc fix.
3011
35dc09a1 30122012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
3013
3014 * international/mule.el (set-auto-coding-for-load): Doc fix.
3015
35dc09a1 30162012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 3017
35dc09a1
GM
3018 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3019 imenu work again for Objective C Mode. Correct the *-index values,
3020 these having been disturbed by a previous change in 2011-08.
57f845ee 3021
0de3da9f
AM
3022 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3023 Correct two search limits.
3024
35dc09a1 30252012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
3026
3027 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3028
35dc09a1 30292012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
3030
3031 * international/characters.el: Fix sorting.
3032
35dc09a1 30332012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
3034
3035 * international/characters.el: Add more missing Latin case pairs.
3036
35dc09a1 30372012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
3038
3039 * files.el (dir-locals-set-class-variables): Doc fix.
3040
35dc09a1 30412012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 3042
3f1b5bf8
EZ
3043 * international/characters.el: Add set-case-syntax-pair call for
3044 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3045 counterpart. (Bug#11209)
3046
9f847f41
EZ
3047 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3048
35dc09a1 30492012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
3050
3051 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3052
35dc09a1 30532012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 3054
35dc09a1
GM
3055 * textmodes/ispell.el (ispell-dictionary-base-alist):
3056 Add data for Hebrew.
e2627d21 3057
35dc09a1 30582012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 3059
35dc09a1
GM
3060 * net/rcirc.el (rcirc-cmd-quit):
3061 Revert 2012-03-18 change (Bug#11192).
5c14e333 3062
35dc09a1 30632012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
3064
3065 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3066
35dc09a1 30672012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 3068
4517fe3a
SM
3069 * minibuffer.el (completion-in-region-mode-map):
3070 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 3071
b472a594
VD
30722012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3073
3074 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3075
09b95ce3
MY
30762012-04-13 Masatake YAMATO <yamato@redhat.com>
3077
3078 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3079 to allow `C-M-f' and `C-M-b' to move to the nearest path
3080 separator (bug#9511).
3081
4b63a9ca
LI
30822012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3083
3084 * avoid.el: Require cl when compiling. And also move the
3085 `provide' to the end.
3086
7b55b8bf
TV
30872012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3088
3089 * avoid.el (mouse-avoidance-banish-position): New variable.
3090 (mouse-avoidance-banish-destination): Use it (bug#10165).
3091
adedaa1f
LL
30922012-04-13 Leo Liu <sdl.web@gmail.com>
3093
3094 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3095
70e74021
KB
30962012-04-13 Ken Brown <kbrown@cornell.edu>
3097
3098 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 3099 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
3100 (browse-url-filename-alist): For the same reason, don't modify
3101 file:// URLs on Cygwin.
3102
e75e89ba
SM
31032012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3104
3105 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3106 the region on shift if the binding is already shifted (bug#11221).
3107
82f289a4
GM
31082012-04-12 Glenn Morris <rgm@gnu.org>
3109
3110 * mail/mailpost.el: Move to obsolete/.
3111
d333dc4c
DA
31122012-04-12 Drew Adams <drew.adams@oracle.com>
3113
3114 * imenu.el (imenu--generic-function): Ignore invisible definitions
3115 (bug#10123).
3116
0d15b5ba
VD
31172012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3118
3119 * hexl.el (hexl-bits): New variable.
3120 (hexl-options): Mention the variable in the doc string.
75f1671a 3121 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 3122 (hexl-mode): Mention the new variable.
75f1671a
JB
3123 (hexl-mode, hexl-current-address, hexl-current-address):
3124 Use the displen.
0d15b5ba
VD
3125 (hexl-ascii-start-column): New function.
3126 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3127 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3128
64a440db
AM
31292012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3130
3131 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3132 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3133 the encoding, as expected by hunspell.
3134
6decb6c2
SM
31352012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3136
3137 * battery.el (battery--linux-sysfs-regexp): New const.
3138 (battery-status-function): Use it. Remove yeeloong special case.
3139 (battery-yeeloong-sysfs): Remove.
3140 (battery-echo-area-format): Remove yeeloong special case.
3141
088be6fb
SM
31422012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3143
6622e416
SM
3144 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3145 Reported by Noah Friedman.
3146
088be6fb
SM
3147 * subr.el (read-passwd): Use read-string.
3148
b49f886e
LMI
31492012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3150
3151 * vcursor.el (vcursor-move): Increase the priority of the overlay
3152 (bug#9663).
3153
a63067fc
DD
31542012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3155
3156 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3157 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3158
ac3cf14a
WS
31592012-04-11 William Stevenson <yhvh2000@gmail.com>
3160
3161 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3162 define-minor-mode (bug#10760).
3163
c4fc691b 31642012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 3165
4d6769e1 3166 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
3167 that directories matching `grep-find-ignored-files' won't be
3168 pruned (bug#10351).
3169
af23e2e5
CY
31702012-04-11 Chong Yidong <cyd@gnu.org>
3171
3172 * startup.el (command-line): Remove support for long-obsolete
3173 variable font-lock-face-attributes.
3174
ab7ce8c1
GM
31752012-04-11 Glenn Morris <rgm@gnu.org>
3176
3177 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3178
de8c03dc
SM
31792012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3180
3181 * window.el (window--state-get-1): Obey window-point-insertion-type.
3182
050cc68b
LB
31832012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3184
3185 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3186 to previous function when point is on the first character of a
75f1671a 3187 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 3188
a38c310c
GM
31892012-04-11 Glenn Morris <rgm@gnu.org>
3190
effed0c2
GM
3191 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3192 not just file-errors.
3193
a38c310c
GM
3194 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3195 (vc-bzr-sha1): Use internal sha1.
3196
0221e323
SM
31972012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3198
3199 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3200
43956923
SG
32012012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3202
3203 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3204 that start in the middle of the line (bug#10496).
3205
6a8c9eaf
DN
32062012-04-10 Dan Nicolaescu <dann@gnu.org>
3207
3208 * battery.el (battery-linux-proc-acpi): Only one battery is
3209 discharged at a time, but that seems to confuse battery.el when
3210 computing `rate-type' for the battery not being discharged
3211 (bug#10332).
3212
1930bf5d
SM
32132012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3214
2a718f6f
SM
3215 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3216
599430d0
SM
3217 * international/quail.el: Use dolist and simplify.
3218 (quail-define-package, quail-update-keyboard-layout)
3219 (quail-define-rules): Use dolist.
3220 (quail-insert-kbd-layout, quail-get-translation): CSE.
3221
a2754b6c
SM
3222 * tmm.el: Use dolist, remove left over hook.
3223 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3224 Use dolist.
3225 (calendar-load-hook): Don't mess with it.
3226
1930bf5d
SM
3227 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3228 Use derived-mode-p. Run the diff asynchronously.
3229
9f67961c
LMI
32302012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3231
3232 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3233
2a8ce227
JB
32342012-04-10 Juanma Barranquero <lekktu@gmail.com>
3235
3236 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3237 (list-dynamic-libraries--loaded): New function.
3238 (list-dynamic-libraries--refresh): Use it.
3239
8f33b5f8
NW
32402012-04-10 Nathan Weizenbaum <nweiz@google.com>
3241
1930bf5d
SM
3242 * progmodes/python.el (python-fill-paragraph):
3243 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
3244 disabled (bug#7018).
3245
b12f0439
L
32462012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
3247
1930bf5d 3248 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
3249 DOS/MS Windows for the Baltic languages. There are still plenty
3250 of texts written in this encoding/codepage (bug#6519).
b12f0439 3251
57c3bd01
GM
32522012-04-10 Glenn Morris <rgm@gnu.org>
3253
3254 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3255 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3256
6c3eab30
FA
32572012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3258
1930bf5d 3259 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
3260 next-line "n" and previous-line "p" in order to make recentf more
3261 consistent with ibuffer, dired or org-mode (bug#9387).
3262
24d78a88
LMI
32632012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3264
bc72b5d9
LMI
3265 * image.el (put-image): Return the overlay created instead of the
3266 optional input string (bug#7834). Note that this may break code
3267 that is (for some reason or other) depending on `put-image'
3268 returning the string.
3269
bd2dba5a
LMI
3270 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3271
74beb59f
LMI
3272 * simple.el (zap-to-char): Allow zapping using input methods
3273 (bug#1580).
3274
24d78a88
LMI
3275 * textmodes/fill.el (fill-region): Leave point and mark where they
3276 were before filling (bug#5399).
3277
263f20cd
GM
32782012-04-09 Glenn Morris <rgm@gnu.org>
3279
3280 * version.el (emacs-bzr-get-version):
3281 Handle lightweight checkouts of local branches.
3282
58d1f797
AS
32832012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3284
263f20cd 3285 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 3286
b4d3bc10
CY
32872012-04-09 Chong Yidong <cyd@gnu.org>
3288
3289 * custom.el (custom-variable-p): Return nil for non-symbol
3290 arguments instead of signaling an error.
3291 (user-variable-p): Obsolete alias for custom-variable-p.
3292
3293 * apropos.el (apropos-variable):
3294 * files-x.el (read-file-local-variable):
3295 * simple.el (set-variable):
3296 * woman.el (woman-mini-help):
3297 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3298
fd06db5d
GM
32992012-04-09 Glenn Morris <rgm@gnu.org>
3300
e5fcdb5e
GM
3301 * startup.el (normal-top-level): Don't look for leim-list.el
3302 in places where it will not be found. (Bug#910)
3303
fd06db5d
GM
3304 * international/mule-cmds.el (set-default-coding-systems):
3305 * files.el (normal-mode):
3306 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3307 This function was removed with ucs-tables.el in 2008.
3308
b39bb7e1
EZ
33092012-04-08 Eli Zaretskii <eliz@gnu.org>
3310
3311 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3312 ispell-encoding8-command to "-i", without a trailing space.
3313 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3314 separate command-line arguments, to specify the encoding, since
3315 that's how hunspell expects it.
3316
5c5b8e23
GM
33172012-04-08 Glenn Morris <rgm@gnu.org>
3318
3319 * loadup.el: Load bindings before cus-start.
3320 This reduces somewhat the number of "rogue" settings in emacs -Q.
3321
a1ed8b05
GM
33222012-04-07 Glenn Morris <rgm@gnu.org>
3323
3324 * version.el (emacs-bzr-get-version): New function.
dfae128a 3325 (emacs-bzr-version): New variable.
a1ed8b05
GM
3326 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3327 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3328
b142f158
EZ
33292012-04-07 Eli Zaretskii <eliz@gnu.org>
3330
dfae128a
GM
3331 * international/uni-bidi.el, international/uni-category.el:
3332 * international/uni-combining.el, international/uni-decimal.el:
3333 * international/uni-decomposition.el, international/uni-digit.el:
3334 * international/uni-lowercase.el, international/uni-mirrored.el:
3335 * international/uni-name.el, international/uni-numeric.el:
3336 * international/uni-titlecase.el, international/uni-uppercase.el:
3337 Update for Unicode 6.1.
b142f158 3338
9078ead6
EZ
33392012-04-07 Eli Zaretskii <eliz@gnu.org>
3340
3341 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3342
f23d2c7d
LMI
33432012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3344
3345 * window.el (shrink-window): Mention the `window-min-height'
3346 variable in the doc string.
3347
0a0a3573
BG
33482012-04-05 Bastien Guerry <bzg@altern.org>
3349
3350 * color.el (color-lighten-name): Fix typo.
3351
e5248ac9
SM
33522012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3353
3354 * server.el (server--on-display-p): New function.
3355 (server--on-display-p): Use it.
3356
b4243e22
GV
33572012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3358
3359 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3360 (bug#11145).
3361
305d9f44
SM
33622012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3363
3364 * comint.el (comint--common-quoted-suffix): Check string boundary
3365 before comparing (bug#11158).
3366 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3367
3d439cd1
CY
33682012-04-04 Chong Yidong <cyd@gnu.org>
3369
321cc491
CY
3370 * minibuffer.el (completion-extra-properties): Doc fix.
3371
3d439cd1
CY
3372 * subr.el (delayed-warnings-hook): Doc fix.
3373
2d562c0f
DU
33742012-04-04 Daiki Ueno <ueno@unixuser.org>
3375
3376 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3377 selection (Bug#11159).
3378 (epa-insert-keys): Inform that the default public key will be
3379 exported if no key is selected.
3380
4443f204
RS
33812012-04-04 Richard Stallman <rms@gnu.org>
3382
3383 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3384
529c06b6
CY
33852012-04-03 Chong Yidong <cyd@gnu.org>
3386
3387 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3388 mail-insert-file, not its obsolete alias mail-attach-file.
3389
66b907dc
MA
33902012-04-03 Michael Albinus <michael.albinus@gmx.de>
3391
3392 * notifications.el (notifications-notify): Fix docstring.
3393
c0ea195d
GM
33942012-04-02 Glenn Morris <rgm@gnu.org>
3395
3396 * emacs-lisp/authors.el (authors-aliases): Another addition.
3397
5ca64e00
MA
33982012-04-02 Michael Albinus <michael.albinus@gmx.de>
3399
3400 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3401 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3402 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3403
42ee526b
CY
34042012-04-01 Chong Yidong <cyd@gnu.org>
3405
3406 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3407 Handle root directory properly.
3408 (copy-directory): Caller changed.
3409
3410 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3411 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3412
0b021094
GM
34132012-03-31 Glenn Morris <rgm@gnu.org>
3414
40f86458
GM
3415 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3416
7019c177
GM
3417 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3418
a1daddd6
GM
3419 * calendar/calendar.el (calendar-window-list)
3420 (calendar-hide-window): Restore. (Bug#11140)
3421 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3422
0b021094
GM
3423 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3424
40311efc
TV
34252012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3426
3427 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3428 Check if file is a symlink (Bug#10489).
3429
3430 * files.el (copy-directory): Likewise.
3431
5319014e
CY
34322012-03-30 Chong Yidong <cyd@gnu.org>
3433
3434 * image.el (imagemagick-types-inhibit)
3435 (imagemagick-register-types): Doc fix.
3436
935d1290
AM
34372012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3438
ef24141c
SM
3439 * ispell.el (ispell-get-extended-character-mode):
3440 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3441 and treats ~word as ordinary words in pipe mode.
935d1290 3442
61c6e8fd
GM
34432012-03-30 Glenn Morris <rgm@gnu.org>
3444
3445 * tutorial.el (help-with-tutorial): Ensure local variables don't
3446 happen to make the buffer read-only. (Bug#11127)
3447
81fdff00
SM
34482012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3449
3450 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3451 (perl-calculate-indent): Return `noindent' in strings.
3452
6e7a6ec0
SS
34532012-03-28 Sam Steingold <sds@gnu.org>
3454
3455 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3456 instead of the broken adhockery which does not prevent calendar
3457 buffers from being displayed at random after exit.
3458 (calendar-window-list, calendar-hide-window): Remove the broken
3459 adhockery.
3460
fee88ca0
GM
34612012-03-28 Glenn Morris <rgm@gnu.org>
3462
3463 * replace.el (query-replace-map): Doc fix.
3464
38de3354
AS
34652012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3466
3467 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3468 contents. (Bug#11109)
3469
b973155e
SM
34702012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3471
3472 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3473 (bug#11077).
3474 (avl-tree--check, avl-tree--check-node): New funs.
3475
dcb6e7b3
MR
34762012-03-27 Martin Rudalics <rudalics@gmx.at>
3477
3478 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3479 (switch-to-prev-buffer, switch-to-next-buffer):
3480 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3481 showing a buffer already is done on the same frame.
3482
b4fa35fa
GM
34832012-03-27 Glenn Morris <rgm@gnu.org>
3484
3485 * startup.el (mail-host-address): Doc fix.
3486
f9210e18
SM
34872012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3488
3489 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3490 than 197 variables.
3491
c0bf7753
AF
34922012-03-26 Ami Fischman <ami@fischman.org>
3493
3494 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3495
33da7b16
GM
34962012-03-26 Glenn Morris <rgm@gnu.org>
3497
02243d9d
GM
3498 * files.el (save-buffers-kill-emacs): Doc fix.
3499
33da7b16
GM
3500 * startup.el (normal-top-level, command-line, command-line-1):
3501 Give them doc strings.
3502
e5a69fd0
EZ
35032012-03-25 Eli Zaretskii <eliz@gnu.org>
3504
3505 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3506 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3507
9a69676a
CY
35082012-03-25 Chong Yidong <cyd@gnu.org>
3509
4125cb8b
CY
3510 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3511 theme if it was previously enabled before (Bug#11031).
3512
dd470960
CY
3513 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3514 spec with custom-face-get-current-spec if its :shown-value is not
3515 determined yet (Bug#9337).
4125cb8b 3516 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3517
9a69676a
CY
3518 * button.el (button-at): Minor addition to docstring.
3519
6e7e90fa
SL
35202012-03-24 Simon Leinen <simon.leinen@gmail.com>
3521
3522 * vc/vc.el (vc-merge): Fix a prompt.
3523
f06e2758
CY
35242012-03-24 Chong Yidong <cyd@gnu.org>
3525
3526 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3527 point (Bug#9623).
3528
6e7e90fa
SL
3529 * button.el (button-at): Minor addition to docstring.
3530
b9d0879b
SM
35312012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3532
3533 * newcomment.el (comment-choose-indent): No space after BOL.
3534
e71cebb3
SS
35352012-03-22 Sam Steingold <sds@gnu.org>
3536
3537 * window.el (switch-to-prev-buffer): Revert last patch because the
3538 bug turned out to be an advertised feature (Elisp manual 28.14).
3539
335aff35
GM
35402012-03-22 Glenn Morris <rgm@gnu.org>
3541
3542 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3543 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3544
c676576a
LMI
35452012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3546
3547 * net/network-stream.el (network-stream-open-starttls): Make error
3548 message under Windows be less misleading.
3549
126f3d39
LW
35502012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3551
3552 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3553 understands (bug#9942).
3554
64fee311
CY
35552012-03-22 Chong Yidong <cyd@gnu.org>
3556
3557 * simple.el (end-of-visible-line): Handle return value of
3558 next-single-property-change properly (Bug#9371).
3559
a640d29a
KH
35602012-03-22 Kenichi Handa <handa@m17n.org>
3561
3562 * international/quail.el (quail-insert-kbd-layout): Fix previous
3563 change. To avoid unwanted bidi reordering, use
3564 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3565
39675016
DG
35662012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3567
3568 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3569 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3570 (ruby-beginning-of-indent): Be more careful with the difference
3571 between word-boundary and symbol boundary.
3572 (ruby-mode-syntax-table): Make : a symbol constituent.
3573
0a6934fc 35742012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3575
3d008e4f
SM
3576 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3577
0a6934fc
SM
35782012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3579
af67c9d7
SM
3580 * progmodes/etags.el (tags-completion-at-point-function):
3581 Improve last fix.
3582
1acad97c
SM
3583 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3584
e298b5da
SS
35852012-03-21 Sam Steingold <sds@gnu.org>
3586
3587 * progmodes/etags.el (tags-completion-at-point-function):
3588 Avoid the error when point is inside the pattern.
3589
91d82a70
JY
35902012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3591
3592 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3593 line (Bug#10855).
3594
69188b79
CY
35952012-03-21 Drew Adams <drew.adams@oracle.com>
3596
3597 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3598
99fc91fe
AK
35992012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3600
3601 * ido.el (ido-set-current-directory, ido-read-internal)
3602 (ido-choose-completion-string, ido-completion-help): Handle nil
3603 value of ido-completion-buffer (Bug#11008).
3604
087bbb4c
SS
36052012-03-21 Sam Steingold <sds@gnu.org>
3606
3607 * window.el (switch-to-prev-buffer): Do not switch to a visible
3608 window previous buffer, just like with the frame previous buffers.
3609
fb5b8aca
CY
36102012-03-21 Chong Yidong <cyd@gnu.org>
3611
3612 * faces.el (make-face, make-empty-face, copy-face):
3613 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3614 Doc fixes.
3615
dc9924b8
SM
36162012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3617
3618 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3619 (widget-complete): Remove broken use of it.
3620
f0bcceb9
CY
36212012-03-20 Chong Yidong <cyd@gnu.org>
3622
dc9924b8
SM
3623 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3624 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3625 characters.
3626
ee52ebf3
TH
36272012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3628
3629 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3630 to draw rectangles, not squares. (Regression introduced by revno
3631 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3632
4c5779ab
CY
36332012-03-18 Chong Yidong <cyd@gnu.org>
3634
3635 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3636 it is not yet defined (for temacs).
3637
15360934
LL
36382012-03-18 Leo Liu <sdl.web@gmail.com>
3639
dc9924b8 3640 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3641
d9a8eb66
EZ
36422012-03-17 Eli Zaretskii <eliz@gnu.org>
3643
3644 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3645 (ispell-choices-win-default-height, ispell-silently-savep)
3646 (ispell-dictionary-alist, ispell-encoding8-command)
3647 (ispell-check-version, ispell-aspell-find-dictionary)
3648 (ispell-valid-dictionary-list, ispell-words-keyword)
3649 (ispell-get-word, ispell-internal-change-dictionary)
3650 (ispell-region, ispell-skip-region-list)
3651 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3652 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3653 (ispell-message-text-end, ispell-message)
3654 (ispell-buffer-local-parsing): Doc fix.
3655
f02ff80d
J
36562012-03-13 Jambunathan K <kjambunathan@gmail.com>
3657
3658 * htmlfontify.el: Add support for code block fontification for ODT
3659 export (Bug #9914).
3660 (hfy-optimisations): Define new option
3661 `body-text-only'
3662 (hfy-fontify-buffer): Honor above setting.
3663 (hfy-begin-span, hfy-end-span): New routines factored out form
3664 `hfy-fontify-buffer'.
3665 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3666 that permit insertion of custom tags.
3667 (hfy-fontify-buffer): Use above handlers.
3668 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3669 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3670 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3671 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3672 bind a special variable `hfy-user-sheet-assoc'.
3673 (htmlfontify-string): New defun.
3674 (hfy-compile-face-map): Make sure that the last char in the
3675 buffer is correctly fontified.
3676 (hfy-face-resolve-face): Whitespace only change.
3677
9ac7a13f
EZ
36782012-03-17 Eli Zaretskii <eliz@gnu.org>
3679
3680 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3681 message more clear.
3682
e2b5bdd7
LL
36832012-03-16 Leo Liu <sdl.web@gmail.com>
3684
3685 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3686
2e492df3
AM
36872012-03-16 Alan Mackenzie <acm@muc.de>
3688
3689 Further optimise the handling of large macros.
3690
3691 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3692 limit to a call of `c-literal-limits'.
3693 (c-determine-+ve-limit): New function.
dc9924b8
SM
3694 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3695 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3696 In CASE 5B, restrict a search limit to 500.
3697 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3698
3699 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3700 Restrict macro bounds to +-500 from after-change's BEG END.
3701
50e94f0c
LL
37022012-03-16 Leo Liu <sdl.web@gmail.com>
3703
3704 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3705
6f09f6ed
AH
37062012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3707
3708 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3709 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3710
c7e73d51
GM
37112012-03-16 Glenn Morris <rgm@gnu.org>
3712
da986230
GM
3713 * view.el (view-buffer, view-buffer-other-window)
3714 (view-buffer-other-frame): Doc fixes re special mode-class.
3715
0835f01e
GM
3716 * subr.el (eval-after-load): If named feature is provided not from
3717 a file, run after-load forms. (Bug#10946)
3718
c7e73d51
GM
3719 * calendar/calendar.el (calendar-insert-at-column):
3720 Handle non-unit-width characters a bit better. (Bug#10978)
3721
3f2eafd1
CY
37222012-03-15 Chong Yidong <cyd@gnu.org>
3723
3724 * emacs-lisp/ring.el (ring-extend): New function.
3725 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3726
3727 * comint.el (comint-read-input-ring)
3728 (comint-add-to-input-history): Grow comint-input-ring lazily.
3729
103af3fe
SM
37302012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3731
663b1677
SM
3732 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3733 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3734
103af3fe
SM
3735 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3736 (imenu-add-to-menubar): Don't add a redundant index.
3737 (imenu-update-menubar): Handle a dynamically composed keymap.
3738
899cb7cb
KY
37392012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3740
3741 * mail/sendmail.el (mail-encode-header):
3742 Bind rfc2047-encode-encoded-words to nil.
3743
3809f91d
GM
37442012-03-13 Glenn Morris <rgm@gnu.org>
3745
3746 * calendar/calendar.el (calendar-string-spread):
3747 Handle non-unit-width characters a bit better. (Bug#10978)
3748
9e345a01
LL
37492012-03-13 Leo Liu <sdl.web@gmail.com>
3750
3751 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3752 directory and file as argument (Bug#10822).
3753
4a07df36
KS
37542012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3755
3756 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3757 For dynamically generated code, follow $PC.
3758 (gdb-disassembly-handler-custom): Handle no function name case.
3759
4aaa9356
TL
37602012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3761
3762 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3763 * emulation/ws-mode.el (ws-query-replace):
3764 * sort.el (sort-regexp-fields):
3765 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3766
225979da
SM
37672012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3768
3769 * dabbrev.el: Fix cycle completion order (bug#10963).
3770 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3771 (dabbrev-completion): Don't use an obarray; provide
3772 a cycle-sort-function.
3773
e2f1fdab
LL
37742012-03-12 Leo Liu <sdl.web@gmail.com>
3775
dc9924b8 3776 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3777 (kill-do-not-save-duplicates): Doc fix.
3778
b19490ed
SM
37792012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3780
3781 * dabbrev.el: Fix cycle completion (bug#10963).
3782 Use lexical binding and wrap to 80 columns.
3783 (dabbrev-completion): Delay computing the list of completions.
3784
4b05d722
KH
37852012-03-12 Kenichi Handa <handa@m17n.org>
3786
3787 * international/quail.el (quail-insert-kbd-layout): Surround each
3788 row by LRO and PDF instead of inserting many LRMs. Pad the left
3789 and right of each non-spacing marks. Insert invisible space
3790 between lower and upper characters to prevent composition.
3791
dbbc2e69
SM
37922012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3793
3794 * minibuffer.el (minibuffer-complete): Don't get confused when the
3795 function is run twice via different commands (bug#10958).
3796 (complete-with-action): Fix docstring.
3797
292112ed
CY
37982012-03-12 Chong Yidong <cyd@gnu.org>
3799
5d1ac394
CY
3800 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3801 (nxml-completion-at-point-function): New function.
3802 (nxml-mode): Use it.
3803 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3804
292112ed
CY
3805 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3806 Load generated autoloads file before byte compiling (Bug#10970).
3807 (package--make-autoloads-and-compile): New helper fun.
3808
4098f8f7
CS
38092012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3810
3811 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3812
8f754691
MA
38132012-03-11 Michael Albinus <michael.albinus@gmx.de>
3814
3815 * autorevert.el (auto-revert-handler): Ensure, that
3816 file-readable-p is applied only for local files or in
3817 auto-revert-tail-mode.
3818
e29ab36b
AS
38192012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3820
dbbc2e69
SM
3821 * server.el (server-eval-at): Handle non-tcp connections.
3822 Decode result string.
ad0bf5b6 3823
e29ab36b
AS
3824 * server.el (server-msg-size): New constant.
3825 (server-reply-print): New function.
3826 (server-eval-and-print): Use it.
3827 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3828 Handle -print-nonl.
3829
de5939ba
CS
38302012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3831
3832 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3833 (Bug#10987).
3834
0c93eabf
CY
38352012-03-11 Chong Yidong <cyd@gnu.org>
3836
397a688f
CY
3837 * simple.el (goto-line): Doc fix (Bug#9938).
3838
2cc775f9
CY
3839 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3840
0c93eabf
CY
3841 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3842 when finished (Bug#10963).
3843
c491fa41
MR
38442012-03-11 Martin Rudalics <rudalics@gmx.at>
3845
3846 * window.el (split-window-below): Fix bug in case where
3847 split-window-keep-point is nil (Bug#10971).
3848
300e8fa5
JL
38492012-03-11 Juri Linkov <juri@jurta.org>
3850
3851 * replace.el (replace-highlight): Set isearch-word to nil
3852 unconditionally. (Bug#10887)
3853
dbf6c5a1
EZ
38542012-03-10 Eli Zaretskii <eliz@gnu.org>
3855
3856 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3857 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3858 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3859 (mairix-widget-create-query): Add usage information about mairix
3860 search forms: negating words, searching for substrings, etc.
3861
b9e501de
JP
38622012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3863
3864 * international/fontset.el (font-encoding-alist): Add an entry for
3865 ksx1001 (Bug#5667).
3866
92795c91
RS
38672012-03-10 Richard Stallman <rms@gnu.org>
3868
1694e6c1
RS
3869 * mail/sendmail.el (mail-encode-header):
3870 Set rfc2047-encode-encoded-words.
3871
607e8555
RS
3872 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3873
de3bc99a
RS
3874 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3875 view buffer means not swapped.
3876 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3877 (rmail-write-region-annotate): Error if real text has disappeared.
3878
92795c91
RS
3879 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3880
699bd04e
CY
38812012-03-10 Chong Yidong <cyd@gnu.org>
3882
3883 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3884 * emulation/cua-base.el (cua--init-keymaps):
3885 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3886
570a1714
MR
38872012-03-10 Martin Rudalics <rudalics@gmx.at>
3888
dbbc2e69
SM
3889 * speedbar.el (speedbar-unhighlight-one-tag-line):
3890 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3891
82dcf4e4
CY
38922012-03-10 Chong Yidong <cyd@gnu.org>
3893
7a2c7ca7
CY
3894 * minibuffer.el (completion-in-region, completion-help-at-point):
3895 Give the completion field overlay a high priority (Bug#6830).
3896
82dcf4e4
CY
3897 * dired.el (dired-goto-file): Recognize absolute file name
3898 listings (Bug#7126).
3899 (dired-goto-file-1): New helper function.
3900 (dired-toggle-read-only): Inhibit warnings.
3901
052e28ac
MA
39022012-03-09 Michael Albinus <michael.albinus@gmx.de>
3903
75f1671a 3904 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3905 there are no properties.
3906
95d5e396
LL
39072012-03-09 Leo Liu <sdl.web@gmail.com>
3908
3909 * savehist.el (savehist-printable): Stricter check for string
3910 value (Bug#10937).
3911
3f018d6d
EZ
39122012-03-09 Eli Zaretskii <eliz@gnu.org>
3913
dbbc2e69
SM
3914 * mail/smtpmail.el (smtpmail-send-it):
3915 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3916 valid mbox format.
3917
f7fd3d79
GM
39182012-03-09 Glenn Morris <rgm@gnu.org>
3919
3920 * files.el (dir-locals-find-file):
3921 Don't check result is regular, readable.
3922 (dir-locals-read-from-file): Demote errors.
3923
6ff6e72f
EZ
39242012-03-08 Eli Zaretskii <eliz@gnu.org>
3925
dbbc2e69
SM
3926 * international/quail.el (quail-insert-kbd-layout):
3927 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3928 layout cell, to prevent their reordering by bidi display engine.
3929 For details, see the discussion in
3930 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3931
9cec7834
AM
39322012-03-08 Alan Mackenzie <acm@muc.de>
3933
3934 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3935 the starting position; make it extend the marked region when
3936 invoked repeatedly - all under appropriate circumstances.
3937 Fixes bugs #5525, #10906.
3938
9a40b8d4
GM
39392012-03-08 Glenn Morris <rgm@gnu.org>
3940
3941 * files.el (locate-dominating-file, dir-locals-find-file):
3942 Undo 2012-03-06 change.
3943
7a08ed35
EZ
39442012-03-07 Eli Zaretskii <eliz@gnu.org>
3945
dbbc2e69
SM
3946 * international/quail.el (quail-help):
3947 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3948 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3949 for the reason.
3950
5aca4f71 39512012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3952
3953 Avoid superfluous registering of signals. (Bug#10807)
3954
3955 * notifications.el (notifications-on-action-object)
3956 (notifications-on-close-object): New defvars.
3957 (notifications-on-action-signal, notifications-on-closed-signal):
3958 Unregister the signal if not needed any longer.
3959 (notifications-notify): Register `notifications-action-signal' or
3960 `notifications-closed-signal', if :on-action or :on-close has been
3961 passed as argument.
3962
78e8b10a
CY
39632012-03-07 Chong Yidong <cyd@gnu.org>
3964
3965 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3966 non-X platforms.
3967
69481eb8
GM
39682012-03-06 Glenn Morris <rgm@gnu.org>
3969
3970 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3971 (x-disown-selection-internal, x-get-selection-internal):
3972 Doc fix (add arglist signatures). (Bug#10783)
3973
133b8e11
KS
39742012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3975
3976 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3977 Handle breakpoints with no "type".
3978
99a83064
GM
39792012-03-06 Glenn Morris <rgm@gnu.org>
3980
3981 * files.el (locate-dominating-file): Add optional predicate argument.
3982 (dir-locals-find-file): Make use of above change.
3983
17798e78
TTN
39842012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3985
3986 * info.el (Info-insert-dir): Also try "dir.gz".
3987
eb182446
GM
39882012-03-06 Glenn Morris <rgm@gnu.org>
3989
8f2114ee
GM
3990 * files.el (dir-locals-find-file):
3991 Ignore non-readable or non-regular files. (Bug#10928)
3992
eb182446
GM
3993 * files.el (locate-dominating-file): Doc fix.
3994
24679323
AS
39952012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3996
3997 * calendar/calendar.el (calendar-set-mode-line):
3998 `getenv' returns a string. (Bug#10951)
3999
01d972a9
LL
40002012-03-05 Leo Liu <sdl.web@gmail.com>
4001
109aa8a9
LL
4002 * simple.el (backward-delete-char-untabify): Constrain point to
4003 field (Bug#10939).
4004
01d972a9
LL
4005 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4006
10607bea
CY
40072012-03-05 Chong Yidong <cyd@gnu.org>
4008
4009 * simple.el (count-words): If called from Lisp, return the word
4010 count, for symmetry with `count-lines'. Arglist changed.
4011 (count-words--message): Args changed. Consolidate counting code
4012 from count-words and count-words-region.
4013 (count-words-region): Caller changed.
4014 (count-lines-region): Make it an obsolete alias.
4015
5dd11cfe
TH
40162012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4017
4018 * saveplace.el (save-place-to-alist)
4019 (save-place-ignore-files-regexp): Allow value nil to disable this
4020 feature.
4021
c349f4e6
CY
40222012-03-04 Chong Yidong <cyd@gnu.org>
4023
4024 * faces.el (face-spec-reset-face): For the default face, reset the
4025 attributes to default values (Bug#10748).
4026
e627be4c
LMI
40272012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4028
4029 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4030 previous patch: Check `message-send-mail-function', and not the
4031 default function (bug#10897).
4032
ebeabff4
MA
40332012-03-04 Michael Albinus <michael.albinus@gmx.de>
4034
a41a6cf4
MA
4035 * notifications.el (notifications-on-action-signal)
4036 (notifications-on-closed-signal): Check for unique service name of
4037 incoming event. Fix error in removing entry.
ebeabff4 4038 (top): Register for signals with wildcard service name.
a41a6cf4 4039 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 4040
c1ca42b4
CY
40412012-03-04 Chong Yidong <cyd@gnu.org>
4042
dc9924b8 4043 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 4044
ea16568d
GM
40452012-03-04 Glenn Morris <rgm@gnu.org>
4046
4047 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4048 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4049 (expand-abbrev, define-abbrev-table): Doc fixes.
4050
fbae4637
LMI
40512012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4052
4053 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4054 `message-default-send-mail-function' and not `send-mail-function'
4055 when doing the prompting for `sendmail-query-once' before sending
4056 in Message buffers (bug#10897).
4057
a1e7225c
LMI
4058 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4059 This is inconsistent with all the other stream functions, which leave
4060 the setting up to the higher levels (if so wanted) (bug#10931).
4061
56d093a9
AM
40622012-03-02 Alan Mackenzie <acm@muc.de>
4063
4064 Depessimize the handling of very large macros.
4065
4066 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4067 (c-macro-cache-syntactic): New variables to implement a one
4068 element macro cache.
4069 (c-invalidate-macro-cache): New function.
4070 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4071 Adapt to use the new cache.
4072 (c-state-safe-place): Use better the cache of safe positions.
4073 (c-state-semi-nonlit-pos-cache)
4074 (c-state-semi-nonlit-pos-cache-limit):
4075 New variables for...
4076 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4077 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
4078 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4079 Use c-state-semi-safe-place.
56d093a9 4080
dbbc2e69
SM
4081 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4082 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 4083
817e5c3d
MA
40842012-03-02 Michael Albinus <michael.albinus@gmx.de>
4085
dbbc2e69
SM
4086 * jka-compr.el (jka-compr-call-process):
4087 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
4088 not remote.
4089
a032a702
MA
40902012-03-01 Michael Albinus <michael.albinus@gmx.de>
4091
4092 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4093 access of FILE2, if FILE1 does not exist.
4094
99a54f21
MA
4095 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4096 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4097
4098 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4099 Add "PAGER=" to `process-environment'.
4100
f6561e1f
MM
41012012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4102
4103 * progmodes/sql.el: Bug fix
4104 (sql-get-login-ext): Save login values in globals.
4105 (sql-get-login): Use new version of `sql-get-login-ext'.
4106 (sql-interactive-mode): Set global `sql-connection' to nil.
4107 (sql-connect): Set global values for connection.
4108 (sql-product-interactive): Save global values as buffer local.
4109
2d44d9cc
LL
41102012-02-29 Leo Liu <sdl.web@gmail.com>
4111
4112 * abbrev.el (define-abbrevs): Reset sys to nil.
4113
96b49301 41142012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4115
bf7f9bc5
JB
4116 * files.el (file-equal-p): Rename from `files-equal-p'.
4117 Return nil when one or both files don't exist.
96b49301 4118 (file-subdir-of-p): Now only top directory must exists,
4119 return nil if it doesn't.
bf7f9bc5
JB
4120 (copy-directory): No need to test with `file-subdir-of-p' after
4121 creating dir.
4122 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4123 to `file-equal-p'.
96b49301 4124
44e97401
GM
41252012-02-28 Glenn Morris <rgm@gnu.org>
4126
4127 * shell.el (shell-mode):
4128 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4129 * play/landmark.el (landmark-font-lock-face-O):
4130 * play/handwrite.el (handwrite):
4131 * play/gomoku.el (gomoku-O):
4132 * net/browse-url.el (browse-url-browser-display):
4133 * international/mule.el (define-charset):
4134 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4135 * filesets.el (filesets-find-file-delay):
4136 * eshell/em-xtra.el (eshell-xtra):
4137 * eshell/em-unix.el (eshell-grep):
4138 * emulation/viper.el (viper-mode):
4139 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4140 * emacs-lisp/easymenu.el (easy-menu-define):
4141 * calendar/timeclock.el (timeclock-use-display-time):
4142 * bs.el (bs-mode):
4143 * bookmark.el (bookmark-save-flag):
4144 Doc fix (standardize possessive apostrophe usage).
4145
c98c6276
CY
41462012-02-27 Chong Yidong <cyd@gnu.org>
4147
bf7f9bc5
JB
4148 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4149 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 4150
c98c6276
CY
4151 * font-lock.el (font-lock-specified-p): Rename from
4152 font-lock-spec-present. Callers changed.
4153
9c62cd04 41542012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 4155
bf7f9bc5
JB
4156 * emacs-lisp/package.el (package-compute-transaction):
4157 Handle holding a package version to t in package-load-list.
8ac9e529 4158
530739c9
MA
41592012-02-26 Michael Albinus <michael.albinus@gmx.de>
4160
4161 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4162 (tramp-get-inode, tramp-get-device): Use cached values.
4163
487915d7
AM
41642012-02-26 Alan Mackenzie <acm@muc.de>
4165
4166 Check there is a font-lock specification before doing initial
4167 fontification.
4168
4169 * font-core.el (font-lock-mode): Move the conditional from
4170 :after-hook to font-lock-initial-fontify.
4171 (font-lock-default-function): Move the check for a specification
4172 to font-lock-spec-present.
4173
dc9924b8 4174 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
4175 (font-lock-spec-present): New function.
4176
4fd96557
JB
41772012-02-26 Jim Blandy <jimb@red-bean.com>
4178
4179 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4180 (gdb-send): Apply it to the operand of the '-interpreter-exec
4181 console' command, so that we can pass arguments with (say) quotes
4182 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4183
9a4888c0
CY
41842012-02-26 Chong Yidong <cyd@gnu.org>
4185
07498861
CY
4186 * help-fns.el (describe-function-1): Clarify description of
4187 remapping (Bug#10844).
4188
9a4888c0
CY
4189 * files.el (files-equal-p): Doc fix.
4190 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4191 and quit the loop once a mismatch is found.
4192
ea8fb88d
JB
41932012-02-25 Juanma Barranquero <lekktu@gmail.com>
4194
4195 * bs.el (bs--show-with-configuration): Don't throw an error
4196 if the window cannot be split; otherwise, subsequent calls to
4197 bs-show fail, restoring a stale window config. (Bug#10882)
4198
525795c1
JD
41992012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4200
4201 * term/ns-win.el (global-map): Bind ns-drag-file to
4202 ns-find-file (Bug#5855, Bug#10050).
4203
f008086f
AS
42042012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4205
4206 * calendar/parse-time.el (parse-time-string): Allow extractor to
4207 return nil.
4208
a3fcfa99
MA
42092012-02-25 Michael Albinus <michael.albinus@gmx.de>
4210
91027d08
JB
4211 * net/tramp.el (tramp-file-name-for-operation):
4212 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
4213
4214 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
4215 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4216 Add COPY-CONTENTS argument.
a3fcfa99 4217
67b0de11
CY
42182012-02-25 Chong Yidong <cyd@gnu.org>
4219
4220 Add custom groups for VC backends, for consistency with vc-bzr.
4221
4222 * vc/vc-arch.el (vc-arch):
4223 * vc/vc-cvs.el (vc-cvs):
4224 * vc/vc-git.el (vc-git):
4225 * vc/vc-hg.el (vc-hg):
4226 * vc/vc-mtn.el (vc-mtn):
4227 * vc/vc-rcs.el (vc-rcs):
4228 * vc/vc-sccs.el (vc-sccs):
4229 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4230 All relevant defcustoms reassigned.
4231
3c9dfce6
CY
42322012-02-25 Chong Yidong <cyd@gnu.org>
4233
1339bf43
CY
4234 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4235
3c9dfce6
CY
4236 * term/x-win.el (x-initialize-window-system): Reduce default for
4237 x-selection-timeout to 5 seconds (Bug#8869).
4238
25b2e303 42392012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4240
ec70a47d
GM
4241 * files.el (files-equal-p, file-subdir-of-p): New functions.
4242 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 4243 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
4244 * dired-aux.el (dired-copy-file-recursive): Same.
4245 (dired-create-files): Modify destination when source is equal to
4246 dest when copying files.
53a46cd0 4247 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 4248
914260cd
MA
42492012-02-24 Michael Albinus <michael.albinus@gmx.de>
4250
4251 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4252 (Bug#10874)
4253
2cb228f7
AM
42542012-02-23 Alan Mackenzie <acm@muc.de>
4255
4256 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4257 parameter "after-hook:" to allow the expansion to run code after
4258 the execution of the mode hooks.
4259
4260 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 4261 from font-lock-mode-internal.
2cb228f7 4262
91027d08 4263 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
4264 :after-hook.
4265
8f0fde21
SM
42662012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4267
3e88618b
SM
4268 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4269 (completion--cache-all-sorted-completions): New function.
4270 (completion-all-sorted-completions): Use it.
4271 (completion--do-completion, minibuffer-force-complete):
4272 Use it to re-instate the flush hook.
4273
8f0fde21
SM
4274 * icomplete.el (icomplete-completions): Replace last fix with a better
4275 one (bug#10850).
4276
8e911f6f
DG
42772012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4278
4279 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4280 when it might call us back infinitely (bug#10797).
4281
49fe4321
GM
42822012-02-23 Glenn Morris <rgm@gnu.org>
4283
4284 * minibuffer.el (completion-category-overrides): Doc fix.
4285
b291b572
SM
42862012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4287
4288 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4289 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4290
31a9ef2e
GM
42912012-02-23 Glenn Morris <rgm@gnu.org>
4292
5e6e6794 4293 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4294 (authors-obsolete-files-regexps, authors-ignored-files)
4295 (authors-ambiguous-files, authors-renamed-files-alist):
4296 Add more entries.
4297
0bd1e074
JL
42982012-02-23 Juri Linkov <juri@jurta.org>
4299
4300 * isearch.el (isearch-occur): Sync interactive spec with occur's
4301 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4302
b617673c
JL
4303 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4304
19e9789e
JL
43052012-02-22 Juri Linkov <juri@jurta.org>
4306
4307 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4308 (ucs-insert): Doc fix. Check for hex digits in the string.
4309 Don't display `nil' in the error message. (Bug#10857)
4310
f41ce09d
AM
43112012-02-22 Alan Mackenzie <acm@muc.de>
4312
7a71b18d 4313 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4314
ac2eceee
GM
43152012-02-22 Glenn Morris <rgm@gnu.org>
4316
4317 * ffap.el (ffap-c-path):
4318 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4319
abd1f678
CY
43202012-02-22 Chong Yidong <cyd@gnu.org>
4321
4322 * custom.el (load-theme): Doc fix.
4323
f25aef2e
GM
43242012-02-22 Glenn Morris <rgm@gnu.org>
4325
4326 * dired-x.el (dired-guess-shell-alist-default):
4327 Remove escape sequences from nroff output. (Bug#172)
4328
5f8dc2ca
GM
43292012-02-21 Glenn Morris <rgm@gnu.org>
4330
6ff86ec4
GM
4331 * vc/emerge.el (emerge-defvar-local):
4332 Set `permanent-local' property rather than unused `preserved'.
4333
be3223a3 4334 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4335 (picture-mode-map): Use it. (Bug#10860)
4336 (picture-mode): Doc fix.
4337
3fe58f4f
JB
43382012-02-21 Juanma Barranquero <lekktu@gmail.com>
4339
4340 * newcomment.el (uncomment-region-default): Remove unused binding.
4341
f9a998c3
GM
43422012-02-21 Glenn Morris <rgm@gnu.org>
4343
4344 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4345 (picture-self-insert, picture-tab-chars): Doc fix.
4346 (picture-mode-map): Fix C-a, C-e.
4347
c6029348
GM
43482012-02-20 Glenn Morris <rgm@gnu.org>
4349
4350 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4351
ab1ce9d7
LL
43522012-02-20 Leo Liu <sdl.web@gmail.com>
4353
4354 * icomplete.el (icomplete-completions): Check FROM arg before
4355 passing to substring (Bug#10850).
4356
0fd40f89
CY
43572012-02-19 Chong Yidong <cyd@gnu.org>
4358
4359 * comint.el: Require ansi-color.
4360 (comint-output-filter-functions): Add ansi-color-process-output.
4361
4362 * ansi-color.el: Don't set comint-output-filter-functions; it is
4363 now in the initial value defined in comint.el.
4364 (ansi-color-apply-face-function): New variable.
4365 (ansi-color-apply-on-region): Use it.
4366 (ansi-color-apply-overlay-face): New function.
4367
4368 * shell.el (shell): No need to require ansi-color.
4369 (shell-mode): Use ansi-color-apply-face-function to highlight
4370 color escapes using font-lock-face property (Bug#10835).
4371
20af2394
CY
43722012-02-19 Chong Yidong <cyd@gnu.org>
4373
4374 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4375 mode-line formats (Bug#10839).
4376
e23a3fbe
GM
43772012-02-18 Glenn Morris <rgm@gnu.org>
4378
b474519e
GM
4379 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4380
4381 * mail/undigest.el (unforward-rmail-message): Doc fix.
4382
e23a3fbe
GM
4383 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4384
57939ff4
EZ
43852012-02-18 Eli Zaretskii <eliz@gnu.org>
4386
4387 * international/characters.el (script-list): Sync with the latest
4388 Unicode Character Database.
4389
0c23686e
AS
43902012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4391
4392 * international/titdic-cnv.el: Remove duplicate coding tag.
4393 * language/cham.el: Likewise.
4394 * language/tai-viet.el: Likewise.
4395
6818b449
GM
43962012-02-18 Glenn Morris <rgm@gnu.org>
4397
4398 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4399 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4400 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4401 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4402 * calendar/holidays.el (holiday-bahai-holidays)
4403 (calendar-holidays, list-holidays):
4404 Use utf-8 Bahá'í in doc-strings, menus, etc.
4405
0311a3fc
TH
44062012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4407
4408 * saveplace.el (save-place-ignore-files-regexp): New variable
4409 allowing for excluding files from saving their location of point.
4410 The default value matches the temporary commit message editing
4411 files from Git, SVN, Bazaar, and Mercurial.
4412 (save-place-to-alist): Use it.
4413
eb864a71
LM
44142012-02-17 Lawrence Mitchell <wence@gmx.li>
4415 Stefan Monnier <monnier@iro.umontreal.ca>
4416
4417 * newcomment.el (uncomment-region-default): Don't leave extra space
4418 when an arg is provided (bug#8150).
4419
ee0ce425
TZ
44202012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4421
eb864a71 4422 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4423
95ddf442
GM
44242012-02-17 Glenn Morris <rgm@gnu.org>
4425
4426 * net/socks.el: Require network-stream. (Bug#10599)
4427
48dd1e39 44282012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4429
4430 * international/charprop.el:
4431 * international/uni-name.el:
4432 * international/uni-old-name.el:
4433 * international/uni-comment.el: Regenerate.
4434
d68cd087
GM
44352012-02-16 Glenn Morris <rgm@gnu.org>
4436
4437 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4438 Interactively in calendar buffer, give an error if not on a date.
4439
13932042
GM
44402012-02-15 Glenn Morris <rgm@gnu.org>
4441
4442 * shell.el (shell-delimiter-argument-list):
4443 Revert 2011-02-17 change. (Bug#8027)
4444
c3a70e2b
CY
44452012-02-15 Chong Yidong <cyd@gnu.org>
4446
60236b0d
CY
4447 * minibuffer.el (completion-at-point-functions): Doc fix.
4448
c3a70e2b
CY
4449 * custom.el (defcustom): Doc fix; note use of defvar.
4450
9f26dc24
GM
44512012-02-15 Glenn Morris <rgm@gnu.org>
4452
4453 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4454 Doc fixes.
4455
6546b134
GM
44562012-02-14 Glenn Morris <rgm@gnu.org>
4457
4458 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4459
d29b2b4c
LI
44602012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4461
4462 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4463 way the ports list is computed.
835bdcba
LI
4464 (smtpmail-query-smtp-server): Prompt the user for a port number if
4465 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4466
08dcdbc9
TZ
44672012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4468
4469 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4470
2605051a
GM
44712012-02-13 Glenn Morris <rgm@gnu.org>
4472
4473 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4474
7ee99f32
TZ
44752012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4476
4477 * net/gnutls.el (gnutls-trustfiles): New variable.
4478 (gnutls-negotiate): Use it.
4479
5f0af64f
LI
44802012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4481
4482 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4483 does its stuff if Gnus is running.
4484
c14fcc95
AM
44852012-02-13 Alan Mackenzie <acm@muc.de>
4486
4487 Fix a loop in c-set-fl-decl-start.
4488
7a71b18d 4489 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4490 c-backward-syntactic-ws actually moves backwards.
4491
142b4d90
LL
44922012-02-13 Leo Liu <sdl.web@gmail.com>
4493
4494 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4495 beginning so that all \C-o chars are removed.
4496
fa9958a6
TZ
44972012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4498
dc9924b8 4499 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4500
0bc5886a
AM
45012012-02-12 Alan Mackenzie <acm@muc.de>
4502
4503 Fix infinite loop with long macros.
4d6769e1 4504 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4505
d4bd55e7
CY
45062012-02-12 Chong Yidong <cyd@gnu.org>
4507
4508 * window.el (display-buffer): Doc fix (Bug#10785).
4509
66f3fe22
GM
45102012-02-12 Glenn Morris <rgm@gnu.org>
4511
bd7da63e
GM
4512 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4513 (x-disown-selection-internal, x-get-selection-internal):
4514 Sync docs with the xselect.c versions.
4515
66f3fe22
GM
4516 * allout-widgets.el: Add missing license notice.
4517
3e0d2fa7
GM
45182012-02-11 Glenn Morris <rgm@gnu.org>
4519
cfecdf09
GM
4520 * select.el (x-get-selection-internal, x-own-selection-internal)
4521 (x-disown-selection-internal):
4522 * x-dnd.el (x-get-selection-internal): Update declarations.
4523
6d216d7f
GM
4524 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4525
2bed3f04
GM
4526 * window.el (window-sides-slots):
4527 * tool-bar.el (tool-bar-position):
4528 * term/xterm.el (xterm-extra-capabilities):
4529 * ses.el (ses-self-reference-early-detection):
4530 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4531 (verilog-auto-wire-type)
4532 (verilog-auto-delete-trailing-whitespace)
4533 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4534 (verilog-auto-tieoff-declaration):
4535 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4536 (sql-oracle-statement-starters, sql-oracle-scan-on):
4537 * progmodes/prolog.el (prolog-align-comments-flag)
4538 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4539 (prolog-left-indent-regexp, prolog-paren-indent-p)
4540 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4541 (prolog-types, prolog-mode-specificators)
4542 (prolog-determinism-specificators, prolog-directives)
4543 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4544 (prolog-electric-dot-flag)
4545 (prolog-electric-dot-full-predicate-template)
4546 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4547 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4548 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4549 (prolog-program-switches, prolog-prompt-regexp)
4550 (prolog-debug-on-string, prolog-debug-off-string)
4551 (prolog-trace-on-string, prolog-trace-off-string)
4552 (prolog-zip-on-string, prolog-zip-off-string)
4553 (prolog-use-standard-consult-compile-method-flag)
4554 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4555 (prolog-imenu-max-lines, prolog-info-predicate-index)
4556 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4557 (prolog-char-quote-workaround):
4558 * progmodes/cc-vars.el (c-defun-tactic):
4559 * net/tramp.el (tramp-encoding-command-interactive)
4560 (tramp-local-end-of-line):
4561 * net/soap-client.el (soap-client):
4562 * net/netrc.el (netrc-file):
4563 * net/gnutls.el (gnutls):
4564 * minibuffer.el (completion-category-overrides)
4565 (completion-cycle-threshold)
4566 (completion-pcm-complete-word-inserts-delimiters):
4567 * man.el (Man-name-local-regexp):
4568 * mail/feedmail.el (feedmail-display-full-frame):
4569 * international/characters.el (glyphless-char-display-control):
4570 * eshell/em-ls.el (eshell-ls-date-format):
4571 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4572 (lisp-lambda-list-keyword-parameter-indentation)
4573 (lisp-lambda-list-keyword-parameter-alignment):
4574 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4575 * dired-x.el (dired-omit-verbose):
4576 * cus-theme.el (custom-theme-allow-multiple-selections):
4577 * calc/calc.el (calc-highlight-selections-with-faces)
4578 (calc-lu-field-reference, calc-lu-power-reference)
4579 (calc-note-threshold):
4580 * battery.el (battery-mode-line-limit):
4581 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4582 (archive-7z-update):
4583 * allout.el (allout-prefixed-keybindings)
4584 (allout-unprefixed-keybindings)
4585 (allout-inhibit-auto-fill-on-headline)
4586 (allout-flattened-numbering-abbreviation):
4587 * allout-widgets.el (allout-widgets-auto-activation)
4588 (allout-widgets-icons-dark-subdir)
4589 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4590 (allout-widgets-theme-dark-background)
4591 (allout-widgets-theme-light-background)
4592 (allout-widgets-item-image-properties-emacs)
4593 (allout-widgets-item-image-properties-xemacs)
4594 (allout-widgets-run-unit-tests-on-load)
4595 (allout-widgets-time-decoration-activity)
4596 (allout-widgets-hook-error-post-time)
4597 (allout-widgets-track-decoration):
4598 Add missing :version tags to new defcustoms and defgroups.
4599
5fec1b8e
GM
4600 * progmodes/sql.el (sql-ansi-statement-starters)
4601 (sql-oracle-statement-starters): Add custom type.
4602
3e0d2fa7
GM
4603 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4604 (prolog-system-version): Give it a type.
4605
90b671e2
EZ
46062012-02-11 Eli Zaretskii <eliz@gnu.org>
4607
4608 * term/pc-win.el (x-select-text, x-selection-owner-p)
4609 (x-own-selection-internal, x-disown-selection-internal)
4610 (x-get-selection-internal): Sync doc strings and argument lists
4611 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4612
5eac0c02
LL
46132012-02-11 Leo Liu <sdl.web@gmail.com>
4614
4615 * progmodes/python.el (python-end-of-statement): Fix infinite
4616 loop. (Bug#10788)
4617
f82cb659
GM
46182012-02-10 Glenn Morris <rgm@gnu.org>
4619
4620 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4621 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4622
cc26d239
LI
46232012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4624
4625 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4626 about SMTP before checking the From header.
4627
91027d08 4628 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4629 into own function for reuse by emacsbug.el.
4630
1be3ca5a
LL
46312012-02-10 Leo Liu <sdl.web@gmail.com>
4632
4633 * subr.el (condition-case-unless-debug): Rename from
4634 condition-case-no-debug. All callers changed.
4635 (with-demoted-errors): Fix caller.
4636
4637 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4638 * nxml/rng-valid.el (rng-do-some-validation):
4639 * emacs-lisp/package.el (package-refresh-contents)
4640 (package-menu-execute):
4641 * desktop.el (desktop-create-buffer):
91027d08 4642 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4643
b011fbfe
GM
46442012-02-10 Glenn Morris <rgm@gnu.org>
4645
b2096d72
GM
4646 * textmodes/bibtex.el:
4647 Add missing :version tags for new/changed defcustoms.
4648
b011fbfe
GM
4649 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4650
4c7e65bf
LI
46512012-02-09 Lars Ingebrigtsen <larsi@rusty>
4652
4653 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4654 (smtpmail-via-smtp): Use it, or fall back on the From address.
4655 (smtpmail-send-it): Ditto.
4656
f3934f6f
SM
46572012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4658
4659 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4660 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4661 (byte-compile-tmp-var): New const.
4662 (byte-compile-defvar): Use it to minimize .elc size.
4663 Just use `defvar' rather than simulate it (bug#10761).
4664
a075a2c5
GM
46652012-02-09 Glenn Morris <rgm@gnu.org>
4666
cf3aa21b
GM
4667 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4668
354998cd
GM
4669 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4670 Add :version tags.
4671
dc9924b8
SM
4672 * progmodes/compile.el (compilation-error-screen-columns)
4673 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4674
dab3703d
GM
4675 * vc/log-view.el (log-view-toggle-entry-display):
4676 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4677
3f88cd72
GM
4678 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4679 (report-emacs-bug-can-use-xdg-email):
4680 (report-emacs-bug-insert-to-mailer): Doc fixes.
4681 (report-emacs-bug): Message fix.
4682
d95b247d
GM
4683 * net/browse-url.el (browse-url-can-use-xdg-open)
4684 (browse-url-xdg-open): Doc fixes.
4685
a075a2c5
GM
4686 * electric.el (electric-indent-mode, electric-pair-mode)
4687 (electric-layout-rules, electric-layout-mode): Doc fixes.
4688 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4689
ffb6157e
MR
46902012-02-08 Martin Rudalics <rudalics@gmx.at>
4691
4692 * server.el (server-unselect-display): Don't inadvertently kill
4693 the current buffer. (Bug#10729)
4694
e1ac4066
GM
46952012-02-08 Glenn Morris <rgm@gnu.org>
4696
34e8a2da
GM
4697 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4698 (sql-list-table): Doc fixes.
4699
b4ac6e8c
GM
4700 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4701 Comment out (does nothing).
4702
e1ac4066
GM
4703 * completion.el (dynamic-completion-mode):
4704 * dirtrack.el (dirtrack-debug-mode):
4705 * electric.el (electric-layout-mode):
4706 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4707 * face-remap.el (text-scale-mode, buffer-face-mode):
4708 * iimage.el (iimage-mode):
4709 * image-mode.el (image-transform-mode):
4710 * minibuffer.el (completion-in-region-mode):
4711 * scroll-lock.el (scroll-lock-mode):
4712 * simple.el (next-error-follow-minor-mode):
4713 * tar-mode.el (tar-subfile-mode):
4714 * tooltip.el (tooltip-mode):
4715 * vcursor.el (vcursor-use-vcursor-map):
4716 * wid-browse.el (widget-minor-mode):
4717 * emulation/tpu-edt.el (tpu-edt-mode):
4718 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4719 * international/iso-ascii.el (iso-ascii-mode):
4720 * language/thai-util.el (thai-word-mode):
4721 * mail/supercite.el (sc-minor-mode):
4722 * net/goto-addr.el (goto-address-mode):
4723 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4724 * progmodes/cwarn.el (cwarn-mode):
4725 * progmodes/flymake.el (flymake-mode):
4726 * progmodes/glasses.el (glasses-mode):
4727 * progmodes/hideshow.el (hs-minor-mode):
4728 * progmodes/pascal.el (pascal-outline-mode):
4729 * textmodes/enriched.el (enriched-mode):
4730 * vc/smerge-mode.el (smerge-mode):
4731 Doc fixes (minor mode argument).
4732
5e0d957f
EZ
47332012-02-07 Eli Zaretskii <eliz@gnu.org>
4734
4735 * ls-lisp.el (ls-lisp-sanitize): New function.
4736 (ls-lisp-insert-directory): Use it to fix or remove any elements
4737 in file-alist with missing attributes. (Bug#4673)
4738
98d7371e
AM
47392012-02-07 Alan Mackenzie <acm@muc.de>
4740
4741 Fix spurious recognition of c-in-knr-argdecl.
4742
4743 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4744 putative K&R region.
4745
667ced3a
AM
47462012-02-07 Alan Mackenzie <acm@muc.de>
4747
eb864a71
LM
4748 * progmodes/cc-engine.el (c-forward-objc-directive):
4749 Prevent looping in "#pragma mark @implementation".
667ced3a 4750
5b77774d
MA
47512012-02-07 Michael Albinus <michael.albinus@gmx.de>
4752
4753 * notifications.el (notifications-on-closed-signal): Make `reason'
4754 optional. (Bug#10744)
4755
af008560
GM
47562012-02-07 Glenn Morris <rgm@gnu.org>
4757
60d47423
GM
4758 * emacs-lisp/easy-mmode.el (define-minor-mode):
4759 Doc fixes for the macro and the mode it defines.
4760
dd605cc4
GM
4761 * image.el (imagemagick-types-inhibit): Doc fix.
4762
af008560
GM
4763 * cus-start.el (imagemagick-render-type): Add it.
4764
5cc59a37
LI
47652012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4766
4d6769e1
JB
4767 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4768 Set the default at load time, too, so that `font-lock-fontify-buffer'
4769 can be called without setting up the entire mode first. This fixes
4770 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4771
9a6dd747
CY
47722012-02-06 Chong Yidong <cyd@gnu.org>
4773
2d16b285
CY
4774 * simple.el (list-processes--refresh): Delete exited processes
4775 (Bug#8094).
4776
171e9b6e
CY
4777 * comint.el (comint-next-prompt): next-single-char-property-change
4778 and prev-single-char-property-change never return nil (Bug#8657).
4779
9a6dd747
CY
4780 * custom.el (defcustom): Doc fix (Bug#9711).
4781
aa4589a7
CY
47822012-02-05 Chong Yidong <cyd@gnu.org>
4783
5c2a252f
CY
4784 * cus-edit.el (custom-variable-reset-backup): Quote the value
4785 before storing it in the customized-value property (Bug#6712).
4aab9006 4786 (custom-display): Add a customization type tag.
983b9602 4787 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4788
aa4589a7
CY
4789 * wid-edit.el (widget-field-value-get): New optional arg to
4790 suppress trailing whitespace truncation.
4791 (character): Use it (Bug#2689).
4792
1ff980ae
AS
47932012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4794
4795 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4796 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4797
03988c98
CY
47982012-02-05 Chong Yidong <cyd@gnu.org>
4799
eeb6cc88
CY
4800 * cus-edit.el (custom-variable-value-create): For mismatched
4801 types, show the current value (Bug#7600).
4802
03988c98
CY
4803 * custom.el (defcustom): Doc fix.
4804
f8cdeef0
GM
48052012-02-05 Glenn Morris <rgm@gnu.org>
4806
4807 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4808
0696d255
JB
48092012-02-05 Juanma Barranquero <lekktu@gmail.com>
4810
4811 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4812 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4813 (pp-last-sexp): Use `looking-at-p'.
4814
34c99998
GM
48152012-02-04 Glenn Morris <rgm@gnu.org>
4816
8f05da42
GM
4817 * files.el (revert-buffer):
4818 Doc fix (mention revert-buffer-in-progress-p).
4819
f160676e
GM
4820 * emacs-lisp/ert-x.el (ert-simulate-command):
4821 Check deferred-action-list (which is obsolete) is bound.
4822
c7291ad9
GM
4823 * subr.el (with-wrapper-hook): Doc fixes.
4824
34c99998
GM
4825 * simple.el (filter-buffer-substring-functions)
4826 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4827
6283a7d3
LL
48282012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4829
4830 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4831 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4832
e96e3013
LL
48332012-02-04 Leo Liu <sdl.web@gmail.com>
4834
4835 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4836
8ded50f2
GM
48372012-02-04 Glenn Morris <rgm@gnu.org>
4838
82ff1d13
GM
4839 * image.el (image-extension-data): Add obsolete alias.
4840
987a0a16
GM
4841 * isearch.el (isearch-update): Doc fix.
4842
ea32ef46
GM
4843 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4844
8ded50f2
GM
4845 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4846
eea14f31
GM
48472012-02-03 Glenn Morris <rgm@gnu.org>
4848
4849 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4850 (image-animate-timeout): Doc fix.
4851
4852 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4853
12f381b7
GM
48542012-02-02 Glenn Morris <rgm@gnu.org>
4855
953cebf5
GM
4856 * server.el (server-auth-dir): Doc fix.
4857 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4858
12f381b7
GM
4859 * subr.el (run-mode-hooks): Doc fix.
4860
953a8c3b
JL
48612012-02-02 Juri Linkov <juri@jurta.org>
4862
4863 * image-mode.el (image-toggle-display-image): Remove tautological
4864 `major-mode' from the `derived-mode-p' test.
4865
c5d3843c
KH
48662012-02-02 Kenichi Handa <handa@m17n.org>
4867
9f6e692e 4868 * composite.el (compose-region): Cancel previous change.
c5d3843c 4869
159462d4 48702012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4871
4872 * composite.el (compose-region, compose-string): Signal error for
4873 a null string component (Bug#6988).
4874
9f562668
CY
48752012-02-01 Chong Yidong <cyd@gnu.org>
4876
e2cef717
CY
4877 * view.el (view-buffer-other-window, view-buffer-other-frame):
4878 Handle special modes like view-buffer (Bug#10650).
4879 (view-buffer): Simplify.
4880
9f562668
CY
4881 * frame.el (set-frame-font): Tweak meaning of third argument.
4882
9f6e692e
JB
4883 * dynamic-setting.el (font-setting-change-default-font):
4884 Use set-frame-font (Bug#9982).
9f562668 4885
781acb9f
GM
48862012-02-01 Glenn Morris <rgm@gnu.org>
4887
6035be52
GM
4888 * progmodes/compile.el (compilation-internal-error-properties):
4889 Respect compilation-first-column in the "*compilation*" buffer.
4890
781acb9f
GM
4891 * emacs-lisp/easy-mmode.el (define-minor-mode):
4892 Relax :variable's test for a named function.
4893
abbceb00
AM
48942012-01-31 Alan Mackenzie <acm@muc.de>
4895
4896 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4897 off by one error.
4898
fce3fdeb
CY
48992012-01-31 Chong Yidong <cyd@gnu.org>
4900
4901 * frame.el (set-frame-font): New arg ALL-FRAMES.
4902
4903 * menu-bar.el (menu-set-font): Use set-frame-font.
4904
4905 * faces.el (face-spec-reset-face): Don't apply unspecified
4906 attribute values to the default face.
4907
47893581
JB
49082012-01-31 Juanma Barranquero <lekktu@gmail.com>
4909
4910 * progmodes/cwarn.el (cwarn): Remove dead link.
4911 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4912 Remove * from defcustom docstrings.
4913 (turn-on-cwarn-mode): Make obsolete.
4914 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4915 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4916
e58e988a
GM
49172012-01-31 Glenn Morris <rgm@gnu.org>
4918
60dc2671 4919 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4920 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4921 Allow named functions to be used as the cdr of :variable.
e58e988a 4922
7a3f511d
GM
49232012-01-30 Glenn Morris <rgm@gnu.org>
4924
4925 * emacs-lisp/authors.el (authors-fixed-entries):
4926 Remove reference to deleted file rnewspost.el.
4927
cb882333
JB
49282012-01-29 Juanma Barranquero <lekktu@gmail.com>
4929
4930 * window.el (window-with-parameter): Remove unused variable `windows'.
4931 (window--side-check): Remove unused variable `code'.
4932 (window--resize-siblings): Remove unused variable `first'.
4933 (adjust-window-trailing-edge): Remove unused variable `failed'.
4934 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4935 Use `let', not `let*'.
4936 (balance-windows-2): Remove unused variable `found'.
4937 (window--state-put-2): Remove unused variable `splits'.
4938 (window-state-put): Remove unused variable `selected'.
4939 (same-window-p): Use `string-match-p'.
4940 (display-buffer-assq-regexp): Remove unused variable `value'.
4941 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4942 Mark argument ALIST as ignored.
4943 (pop-to-buffer): Remove unused variable `old-window'.
4944
907201af
EZ
49452012-01-29 Eli Zaretskii <eliz@gnu.org>
4946
4947 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4948 and .lzma compressed files.
4949
ea162670
CY
49502012-01-29 Chong Yidong <cyd@gnu.org>
4951
5b95ee8a
CY
4952 * frame.el (window-system-default-frame-alist): Doc fix.
4953
ea162670
CY
4954 * dynamic-setting.el (font-setting-change-default-font): Don't
4955 change the default face if SET-FONT argument is non-nil (Bug#9982).
4956
d6e6f4b1
SB
49572012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4958
4959 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4960
0f29fa41 49612012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4962
4963 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4964 breakpoints in files outside current directory (Bug#6098).
4965
db174434
CY
49662012-01-29 Chong Yidong <cyd@gnu.org>
4967
6b25e4e2
SE
4968 * progmodes/python.el: Require ansi-color at top-level.
4969
6df6ae42
JB
4970 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4971 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4972 (lisp-mode-abbrev-table): Add doc.
4973 (lisp-mode-variables): Don't set local-abbrev-table.
4974 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4975
e70ee681
RW
49762012-01-28 Roland Winkler <winkler@gnu.org>
4977
4978 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4979
ace88aa2
RW
49802012-01-28 Roland Winkler <winkler@gnu.org>
4981
4982 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4983 (bibtex-set-dialect): Use it. Either set global values of
4984 dialect-dependent variables or bind these variables buffer-locally
4985 (Bug#10254).
4986 (bibtex-mode): Call bibtex-set-dialect via
4987 hack-local-variables-hook.
eb864a71
LM
4988 (bibtex-dialect): Update docstring.
4989 Add safe-local-variable predicate.
ace88aa2
RW
4990 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4991 bibtex-set-dialect.
4992 (bibtex-mode-map): Define menu for each dialect.
4993 (bibtex-entry): Fix docstring.
4994
93376c5b
CY
49952012-01-28 Chong Yidong <cyd@gnu.org>
4996
4997 * eshell/esh-arg.el (eshell-quote-argument): New function.
4998
4999 * eshell/esh-ext.el (eshell-invoke-batch-file):
5000 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5001 first arg to eshell-parse-command (Bug#10523).
5002
4372494f
DA
50032012-01-28 Drew Adams <drew.adams@oracle.com>
5004
5005 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5006 `default-directory' is non-nil.
5007
4d4ec1f8
EZ
50082012-01-28 Eli Zaretskii <eliz@gnu.org>
5009
5010 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5011 line that displays system-configuration-options. (Bug#9924)
5012
7c188927
DA
50132012-01-28 Drew Adams <drew.adams@oracle.com>
5014
5015 * descr-text.el (describe-char): Show information about POS, in
5016 addition to information about the character at POS. Improve and
5017 update the doc string. Change "code point" to "code point in
5018 charset", to avoid confusion with the character's Unicode code
5019 point shown above that. (Bug#10129)
5020
e0da685a
EZ
50212012-01-28 Eli Zaretskii <eliz@gnu.org>
5022
5023 * descr-text.el (describe-char): Show the raw character, not only
5024 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5025 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5026 for the reasons.
5027
70550acf
PH
50282012-01-28 Phil Hagelberg <phil@hagelb.org>
5029
eb864a71
LM
5030 * emacs-lisp/package.el (package-install):
5031 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 5032
0ce8e868
CY
50332012-01-28 Chong Yidong <cyd@gnu.org>
5034
cb882333
JB
5035 * emacs-lisp/package.el (package-maybe-load-descriptor):
5036 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
5037 (package-maybe-load-descriptor): Use it.
5038 (package-download-transaction): Fully load required packages
5039 inside the loop, so that `require' calls work (Bug#10593).
5040 (package-install): No need to call package-initialize now.
5041
2e7f3bea
CY
50422012-01-28 Chong Yidong <cyd@gnu.org>
5043
6e9bad14
CY
5044 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5045
f823b8ca
CY
5046 * tooltip.el (tooltip-mode): Doc fix.
5047 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5048
2680c309
CY
5049 * frame.el (set-cursor-color): Doc fix (Bug#352).
5050
d7a9e63b
CY
5051 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5052 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5053
2e7f3bea
CY
5054 * cus-edit.el (custom-buffer-create-internal): Fix search button
5055 action (Bug#10542).
2ae01800 5056 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 5057
fc4f7a23
EW
50582012-01-27 Eduard Wiebe <usenet@pusto.de>
5059
5060 * dired.el (dired-mark-files-regexp):
5061 Include any subdirectory components. (Bug#10445)
5062
7dd37071
ML
50632012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5064
5065 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5066 Handle [host]:port syntax. (Bug#10533)
5067
a268160b
AH
50682012-01-27 Alex Harsanyi <harsanyi@mac.com>
5069
5070 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5071
e43273ef
GM
50722012-01-26 Glenn Morris <rgm@gnu.org>
5073
5074 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5075 * term.el (term-raw-escape-map): Use Control-X-prefix.
5076 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5077
1edf595d
MR
50782012-01-25 Martin Rudalics <rudalics@gmx.at>
5079
5080 * window.el (window-state-get, window--state-get-1): Don't deal
5081 with fixed-sizeness of windows. Simplify code.
5082
fa8eafef
JC
50832012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5084
6df6ae42
JB
5085 * window.el (window--state-get-1, window--state-put-2):
5086 Don't save and restore the mark.
fa8eafef 5087
0b21c100
CY
50882012-01-25 Chong Yidong <cyd@gnu.org>
5089
5090 * custom.el (custom-variable-p): Doc fix.
5091
5ae1a6c8
GM
50922012-01-25 Glenn Morris <rgm@gnu.org>
5093
40047858
GM
5094 * dired.el (dired-goto-file): Handle some of the more common
5095 characters that `ls -b' escapes. (Bug#10596)
5096
5ddce96c
GM
5097 * progmodes/compile.el (compilation-next-error-function):
5098 Respect compilation-first-column in the "*compilation*" buffer.
5099 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5100
5ae1a6c8
GM
5101 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5102
b559f1a9
GM
51032012-01-24 Glenn Morris <rgm@gnu.org>
5104
5105 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5106
6725d21a
JD
51072012-01-24 Julien Danjou <julien@danjou.info>
5108
5109 * color.el (color-rgb-to-hsl): Fix value computing.
5110 (color-hue-to-rgb): New function.
5111 (color-hsl-to-rgb): New function.
5112 (color-clamp, color-saturate-hsl, color-saturate-name)
5113 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5114 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5115
70df4bbe
GM
51162012-01-24 Glenn Morris <rgm@gnu.org>
5117
5118 * vc/vc-rcs.el (vc-rcs-create-tag):
5119 * vc/vc-sccs.el (vc-sccs-create-tag):
5120 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5121
802a2ae2
ML
51222012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5123
5124 * eshell/esh-util.el (eshell-read-hosts-file):
5125 Skip comment lines. (Bug#10549)
5126
d7128bb1
ML
5127 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5128
d1a5c3b4
JB
51292012-01-23 Juanma Barranquero <lekktu@gmail.com>
5130
2724d9c7
JB
5131 * subr.el (display-delayed-warnings): Doc fix.
5132 (collapse-delayed-warnings): New function to collapse identical
5133 adjacent warnings.
5134 (delayed-warnings-hook): Add it.
d1a5c3b4 5135
a5509865
MA
51362012-01-22 Michael Albinus <michael.albinus@gmx.de>
5137
5138 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5139
a5509865
MA
5140 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5141 (tramp-default-user-alist): Don't add "pscp".
5142 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5143 property "login-as", if set. (Bug#10530)
5144
cc6d5805
MA
51452012-01-21 Michael Albinus <michael.albinus@gmx.de>
5146
5147 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5148 "plink1" and "psftp". (Bug#10530)
5149
51502012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
5151
5152 * international/mule-cmds.el (prefer-coding-system): Show a
5153 warning message if the default value of file-name-coding-system
5154 was not changed.
5155
f0960428
JC
51562012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5157
cb882333
JB
5158 * windmove.el (windmove-reference-loc):
5159 Fix windmove-reference-loc miscalculation.
f0960428 5160
dd6f2a63
JB
51612012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5162
5163 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5164 default unit.
5165
7b447e9b
GM
51662012-01-21 Glenn Morris <rgm@gnu.org>
5167
117a9ea1
GM
5168 * international/mule.el (auto-coding-alist): Add .tbz.
5169
7b447e9b
GM
5170 * files.el (local-enable-local-variables): Doc fix.
5171 (inhibit-local-variables-regexps): Rename from
5172 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5173 Doc fix. Add some extensions from auto-coding-alist.
5174 (inhibit-local-variables-suffixes):
5175 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5176 (inhibit-local-variables-p):
5177 New function, extracted from set-auto-mode-1.
5178 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5179 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5180 (hack-local-variables): Doc fix. Make the mode-only case
5181 respect enable-local-variables and friends.
5182 Respect inhibit-local-variables-regexps for file-locals, but
5183 not for directory-locals.
5184 (set-visited-file-name):
5185 Take account of inhibit-local-variables-regexps.
5186 Whether it applies may change as the file name is changed.
5187 * jka-cmpr-hook.el (jka-compr-install):
5188 * jka-compr.el (jka-compr-uninstall):
5189 Update for inhibit-first-line-modes-suffixes name change.
5190
dd6e3cdd
MR
51912012-01-20 Martin Rudalics <rudalics@gmx.at>
5192
5193 * help-macro.el (make-help-screen): Temporarily restore original
5194 binding for minor-mode-map-alist (Bug#10454).
5195
0d0deb38
JD
51962012-01-19 Julien Danjou <julien@danjou.info>
5197
5198 * color.el (color-name-to-rgb): Use the white color to find the max
5199 color component value and return correctly computed values.
5200 (color-name-to-rgb): Add missing float conversion for max value.
5201
34a02f46
MR
52022012-01-19 Martin Rudalics <rudalics@gmx.at>
5203
5204 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
5205 special state value for window-persistent-parameters.
5206 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
5207 (window--state-put-2): Reset all window parameters to nil before
5208 assigning values of persistent parameters.
5209
606c44c4
AM
52102012-01-18 Alan Mackenzie <acm@muc.de>
5211
5212 Eliminate sluggishness and hangs in fontification of "semicolon
5213 deserts".
5214
cb882333
JB
5215 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5216 Change value 10000 -> 3000.
606c44c4
AM
5217 (c-state-safe-place): Reformulate so it doesn't stack up an
5218 infinite number of wrong entries in c-state-nonlit-pos-cache.
5219 (c-determine-limit-get-base, c-determine-limit): New functions to
5220 determine backward search limits disregarding literals.
5221 (c-find-decl-spots): Amend commenting.
5222 (c-cheap-inside-bracelist-p): New function which detects "={".
5223
5224 * progmodes/cc-fonts.el
5225 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5226 backward search.
5227 (c-font-lock-declarations): Fix an occurrence of point being
5228 undefined. Check additionally for point being in a bracelist or
5229 near a macro invocation without a semicolon so as to avoid a
5230 fruitless time consuming search for a declarator. Give a more
5231 precise search limit for declarators using the new
5232 c-determine-limit.
5233
f3860cea
GM
52342012-01-18 Glenn Morris <rgm@gnu.org>
5235
5236 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5237 (set-auto-mode): Doc fixes.
5238
1db03b16
GM
52392012-01-17 Glenn Morris <rgm@gnu.org>
5240
0e6038be
GM
5241 * isearch.el (search-nonincremental-instead): Fix doc typo.
5242
1db03b16
GM
5243 * dired.el (dired-insert-directory): Handle newlines in directory name.
5244 (dired-build-subdir-alist): Unescape newlines in directory name.
5245
4cb0aa75
MA
52462012-01-17 Michael Albinus <michael.albinus@gmx.de>
5247
5248 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5249 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5250 (tramp-action-terminal): Use it. (Bug#10530)
5251
1d00653d
SM
52522012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5253
5254 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5255
6a6ee00d
MR
52562012-01-16 Martin Rudalics <rudalics@gmx.at>
5257
5258 * window.el (window-state-ignored-parameters): Remove variable.
5259 (window--state-get-1): Rename argument MARKERS to IGNORE.
5260 Handle persistent window parameters. Make copy of clone-of
5261 parameter only if requested. (Bug#10348)
5262 (window--state-put-2): Install a window parameter only if it has
5263 a non-nil value or an existing parameter shall be overwritten.
5264
97912def
MA
52652012-01-15 Michael Albinus <michael.albinus@gmx.de>
5266
5267 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5268
688070a5
EZ
52692012-01-14 Eli Zaretskii <eliz@gnu.org>
5270
5271 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5272 don't pass the (nil) value of `upnode' to string-match.
5273
301afadc
CY
52742012-01-14 Chong Yidong <cyd@gnu.org>
5275
5276 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5277 Fix values recognized by the cursorBlink resource.
301afadc 5278
9e5788aa
PE
52792012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5280
5281 * epg.el (epg--make-temp-file): Avoid permission race condition
5282 when running on old Emacs versions (bug#10403).
5283
3cdb7f5a
GM
52842012-01-14 Glenn Morris <rgm@gnu.org>
5285
5286 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5287
8c82b1b4
AM
52882012-01-13 Alan Mackenzie <acm@muc.de>
5289
5290 Fix filling for when filladapt mode is enabled.
5291
5292 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5293 c-mask-paragraph, pass in `fill-paragraph' rather than
5294 `fill-region-as-paragraph'. (This is a reversion of a previous
5295 change.)
eb864a71
LM
5296 * progmodes/cc-mode.el (c-basic-common-init):
5297 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5298
e517eda4
GM
52992012-01-13 Glenn Morris <rgm@gnu.org>
5300
1498536e
GM
5301 * dired.el (dired-switches-escape-p): New function.
5302 (dired-insert-directory): Use dired-switches-escape-p.
5303 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5304
e517eda4
GM
5305 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5306
328f984d
GM
53072012-01-12 Glenn Morris <rgm@gnu.org>
5308
5309 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5310 changes in adaptive-fill-regexp. (Bug#10276)
5311
2cc769a8
AM
53122012-01-11 Alan Mackenzie <acm@muc.de>
5313
5314 Fix Emacs bug #10463 - put `widen's around the critical spots.
5315
1d00653d 5316 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5317 widen around each invocation of c-state-pp-to-literal. Remove an
5318 unused let variable.
5319
e52c37fa
GM
53202012-01-11 Glenn Morris <rgm@gnu.org>
5321
5322 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5323 Doc fix.
e52c37fa 5324
96f8741e
CY
53252012-01-10 Chong Yidong <cyd@gnu.org>
5326
1d00653d
SM
5327 * net/network-stream.el (network-stream-open-starttls):
5328 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5329 response to the capability command.
5330
b09a806e
GM
53312012-01-10 Glenn Morris <rgm@gnu.org>
5332
5333 * mail/unrmail.el (unrmail): Tweak previous change.
5334
7655cb66
CY
53352012-01-09 Chong Yidong <cyd@gnu.org>
5336
5337 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5338
9d5a8f0b
AM
53392012-01-08 Alan Mackenzie <acm@muc.de>
5340
5341 Optimise font locking in long enum definitions.
5342
5343 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5344 arm to a cond form to handle enums.
5345 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5346 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5347
9a0115ab 53482012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5349
5350 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5351 (Bug#10401)
6bb72cbd 5352
f186bb95
LMI
53532012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5354
29232a68
LMI
5355 * faces.el (set-face-attribute): Clarify the meaning of the nil
5356 frame (bug#10294).
5357
4e5d086d
LMI
5358 * subr.el (with-selected-frame): Mention that the selected frame
5359 is restored (bug#9980).
5360
8e66aebe
LMI
5361 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5362 (bug#9759).
5363
cd394be1 5364 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5365 (password-read): Don't autoload unused function.
5366
adf4e762
JB
53672012-01-07 Juanma Barranquero <lekktu@gmail.com>
5368
5369 * progmodes/which-func.el (which-func-mode): Turn into a
5370 non-interactive function and mark as obsolete (bug#10428).
5371
89bd9ccd
CY
53722012-01-06 Chong Yidong <cyd@gnu.org>
5373
5374 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5375 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5376 functions, along with 1 and -1.
5377
4afee9d5
EZ
53782012-01-06 Eli Zaretskii <eliz@gnu.org>
5379
5380 * time.el (display-time-load-average)
5381 (display-time-default-load-average): Doc fixes. See the thread
5382 starting at
5383 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5384 for the details.
5385
536aea70
GM
53862012-01-06 Glenn Morris <rgm@gnu.org>
5387
665ae865
GM
5388 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5389 has no messages. (Bug#10377)
5390
c869783d
GM
5391 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5392 than Info-edit. (Bug#10385)
5393
2bb4227e
GM
5394 * time.el (display-time-load-average, display-time-next-load-average):
5395 Doc fixes.
5396
7d5944b9
GM
5397 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5398 local setting of buffer-read-only to the input buffer. (Bug#10419)
5399
536aea70
GM
5400 * calendar/calendar.el (calendar-mode):
5401 Locally set scroll-margin to 0. (Bug#10379)
5402
7dccca16
UM
54032012-01-06 Ulrich Mueller <ulm@gentoo.org>
5404
5405 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5406
afbb7930
GM
54072012-01-05 Glenn Morris <rgm@gnu.org>
5408
5409 * eshell/em-unix.el (diff-no-select): Autoload it.
5410 (eshell/diff): Use diff-no-select. (Bug#10420)
5411
04482335
CY
54122012-01-05 Chong Yidong <cyd@gnu.org>
5413
7baca3bc
CY
5414 * shell.el (shell-dynamic-complete-functions): Revert last change.
5415 (shell-command-completion-function): New function.
5416 (shell-completion-vars): Use it to implement
5417 shell-completion-execonly (Bug#10417).
5418
04482335
CY
5419 * custom.el (enable-theme): Don't set custom-safe-themes.
5420
1d00653d
SM
5421 * cus-theme.el (custom-theme-merge-theme):
5422 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5423
bb5aa5d6
MM
54242012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5425
5426 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5427 first prompt in `sql-interacive-mode'.
5428 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5429 keywords.
6df6ae42 5430 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5431 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5432 context of original buffer. Invoke `sql-login-hook'.
5433
a7183d7c
EZ
54342012-01-04 Eli Zaretskii <eliz@gnu.org>
5435
5436 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5437 letters in cite-prefix.
5438
a1eacd1e
LMI
54392012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5440
5441 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5442
787cdb34
CY
54432012-01-03 Chong Yidong <cyd@gnu.org>
5444
1d00653d
SM
5445 * shell.el (shell-dynamic-complete-functions):
5446 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5447 comint-filename-completion first (Bug#10417).
5448
30710442
RS
54492012-01-02 Richard Stallman <rms@gnu.org>
5450
5451 * battery.el (battery-status-function):
5452 Detect when to use battery-yeeloong-sysfs.
5453 (battery-echo-area-format): Add string for Yeeloong.
5454 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5455 (battery-yeeloong-sysfs): New function.
5456
f75bfc33
CY
54572012-01-02 Chong Yidong <cyd@gnu.org>
5458
5459 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5460 (dirtrack): Merge code for handling relative filenames in prompt
5461 from shell-dir-cookie-watcher.
5462 (dirtrack-debug-message): New arg to avoid excess format calls.
5463
5464 * shell.el (shell-dir-cookie-re): Variable deleted.
5465 (shell-dir-cookie-watcher): Function deleted.
5466 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5467 with dirtrack-mode.
5468
651e947e
EZ
54692012-01-01 Eli Zaretskii <eliz@gnu.org>
5470
1d00653d
SM
5471 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5472 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5473 libgnutls-26.dll.
5474
94d4c7dc
AS
54752011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5476
5477 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5478
8d43f3cd
EZ
54792011-12-31 Eli Zaretskii <eliz@gnu.org>
5480
5481 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5482 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5483
98c8795a
MA
54842011-12-29 Michael Albinus <michael.albinus@gmx.de>
5485
5486 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5487 also for alternative shells.
5488 (tramp-open-connection-setup-interactive-shell): Check, whether
5489 the shell is a busybox.
5490 (tramp-send-command): Don't suppress multiple prompts for
5491 busyboxes, it hurts.
5492
51281b32
CY
54932011-12-28 Chong Yidong <cyd@gnu.org>
5494
5495 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5496 (gdb-get-source-file): Move mode line update to
5497 gdb-get-source-file (Bug#10087).
5498
2170cb53
CY
54992011-12-25 Chong Yidong <cyd@gnu.org>
5500
5501 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5502 gud-gdb-marker-filter without taking it as an argument.
5503 (gud-gdb-run-command-fetch-lines): Caller changed.
5504 (gud-gdb-completion-function): New variable.
5505 (gud-gdb-completion-at-point): Use it.
5506 (gud-gdb-completions-1): Split from gud-gdb-completions.
5507
5508 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5509 function as separate arguments.
5510 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5511 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5512 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5513 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5514 (gdb-stopped, def-gdb-auto-update-trigger)
5515 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5516 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5517 Callers changed.
2170cb53
CY
5518 (gud-gdbmi-completions): New function.
5519 (gdb): Use it for generating the completion table.
5520
be8b11bb
AM
55212011-12-24 Alan Mackenzie <acm@muc.de>
5522
5523 Introduce a mechanism to widen the region used in context font
1d00653d 5524 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5525
1d00653d
SM
5526 * progmodes/cc-langs.el (c-before-font-lock-functions):
5527 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5528 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5529 functions to be run just before context (etc.) font locking.
5530
5531 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5532 New, functionality extracted from
be8b11bb 5533 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5534 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5535 (c-after-change): Set c-in-after-change-fontification.
5536 (c-set-fl-decl-start): Rejig its interface, so it can be called
5537 from both after-change and context fontifying.
b81d40f0
JB
5538 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5539 New functions.
5540 (c-standard-font-lock-fontify-region-function): New variable.
5541 (c-font-lock-fontify-region): New function.
be8b11bb 5542
341cf6ac
JL
55432011-12-24 Juri Linkov <juri@jurta.org>
5544
5545 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5546 (Bug#10348)
5547
bffcee0a
MA
55482011-12-23 Michael Albinus <michael.albinus@gmx.de>
5549
5550 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5551 existence of source file. (Bug#10325)
5552
cb5e207c
AM
55532011-12-23 Alan Mackenzie <acm@muc.de>
5554
5555 Fix unstable fontification inside templates.
5556
b81d40f0
JB
5557 * progmodes/cc-langs.el (c-before-font-lock-functions):
5558 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5559 additionally has c-set-fl-decl-start. The other languages (apart
5560 from AWK) have that as a single entry.
5561
b81d40f0
JB
5562 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5563 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5564 c-set-fl-decl-start.
5565
b81d40f0
JB
5566 * progmodes/cc-mode.el (c-common-init, c-after-change):
5567 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5568 (c-set-fl-decl-start): New function, extracted from
5569 c-font-lock-enclosing-decls and enhanced.
5570
60ff536c
JB
55712011-12-23 Juanma Barranquero <lekktu@gmail.com>
5572
5573 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5574
1c4757d6
JL
55752011-12-22 Juri Linkov <juri@jurta.org>
5576
5577 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5578
d031f2c7
CY
55792011-12-22 Chong Yidong <cyd@gnu.org>
5580
5581 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5582
bace743a
DA
55832011-12-21 Drew Adams <drew.adams@oracle.com>
5584
5585 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5586
728a1f2b
JC
55872011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5588
5589 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5590
0d373f73
TZ
55912011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5592
fec0aaa4
TZ
5593 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5594 highlighting and support. Fix up comments for capitalization.
5595 (cfengine-mode-debug): New var.
5596 (cfengine3-mode): Change the modeline indicator to "CFE3".
5597 (cfengine3-font-lock-keywords): Improve defun highlighting.
5598 (cfengine2-actions): Rename from `cfengine-actions'.
5599 (cfengine2-font-lock-keywords): Rename from
5600 `cfengine-font-lock-keywords'.
5601 (cfengine2-imenu-expression): Rename from
5602 `cfengine-imenu-expression'.
5603 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5604 (cfengine2-beginning-of-defun): Rename from
5605 `cfengine-beginning-of-defun'.
5606 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5607 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5608 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5609 modeline indicator to "CFE2".
5610 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5611 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5612
bc86f573
CY
56132011-12-21 Chong Yidong <cyd@gnu.org>
5614
5615 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5616 filename argument.
5617
d45ba96b
MR
56182011-12-20 Martin Rudalics <rudalics@gmx.at>
5619
5620 * window.el (window-normalize-buffer-to-display): Remove.
5621 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5622
a6198c90
CY
56232011-12-19 Chong Yidong <cyd@gnu.org>
5624
5625 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5626 Don't signal an error in a predicate function; return non-nil.
5627 (vc-dir-mark-file): Move the error here.
5628 (vc-dir-mark-unmark): If acting on the region, keep going if one
5629 of the entries cannot be marked/unmarked.
5630 (vc-dir-mark-all-files): If current entry is a directory, mark
5631 only child files, as documented.
5632
34c5fb55
VB
56332011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5634
5635 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5636 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5637 addition.
5638
c803b2b7
JD
56392011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5640
5641 * term/ns-win.el (ns-get-selection-internal)
5642 (ns-store-selection-internal): Declare.
1154d12e
JB
5643 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5644 Declare as obsolete.
5645 (ns-get-pasteboard, ns-paste-secondary):
5646 Use ns-get-selection-internal.
5647 (ns-set-pasteboard, ns-copy-including-secondary):
5648 Use ns-store-selection-internal.
c803b2b7 5649
9cff91f8 56502011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5651
5652 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5653 (vc-deduce-fileset): Doc fix.
99a289d9 5654
f16c898a
AS
56552011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5656
5657 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5658
763237c4
SS
56592011-12-13 Sam Steingold <sds@gnu.org>
5660
5661 * man.el (Man-getpage-in-background): When running under a
5662 window-system, ignore $MANWIDTH and $COLUMNS.
5663
5fc1c122
KH
56642011-12-15 Kenichi Handa <handa@m17n.org>
5665
5666 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5667 (setup-ethiopic-environment-internal): Comment out key-binding for
5668 ethio-toggle-punctuation.
5669
13d49cbb
AM
56702011-12-13 Alan Mackenzie <acm@muc.de>
5671
898169a2
AM
5672 Add the switch statement to AWK Mode.
5673
7a71b18d 5674 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5675 "default" to the keywords regexp.
5676
7a71b18d 5677 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5678 expression as the rest.
1d00653d
SM
5679 (c-nonlabel-token-key): Allow string literals for AWK.
5680 Refactor for the other modes.
898169a2 5681
13d49cbb 5682 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5683 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5684 routines. Limit backward searching in c-font-lock-enclosing.decl.
5685
5686 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5687 pp-state and literal type in addition to the limits.
1d00653d 5688 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5689 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5690 (c-slow-in-literal, c-fast-in-literal): Remove.
5691 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5692
5693 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5694 being in a literal. Add a limit for backward searching.
5695
5696 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5697 c-slow-in-literal.
5698
15e0efc7
SM
56992011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5700
5701 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5702
454592a6
MR
57032011-12-13 Martin Rudalics <rudalics@gmx.at>
5704
5705 * window.el (delete-other-windows): Use correct frame in call to
5706 window-with-parameter.
5707
87393f26
DP
57082011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5709
5710 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5711 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5712 (makefile-gmake-statements, makefile-makepp-statements):
5713 Use it and add new makepp keywords.
5714 (makefile-makepp-font-lock-keywords): Add new patterns.
5715 (makefile-match-function-end): Match new [...] and [[...]].
5716
11636b22
JB
57172011-12-11 Juanma Barranquero <lekktu@gmail.com>
5718
5719 * ses.el (ses-call-printer-return, ses-cell-property-get)
5720 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5721 (ses-create-cell-variable, ses-reset-header-string)
5722 (ses-cell-set-formula, ses-repair-cell-reference-all)
5723 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5724 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5725 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5726 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5727 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5728 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5729 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5730 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5731 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5732 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5733 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5734 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5735
cf018193
VB
57362011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5737
5738 * ses.el: The overall change is to add cell renaming, that is
5739 setting fancy names for cell symbols other than name matching
5740 "\\`[A-Z]+[0-9]+\\'" regexp .
5741 (ses-create-cell-variable): New defun.
5742 (ses-relocate-formula): Relocate formulas only for cells the
5743 symbols of which are not renamed, i.e. symbols whose names do not
5744 match regexp "\\`[A-Z]+[0-9]+\\'".
5745 (ses-relocate-all): Relocate values only for cells the symbols of
5746 which are not renamed.
5747 (ses-load): Create cells variables as the (ses-cell ...) are read,
5748 in order to check row col consistency with cell symbol name only
5749 for cells that are not renamed.
5750 (ses-replace-name-in-formula): New defun.
5751 (ses-rename-cell): New defun.
5752
ee957461
CY
57532011-12-11 Chong Yidong <cyd@gnu.org>
5754
5755 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5756 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5757
9a9e9ef0
MR
57582011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5759
5760 * window.el (other-window): Fix docstring.
5761
92a8eba5
EZ
57622011-12-10 Eli Zaretskii <eliz@gnu.org>
5763
5764 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5765 `from' or `to' address before taking its substring.
5766 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5767 encoded name is chopped in the middle of the encoded string, and
5768 thus displayed encoded.
5769
e152e577
JB
57702011-12-10 Juanma Barranquero <lekktu@gmail.com>
5771
5772 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5773
e5d84bfe
EZ
57742011-12-10 Eli Zaretskii <eliz@gnu.org>
5775
5776 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5777 to use texinfo-update-node and commands that call it if the
5778 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5779 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5780 (texinfo-all-menus-update, texinfo-master-menu)
5781 (texinfo-update-node, texinfo-every-node-update)
5782 (texinfo-multiple-files-update): Doc fix. Warn against updating
5783 all the @node lines.
5784 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5785 argument is numeric. Explain better in the doc string what the
5786 function really does.
5787 (texinfo-insert-master-menu-list): Improve the error message
5788 displayed if there's no menu in the Top node.
5789 (Bug#2975) See also this thread:
e5d84bfe
EZ
5790 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5791
1d84e9bb
MG
57922011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5793
5794 * speedbar.el (speedbar-supported-extension-expressions):
5795 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5796
382c953b
JB
57972011-12-09 Juanma Barranquero <lekktu@gmail.com>
5798
5799 * printing.el (pr-mode-alist):
5800 * simple.el (filter-buffer-substring-functions)
5801 (completion-list-insert-choice-function):
5802 * window.el (window-with-parameter, window-atom-root)
5803 (window-sides-slots, window-size-fixed, window-min-delta)
5804 (window-max-delta, window--resize-mini-window)
5805 (window--resize-child-windows-normal, window-tree)
5806 (delete-other-windows, quit-window, split-window)
5807 (display-buffer-record-window, special-display-buffer-names)
5808 (special-display-regexps, special-display-popup-frame)
5809 (same-window-p, split-window-sensibly)
5810 (display-buffer-overriding-action, display-buffer-alist)
5811 (display-buffer-base-action, display-buffer, switch-to-buffer)
5812 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5813 (fit-window-to-buffer, recenter-positions)
5814 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5815 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5816 and remove unneeded backslashes in docstrings.
5817
39c9faef
SM
58182011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5819
98449af8
SM
5820 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5821
39c9faef
SM
5822 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5823 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5824 end in ".mk".
5825 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5826 when reading the makefile (bug#10116).
5827
86ed9fdc
SM
58282011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5829
5830 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5831 (bug#10116).
5832
5580f89d
GM
58332011-12-06 Glenn Morris <rgm@gnu.org>
5834
5835 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5836
28d3917c
CY
58372011-12-06 Chong Yidong <cyd@gnu.org>
5838
5839 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5840
a98edce9
JB
58412011-12-06 Juanma Barranquero <lekktu@gmail.com>
5842
5843 * textmodes/table.el (table-shorten-cell): Fix typo.
5844
e65adfac
CG
58452011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5846
5847 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5848
71cc0b74
EZ
58492011-12-05 Eli Zaretskii <eliz@gnu.org>
5850
5851 * descr-text.el (describe-char): Fix display of strong
5852 right-to-left characters and directional embeddings and overrides.
5853
5854 * simple.el (what-cursor-position): Fix display of codepoints of
5855 strong right-to-left characters.
5856
315bc30d
CY
58572011-12-05 Chong Yidong <cyd@gnu.org>
5858
5859 * faces.el (read-color): Doc fix.
5860
58a70b94
GM
58612011-12-05 Glenn Morris <rgm@gnu.org>
5862
5863 * align.el (align--set-marker): Add doc-string.
5864 Don't try to move something that is not a marker. (Bug#10216)
5865
5158face
GM
58662011-12-04 Glenn Morris <rgm@gnu.org>
5867
5868 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5869 overly zealous deletion of trailing whitespace.
5870
520fca41
JB
58712011-12-04 Juanma Barranquero <lekktu@gmail.com>
5872
5873 * server.el (server-delete-client): On Windows, do not try to delete
5874 the only terminal.
5875 (server-process-filter): On Windows, treat requests for a tty frame as
5876 if they were for a GUI frame if the running server is in GUI mode.
5877
5e605a2e
GM
58782011-12-03 Glenn Morris <rgm@gnu.org>
5879
5880 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5881
5c3fe83f
SM
58822011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5883
6f5e57e7
SM
5884 * electric.el: Streamline electric-indent's hook.
5885 (electric-indent-chars): Revert to simple list.
5886 (electric-indent-functions): New var.
5887 (electric-indent-post-self-insert-function): Use it.
5888
5c3fe83f
SM
5889 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5890 there's no inferior buffer (bug#10196).
5891 (prolog-consult-compile): Don't use toggle-read-only.
5892
6bdac736
MA
58932011-12-02 Michael Albinus <michael.albinus@gmx.de>
5894
5895 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5896 interrupt. (Bug#10187)
5897
6131ba7f
SM
58982011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5899
99c79fee
SM
5900 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5901 (bug#9160).
5902
6131ba7f
SM
5903 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5904 (bug#10191).
5905
cb0a02ea
JL
59062011-12-02 Juri Linkov <juri@jurta.org>
5907
5908 * info.el (Info-search): Display "end of manual" when Isearch
5909 reaches the end of single-file Info manual. (Bug#9918)
5910
66e0570c
EZ
59112011-12-02 Eli Zaretskii <eliz@gnu.org>
5912
5913 * isearch.el (isearch-message-prefix): Run the input method part
5914 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5915
02b16839
JL
59162011-12-02 Juri Linkov <juri@jurta.org>
5917
5918 * isearch.el (isearch-occur): Use `word-search-regexp' for
5919 `isearch-word'.
5920 (isearch-search-and-update): Add condition for `isearch-word' and
5921 call `word-search-regexp'. (Bug#10145)
5922
0b950688
GM
59232011-12-01 Glenn Morris <rgm@gnu.org>
5924
5925 * eshell/em-hist.el (eshell-hist-initialize):
5926 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5927 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5928
9505c3c7
SM
59292011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5930
5931 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5932
1bbe96b2 59332011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5934
a1beca85
SM
5935 * progmodes/verilog-mode.el (verilog-pretty-expr):
5936 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5937 verilog, such as += *= and the like.
5938 (verilog-assignment-operator-re): Regular expression to find the
5939 assigment operator in a verilog assignment.
5940 (verilog-assignment-operation-re): Regular expression to find an
5941 assignment statement for pretty-expr.
5942 (verilog-in-attribute-p): Query returns true if point is in an
5943 attribute context; used to skip these for expression line up from
5944 pretty-expr.
5945 (verilog-in-parameter-p): Query returns true if point is in an
5946 parameter definition context; used to skip these for expression
5947 line up from pretty-expr.
5948 (verilog-in-parenthesis-p): Query returns true if point is in a
5949 parenthetical expression, specifically ( ) but not [ ] or { };
5950 used by pretty-expr.
5951 (verilog-just-one-space): If there is no space, don't add one.
5952 (verilog-get-lineup-indent-2): Specifically skip just attribute
5953 contexts for expression lineup, rather than skipping all
5954 parenthetical expressions.
5955 (verilog-calculate-indent): Fix comment, and fix indent.
5956 (verilog-do-indent): Indent declarations in lists (suggested by
5957 Joachim Lechner).
5958 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5959 skeleton items.
5960 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5961 by Alain Mellan).
5962
1bbe96b2 59632011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5964
5965 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5966 parameters with embedded comments. Reported by Ray Stevens.
5967 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5968 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5969 Reported by Tim Holt.
5970 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5971 instantiated by upper module causing wrong expansion until AUTOed a
5972 second time. Reported by K C Buckenmaier.
5973 (verilog-diff-auto): Fix showing .* as a difference when
5974 `verilog-auto-star-save' off. Reported by Dan Dever.
5975 (verilog-auto-reset, verilog-read-always-signals)
5976 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5977 temporary signals in reset list if
5978 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5979 style to each signal's assignment type, bug381.
5980 Reported by Thomas Esposito.
6288f0ca
WS
5981 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5982 (verilog-uvm-statement-re): Support UVM indentation and
5983 highlighting, with old OVM keywords only.
a1beca85 5984 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5985 Support AUTOTIEOFF creating non-wire data types.
5986 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5987 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5988 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5989 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5990 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5991 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5992 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5993 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5994 non-numeric vector width. Reported by Alex Reed.
5995 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5996 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5997 (verilog-auto-delete-trailing-whitespace):
5998 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5999 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6000 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6001 Fix verilog-scan-cache corruption when running user AUTO expansion
6002 hooks that call indentation routines.
6003 (verilog-simplify-range-expression): Fix typo ignoring lower case
6004 identifiers.
6005 (verilog-delete-auto): Fix delete-autos to also remove user created
6006 automatics, as long as they start with AUTO.
6007 (verilog-batch-diff-auto, verilog-diff-auto)
6008 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6009 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6010 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6011 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
6012 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6013 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
6014 is disabled and its cache will get corrupt, causing AUTOS not to
6015 expand. Instead use only -quick functions.
6016 (verilog-scan-region): Fix scanning over escaped quotes.
6017 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6018 (verilog-re-search-backward-quick)
6019 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6020 related functions now ignore strings, to fix misparsing of strings
6021 with magic comments embedded in them.
a1beca85
SM
6022 (verilog-read-auto-template):
6023 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6024 Reported by Brad Dobbie.
6025 (verilog-read-auto-template):
6026 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 6027 Reported by Brad Dobbie.
6288f0ca
WS
6028 (verilog-auto-inst, verilog-auto-inst-param)
6029 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6030 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6031 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
6032 debugging templates without merge conflicts, bug357.
6033 Reported by Brad Dobbie.
6034 (verilog-read-auto-template):
6035 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
6036 Reported by Brad Dobbie.
6037 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6038 abbrevs so user won't be asked to save.
6039 (verilog-read-auto-lisp-present): Fix to start at beginning of
6040 buffer in case called outside of verilog-auto.
6041 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6042 to "X-2". Reported by Matthew Myers.
6043 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6044 all inputs from module templates. Reported by Leith Johnson.
6045 (verilog-module-inside-filename-p): Fix locating programs as with
6046 modules.
6047 (verilog-auto-inst-port): Fix vl-width expressions when using
6048 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6049 (verilog-decls-get-regs, verilog-decls-get-signals,
6050 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6051 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6052 verilog-read-decls): Combine reg and wire structures into one var
6053 structure to represent SystemVerilog concepts.
6054 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6055 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
6056 (verilog-auto-wire-type, verilog-insert-definition):
6057 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
6058 SystemVerilog "logic" keyword instead of "wire"/"reg".
6059 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6060 to declares outputs that also have assignments (presumably in an
a1beca85
SM
6061 ifdef or generate if so there's not a driver conflict).
6062 Reported by Matthew Myers.
6063 (verilog-auto-declare-nettype, verilog-insert-definition):
6064 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
6065 `default_nettype none. Reported by Julian Gorfajn.
6066 (verilog-read-always-signals-recurse, verilog-read-decls)
6067 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6068 malformed end statement, bug325. Reported by Joshua Wise and
6069 Andrew Drake.
6070 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6071 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
6072 when expanding .* in interfaces, bug320.
6073 Reported by Pierre-David Pfister.
6288f0ca 6074 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
6075 name and open parenthesis, bug317.
6076 Reported by Pierre-David Pfister.
6288f0ca
WS
6077 (verilog-simplify-range-expression): Fix simplification of
6078 multiplications inside AUTOWIRE connections, bug303.
6079 (verilog-auto-inst-port): Support parameter expansion in
6080 multidimensional arrays.
6081 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6082 after "assert property". Reported by Julian Gorfajn.
6083 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6084 with multiplication, bug303.
6085 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6086 Reported by Jan Frode Lonnum.
6087
1bbe96b2
GM
60882011-11-30 Juanma Barranquero <lekktu@gmail.com>
6089
6090 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6091 (hfy-shell-file-name, hfy-shell):
6092 * international/fontset.el (x-decompose-font-name): Fix typos.
6093
60942011-11-29 Ken Brown <kbrown@cornell.edu>
6095
6096 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6097 (gdb-version): Remove defvar.
6098 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6099 (gdb-gud-context-command, gdb-non-stop-handler)
6100 (gdb-current-context-command, gdb-stopped): Use it.
6101 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
6102 (gdb-non-stop-handler): Don't enable pretty-printing here.
6103 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
6104 non-stop mode. Use the following.
6105 (gdb-check-target-async): New defun.
6106 (gud-watch, gdb-stopped): Fix whitespace.
6107 (gdb-get-source-file): Don't try to display the source file if
6108 `gdb-main-file' is nil.
6109
61102011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6111
6112 * align.el: Try to generate fewer markers (bug#10047).
6113 (align--set-marker): New macro.
6114 (align-region): Use it.
6115
c935221f
SM
61162011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6117
6118 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6119
e70b5064
CY
61202011-11-29 Chong Yidong <cyd@gnu.org>
6121
6122 * indent.el (indent-for-tab-command, indent-according-to-mode):
6123 Doc fix.
6124 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6125
f3af92b7
MA
61262011-11-29 Michael Albinus <michael.albinus@gmx.de>
6127
6128 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6129 aware of remote file names. (Bug#10124)
6130
ed472be9
CY
61312011-11-29 Chong Yidong <cyd@gnu.org>
6132
6133 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6134
24510c22
SM
61352011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6136
6137 * files.el (find-file): Don't use force-same-window (bug#10144).
6138 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6139 use pop-to-buffer if the selected window can't be used.
6140 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6141
c60c3703
EZ
61422011-11-28 Eli Zaretskii <eliz@gnu.org>
6143
6144 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6145 special-mode-map.
6146
e95def75
CY
61472011-11-28 Chong Yidong <cyd@gnu.org>
6148
6149 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6150
c3f1c606
NR
61512011-11-27 Nick Roberts <nickrob@snap.net.nz>
6152
6153 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6154 gdb-get-source-file-list on gdb-create-source-file-list.
6155
00db469c
EZ
61562011-11-26 Eli Zaretskii <eliz@gnu.org>
6157
6158 * whitespace.el (whitespace-newline): Use a different foreground
6159 color for 16-color light-background displays.
6160
4ad3bc2a
CY
61612011-11-24 Chong Yidong <cyd@gnu.org>
6162
6163 * window.el (display-buffer--special-action): Doc fix.
6164
e9fce1ac
JB
61652011-11-25 Juanma Barranquero <lekktu@gmail.com>
6166
6167 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6168 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6169 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6170 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6171 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6172 (avl-tree-stack-first):
6173 * emacs-lisp/cconv.el (cconv--analyse-use):
6174 * net/gnutls.el (gnutls-negotiate): Fix typos.
6175
cb825e5d
GM
61762011-11-24 Glenn Morris <rgm@gnu.org>
6177
3adbe224
GM
6178 * lpr.el (lpr-windows-system, lpr-lp-system):
6179 * mail/binhex.el (binhex-begin-line):
6180 * progmodes/grep.el (grep-history, grep-find-history):
6181 * textmodes/flyspell.el:
6182 * vc/pcvs-defs.el (cvs-global-menu):
6183 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6184 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6185 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6186
321decc8
GM
6187 * net/tls.el: Fix case of "GnuTLS".
6188
420b63ad
GM
6189 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6190
cb825e5d
GM
6191 * version.el (emacs-build-system): Give it a doc-string.
6192
a0649f08
JL
61932011-11-24 Juri Linkov <juri@jurta.org>
6194
6195 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6196
c0bc0fd4
GM
61972011-11-24 Glenn Morris <rgm@gnu.org>
6198
6199 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6200 if called on a non-mime message just toggle the headers. (Bug#8006)
6201
20db1522
JB
62022011-11-24 Juanma Barranquero <lekktu@gmail.com>
6203
6204 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6205 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6206 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6207 (allout-rebullet-heading, allout-open-sibtopic)
6208 (allout-toggle-current-subtree-encryption)
6209 (allout-toggle-subtree-encryption, allout-encrypt-string)
6210 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6211 (allout-distinctive-bullets-string, allout-auto-activation):
6212 * window.el (window-normalize-buffer-to-display):
6213 * progmodes/verilog-mode.el (verilog-batch-indent):
6214 * textmodes/bibtex.el (bibtex-field-braces-opt)
6215 (bibtex-field-strings-opt):
6216 * vc/cvs-status.el (cvs-tree-merge):
6217 Fix typos.
6218
7262a87c
MA
62192011-11-23 Michael Albinus <michael.albinus@gmx.de>
6220
6221 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6222 `non-essential' to t, in order to avoid remote connections.
6223
283430a1
EZ
62242011-11-23 Eli Zaretskii <eliz@gnu.org>
6225
a1beca85
SM
6226 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6227 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
6228 case-insensitively.
6229
d2992a38
ML
62302011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6231
6232 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6233
50419064
GM
62342011-11-23 Glenn Morris <rgm@gnu.org>
6235
da94eca1
GM
6236 * paths.el (rmail-file-name): Reformat the doc-string so that it
6237 is picked up.
6238
9aac4de2
GM
6239 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6240 (rmail-auto-file): Ignore case in the "special" field names,
6241 as mail-fetch-field does for all others.
6242
8038d2d2
GM
6243 * mail/rmail.el (rmail-forward):
6244 * mail/rmailkwd.el (rmail-set-label):
6245 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6246 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6247
f3fe222a
GM
6248 * mail/rmail.el (rmail-current-message): Doc fix.
6249
50419064
GM
6250 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6251
28109f49
SM
62522011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6253
6254 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6255
394c65f1
GM
62562011-11-22 Glenn Morris <rgm@gnu.org>
6257
6258 * mail/rmailmm.el (test-rmail-mime-handler)
6259 (test-rmail-mime-bulk-handler)
6260 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6261
f2a0aa3a
JL
62622011-11-21 Juri Linkov <juri@jurta.org>
6263
1154d12e
JB
6264 * calc/calc.el (calc-read-key-sequence):
6265 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6266
9c34a344
LMI
62672011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6268
6269 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6270 Tell the caller that the next line needs recomputation, even
6271 though it doesn't start a sexp (bug#10094).
6272
f04a3be9
SM
62732011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6274
6275 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6276
7978747f
SM
62772011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6278
f04a3be9
SM
6279 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6280 Use force-same-window.
7978747f 6281
fe7a3057
JB
62822011-11-20 Juanma Barranquero <lekktu@gmail.com>
6283
6284 * descr-text.el (describe-char-unicode-data):
6285 * json.el (json-string-escape):
6286 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6287 (Footnote-unicode, Footnote-style-p):
6288 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6289
24901d61
CY
62902011-11-20 Chong Yidong <cyd@gnu.org>
6291
6292 * window.el (replace-buffer-in-windows): Restore interactive spec.
6293
bac7ff22
SM
62942011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6295
24f3d7b9
SM
6296 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6297
bac7ff22
SM
6298 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6299 (byte-compile-global-not-obsolete-vars): New var.
6300 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6301 Use it.
6302 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6303
cd1181db
JB
63042011-11-20 Juanma Barranquero <lekktu@gmail.com>
6305
6306 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6307 * progmodes/pascal.el (electric-pascal-equal):
6308 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6309 * xml.el (xml-substitute-special): Fix typos.
6310
7fb18e9e
GM
63112011-11-20 Glenn Morris <rgm@gnu.org>
6312
6313 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6314 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6315 Doc fixes.
6316 (rmail-decode-mime-charset): Mark as obsolete.
6317
6318 * mail/rmailsum.el (rmail-message-regexp-p-1):
6319 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6320 Before using mime functions, check they are set. (Bug#10077)
6321
d5a6b3ba
JL
63222011-11-19 Juri Linkov <juri@jurta.org>
6323
6324 * info.el (Info-finder-find-node): Use `package--builtins' instead
6325 of `package-alist'. Use node names formed by the pattern "Keyword "
6326 and the keyword name.
6327
e981b61f
AS
63282011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6329
1d00653d 6330 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6331
3ffbc301
JL
63322011-11-19 Juri Linkov <juri@jurta.org>
6333
6334 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6335 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6336 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6337 `old-history', `old-history-forward'. Add let-binding
6338 `window-selected'. Remove calls to `kill-buffer',
6339 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6340 before calling `Info-find-node', so `Info-find-node-2' will reread
6341 the Info file. Restore window positions only when `window-selected'
6342 is non-nil.
6343
30c62133
JL
63442011-11-19 Juri Linkov <juri@jurta.org>
6345
6346 * isearch.el (isearch-lazy-highlight-new-loop):
6347 Remove condition `(not isearch-error)'. (Bug#9918)
6348
6349 * misearch.el (multi-isearch-search-fun): Add condition
6350 `(not bound)' to ignore lazy-highlighting search.
6351 Add the search-failed message "end of multi" when the end of
6352 multi-sequence is reached. Uncapitalize the search-failed
6353 message "Repeat for next buffer".
6354
6355 * info.el (Info-search): Add the search-failed message
6356 "end of the manual" when the end of the manual is reached
6357 in Isearch mode.
6358
645ca9cf
JL
63592011-11-19 Juri Linkov <juri@jurta.org>
6360
6361 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6362 Use non-destructive `remove' instead of `delete' because
6363 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6364 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6365
df754f66
JL
63662011-11-19 Juri Linkov <juri@jurta.org>
6367
6368 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6369 to nil instead of binding `search-ring' and `regexp-search-ring'.
6370 (Bug#9185)
6371
0e23d96a
EZ
63722011-11-19 Eli Zaretskii <eliz@gnu.org>
6373
6374 * simple.el (line-move): Force movement by logical lines for any
6375 hscrolled window, not only when auto-hscroll-mode is on.
6376 (line-move-visual): Update doc string to that effect. (Bug#10076)
6377
8a6ccb66
AS
63782011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6379
6380 * language/european.el (macintosh): Define as alias for mac-roman.
6381
49ae5b39
EZ
63822011-11-19 Eli Zaretskii <eliz@gnu.org>
6383
6384 * mail/rmailmm.el (rmail-mime-display-header)
6385 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6386 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6387 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6388 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6389 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6390 of a raw aref.
6391 (rmail-mime-entity-segment): To get past the tagline, move forward
6392 2 more lines, to account for the 2 empty lines that precede and
6393 follow the line with the buttons.
6394 (rmail-mime-update-tagline): Move one more line, to get past the
6395 empty line that follows the buttons in the tagline. (Bug#9520)
6396
c56cad4a
MR
63972011-11-19 Martin Rudalics <rudalics@gmx.at>
6398
6399 * window.el (window-max-delta-1, window-min-delta-1)
6400 (window-min-size-1, window-state-get-1, window-state-put-1)
6401 (window-state-put-2): Use "window--" prefix.
6402
cbe71af3
SM
64032011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6404
2ad52c60
SM
6405 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6406 (smie-warning-count): New var.
6407 (smie-set-prec2tab): Use it.
6408 (smie-bnf->prec2): Improve warnings. Add docstring.
6409 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6410 (smie-bnf--set-class): New function.
6411 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6412 corner case.
6413
6944dbc1
SM
6414 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6415 (compilation-error-properties, compilation-move-to-column):
6416 Handle compilation-first-column while in the target buffer.
6417
c400c4d7
SM
6418 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6419 Don't hardcode point-min==1.
6420
6dbe3e96
SM
6421 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6422 (eshell-rewrite-for-command): Remove workaround.
6423 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6424 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6425 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6426
cbe71af3
SM
6427 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6428
a8e1496d
GM
64292011-11-17 Glenn Morris <rgm@gnu.org>
6430
6431 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6432 Ignore buffer-local generated-autoload-file if it is the same
6433 as the global value. (Bug#10049)
6434
df85d315
JB
64352011-11-17 Juanma Barranquero <lekktu@gmail.com>
6436
6437 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6438 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6439 (reftex-toc-previous-heading, reftex-toc-max-level)
6440 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6441 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6442 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6443 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6444 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6445 (reftex-toc-rename-label, reftex-toc-visit-location)
6446 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6447 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6448 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6449 leaving "*toc*" only for references to the buffer.
6450
a0c2d0ae
MR
64512011-11-17 Martin Rudalics <rudalics@gmx.at>
6452
6453 * window.el (window-resize, delete-window, split-window):
6454 Replace window-splits by window-combination-resize.
1d00653d 6455 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6456
35c0bac8
GM
64572011-11-17 Glenn Morris <rgm@gnu.org>
6458
6459 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6460 Make bash entry derive from sh entry, not shell entry.
6461
d0c8fc8a
MA
64622011-11-16 Michael Albinus <michael.albinus@gmx.de>
6463
7262a87c
MA
6464 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6465 local file name.
6466
7877f373
JB
64672011-11-16 Juanma Barranquero <lekktu@gmail.com>
6468
6469 * menu-bar.el (menu-bar-file-menu):
6470 * printing.el (pr-ps-utility):
6471 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6472 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6473 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6474 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6475 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6476 (icalendar--convert-cyclic-to-ical)
6477 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6478 (icalendar--convert-ical-to-diary)
6479 (icalendar--convert-recurring-to-diary)
6480 (icalendar--convert-non-recurring-all-day-to-diary)
6481 (icalendar-import-format-sample):
6482 * progmodes/idlw-shell.el (idlwave-shell-mode):
6483 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6484 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6485 (vhdl-ps-print-init): Fix typos.
6486
10649b82
KM
64872011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6488
9d0cfcd6
GM
6489 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6490 FSF and collapse date sequence, obscure author/maintainer email address
6491 better, remove extra version line, track relocation of author's webpage.
10649b82 6492
9d0cfcd6
GM
6493 * progmodes/python.el (python-pdbtrack-input-prompt)
6494 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6495 regular python pdb prompts. Adjustments shamelessly taken exactly as
6496 suggested in EmacsWiki page (tiny change):
6497 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6498
58179cce
JB
64992011-11-16 Juanma Barranquero <lekktu@gmail.com>
6500
6501 * expand.el (expand-pos, expand-index, expand-point):
6502 Remove redundant info from docstring.
6503 (expand-add-abbrevs): Doc fix.
6504 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6505 (expand-sample-perl-mode-expand-list): Fix typos.
6506
6507 * net/dbus.el (dbus-event-member-name):
6508 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6509 * term/pc-win.el (msdos-create-frame-with-faces):
6510 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6511
b6f67890
MR
65122011-11-16 Martin Rudalics <rudalics@gmx.at>
6513
6514 * window.el (split-window, window-state-get-1)
6515 (window-state-put-1, window-state-put-2): Rename occurrences of
6516 window-nest to window-combination-limit.
1d00653d 6517 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6518
ce7ddba0
CY
65192011-11-16 Chong Yidong <cyd@gnu.org>
6520
6521 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6522 regexp (Bug#10033).
6523
3ae704f4
SM
65242011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6525
6526 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6527 `completing-read' will remove *Completions* and will preserve
6528 current-buffer for us.
6529 (tmm-add-prompt): Users of *Completions* will always (re)set its
6530 major mode.
6531 (tmm-old-comp-map): Remove.
6532
6ad1cdde
GM
65332011-11-16 Glenn Morris <rgm@gnu.org>
6534
6535 * mail/rmailedit.el: Require rmailmm when compiling.
6536 (rmail-old-mime-state): New declaration.
6537 (rmail-edit-current-message): If editing a mime message,
6538 edit the "raw" message from the mbox buffer.
6539 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6540
d20faa20
GM
65412011-11-15 Glenn Morris <rgm@gnu.org>
6542
6543 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6544 which wasn't being used. Add optional arg to force given state.
6545 (rmail-mime): Add optional arg to force given state.
6546
c7015153
JB
65472011-11-15 Juanma Barranquero <lekktu@gmail.com>
6548
6549 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6550 * frame.el (display-mm-dimensions-alist):
6551 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6552 (outline-move-subtree-down):
6553 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6554 (newsticker--treeview-do-get-node):
6555 * net/quickurl.el (quickurl-list-buffer-name):
6556 * progmodes/dcl-mode.el (dcl-mode):
6557 * progmodes/gdb-mi.el (gdb-mapcar*):
6558 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6559
45261b50
GM
65602011-11-15 Glenn Morris <rgm@gnu.org>
6561
6562 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6563 in a boolean sense, so just make it a boolean, and fix the doc.
6564 (rmail-show-mime-function, rmail-mime-feature)
6565 (rmail-require-mime-maybe): Doc fixes.
6566 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6567
6568 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6569
0d26e0b6
JB
65702011-11-15 Juanma Barranquero <lekktu@gmail.com>
6571
6572 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6573 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6574 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6575 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6576
447f30f6
GM
65772011-11-15 Glenn Morris <rgm@gnu.org>
6578
672b871d
GM
6579 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6580 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6581 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6582 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6583 (rmail-mime, rmail-show-mime): Doc fixes.
6584
f6aa5bb1
GM
6585 * term/ns-win.el (mode-line-frame-identification):
6586 Leave it alone. (Bug#10051)
6587
947cd66b
GM
6588 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6589
447f30f6
GM
6590 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6591 Handle empty buffers. (Bug#9978)
6592
0b381c7e
JB
65932011-11-14 Juanma Barranquero <lekktu@gmail.com>
6594
6595 * international/mule.el (define-charset):
6596 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6597 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6598 * progmodes/verilog-mode.el (verilog-backward-token):
6599 * textmodes/ispell.el (lookup-words):
6600 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6601
71e027ac
GM
66022011-11-14 Glenn Morris <rgm@gnu.org>
6603
56632ce4
GM
6604 * progmodes/executable.el
6605 (executable-make-buffer-file-executable-if-script-p):
6606 Handle file-modes returning nil.
6607
40500957
GM
6608 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6609 message - not necessary, and causes problems. (Bug#9831)
6610
071c2340
GM
6611 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6612
d3cfca60
GM
6613 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6614
71e027ac
GM
6615 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6616 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6617 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6618
89d61221
MR
66192011-11-12 Martin Rudalics <rudalics@gmx.at>
6620
6621 * window.el (window-resize, delete-window): Use window-splits
6622 variable instead of function.
6623 (window-state-get-1, window-state-put-2, window-state-put):
6624 Don't deal with windows' splits status.
6625
98282f6f
GM
66262011-11-12 Glenn Morris <rgm@gnu.org>
6627
6628 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6629 (apropos-documentation): Doc fixes.
6630
40a8bdf6
JB
66312011-11-11 Juanma Barranquero <lekktu@gmail.com>
6632
6633 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6634 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6635
65bd19ff
SM
66362011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6637
6638 * electric.el (electric-indent-post-self-insert-function): Make it
6639 possible for a char to only indent in some circumstances.
6640 (electric-indent-mode): Simplify.
6641
54f9154c
MR
66422011-11-11 Martin Rudalics <rudalics@gmx.at>
6643
6644 * window.el (windows-with-parameter): Remove unused function.
6645 (windows-at-side): Rename to window-at-side-list.
6646 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6647 (window-side-check, window-size-ignore, window-size-fixed-1)
6648 (window-in-direction-2): Prefix with "window--".
6649 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6650
68cbc58b
GM
66512011-11-11 Glenn Morris <rgm@gnu.org>
6652
6653 * subr.el (eval-after-load): If FILE is already loaded,
6654 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6655
b2621720
GM
66562011-11-10 Glenn Morris <rgm@gnu.org>
6657
9a4de110
GM
6658 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6659 Call svn via vc-svn-command rather than vc-do-command.
6660 (vc-svn-command): Add --non-interactive. (Bug#9993)
6661 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6662
b2621720
GM
6663 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6664 Add toggle-read-only. (Bug#7292)
6665 * files.el (toggle-read-only): Mention that it should only
6666 be used interactively. (Bug#10006)
6667
1dce7193
SM
66682011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6669
d9ac1a1e
SM
6670 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6671 Adjust regexp for OCaml warnings.
6672
0c325082
SM
6673 * electric.el (electric-pair-post-self-insert-function): Let user
6674 turn it off buffer-locally (bug#9932).
6675
90132c14
SM
6676 * progmodes/python.el (python-beginning-of-statement):
6677 Rewrite (bug#2703).
6678
1dce7193
SM
6679 * progmodes/compile.el: Better handle TABs (bug#9749).
6680 (compilation-internal-error-properties)
6681 (compilation-next-error-function): Obey the target buffer's
6682 compilation-error-screen-columns.
6683
c4e7c63a
JB
66842011-11-09 Juanma Barranquero <lekktu@gmail.com>
6685
6686 * progmodes/meta-mode.el: Remove obsolete comments.
6687 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6688 Fix typos in docstrings.
6689
2cffd681
MR
66902011-11-09 Martin Rudalics <rudalics@gmx.at>
6691
6692 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6693 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6694 (window--resizable): New function. Make all callers of
6695 window-resizable call window--resizable instead.
6696 (window-resizable): Rewrite in terms of window--resizable.
6697
0edcba87
GM
66982011-11-08 Glenn Morris <rgm@gnu.org>
6699
6700 * progmodes/delphi.el (delphi-mode-syntax-table):
6701 Let define-derived-mode define a proper syntax table. (Bug#9994)
6702
4b0d61e3
SM
67032011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6704
6705 * window.el: Stay away from defsubst.
6706 (window-list-no-nils): Remove.
6707 (window-state-get-1, window-state-get): Use backquote instead.
6708
cd394be1 67092011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6710
4b0d61e3 6711 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6712 Fix incorrect use of default argument in `completing-read'.
6713
e1c2c6f2
MR
67142011-11-08 Martin Rudalics <rudalics@gmx.at>
6715
6716 * window.el (display-buffer-function, special-display-function):
6717 Mention display-buffer-record-window but do not mention
6718 help-setup parameter in doc-strings.
b3f4a882 6719 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6720
105216ed
CY
67212011-11-08 Chong Yidong <cyd@gnu.org>
6722
6723 * window.el (window-total-height, window-total-width): Doc fix.
6724 (window-body-size): Move from C.
6725 (window-body-height, window-body-width): Move to C.
6726
0a9f9ab5
SM
67272011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6728
6729 * window.el: Make special-display like display-buffer-alist (bug#9532).
6730 (display-buffer--special-action): New function, morphed
6731 from display-buffer--special.
6732 (display-buffer): Use it to handle special-display-buffers at higher
6733 priority (just after display-buffer-alist).
6734 (display-buffer-fallback-action, display-buffer--other-frame-action)
6735 (pop-to-buffer-same-window): Remove display-buffer--special.
6736
a769dd15
GM
67372011-11-07 Glenn Morris <rgm@gnu.org>
6738
6739 * calendar/cal-menu.el (cal-menu-set-date-title):
6740 Do nothing if not in a calendar. (Bug#9976)
6741
05a61ee3
SM
67422011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6743
6744 * files.el (find-file): Always use selected-window.
6745
be7f5545
MR
67462011-11-07 Martin Rudalics <rudalics@gmx.at>
6747
6748 * window.el (window-combinations): Make WINDOW argument
6749 mandatory. Rewrite doc-string.
6750 (walk-window-subtree, window-atom-check, window-min-delta)
6751 (window-max-delta, window--resize-this-window)
6752 (window--resize-root-window-vertically, window-tree)
6753 (balance-windows, window-state-put): Rewrite doc-strings as to
6754 not mention the term "subwindow".
6755 (window--resize-subwindows-skip-p): Rename to
6756 window--resize-child-windows-skip-p.
6757 (window--resize-subwindows-normal): Rename to
6758 window--resize-child-windows-normal.
6759 (window--resize-subwindows): Rename to
6760 window--resize-child-windows.
6761 (window-or-subwindow-p): Rename to window--in-subtree-p.
6762
3c6702ef
ML
67632011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6764
6765 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6766 Ensure that mbox format messages end in two newlines (Bug#9974).
6767
49745b39
CY
67682011-11-06 Chong Yidong <cyd@gnu.org>
6769
6770 * window.el (window-combination-p): Function deleted; its
6771 side-effect is not used in any existing code.
6772 (window-combinations, window-combined-p): Call window-*-child
6773 directly.
6774
24300f5f
CY
67752011-11-05 Chong Yidong <cyd@gnu.org>
6776
6777 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6778 (window-size-ignore, window-state-get): Callers changed.
6779 (window-normalize-window): Rename from window-normalize-any-window.
6780 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6781 (window-normalize-live-window): Delete.
447f16b8
CY
6782 (window-combination-p, window-combined-p, window-combinations)
6783 (walk-window-subtree, window-atom-root, window-min-size)
6784 (window-sizable, window-sizable-p, window-size-fixed-p)
6785 (window-min-delta, window-max-delta, window-resizable)
6786 (window-resizable-p, window-full-height-p, window-full-width-p)
6787 (window-current-scroll-bars, window-point-1, set-window-point-1)
6788 (window-at-side-p, window-in-direction, window-resize)
6789 (adjust-window-trailing-edge, maximize-window, minimize-window)
6790 (window-deletable-p, delete-window, delete-other-windows)
6791 (record-window-buffer, unrecord-window-buffer)
6792 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6793 (quit-window, split-window, window-state-put)
6794 (set-window-text-height, fit-window-to-buffer)
6795 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6796
89bd5ee1
EZ
67972011-11-04 Eli Zaretskii <eliz@gnu.org>
6798
53479029
EZ
6799 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6800 rfc2047-decode-string.
6801 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6802 warnings.
6803
89bd5ee1
EZ
6804 * window.el (window-body-height, window-body-width): Mention in
6805 the doc string that the return values are in frame's canonical
6806 units. (Bug#9949)
6807
bd17fdee
AM
68082011-11-03 Alan Mackenzie <acm@muc.de>
6809
6810 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6811 change in cc-engine.el.
6812
acc825c5
SM
68132011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6814
6815 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6816
1885e5b8
MR
68172011-11-02 Martin Rudalics <rudalics@gmx.at>
6818
6819 * window.el (quit-window): Call unrecord-window-buffer after
6820 showing another buffer in the window. (Bug#9937)
acc825c5 6821 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6822
ebe06da9
JB
68232011-11-02 Juanma Barranquero <lekktu@gmail.com>
6824
6825 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6826 Accept status with more than 9 shelves. (Bug#9935)
6827 Reported by Colin D Bennett <colin@gibibit.com>.
6828
4ee88440
MR
68292011-11-01 Martin Rudalics <rudalics@gmx.at>
6830
6831 * help.el (with-help-window): Don't reference
6832 temp-buffer-show-specifiers in doc-string.
6833
08e1d82c
AS
68342011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6835
6836 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6837 menu-item.
6838
84bd6e9e
VJL
68392011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6840
6841 * whitespace.el: New version 13.2.2.
6842 (whitespace-newline-mode): Disable properly. Reported by Sarah
6843 <EmacsWiki>.
6844
dba0634a
UJ
68452011-10-30 Ulf Jasper <ulf.jasper@web.de>
6846
6847 * net/newst-treeview.el: Remove "Time-stamp".
6848 (newsticker--group-manage-orphan-feeds): Do not call
6849 newsticker--treeview-tree-update.
db22a3c2
JB
6850 (newsticker-treeview-update, newsticker-treeview):
6851 Call newsticker--treeview-tree-update if necessary.
dba0634a 6852
3d8daefe
MR
68532011-10-30 Martin Rudalics <rudalics@gmx.at>
6854
6855 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6856 (window-iso-combinations): Remove "iso-" infix.
6857 Suggested by Chong Yidong.
3d8daefe
MR
6858 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6859 (window-max-delta-1, window-resize, window--resize-siblings)
6860 (window--resize-this-window, adjust-window-trailing-edge)
6861 (split-window, balance-windows-1)
6862 (shrink-window-if-larger-than-buffer):
6863 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6864 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6865
1bc4c3ae
SM
68662011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6867
6868 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6869 in place (bug#9907).
6870 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6871 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6872 (eshell-structure-basic-command, eshell-rewrite-while-command)
6873 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6874 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6875 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6876 (eshell-do-pipelines-synchronously, eshell-eval-command):
6877 Use backquotes and prefer setq to set.
6878 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6879 (eshell-macrop): Use functionp.
c1e2f5fa 6880 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6881
30b65d9c
CY
68822011-10-30 Chong Yidong <cyd@gnu.org>
6883
6884 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6885 instead of set-mark (Bug#9810).
6886
2d197ffb
CY
68872011-10-30 Chong Yidong <cyd@gnu.org>
6888
6889 * window.el (split-window-below, split-window-right): Rename from
6890 split-window-above-each-other and split-window-side-by-side
6891 respectively. All callers changed.
6892 (split-window-sensibly, split-window-sensibly): Use them.
6893 (split-window-keep-point): Doc fix.
6894
6895 * isearch.el: Add isearch-scroll property to split-window-below
6896 and split-window-right.
6897
6898 * follow.el (follow-mode):
6899 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6900 * progmodes/ada-xref.el (ada-gdb-application):
6901 * emulation/vip.el (vip-buffer-in-two-windows):
6902 * image-dired.el (image-dired-dired-with-window-configuration):
6903 * dired-x.el (dired-do-find-marked-files):
6904 * dired.el (dired-pop-to-buffer):
6905 * bs.el (bs--show-with-configuration):
6906 * vc/emerge.el (emerge-setup-windows):
6907 * textmodes/two-column.el (2C-two-columns):
6908 * textmodes/reftex-toc.el (reftex-toc):
6909 * progmodes/gdb-mi.el (gdb-setup-windows):
6910 * progmodes/fortran.el (fortran-window-create):
6911 * net/newst-treeview.el (newsticker--treeview-window-init):
6912 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6913 * emulation/tpu-edt.el (tpu-gold-map):
6914 * emulation/crisp.el (crisp-mode-map):
6915 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6916
38bb2ca8
CY
69172011-10-29 Chong Yidong <cyd@gnu.org>
6918
aa4de341
CY
6919 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6920
e1eb5385
CY
6921 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6922
5d2ece3c
CY
6923 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6924 forged Ispell output (Bug#7904).
6925
38bb2ca8
CY
6926 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6927
d0af9f77
SM
69282011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6929
6930 * doc-view.el: Avoid ugly errors about not finding nil.
6931 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6932 (doc-view-dvipdf-program, doc-view-unoconv-program)
6933 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6934 Avoid nil or absolute file name as default value.
6935 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6936
52bedd34
AM
69372011-10-28 Alan Mackenzie <acm@muc.de>
6938
db22a3c2 6939 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6940
7e43cfa5
AM
69412011-10-28 Alan Mackenzie <acm@muc.de>
6942
6943 Amend the handling of c-beginning/end-of-defun in nested declaration
6944 scopes.
6945
52bedd34
AM
6946 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6947 cc-langs.el. Change it to a defcustom.
7e43cfa5 6948
52bedd34
AM
6949 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6950 cc-vars.el.
7e43cfa5 6951
d0af9f77
SM
6952 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6953 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6954
52bedd34 6955 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6956 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6957 (c-widen-to-enclosing-decl-scope): New function.
6958 (c-while-widening-to-decl-block): New macro.
6959 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6960 outward for defun boundaries, and correspondingly change symbol
6961 `respect-enclosure' to `go-outward'.
6962 (c-declaration-limits): Change algorithm to report only the "innermost"
6963 defun's boundaries.
6964
1a2ce9ee
DD
69652011-10-28 Deniz Dogan <deniz@dogan.se>
6966
6967 * net/rcirc.el (rcirc-mode): Use hard newlines.
6968
bc97a826
AM
69692011-10-28 Alan Mackenzie <acm@muc.de>
6970
6971 Amend to indent and fontify macros "which include their own semicolon"
6972 correctly, using the "virtual semicolon" mechanism.
6973
52bedd34 6974 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6975
d0af9f77 6976 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6977 Recode to scan one line at a time rather than having \n and \r
58179cce 6978 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6979 (c-forward-label): Amend for virtual semicolons.
58179cce 6980 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6981
52bedd34
AM
6982 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6983 of the new C macros.
bc97a826 6984
52bedd34 6985 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6986 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6987 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6988 (c-opt-cpp-macro-define): Make into a full language variable.
6989 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6990 AWK Mode (including \n, \r) removed, no longer needed.
6991
d0af9f77
SM
6992 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6993 Invoke c-make-macro-with-semi-re.
bc97a826 6994
52bedd34
AM
6995 * progmodes/cc-vars.el (c-macro-with-semi-re):
6996 (c-macro-names-with-semicolon): New variables.
58179cce 6997 (c-make-macro-with-semi-re): New function.
bc97a826 6998
7a6c0941
SM
69992011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7000
7001 * vc/log-edit.el: Fill empty field rather than adding new one.
7002 (log-edit-add-field): New function.
7003 (log-edit-insert-changelog): Use it.
7004
b0c4cdcf
ML
70052011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7006
7007 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7008
ee1f1da9
SM
70092011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7010
7011 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7012 (gdb--check-interpreter): New function.
7013 (gdb): Use it.
7014
51bc5f8b
GM
70152011-10-27 Glenn Morris <rgm@gnu.org>
7016
416a2c45
GM
7017 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7018 (least-positive-float, least-negative-float)
7019 (least-positive-normalized-float, least-negative-normalized-float)
7020 (float-epsilon, float-negative-epsilon):
7021 Remove unnecessary declarations.
7022
7023 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7024 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7025 (least-positive-float, least-negative-float)
7026 (least-positive-normalized-float, least-negative-normalized-float)
7027 (float-epsilon, float-negative-epsilon): Add doc-strings,
7028 based on those in cl.texi.
7029
51bc5f8b
GM
7030 * files.el (set-visited-file-name): If the major-mode changed,
7031 reload the local variables. (Bug#9796)
7032
15de15c6
CY
70332011-10-27 Chong Yidong <cyd@gnu.org>
7034
7035 * subr.el (change-major-mode-after-body-hook): New hook.
7036 (run-mode-hooks): Run it.
7037
ee1f1da9
SM
7038 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7039 Use change-major-mode-before-body-hook.
15de15c6
CY
7040
7041 * simple.el (fundamental-mode):
7042 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7043 change introducing fundamental-mode-hook.
7044
5430d399
JB
70452011-10-26 Juanma Barranquero <lekktu@gmail.com>
7046
acc825c5 7047 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 7048
ad74a69e
MA
70492011-10-26 Michael Albinus <michael.albinus@gmx.de>
7050
7051 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 7052 tramp.el explicitly. (Bug#7583)
ad74a69e 7053
71d4c2a5
SM
70542011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7055
7056 * progmodes/octave-mod.el:
7057 * progmodes/octave-inf.el: Update maintainer.
7058
b1f6fa26
CY
70592011-10-26 Chong Yidong <cyd@gnu.org>
7060
7061 * subr.el (with-wrapper-hook): Rewrite doc.
7062
3f04efd6
MA
70632011-10-25 Michael Albinus <michael.albinus@gmx.de>
7064
7065 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 7066 filenames "/method:foo:". (Bug#9793)
3f04efd6 7067
410488d3
SM
70682011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7069
7070 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7071 (bug#9865).
7072
c1ebb47e
GM
70732011-10-24 Glenn Morris <rgm@gnu.org>
7074
7075 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7076
7f5c46c7
MA
70772011-10-24 Michael Albinus <michael.albinus@gmx.de>
7078
7079 * notifications.el: Add the requirement of a running D-Bus session
7080 bus to the Commentary.
7081
db2440b6
JL
70822011-10-24 Juri Linkov <juri@jurta.org>
7083
7084 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7085 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7086 (Bug#9364)
7087
feecf435
JL
70882011-10-24 Juri Linkov <juri@jurta.org>
7089
7090 * info.el (Info-following-node-name-re): Add newline to the list
7091 of allowed characters for leading space. (Bug#9824)
7092
a3839de2
SM
70932011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7094
acc825c5
SM
7095 * progmodes/octave-inf.el (inferior-octave-mode-map):
7096 Fix C-c C-h binding.
a3839de2
SM
7097 * progmodes/octave-mod.el (octave-help): Remove.
7098
09388e76
MA
70992011-10-23 Michael Albinus <michael.albinus@gmx.de>
7100
7101 Sync with Tramp 2.2.3.
7102
7103 * net/tramp-cache.el (top): Pacify byte-compiler using
7104 `init-file-user' and `site-run-file'.
7105
7106 * net/trampver.el: Update release number.
7107
86c60681
CY
71082011-10-23 Chong Yidong <cyd@gnu.org>
7109
7110 * files.el (toggle-read-only): Remove obsolete comment about
7111 version control.
7112
7113 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7114 for toggle-read-only. Note that this hasn't called vc-next-action
7115 since 2008-05-02, though it wasn't documented at the time.
7116
a3839de2
SM
7117 * vc/ediff-init.el (ediff-toggle-read-only-function):
7118 Use toggle-read-only.
86c60681 7119
cd5495ff
AM
71202011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7121
7122 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7123 of c-parse-state.
7124
00b77525 7125 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 7126 correct faulty logical expression.
cd5495ff
AM
7127 (c-parse-state-state, c-record-parse-state-state):
7128 (c-replay-parse-state-state): New defvar/defuns.
7129 (c-debug-parse-state): Use new functions.
7130
42ee24ed
MR
71312011-10-22 Martin Rudalics <rudalics@gmx.at>
7132
7133 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 7134 last fix. Use window-in-direction correctly.
42ee24ed 7135
a7dee7e7
CY
71362011-10-21 Chong Yidong <cyd@gnu.org>
7137
7138 * progmodes/idlwave.el (idlwave-mode):
7139 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
7140 require-final-newline; that's done in prog-mode.
7141 Suggested by Stefan Monnier.
a7dee7e7 7142
e07b9a6d
MR
71432011-10-21 Martin Rudalics <rudalics@gmx.at>
7144
7145 * mouse.el (mouse-drag-window-above)
7146 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7147 (mouse-drag-mode-line-1, mouse-drag-header-line)
7148 (mouse-drag-vertical-line-rightward-window): Remove.
7149 (mouse-drag-line): New function.
7150 (mouse-drag-mode-line, mouse-drag-header-line)
7151 (mouse-drag-vertical-line): Call mouse-drag-line.
7152 * window.el (window-at-side-p, windows-at-side): New functions.
7153
7e1361d9
UM
71542011-10-21 Ulrich Mueller <ulm@gentoo.org>
7155
7156 * tar-mode.el (tar-grind-file-mode):
7157 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7158
30fcaf3a
CY
71592011-10-21 Chong Yidong <cyd@gnu.org>
7160
7161 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
7162 * progmodes/vera-mode.el (vera-mode):
7163 Use mode-require-final-newline.
30fcaf3a 7164
516eddb0
GM
71652011-10-20 Glenn Morris <rgm@gnu.org>
7166
db22a3c2 7167 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 7168
10d5f513
CS
71692011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7170
7171 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7172
ac6c8639
CY
71732011-10-20 Chong Yidong <cyd@gnu.org>
7174
7175 * emulation/cua-base.el (cua-mode):
7176 * mail/footnote.el (footnote-mode):
7177 * mail/mailabbrev.el (mail-abbrevs-mode):
7178 * net/xesam.el (xesam-minor-mode):
7179 * progmodes/bug-reference.el (bug-reference-mode):
7180 * progmodes/cap-words.el (capitalized-words-mode):
7181 * progmodes/compile.el (compilation-minor-mode)
7182 (compilation-shell-minor-mode):
7183 * progmodes/gud.el (gud-tooltip-mode):
7184 * progmodes/hideif.el (hide-ifdef-mode):
7185 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7186 * progmodes/subword.el (subword-mode):
7187 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7188 * progmodes/which-func.el (which-function-mode):
7189 * term/tvi970.el (tvi970-set-keypad-mode):
7190 * term/vt100.el (vt100-wide-mode):
7191 * textmodes/flyspell.el (flyspell-mode):
7192 * textmodes/ispell.el (ispell-minor-mode):
7193 * textmodes/nroff-mode.el (nroff-electric-mode):
7194 * textmodes/paragraphs.el (use-hard-newlines):
7195 * textmodes/refill.el (refill-mode):
7196 * textmodes/reftex.el (reftex-mode):
7197 * textmodes/rst.el (rst-minor-mode):
7198 * textmodes/sgml-mode.el (html-autoview-mode)
7199 (sgml-electric-tag-pair-mode):
7200 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7201 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7202 * emulation/crisp.el (crisp-mode):
7203 * emacs-lisp/eldoc.el (eldoc-mode):
7204 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7205 minor mode behavior.
7206
aa42ab43
JL
72072011-10-19 Juri Linkov <juri@jurta.org>
7208
7209 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7210 the list of hard-coded chars with escape-glyph face.
7211
89400f1d
SM
72122011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7213
7214 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7215
305c07f6
MA
72162011-10-19 Michael Albinus <michael.albinus@gmx.de>
7217
7218 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7219 running process.
7220
13754b54
GM
72212011-10-19 Glenn Morris <rgm@gnu.org>
7222
7223 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7224 Ignore ignored files. (Bug#9726)
7225
06e21633
CY
72262011-10-19 Chong Yidong <cyd@gnu.org>
7227
7228 Doc fix for minor modes, stating that an omitted argument enables
7229 the mode unconditionally when called from Lisp.
7230
7231 * abbrev.el (abbrev-mode):
7232 * allout.el (allout-mode):
7233 * autoinsert.el (auto-insert-mode):
7234 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7235 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7236 (global-auto-revert-mode):
7237 * battery.el (display-battery-mode):
7238 * composite.el (global-auto-composition-mode)
7239 (auto-composition-mode):
7240 * delsel.el (delete-selection-mode):
7241 * desktop.el (desktop-save-mode):
7242 * dired-x.el (dired-omit-mode):
7243 * dirtrack.el (dirtrack-mode):
7244 * doc-view.el (doc-view-minor-mode):
7245 * double.el (double-mode):
7246 * electric.el (electric-indent-mode, electric-pair-mode):
7247 * emacs-lock.el (emacs-lock-mode):
7248 * epa-hook.el (auto-encryption-mode):
7249 * follow.el (follow-mode):
7250 * font-core.el (font-lock-mode):
7251 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7252 * help.el (temp-buffer-resize-mode):
7253 * hilit-chg.el (highlight-changes-mode)
7254 (highlight-changes-visible-mode):
7255 * hi-lock.el (hi-lock-mode):
7256 * hl-line.el (hl-line-mode, global-hl-line-mode):
7257 * icomplete.el (icomplete-mode):
7258 * ido.el (ido-everywhere):
7259 * image-file.el (auto-image-file-mode):
7260 * image-mode.el (image-minor-mode):
7261 * iswitchb.el (iswitchb-mode):
7262 * jka-cmpr-hook.el (auto-compression-mode):
7263 * linum.el (linum-mode):
7264 * longlines.el (longlines-mode):
7265 * master.el (master-mode):
7266 * mb-depth.el (minibuffer-depth-indicate-mode):
7267 * menu-bar.el (menu-bar-mode):
7268 * minibuf-eldef.el (minibuffer-electric-default-mode):
7269 * mouse-sel.el (mouse-sel-mode):
7270 * msb.el (msb-mode):
7271 * mwheel.el (mouse-wheel-mode):
7272 * outline.el (outline-minor-mode):
7273 * paren.el (show-paren-mode):
7274 * recentf.el (recentf-mode):
7275 * reveal.el (reveal-mode, global-reveal-mode):
7276 * rfn-eshadow.el (file-name-shadow-mode):
7277 * ruler-mode.el (ruler-mode):
7278 * savehist.el (savehist-mode):
7279 * scroll-all.el (scroll-all-mode):
7280 * scroll-bar.el (scroll-bar-mode):
7281 * server.el (server-mode):
7282 * shell.el (shell-dirtrack-mode):
7283 * simple.el (auto-fill-mode, transient-mark-mode)
7284 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7285 (line-number-mode, column-number-mode, size-indication-mode)
7286 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7287 * strokes.el (strokes-mode):
7288 * time.el (display-time-mode):
7289 * t-mouse.el (gpm-mouse-mode):
7290 * tool-bar.el (tool-bar-mode):
7291 * tooltip.el (tooltip-mode):
7292 * type-break.el (type-break-mode-line-message-mode)
7293 (type-break-query-mode):
7294 * view.el (view-mode):
7295 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7296 (global-whitespace-mode, global-whitespace-newline-mode):
7297 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7298
a3839de2
SM
7299 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7300 Fix autogenerated docstring.
06e21633 7301
5214e501
JL
73022011-10-19 Juri Linkov <juri@jurta.org>
7303
7304 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7305 by checking environment variables "DESKTOP_SESSION" and
7306 "XDG_CURRENT_DESKTOP". (Bug#9779)
7307
195f8db9
JL
73082011-10-19 Juri Linkov <juri@jurta.org>
7309
7310 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7311 (browse-url-chromium-program, browse-url-chromium-arguments):
7312 New defcustoms.
7313 (browse-url-default-browser): Check for `browse-url-chromium' and
7314 call `browse-url-chromium-program'.
7315 (browse-url-chromium): New command. (Bug#9779)
7316
343a34ff
JB
73172011-10-18 Juanma Barranquero <lekktu@gmail.com>
7318
7319 * facemenu.el (list-colors-duplicates): On Windows, detect more
7320 duplicates by assuming that only colors matching "^System" are
7321 special "system colors". (Bug#9722)
7322
6978a151
SM
73232011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7324
7325 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7326 to distinguish the author from the committer.
7327
6a80b297
MA
73282011-10-18 Michael Albinus <michael.albinus@gmx.de>
7329
7330 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7331
b31a5677
JK
73322011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7333
7334 * international/mule.el (sgml-html-meta-auto-coding-function):
7335 Add support for detecting encoding in HTML5 specified only as
7336 <meta charset="UTF-8">. Implementation just makes http-equiv and
7337 content-type parts from HTML4 encoding string optional. (Bug#9716)
7338
80c6d77f
GM
73392011-10-18 Glenn Morris <rgm@gnu.org>
7340
7341 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7342
08b0fee8
CY
73432011-10-18 Chong Yidong <cyd@gnu.org>
7344
7345 * faces.el (cursor): Doc fix.
7346
67e729a5
CY
73472011-10-17 Chong Yidong <cyd@gnu.org>
7348
7349 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7350
343a34ff 73512011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7352
7353 * dirtrack.el (dirtrack): Support shell buffers with path
7354 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7355
0bc06380
TZ
73562011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7357
7358 * json.el: Bump version to 1.3 and note change in History.
7359 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7360
8b79f3e0
SM
73612011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7362
5a7c536b
SM
7363 * comint.el (comint-insert-input, comint-send-input)
7364 (comint-get-old-input-default, comint-backward-matching-input)
7365 (comint-next-prompt): Use nil instead of `input' for field property of
7366 past user input (bug#114).
7367
96a8a0df
SM
7368 * minibuffer.el (completion--replace): Inherit surrounding properties
7369 (bug#114).
7370 (minibuffer-complete-and-exit): Use it.
7371
8b79f3e0
SM
7372 * comint.el (comint--table-subvert): Quote the all-completions output
7373 (bug#9160).
7374
b8f7ff0d
MR
73752011-10-17 Martin Rudalics <rudalics@gmx.at>
7376
8b79f3e0 7377 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7378
b8f7ff0d 7379 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7380 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7381 entries and separate them from frame entries.
7382
c235b555
GM
73832011-10-15 Glenn Morris <rgm@gnu.org>
7384
7385 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7386 Doc fixes.
7387
6bbfa6e1
CY
73882011-10-15 Chong Yidong <cyd@stupidchicken.com>
7389
8b79f3e0
SM
7390 * net/network-stream.el (network-stream-open-starttls):
7391 Improve detection of failure due to lack of TLS support.
ec5c990d 7392
6bbfa6e1
CY
7393 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7394 putting the input text in front and in bold.
7395
98488977
SM
73962011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7397
3d1337be
SM
7398 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7399
ee0b45e4
SM
7400 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7401 empty buffer.
7402
98488977
SM
7403 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7404 unread-command-events rather than pushing yet-another event.
7405
186f4720
EZ
74062011-10-14 Eli Zaretskii <eliz@gnu.org>
7407
7408 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7409 the explanation of the possible choices. Make the options passed
7410 to completing-read shorter.
7411
8b7a997c
AM
74122011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7413
7414 * textmodes/flyspell.el (flyspell-large-region): Make sure
7415 extended character mode is used if defined (Bug#1339).
7416
12587bbb
EZ
74172011-10-13 Eli Zaretskii <eliz@gnu.org>
7418
7419 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7420 character info for LRE, LRO, RLE, and RLO characters by appending
7421 an invisible PDF.
12587bbb 7422
bad41229
SM
74232011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7424
7425 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7426 even in case of error; add debug spec; simplify data flow.
7427 (with-timeout-handler): Remove.
7428
28dbc92f
MA
74292011-10-12 Michael Albinus <michael.albinus@gmx.de>
7430
7431 Fix Bug#6019, Bug#9315.
7432
7433 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7434 complete `buffer-file-name', the local file name part could look
7435 remotely (for example on VMS).
7436
7437 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7438 `tramp-run-real-handler'.
7439 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7440 already quoted by '"'.
7441
7442 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7443 Let `file-name-handler-alist' be nil, the local file name part
7444 could look remotely (for example on VMS).
7445
e1b0b23a
SM
74462011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7447
7448 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7449 from here...
7450 (flyspell-post-command-hook): ...to here.
7451
a120bde9
SM
74522011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7453
7454 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7455 if not needed.
7456 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7457 using completion. Protect against "slow" callers.
7458 Remove the "message hack".
7459
7ce7717b
JL
74602011-10-11 Juri Linkov <juri@jurta.org>
7461
7462 * isearch.el (isearch-lazy-highlight-word): New variable.
7463 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7464 Use it. (Bug#9727)
7465
c02ee9d6
GM
74662011-10-11 Glenn Morris <rgm@gnu.org>
7467
7468 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7469 like f90-previous-statement does.
7470
93e616fd 74712011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7472
1f190e73 7473 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7474 only in interactive use, to avoid error.
7475
af7b6078
SM
74762011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7477
7478 * minibuffer.el (completion-file-name-table): Fix last change,
7479 i.e. ignore normal errors but not the other ones.
7480
0563dae9
MR
74812011-10-10 Martin Rudalics <rudalics@gmx.at>
7482
7483 * window.el (special-display-buffer-names)
7484 (special-display-regexps): Remove some remnants of earlier
7485 changes from doc-strings.
366ca7f3
MR
7486 (quit-windows-on): New function.
7487
7488 * vc/vc.el (vc-revert, vc-rollback):
7489 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7490 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7491 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7492
49677495
MR
74932011-10-09 Martin Rudalics <rudalics@gmx.at>
7494
7495 * window.el (frame-auto-hide-function): Add version tag.
7496 (Bug#9699)
7497
56f2d1e1
MA
74982011-10-09 Michael Albinus <michael.albinus@gmx.de>
7499
7500 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7501 condition.
7502
112a6592
LL
75032011-10-09 Leo Liu <sdl.web@gmail.com>
7504
7505 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7506 (Bug#9701)
7507
0812589b
GM
75082011-10-08 Glenn Morris <rgm@gnu.org>
7509
7510 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7511 before the first code statement zero indent. (Bug#9690)
7512
b2b0776e
CY
75132011-10-08 Chong Yidong <cyd@stupidchicken.com>
7514
7515 * simple.el (count-words-region): Always count in the region.
7516 Report the number of lines and characters too.
7517 (count-words): New command, which counts in the buffer if the
7518 region is inactive, as count-words-region used to.
7519 (count-words--message): New function. Handle plurals.
7520 (count-lines-region): Make it an alias for count-words-region.
7521
7522 * bindings.el (esc-map): Replace count-lines-region with
7523 count-words-region.
7524
c557cd6b
MR
75252011-10-08 Martin Rudalics <rudalics@gmx.at>
7526
7527 * window.el (window--delete): Delete dedicated frame
7528 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7529 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7530
61a57ef4 75312011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7532
3a7d293b 7533 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7534
c3833279
CY
75352011-10-07 Chong Yidong <cyd@stupidchicken.com>
7536
7537 * bindings.el ([M-left],[M-right]): Bind to left-word and
7538 right-word respectively.
7539
21ce8245
GM
75402011-10-07 Glenn Morris <rgm@gnu.org>
7541
7542 * cus-start.el (debug-on-quit): Fix custom type.
7543
6d823bb2
LMI
75442011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7545
0181e193
LMI
7546 * subr.el (define-key-after): Clarify that the function is not
7547 useful for non-menu keymaps.
7548
6d823bb2
LMI
7549 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7550
8e3459ce 75512011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7552
21ce8245 7553 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7554 in current minibuffer (Fix bug with recursive minibuffers).
7555
a1c2d21e
CY
75562011-10-06 Chong Yidong <cyd@stupidchicken.com>
7557
7558 * progmodes/gdb-mi.el (gdb): Doc fix.
7559
5a4cf282
MR
75602011-10-05 Martin Rudalics <rudalics@gmx.at>
7561
7562 * window.el (frame-auto-hide-function): New option replacing
7563 frame-auto-delete. Suggested by Stefan Monnier.
7564 (window--delete): Call frame-auto-hide-function instead of
7565 investigating frame-auto-delete.
c96111ea
MR
7566 (window-point-1, set-window-point-1): New functions.
7567 (window-in-direction, record-window-buffer, window-state-get-1)
7568 (display-buffer-record-window): Use window-point-1 instead of
7569 window-point.
7570 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7571
9854542e
SM
75722011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7573
7574 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7575
8943cfb0
GM
75762011-10-05 Glenn Morris <rgm@gnu.org>
7577
7578 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7579 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7580
647ab967
LL
75812011-10-05 Leo Liu <sdl.web@gmail.com>
7582
7583 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7584 works with buffer object.
7585
3ddfbced
SM
75862011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7587
7588 * mpc.el (mpc-tool-bar-map): Add labels.
7589
bdfa5dd2
GM
75902011-10-04 Glenn Morris <rgm@gnu.org>
7591
7592 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7593
0e2070b5
MR
75942011-10-04 Martin Rudalics <rudalics@gmx.at>
7595
7596 * window.el (window--delete): New function.
7597 (frame-auto-delete): Resuscitate option.
7598 (bury-buffer, replace-buffer-in-windows)
7599 (quit-window): Rewrite using window--delete.
7600 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7601 Pass display-buffer-mark-dedicated to window--display-buffer-2
7602 (Bug#9639).
7603
3dc61a09
SM
76042011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7605
915a9b64
SM
7606 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7607 returns a list (bug#9554). Add remote file name completion.
7608 * comint.el (comint--table-subvert): Curry and get quote&unquote
7609 functions as arguments.
7610 (comint--complete-file-name-data): Adjust call accordingly.
7611 * pcomplete.el (pcomplete--table-subvert): Remove.
7612 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7613
3dc61a09
SM
7614 * minibuffer.el (completion-table-case-fold): Use currying.
7615 (completion--styles-type, completion--cycling-threshold-type):
7616 New constants.
7617 (completion-styles, completion-category-overrides)
7618 (completion-cycle-threshold): Use them.
7619 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7620 completion-table-case-fold.
7621
8ea0a993
SB
76222011-10-03 Stephen Berman <stephen.berman@gmx.net>
7623
7624 * minibuffer.el (completion-category-overrides): Fix type of styles
7625 and add more user friendly tags (bug#9660).
7626
8c24b7f6
SM
76272011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7628
7629 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7630 (mule-input-method-string): New widget.
7631 (default-input-method, language-info-custom-alist): Use it.
7632
428fe61a
SM
76332011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7634
32c1fffd
SM
7635 * pcomplete.el: Require comint.
7636 (pcomplete--common-suffix): Remove.
7637 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7638 (pcomplete--table-subvert): Sync with comint--table-subvert.
7639 (pcomplete--entries): Use comint-completion-file-name-table.
7640 * comint.el (comint-unquote-filename): Simplify.
7641 (comint-completion-file-name-table): New function (bug#9616).
7642 (comint--complete-file-name-data): Use it.
7643
428fe61a
SM
7644 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7645 (pcmpl-gnu-tar-buffer): Remove.
7646 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7647 around. Make sure pcomplete-suffix-list is only changed temporarily.
7648 Don't look inside the tar's file if it's too large.
428fe61a 7649
04c52e2f
CY
76502011-10-01 Chong Yidong <cyd@stupidchicken.com>
7651
ce3cefcc
CY
7652 * cus-edit.el (custom-mode-map):
7653 * epa.el (epa-key-list-mode-map):
7654 * man.el (Man-mode-map):
7655 * startup.el (splash-screen-keymap):
7656 * simple.el (special-mode-map): Use scroll-up-command and
7657 scroll-down-command.
7658
7659 * progmodes/idlw-help.el (idlwave-help-mode-map):
7660 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7661 * net/newst-plainview.el (newsticker-mode-map):
7662 * emulation/ws-mode.el (wordstar-mode-map):
7663 * emulation/vi.el (vi-com-map):
7664 * calc/calc-graph.el (calc-graph-show-dumb):
7665 * term/sun.el (terminal-init-sun):
7666 * term/ns-win.el (global-map):
7667 * progmodes/grep.el (grep-mode-map):
7668 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7669 * mail/rmail.el (rmail-mode-map):
7670 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7671
04c52e2f
CY
7672 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7673 custom-safe-themes as special.
7674
79adf8c8
JD
76752011-10-01 Julien Danjou <julien@danjou.info>
7676
7677 * notifications.el (notifications-notify): Fix docstring.
7678
63bd50d3
PS
76792011-10-01 Per Starbäck <per@starback.se>
7680
7681 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7682
199e4c7e
MR
76832011-09-30 Martin Rudalics <rudalics@gmx.at>
7684
7685 * startup.el (command-line-1): Fix last fix by inserting
7686 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7687 (Bug#9605) and (Bug#9636)
199e4c7e 7688
fe5f08dd
EZ
76892011-09-29 Eli Zaretskii <eliz@gnu.org>
7690
7691 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7692 window is hscrolled, move by logical lines. (Bug#9607)
7693 (line-move-visual): Update the doc string to the above effect.
7694
b5516bbd
MR
76952011-09-29 Martin Rudalics <rudalics@gmx.at>
7696
ccee00c0
MR
7697 * window.el (display-buffer-record-window): When WINDOW is the
7698 selected window use `point' instead of `window-point'. (Bug#9626)
7699
b5516bbd
MR
7700 * startup.el (command-line-1): Use insert-before-markers when
7701 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7702
b5516bbd
MR
7703 * help.el (help-window): Remove variable.
7704
52aa0014
GM
77052011-09-29 Glenn Morris <rgm@gnu.org>
7706
7707 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7708
df9a7357
JB
77092011-09-29 Juanma Barranquero <lekktu@gmail.com>
7710
7711 * descr-text.el (describe-char-categories): Accept category
7712 descriptions more than one line long.
7713
a8406c20
SM
77142011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7715
88d9610c
SM
7716 * simple.el (delete-trailing-whitespace): Fix last change.
7717
a5daf810
SM
7718 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7719 Don't confuse "y => 3" as the beginning of a `y' operation.
7720
a8406c20
SM
7721 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7722 object has more than 4 slots (bug#9613).
7723
a239d4e9
JB
77242011-09-28 Juanma Barranquero <lekktu@gmail.com>
7725
7726 * subr.el (with-output-to-temp-buffer):
7727 * net/quickurl.el (quickurl, quickurl-browse-url):
7728 Fix typos in docstrings.
7729
693fbdb6
EZ
77302011-09-27 Eli Zaretskii <eliz@gnu.org>
7731
7732 * minibuffer.el (completion-styles)
7733 (completion-category-overrides): Cross reference each other in doc
7734 strings.
7735
8b457e28
GM
77362011-09-27 Glenn Morris <rgm@gnu.org>
7737
7738 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7739 to split-string. (Bug#9606)
7740
85a16208
LMI
77412011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7742
7743 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7744 (bug#9615).
7745
502f9ebd
CY
77462011-09-27 Chong Yidong <cyd@stupidchicken.com>
7747
7748 * emacs-lisp/package.el (list-packages): Fix echo area message.
7749
7690bdea
LL
77502011-09-27 Leo Liu <sdl.web@gmail.com>
7751
7752 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7753
e2ee6f30
MA
77542011-09-25 Michael Albinus <michael.albinus@gmx.de>
7755
7756 * net/dbus.el (dbus-unregister-object): Don't release services for
7757 registered signals. (Bug#9581)
7758
f3f98342
TZ
77592011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7760
7761 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7762 function that picks between cfengine 2 and 3 support
7763 automatically. Update docs accordingly.
7764
dd7aa8dd
KH
77652011-09-22 Kenichi Handa <handa@m17n.org>
7766
7767 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7768 ZERO.
7769 (indian-itrans-v5-table-for-tamil): New variable.
7770 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7771
3f2b07f8
KM
77722011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7773
7774 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7775 that's true if the current command involved collapsing of text.
7776 It's reset to false at the beginning of the next command.
7777 (allout-post-command-business): Move the cursor to the beginning
7778 of entry if the cursor is hidden and collapsing activity just
7779 happened.
7780
371d6a61
CY
77812011-09-24 Chong Yidong <cyd@stupidchicken.com>
7782
7783 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7784 tracking (Bug#9541).
7785
2ac2721a
UJ
77862011-09-24 Ulf Jasper <ulf.jasper@web.de>
7787
7788 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7789 (newsticker-show-news): Automatically load html rendering package
7790 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7791 because w3m-fill-column is let-bound" and the error "Symbol's value
7792 as variable is void: w3m-fill-column".
2ac2721a 7793
fac7ae53
MA
77942011-09-24 Michael Albinus <michael.albinus@gmx.de>
7795
7796 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7797 Release services only if they are defined. (Bug#9581)
7798
e08b633b
RS
77992011-09-23 Richard Stallman <rms@gnu.org>
7800
e488d29c
RS
7801 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7802 distinguish start of paragraph from start of its text.
7803
19c38752
RS
7804 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7805
e08b633b
RS
7806 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7807 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7808 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7809
0a39f27e
AS
78102011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7811
7812 * international/mule-diag.el (mule-diag): Insert a newline after
7813 each fontset description.
7814
db4e950d
SM
78152011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7816
7817 * simple.el (delete-trailing-whitespace):
7818 Document last change; simplify.
7819
eca3f3ea
PW
78202011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7821
d68e189a
PW
7822 * simple.el (delete-trailing-whitespace): Also delete
7823 extra newlines at the end of the buffer.
7824
eca3f3ea
PW
7825 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7826 (picture-newline): Use forward-line so as to ignore fields.
7827
01c157cc
SM
78282011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7829
7830 * subr.el (with-wrapper-hook): Fix edebug spec.
7831
022de23e
LMI
78322011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7833
7834 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7835 (bug#4538).
7836
91683089
MA
78372011-09-23 Michael Albinus <michael.albinus@gmx.de>
7838
eca3f3ea
PW
7839 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7840 Fix nasty bug using wrong cached values.
91683089 7841
5bdd6fa4
AM
78422011-09-23 Alan Mackenzie <acm@muc.de>
7843
7844 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7845
97adfb97
CY
78462011-09-23 Chong Yidong <cyd@stupidchicken.com>
7847
7848 * window.el (pop-to-buffer): Ensure right window is selected if we
7849 chose another frame.
7850
d4ef2b50
EZ
78512011-09-22 Eli Zaretskii <eliz@gnu.org>
7852
7853 * simple.el (what-cursor-position): Use get-char-property-change
7854 and next-single-char-property-change, to be able to show display
7855 properties that come from overlays as well as text properties.
7856
72258fe5
CY
78572011-09-22 Chong Yidong <cyd@stupidchicken.com>
7858
7859 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7860
7861 * cmuscheme.el (run-scheme, switch-to-scheme):
7862 * cus-edit.el (customize-group, custom-buffer-create)
7863 (customize-browse):
7864 * info.el (info):
7865 * shell.el (shell):
7866 * mail/sendmail.el (mail):
7867 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7868
8f098516
RS
78692011-09-22 Richard Stallman <rms@gnu.org>
7870
7871 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7872 move back only to line beg, don't move back over blank lines.
7873
e74f1bb6
MA
78742011-09-22 Michael Albinus <michael.albinus@gmx.de>
7875
7876 * files.el (copy-directory): Set directory attributes only in case
7877 they could be retrieved from the source directory. (Bug#9565)
7878
bfeef8b6
DK
78792011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7880
7881 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7882 (hs-find-block-beginning, hs-hide-level-recursive):
7883 Ignore strings as well as comments. (Bug#9502)
7884
7e423bb8
AS
78852011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7886
7887 * progmodes/sql.el (sql-comint-postgres):
7888 Convert port number to a string. (Bug#9566)
7889
b4d72fcf
MR
78902011-09-22 Martin Rudalics <rudalics@gmx.at>
7891
7892 * window.el (quit-window): Undedicate window when switching to
7893 previous buffer. Reported by Thierry Volpiatto
7894 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7895 (special-display-popup-frame): When popping up a new frame reset
7896 its previous buffers to nil. Simplify code.
b4d72fcf 7897
a7b88dc6
MA
78982011-09-21 Michael Albinus <michael.albinus@gmx.de>
7899
7900 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7901 and process filter, as done also in `shell-command'.
7902
cf4eacfd
MR
79032011-09-21 Martin Rudalics <rudalics@gmx.at>
7904
eca3f3ea 7905 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7906 Call set-window-start with NOFORCE argument t.
7907 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7908 (quit-window): Reword doc-string. Handle new format of
7909 quit-restore parameter. Don't delete window if it has a
7910 previous buffer we can show instead of the present one.
7911 (display-buffer-record-window): Rewrite using a new format for
7912 the quit-restore window parameter
7913 (special-display-popup-frame, display-buffer-same-window)
7914 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7915 (display-buffer-pop-up-window, display-buffer-use-some-window):
7916 Adapt symbol passed to display-buffer-record-window.
7917 * help.el (help-window-setup): Handle new format of quit-restore
7918 parameter.
7919
8d28cb95
SM
79202011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7921
94ab793f
SM
7922 * faces.el (face-list): Fix docstring (bug#9564).
7923
8d28cb95
SM
7924 * window.el (display-buffer--action-function-custom-type):
7925 Don't include internal functions in the Custom interface.
7926
3820edeb
JL
79272011-09-20 Juri Linkov <juri@jurta.org>
7928
7929 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7930 (Info-forward-node, Info-backward-node, Info-next-preorder)
7931 (Info-last-preorder): Use it. (Bug#9528)
7932
5147931d
JL
79332011-09-20 Juri Linkov <juri@jurta.org>
7934
7935 * info.el (Info-last-preorder): Visit last menu item only when
7936 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7937
cf499a1a
JD
79382011-09-20 Julien Danjou <julien@danjou.info>
7939
7940 * password-cache.el (password-cache-remove): Remove entries even if the
7941 value is nil, so that password with a nil value (negative caching) is
7942 possible to invalidate.
7943
f84e2fe2
LM
79442011-09-20 Lawrence Mitchell <wence@gmx.li>
7945
7946 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7947 all whitespace around breakpoint. (Bug#9553)
7948 (f90-find-breakpoint): Only break at whitespace inside a comment.
7949
78054a46
SM
79502011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7951
7952 * minibuffer.el (completion-file-name-table): Keep track of errors.
7953 (completion-table-with-predicate): Handle the case where pred1 is nil.
7954 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7955
345083b2
SM
79562011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7957
e24e27be
SM
7958 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7959 (debugger-return-value): Signal an error if the debugging context does
7960 not await any return value.
7961
345083b2
SM
7962 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7963 * image-mode.el (image-toggle-display-text)
7964 (image-toggle-display-image): Stay away from evil `intangible'.
7965
08d355e3
LL
79662011-09-19 Leo Liu <sdl.web@gmail.com>
7967
7968 * replace.el (occur-revert-arguments): Make it permanent-local.
7969 (occur-mode): Don't call font-lock-defontify.
7970
f01da43f
CY
79712011-09-19 Chong Yidong <cyd@stupidchicken.com>
7972
7973 * net/ldap.el (ldap-search-internal): Don't push empty search
7974 result (Bug#9508).
7975
b6072fa6
SM
79762011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7977
7978 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7979
443d6696
MA
79802011-09-19 Michael Albinus <michael.albinus@gmx.de>
7981
7982 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7983 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7984
7cc6e154
JL
79852011-09-18 Juri Linkov <juri@jurta.org>
7986
7987 * buff-menu.el (Buffer-menu-mode-map):
7988 * dired.el (dired-mode-map):
7989 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7990 (lisp-interaction-mode-map):
7991 * emacs-lisp/package.el (package-menu-mode-map):
7992 * epa.el (epa-key-list-mode-map):
7993 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7994 (menu-bar-options-menu):
7995 * outline.el (outline-mode-menu-bar-map):
7996 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7997 * vc/vc-dir.el (vc-dir-menu-map):
7998 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7999 Capitalize non-function content words in menu item strings.
8000
8001 * dired.el (dired-mode-map): Add menu item for
8002 `image-dired-dired-toggle-marked-thumbs'.
8003
80302a81
JL
80042011-09-18 Juri Linkov <juri@jurta.org>
8005
8006 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8007 to `isearch-case-fold-search' and restore its original value
8008 after the `isearch-mode' call.
8009
46c5cf66
JL
80102011-09-18 Juri Linkov <juri@jurta.org>
8011
8012 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8013 because `zgrep' returns 1 for successful matches (bug#9226).
8014
d18b513b
JL
80152011-09-18 Juri Linkov <juri@jurta.org>
8016
8017 * info.el (Info-extract-menu-node-name): Check the second match
8018 for empty string (second test-case of bug#9528).
8019 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8020 intermediate nodes to the history (first test-case of bug#9528).
8021
72753f87
JL
80222011-09-18 Juri Linkov <juri@jurta.org>
8023
8024 * info.el (Info-mode-syntax-table): New variable.
1154d12e 8025 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 8026
c9384295
JL
80272011-09-18 Juri Linkov <juri@jurta.org>
8028
1154d12e
JB
8029 * info.el (Info-file-supports-index-cookies):
8030 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8031 outputs one more line for long file names (bug#4142).
c9384295 8032
d473dce8
CY
80332011-09-18 Chong Yidong <cyd@stupidchicken.com>
8034
8035 * newcomment.el (comment-normalize-vars): If prompting for
8036 comment-start, set comment-start-skip too (Bug#8424).
8037
2176854d
JB
80382011-09-18 Johan Bockgård <bojohan@gnu.org>
8039
8040 * icomplete.el: Fix previous fix of Bug#5849.
8041 (icomplete-mode): Don't set completion-show-inline-help.
8042 (icomplete-minibuffer-setup): Set completion-show-inline-help
8043 locally during icompletion.
8044
3aace4e4
CY
80452011-09-18 Chong Yidong <cyd@stupidchicken.com>
8046
c940224f
CY
8047 * woman.el (woman2-process-escapes): Don't delete unrecognized
8048 escapes (Bug#7843).
8049
3aace4e4
CY
8050 * files.el (inhibit-first-line-modes-regexps): Add image files.
8051 (hack-local-variables-prop-line): Return nil for malformed
8052 prop-lines (Bug#9044).
8053
710dec63
MA
80542011-09-18 Michael Albinus <michael.albinus@gmx.de>
8055
8056 * net/tramp.el (top): Don't require 'shell.
8057 (tramp-methods): Fix docstring.
8058 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
8059 Return complete remote file name. Handle "smb" case.
8060 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
8061 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8062
8063 * net/tramp-compat.el (top): Require 'shell.
8064
8065 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8066 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8067 `tramp-current-host'.
8068 (tramp-get-remote-tmpdir): Remove.
8069
8070 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8071 `tramp-tmpdir' entries.
8072 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8073 (tramp-smb-handle-file-attributes): Ignore errors.
8074 (tramp-smb-wait-for-output): Check also for process end.
8075
5d5ac8ec
LMI
80762011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8077
8078 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8079 when sending QUIT (bug#9312).
8080
8c0f49f0
CY
80812011-09-17 Chong Yidong <cyd@stupidchicken.com>
8082
8083 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8084 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8085 occur-mode-display-occurrence.
8086 (occur-edit-mode): Add usage message.
8087 (occur-cease-edit): New command.
8088 (occur-after-change-function): Use text properties to find the
8089 position of the prefix text.
8090 (occur-engine): Set stickiness of prefix text properties.
8091
8f1383f7
GM
80922011-09-17 Glenn Morris <rgm@gnu.org>
8093
8094 * progmodes/etags.el (complete-tag):
8095 Fix call to completion-in-region. (Bug#9526)
8096
744ba0e3
JL
80972011-09-17 Juri Linkov <juri@jurta.org>
8098
8099 * textmodes/ispell.el (ispell-word): Add to the error message
8100 the word, ispell program name and current dictionary (bug#9121).
8101 (ispell-tex-arg-end): Capitalize "error" in the error message.
8102
d9bbf400
AS
81032011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8104
8105 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8106 check. (Bug#4251)
8107
8da11505
JL
81082011-09-17 Juri Linkov <juri@jurta.org>
8109
8110 * window.el (window-safe-min-height, window-safe-min-width):
8111 Fix typos (followup to bug#9522).
8112
a91adc7e
SJ
81132011-09-17 Sven Joachim <svenjoac@gmx.de>
8114
8115 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8116
064f328a
EZ
81172011-09-16 Eli Zaretskii <eliz@gnu.org>
8118
8119 * simple.el (line-move): If goal-column is set, move by logical
8120 lines, not by display lines. (Bug#971)
8121 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8122 to reflect the above change.
8123
e69df516
SM
81242011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8125
8126 * image.el (imagemagick-register-types): Use regexp-opt.
8127
cbb0f9ab
CY
81282011-09-15 Chong Yidong <cyd@stupidchicken.com>
8129
8130 * window.el (display-buffer-base-action): Rename from
8131 display-buffer-default-action. Make default value empty.
8132 (display-buffer-overriding-action): Convert to defvar.
8133 (display-buffer-fallback-action): New var.
8134
25322144
CY
81352011-09-15 Chong Yidong <cyd@stupidchicken.com>
8136
8137 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8138 declaration.
8139 (package--add-to-archive-contents): If there is a duplicate entry
8140 with an older version, remove it.
8141 (package-menu-mark-delete, package-menu-mark-install)
8142 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
8143 (package-menu-mark-obsolete-for-deletion):
8144 Use package-menu-get-status instead of a regexp search.
25322144
CY
8145 (package-menu-get-status): Use tabulated-list-entry.
8146 (package-menu-mark-upgrades): New command.
d770725a 8147 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
8148 (package-menu-execute): Do installation before deletion.
8149 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8150 instead of checking major-mode.
8151 (package-menu--find-upgrades): New function.
8152
7520339c
LMI
81532011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8154
8155 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8156 passwords in the log buffer.
65a046c4
LMI
8157 (smtpmail-process-filter): Update the process marker so that the
8158 "broken by peer" status message is inserted in the right place.
7520339c 8159
d3c30954
SM
81602011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8161
3fe48822
SM
8162 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8163 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8164 bibtex-completion-at-point-function.
8165 (bibtex-completion-at-point-function): Use them.
8166
1b8b3954
SM
8167 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8168
d3c30954
SM
8169 * mpc.el (mpc-constraints-tag-lookup): New function.
8170 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8171 also to browser "album|playlist".
8172
72779976
JL
81732011-09-14 Juri Linkov <juri@jurta.org>
8174
8175 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8176 (isearch-edit-string): Use length of `isearch-string' when
8177 `isearch-fail-pos' returns nil.
8178 (isearch-message): Remove duplicate code and call
8179 `isearch-fail-pos' with arg `t'.
8180
a0bf2bcd
CY
81812011-09-14 Chong Yidong <cyd@stupidchicken.com>
8182
17bb0a2d
CY
8183 * replace.el (occur-mode-goto-occurrence): Don't force using other
8184 window (Bug#9499).
8185
a0bf2bcd
CY
8186 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8187
f678e0b6
MR
81882011-09-14 Martin Rudalics <rudalics@gmx.at>
8189
8190 * window.el (display-buffer-window): Remove.
8191 (display-buffer-record-window): Use help-setup window parameter
8192 instead of variable display-buffer-window.
8193 (display-buffer-function, special-display-buffer-names)
8194 (special-display-function): Mention help-setup parameter instead
8195 of display-buffer-window in doc-string.
d3c30954
SM
8196 * help.el (help-window-setup): New argument help-window.
8197 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
8198 Reword some messages.
8199 (with-help-window): Pass window used for displaying the buffer
8200 to help-window-setup. Don't set display-buffer-window.
8201
8e39b2e8
GM
82022011-09-13 Glenn Morris <rgm@gnu.org>
8203
8204 * emacs-lisp/debug.el (debugger-make-xrefs):
8205 Preserve point. (Bug#9462)
8206
85e9c04b
CY
82072011-09-13 Chong Yidong <cyd@stupidchicken.com>
8208
8209 * window.el (window-deletable-p): Use next-frame.
8210
1b36ed6a
MR
82112011-09-13 Martin Rudalics <rudalics@gmx.at>
8212
8213 * window.el (window-auto-delete): Remove.
8214 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 8215 dedication and previous buffers.
1b36ed6a
MR
8216 (switch-to-prev-buffer): Don't delete window.
8217 (delete-windows-on): Delete a window's frame if and only if the
8218 window is dedicated.
8219 (replace-buffer-in-windows): Delete buffer's window or frame if
8220 and only if window is dedicated.
8221 (quit-window): Handle quit-restore as before last change.
4d61f28d 8222 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 8223
ef8ef9fb
CY
82242011-09-13 Chong Yidong <cyd@stupidchicken.com>
8225
8226 * window.el (window-deletable-p): Never delete the last frame on a
8227 given terminal.
8228
b2cba41e
GM
82292011-09-13 Glenn Morris <rgm@gnu.org>
8230
8231 * help.el (describe-key-briefly): Copy previous standard-output change.
8232
51553db6 82332011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
8234
8235 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8236
b7556719
GM
82372011-09-13 Glenn Morris <rgm@gnu.org>
8238
8239 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8240 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8241
64b51947
CY
82422011-09-12 Chong Yidong <cyd@stupidchicken.com>
8243
8244 * dired-aux.el (dired-mark-read-string): Don't return default
8245 value on empty input (Bug#9361).
8246 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8247 Omit initial minibuffer contents.
8248 (dired-do-chmod): Signal an error on empty input.
8249 (dired-mark-read-string): Don't return default on empty input.
8250
8251 * files.el (file-modes-symbolic-to-number): Doc fix.
8252
393a301e
SM
82532011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8254
8255 * international/mule-cmds.el (ucs-completions): Remove.
8256 (read-char-by-name): Use complete-with-action instead; add metadata.
8257
fa5660f9
CY
82582011-09-11 Chong Yidong <cyd@stupidchicken.com>
8259
8260 * window.el (display-buffer--action-function-custom-type)
8261 (display-buffer--action-custom-type): New vars.
8262 (display-buffer-alist, display-buffer-default-action)
8263 (display-buffer-overriding-action): Add defcustom types.
8264
4a592f66
CY
8265 * frame.el (delete-other-frames): Doc fix (Bug#276).
8266
73d56dbd
LMI
82672011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8268
8269 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8270
37ac18a3
CY
82712011-09-11 Chong Yidong <cyd@stupidchicken.com>
8272
8273 Change modes that used same-window-* vars to use switch-to-buffer.
8274
8275 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8276 Use switch-to-buffer.
8277
8278 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
8279 (customize-browse, custom-buffer-create-other-window):
8280 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
8281
8282 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8283 (Info-prev, Info-up, Info-speedbar-goto-node)
8284 (info-display-manual): Use switch-to-buffer.
8285 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8286
8287 * mail/sendmail.el (mail): Use switch-to-buffer.
8288 (mail-recover): Use switch-to-buffer-other-window.
8289
8290 * cmuscheme.el (run-scheme, switch-to-scheme):
8291 * ielm.el (ielm):
8292 * shell.el (shell):
8293 * net/rlogin.el (rlogin):
8294 * net/telnet.el (telnet, rsh):
8295 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8296
10195bd6
AS
82972011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8298
8299 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8300
b322f63a
LMI
83012011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8302
39d7fed6
LMI
8303 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8304 so don't mention it (bug#9301).
ba5a81f1 8305 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8306
ee0e9f11
LMI
8307 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8308 match `x', `w32' and `ns', like the manual says (bug#9029).
8309
0b1c89c1 8310 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8311 (process-kill-buffer-query-function): Mention the buffer name in
8312 the query.
0b1c89c1 8313
77549ea8
LMI
8314 * image-mode.el (image-next-line): The line parameter is mandatory
8315 (bug#9258).
8316
803ef892
LMI
8317 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8318 which can be useful (bug#9301).
8319
12980837
LMI
8320 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8321
91054f8f
LMI
8322 * subr.el (match-string): Mention that the current buffer should
8323 be the same as the search was done in (bug#9282).
8324
b322f63a
LMI
8325 * facemenu.el: Disable the remove-* commands if the mark isn't
8326 active (bug#9162).
8327
3199b96f
CY
83282011-09-10 Chong Yidong <cyd@stupidchicken.com>
8329
8330 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8331 of display-buffer.
8332 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8333
8334 * replace.el (occur-mode-goto-occurrence)
8335 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8336 and display-buffer.
8337
8338 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8339 display-buffer.
8340
8341 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8342 special-display and same-window variables.
8343 (mail-other-window): Use switch-to-buffer-other-window.
8344 (mail-other-frame): USe switch-to-buffer-other-frame.
8345
393a301e
SM
8346 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8347 Use display-buffer-other-frame.
3199b96f
CY
8348 (gdb-display-gdb-buffer): Use pop-to-buffer.
8349
8350 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8351
8352 * progmodes/python.el: Don't set same-window-buffer-names.
8353
8354 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8355
8356 * window.el (display-buffer-alist): Add *Python*.
8357
8319e0bf
CY
83582011-09-10 Chong Yidong <cyd@stupidchicken.com>
8359
8360 * window.el (display-buffer-alist): Add entry for buffers
8361 previously handled same-window-*.
8362 (display-buffer-alist, display-buffer-default-action)
8363 (display-buffer-overriding-action): Mark as risky.
8364 (display-buffer-alist): Document action function changes.
8365 (display-buffer--same-window-action)
8366 (display-buffer--other-frame-action): New variables.
8367 (switch-to-buffer, display-buffer-other-frame): Use them.
8368 (display-buffer): Rename reuse-frame entry to reusable-frames.
8369 (display-buffer-reuse-selected-window): Function deleted.
8370 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8371 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8372 (display-buffer-special): New function.
8373 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8374 display-buffer-reuse-or-pop-window. Split off special-display
8375 part into display-buffer-special.
8376 (display-buffer-use-some-window): Don't perform any special
8377 pop-up-frames handling.
8378 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8379 (display-buffer--maybe-same-window): Rename from
0d3ff375 8380 display-buffer-maybe-same-window.
8319e0bf 8381
919a69aa
CY
8382 * info.el: Don't set same-window-regexps.
8383 (info-setup): New function.
8384 (info-other-window, info): Call it.
8385
8386 * cus-edit.el: Don't set same-window-regexps.
8387 (customize-group): New argument.
8388 (customize-group-other-window): Use it.
8389 (customize-face, customize-face-other-window): Likewise.
8390 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8391
8319e0bf
CY
8392 * net/rlogin.el:
8393 * net/telnet.el:
8394 * progmodes/gud.el: Don't set same-window-regexps.
8395
8396 * cmuscheme.el:
8397 * ielm.el:
8398 * shell.el:
8399 * mail/sendmail.el:
8400 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8401
25173000
JL
84022011-09-10 Juri Linkov <juri@jurta.org>
8403
8404 * isearch.el (isearch-edit-string): Remove obsolete mention of
8405 `C-w' (`isearch-yank-word-or-char') from docstring.
8406 (isearch-query-replace): Fix typo in docstring (bug#9466).
8407
056e44ef
JL
84082011-09-10 Juri Linkov <juri@jurta.org>
8409
8410 * paren.el (show-paren-function): Don't show escaped parens.
8411 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8412
c3760c17
EZ
84132011-09-10 Eli Zaretskii <eliz@gnu.org>
8414
8415 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8416 (mm-default-file-encoding): Remove autoload forms, they are
8417 replaced with autoload cookies in mml.el and mm-encode.el.
8418 (mail-add-attachment): New command.
8419 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8420 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8421 the doc string.
8422 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8423
fece895e
RT
84242011-09-10 Reuben Thomas <rrt@sc3d.org>
8425
e69df516
SM
8426 * simple.el (count-words-region): Use buffer if there's no region
8427 (bug#9429).
fece895e 8428
5e68ce4a
JL
84292011-09-09 Juri Linkov <juri@jurta.org>
8430
8431 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8432 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8433 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8434
0a6b9622
AM
84352011-09-09 Alan Mackenzie <acm@muc.de>
8436
8437 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8438 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8439
14a29deb
EZ
84402011-09-09 Eli Zaretskii <eliz@gnu.org>
8441
8442 Fix for Savannah bug#9392.
8443 * simple.el (mail-encode-mml): New defvar.
8444
8445 * mail/rmail.el (mail-encode-mml): Add a defvar.
8446 (rmail-enable-mime-composing): Default to t.
8447 (rmail-forward): Use MIME method of forwarding only if both
8448 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8449 Set mail-encode-mml non-nil if the MIME method was used.
8450
8451 * mail/sendmail.el (mml-to-mime): Add autoload form.
8452 (mail-encode-mml): Add a defvar.
8453 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8454 to nil.
8455 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8456 message through mml-to-mime, and reset mail-encode-mml to nil.
8457
28c45130
GM
84582011-09-09 Glenn Morris <rgm@gnu.org>
8459
8460 * woman.el (woman-if-body): When processing an .el block,
8461 do not delete the next .el block as well. (Bug#9447)
69f4b618 8462 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8463
9b1c252e
MR
84642011-09-08 Martin Rudalics <rudalics@gmx.at>
8465
8466 * window.el (window-deletable-p): Make sure window is live before
8467 invoking window-prev-buffers.
8468
567457e3
LL
84692011-09-08 Leo Liu <sdl.web@gmail.com>
8470
8471 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8472
97f05794
JL
84732011-09-08 Juri Linkov <juri@jurta.org>
8474
8475 * progmodes/compile.el (compilation-environment): Make it
8476 a defcustom (bug#8340).
8477
8b0874b5
MR
84782011-09-08 Martin Rudalics <rudalics@gmx.at>
8479
8480 * window.el (frame-auto-delete): Rename to window-auto-delete.
8481 Make it control auto-deletion of windows and/or frames.
8482 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8483 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8484 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8485 Rewrite handling of case when window/frame can be deleted.
8486 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8487 argument t. (Bug#9456)
8b0874b5 8488
4feb6e73
CY
84892011-09-07 Chong Yidong <cyd@stupidchicken.com>
8490
8491 * help-mode.el (help-mode): Restore autoload.
8492
91ab9c13
JL
84932011-09-07 Juri Linkov <juri@jurta.org>
8494
8495 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8496 `compilation-environment'. Set buffer-local
8497 `compilation-environment' to `thisenv' later after (funcall mode).
8498 (Bug#8340)
8499
8500 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8501 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8502 instead of replacing its value. (Bug#8340)
8503
0527e251
JL
85042011-09-07 Juri Linkov <juri@jurta.org>
8505
8506 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8507 based on text properties put by `grep-filter' instead of matching
8508 escape sequences.
8509 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8510 to the value of `grep-error-screen-columns' (bug#9438).
8511
249f792c
JL
85122011-09-07 Juri Linkov <juri@jurta.org>
8513
8514 * simple.el (next-error-highlight, next-error-highlight-no-select):
8515 Doc fix (bug#9432).
8516
ff7271b9
OT
85172011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8518
8519 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8520 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8521
183fc730
LL
85222011-09-07 Leo Liu <sdl.web@gmail.com>
8523
8524 * net/rcirc.el (rcirc-mode): Conditionally initialize
8525 rcirc-input-ring.
8526
77694924
SM
85272011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8528
8529 * emacs-lisp/find-func.el (find-function-C-source): Only set
8530 find-function-C-source-directory after checking that we found a source
8531 file there (bug#9440).
8532
d809b8eb
AM
85332011-09-06 Alan Mackenzie <acm@muc.de>
8534
8535 * isearch.el (isearch-other-meta-char): Wherever a key list is
8536 unread, "unread" the prefix arg, too. This fixes bug #8901.
8537
453de99f
OG
85382011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8539
8540 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8541
90439906
JL
85422011-09-05 Juri Linkov <juri@jurta.org>
8543
8544 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8545
f62bd846
JL
85462011-09-05 Juri Linkov <juri@jurta.org>
8547
8548 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8549 keeping point where processing of grep matches begins, and
8550 continue to delete remaining escape sequences from the same point.
8551 (grep-filter): Make leading zero optional in "0?1;31m" because
8552 git-grep emits "\033[1;31m" escape sequences unlike expected
8553 "\033[01;31m" as GNU Grep does (bug#9408).
8554 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8555
045820ec
JL
85562011-09-05 Juri Linkov <juri@jurta.org>
8557
8558 * subr.el (y-or-n-p): Capitalize "yes".
8559
f5e29b9b
MA
85602011-09-04 Michael Albinus <michael.albinus@gmx.de>
8561
8562 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8563 `tramp-cache-unload-hook' where appropriate.
8564 (tramp-methods): Rename `tramp-remote-sh' to
8565 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8566 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8567
8568 * net/tramp-sh.el (top): Don't require 'shell.
8569 (tramp-methods): Add `tramp-remote-shell' and
8570 `tramp-remote-shell-args' entries.
8571 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8572 (tramp-sh-handle-shell-command): Remove.
8573 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8574 Use `tramp-remote-shell'.
8575
2784c434
CY
85762011-09-03 Chong Yidong <cyd@stupidchicken.com>
8577
393a301e 8578 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8579 (sendmail-query-once): Save directly to send-mail-function.
8580 Update message-send-mail-function too.
8581
8582 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8583
464cdf56
CS
85842011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8585
8586 * progmodes/python.el (python-mode-map): Use correct function to
8587 start python interpreter from menu-bar (as reported by Geert
8588 Kloosterman).
8589 (inferior-python-mode-map): Fix typo.
393a301e 8590 (python-shell-map): Remove.
464cdf56 8591
d37e5c87
DD
85922011-09-03 Deniz Dogan <deniz@dogan.se>
8593
8594 * net/rcirc.el (rcirc-print): Simplify code for
8595 rcirc-scroll-show-maximum-output. There is no need to walk
8596 through all windows to find the right one.
8597
f3ada0ee
CS
85982011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8599
8600 * help.el (help-return-method): Doc fix.
8601
1f3c99ca
MR
86022011-09-03 Martin Rudalics <rudalics@gmx.at>
8603
8604 * window.el (window-deletable-p): Don't return a non-nil value
8605 when there's a buffer that was shown in the window before.
8606 (Bug#9419)
393a301e
SM
8607 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8608 Set window's previous buffers to nil.
1f3c99ca 8609
a3cf097f
EZ
86102011-09-03 Eli Zaretskii <eliz@gnu.org>
8611
8612 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8613 newline before and after the tag line, so it doesn't interfere
8614 with determining the paragraph direction of bidirectional text.
8615
3d03de90
LL
86162011-09-03 Leo Liu <sdl.web@gmail.com>
8617
8618 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8619
c3313451
CY
86202011-09-02 Chong Yidong <cyd@stupidchicken.com>
8621
393a301e 8622 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8623 (pop-to-buffer): Change interactive spec. Pass second argument
8624 directly to display-buffer.
8625 (display-buffer): Fix interactive spec. Use functionp to
8626 distinguish between a function and a list of functions.
8627
8628 * abbrev.el (edit-abbrevs):
8629 * arc-mode.el (archive-extract):
8630 * autoinsert.el (auto-insert):
8631 * bookmark.el (bookmark-bmenu-list):
8632 * files.el (find-file):
8633 * view.el (view-buffer):
8634 * progmodes/compile.el (compilation-goto-locus):
8635 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8636
89894cd8
CY
86372011-09-02 Chong Yidong <cyd@stupidchicken.com>
8638
8639 * window.el (display-buffer-alist): Doc fix.
8640 (display-buffer): Add docstring. Don't treat
8641 display-buffer-default specially.
8642 (display-buffer-reuse-selected-window)
8643 (display-buffer-same-window, display-buffer-maybe-same-window)
8644 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8645 (display-buffer-pop-up-window)
8646 (display-buffer-reuse-or-pop-window)
8647 (display-buffer-use-some-window): New functions.
8648 (display-buffer-default-action): Use them.
393a301e 8649 (display-buffer-default): Delete.
89894cd8
CY
8650 (pop-to-buffer-1): Fix choice of actions.
8651
ae0bc9fb
SM
86522011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8653
8654 * minibuffer.el (completion--insert-strings): Don't get confused by
8655 completion entries that end with an LF char.
8656
e9d90883
EZ
86572011-09-01 Eli Zaretskii <eliz@gnu.org>
8658
8659 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8660
437014c8
CY
86612011-09-01 Chong Yidong <cyd@stupidchicken.com>
8662
8663 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8664 (display-buffer-same-window, display-buffer-other-window):
8665 New functions.
437014c8
CY
8666 (pop-to-buffer-1): New function. Use the above.
8667 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8668 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8669
8670 * view.el (view-buffer-other-window, view-buffer-other-frame):
8671 Just use pop-to-buffer.
8672
a5e063d5
TV
86732011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8674
8675 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8676
793d32bb
WH
86772011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8678
8679 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8680
d65e4c15
RS
86812011-08-31 Richard Stallman <rms@gnu.org>
8682
8683 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8684 of the separation of rmail-view-buffer from rmail-buffer.
8685 If you say no to "replace original", the decrypt is in the
8686 view buffer. If you say yes, the decrypt goes into the
8687 rmail buffer also.
8688
f818cd2a
MR
86892011-08-31 Martin Rudalics <rudalics@gmx.at>
8690
8691 * window.el (display-buffer-window): Rewrite doc-string.
8692 (display-buffer-record-window): New function.
8693 (display-buffer-macro-specifiers)
8694 (display-buffer-even-window-sizes, display-buffer-set-height)
8695 (display-buffer-set-width, display-buffer-in-window)
8696 (display-buffer-reuse-window, display-buffer-split-specifiers)
8697 (display-buffer-side-specifiers, display-buffer-split-window-1)
8698 (display-buffer-split-window, display-buffer-split-atom-window)
8699 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8700 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8701 (display-buffer-other-window-means-other-frame)
8702 (display-buffer-normalize-special)
8703 (display-buffer-normalize-default)
8704 (display-buffer-normalize-argument)
8705 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8706 (display-buffer-normalize-specifiers, display-buffer-frame)
8707 (display-buffer-same-window, display-buffer-same-frame)
8708 (display-buffer-other-window)
8709 (display-buffer-same-frame-other-window)
8710 (display-buffer-other-frame, pop-to-buffer-same-window)
8711 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8712 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8713 (switch-to-buffer-same-frame)
8714 (switch-to-buffer-other-window-same-frame)
8715 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8716 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8717 (display-buffer-alist-set): Remove.
8718 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8719 (special-display-regexps, special-display-function):
8720 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8721 parameter.
8722 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8723 (special-display-frame-alist, special-display-popup-frame)
8724 (same-window-buffer-names, same-window-regexps, same-window-p)
8725 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8726 (split-window-preferred-function, split-height-threshold)
8727 (split-width-threshold, window-splittable-p)
8728 (split-window-sensibly, window--try-to-split-window)
8729 (window--frame-usable-p, even-window-heights)
8730 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8731 (window--display-buffer-2, display-buffer-other-frame):
8732 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8733 (display-buffer-default, display-buffer-assq-regexp): New functions.
8734 (display-buffer-alist): Rewrite doc-string.
8735 (display-buffer-default-action)
8736 (display-buffer-overriding-action): New variables.
8737 (display-buffer, switch-to-buffer): Rewrite.
8738 (pop-to-buffer): Restore Emacs 23 behavior but use
8739 window-normalize-buffer-to-display.
8740 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8741 Restore Emacs 23 behavior but use
8742 window-normalize-buffer-to-switch-to.
8743 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8744 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8745 Rewrite using Emacs 23 options.
f818cd2a 8746
5bc3b51d
MA
87472011-08-31 Michael Albinus <michael.albinus@gmx.de>
8748
8749 * net/tramp.el (tramp-root-regexp): Remove.
8750 (tramp-completion-file-name-regexp-unified)
8751 (tramp-completion-file-name-regexp-separate)
8752 (tramp-completion-file-name-regexp-url): Don't use leading volume
8753 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8754 (tramp-drop-volume-letter): Simplify definition.
8755 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8756
b1a4f8e1
SM
87572011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8758
8759 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8760 (bug#9356).
8761
5664fa7b
RT
87622011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8763
b1a4f8e1 8764 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8765
9a45d6c3
JL
87662011-08-29 Juri Linkov <juri@jurta.org>
8767
8768 * isearch.el (isearch-done): Don't display message "Mark saved"
8769 when arg `edit' is non-nil to prevent its flicker in the echo area.
8770
fb87e0fb
CY
87712011-08-28 Chong Yidong <cyd@stupidchicken.com>
8772
8773 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8774 obsolete packages for deletion.
8775
09ac1c2a
CS
87762011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8777
8778 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8779 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8780 view-mode from help-mode.
8781 (help-xref-override-view-map): Remove.
8782 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8783 view-mode is not used anymore.
8784
7a1ff57f
CY
87852011-08-28 Chong Yidong <cyd@stupidchicken.com>
8786
8787 * server.el (server-port): Doc fix.
8788
b9696605
CY
8789 * cus-theme.el (custom-theme-choose-mode): Inherit from
8790 special-mode (Bug#9124).
8791 (custom-theme-choose-mode-map): Add special-mode to parent.
8792
ef8cdf8c
AM
87932011-08-28 Alan Mackenzie <acm@muc.de>
8794
8795 * progmodes/cc-fonts.el
8796 (c-make-font-lock-BO-decl-search-function): New function.
8797 (c-basic-matchers-after - "Fontify the clauses after various
8798 keywords"): Extract the three keyword lists for the 3 erroneous
8799 constructs from the list of four, and use the new function above
8800 in place of an old one.
8801
27de4e20
DD
88022011-08-28 Deniz Dogan <deniz@dogan.se>
8803
8804 * net/rcirc.el (rcirc-insert-prev-input)
8805 (rcirc-insert-next-input): Remove unused argument.
8806
356a3681
SM
88072011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8808
8809 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8810
3fc9b218
AM
88112011-08-27 Alan Mackenzie <acm@muc.de>
8812
8813 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8814 handle function pointer parameters properly.
8815
538a061c
MR
88162011-08-27 Martin Rudalics <rudalics@gmx.at>
8817
8818 * window.el (display-buffer-reuse-window): Fix case where
8819 selected window was reused with non-nil OTHER-WINDOW argument.
8820 (Bug#9381)
8821
35b1c40c
DD
88222011-08-27 Deniz Dogan <deniz@dogan.se>
8823
8824 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8825 oftc's NickServ messages.
8826
2f6a3e79
GM
88272011-08-27 Glenn Morris <rgm@gnu.org>
8828
8829 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8830
7254299e
CY
88312011-08-26 Chong Yidong <cyd@stupidchicken.com>
8832
8833 * emacs-lisp/package.el (package-install): Call package-initialize
8834 if called interactively.
8835
f8ccf167
LL
88362011-08-26 Leo Liu <sdl.web@gmail.com>
8837
8838 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8839
3e8cd5ce
JL
88402011-08-25 Juri Linkov <juri@jurta.org>
8841
8842 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8843 `search-whitespace-regexp' (bug#9364).
8844
93eb7113
JL
88452011-08-25 Juri Linkov <juri@jurta.org>
8846
8847 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8848 `regexp-search-ring' to their global values to protect from
8849 updating by `read-from-minibuffer' (bug#9185).
8850
f65d1611
JL
88512011-08-25 Juri Linkov <juri@jurta.org>
8852
8853 * textmodes/ispell.el (ispell-command-loop): Add newline
8854 at the end of the "Use option `i'..." line.
8855
f1cf7a31
JL
88562011-08-25 Juri Linkov <juri@jurta.org>
8857
8858 * battery.el (display-battery-mode): If `battery-status-function'
8859 or `battery-mode-line-format' is nil, display the message and set
8860 `display-battery-mode' to nil (bug#9363).
8861
0c95fcf7
EZ
88622011-08-25 Eli Zaretskii <eliz@gnu.org>
8863
8864 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8865 bidi-string-mark-left-to-right; they are unnecessary now.
8866
a2ebe600
DD
88672011-08-25 Deniz Dogan <deniz@dogan.se>
8868
8869 * net/quickurl.el: Documentation typo fixes.
8870
e4ed06f1
CY
88712011-08-25 Chong Yidong <cyd@stupidchicken.com>
8872
8873 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8874
e5f1c99e
GM
88752011-08-25 Glenn Morris <rgm@gnu.org>
8876
b2948976
GM
8877 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8878
e5f1c99e
GM
8879 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8880 (smtpmail-via-smtp): Handle nil response from smtp.
8881
f22f4808
JL
88822011-08-24 Juri Linkov <juri@jurta.org>
8883
8884 * proced.el (proced-marked): Inherit from `error' instead of
8885 `font-lock-warning-face'.
8886
8887 * ibuffer.el (ibuffer-marked-face): Change default face from
8888 `font-lock-warning-face' to `warning'.
8889 (ibuffer-deletion-face): Change default face from
8890 `font-lock-type-face' to `error'.
8891
8892 * battery.el (battery-update): Use the face `error' instead of
8893 `font-lock-warning-face' (bug#6117).
8894
6a93965e
JL
88952011-08-24 Juri Linkov <juri@jurta.org>
8896
8897 * faces.el (success): Change face color from "Green3" to
8898 "ForestGreen" on light background (bug#9353).
8899
1ed43b09
CY
89002011-08-24 Chong Yidong <cyd@stupidchicken.com>
8901
5664fa7b
RT
8902 * window.el (quit-window): Rename from quit-restore-window.
8903 Use same arglist as old quit-window.
1ed43b09
CY
8904 (frame-auto-delete): Doc fix.
8905
8906 * view.el (view-mode-exit): Use quit-window.
8907
11dcdbb2
JL
89082011-08-24 Juri Linkov <juri@jurta.org>
8909
8910 * isearch.el (isearch-ring-adjust1): Start visiting previous
8911 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8912 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8913 for empty search string (when the last search string is reused
8914 automatically) to adjust the isearch ring to the last element and
8915 prepare the correct index for further M-p commands (bug#9185).
8916
de62b4df
KH
89172011-08-24 Kenichi Handa <handa@m17n.org>
8918
8919 * international/ucs-normalize.el: If decomposition property of
8920 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8921 nil.
8922 (nfd, nfkd): Likewise.
8923
963b492b
SM
89242011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8925
8926 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8927 from process filters aren't reliably transmitted to the surrounding
8928 accept-process-output.
8929 (mpc-proc-check): New function.
8930 (mpc-proc-sync): Use it (bug#8293)
8931
93b6b5e1
SM
89322011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8933
8934 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8935 Add compatibility functions (bug#9313).
8936
bca633fb
EZ
89372011-08-23 Eli Zaretskii <eliz@gnu.org>
8938
b177498a
EZ
8939 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8940
6df6ae42 8941 * international/uni-bidi.el: Regenerate.
bca633fb 8942
0902a04e
KH
89432011-08-23 Kenichi Handa <handa@m17n.org>
8944
8945 * international/charprop.el:
8946 * international/uni-bidi.el:
8947 * international/uni-category.el:
8948 * international/uni-combining.el:
8949 * international/uni-comment.el:
8950 * international/uni-decimal.el:
8951 * international/uni-decomposition.el:
8952 * international/uni-digit.el:
8953 * international/uni-lowercase.el:
8954 * international/uni-mirrored.el:
8955 * international/uni-name.el:
8956 * international/uni-numeric.el:
8957 * international/uni-old-name.el:
8958 * international/uni-titlecase.el:
8959 * international/uni-uppercase.el: Regenerate.
8960
3bbf23bc
MR
89612011-08-23 Martin Rudalics <rudalics@gmx.at>
8962
8963 * help.el (help-window-setup): Fix message displayed when other
8964 window is reused. (Bug#9341)
8965
b3fd59bd
SM
89662011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8967
1802e444
SM
8968 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8969 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8970
b3fd59bd
SM
8971 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8972 Mark obsolete.
8973 * shell.el (shell-parse-pcomplete-arguments): New function.
8974 (shell-completion-vars): Use it instead (bug#9160).
8975
4eb61348
SM
89762011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8977
867cab74
SM
8978 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8979 strings and comments (bug#9333).
8980
4eb61348
SM
8981 * emacs-lisp/debug.el (debug-arglist): New function.
8982 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8983 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8984
262a1439
JL
89852011-08-22 Juri Linkov <juri@jurta.org>
8986
56ee679c
JL
8987 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8988 Revert regexp that highlights output switches to its old
8989 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8990
262a1439
JL
8991 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8992 to check for empty output (bug#9226).
8993
f13f86fb
CY
89942011-08-22 Chong Yidong <cyd@stupidchicken.com>
8995
8996 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8997 symbol-constituent as the default, as that stops font-lock from
8998 working properly (Bug#8843).
8999
c65c9622
LMI
90002011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9001
9002 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9003 `coding-system-for-*' around the process open call to avoid
9004 auth-source side effects.
e7f2c178 9005 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
9006 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9007 probe hangs.
c65c9622 9008
23a8a5ab
CY
90092011-08-21 Chong Yidong <cyd@stupidchicken.com>
9010
ff98b2dd
CY
9011 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9012
23a8a5ab
CY
9013 * emacs-lisp/find-func.el (find-function-noselect): New arg
9014 lisp-only.
9015
9016 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9017 signal an error for built-in functions (Bug#6664).
9018
f5e3c598
LMI
90192011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9020
9021 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9022 (smtpmail-try-auth-methods): Use it.
9023
a3f2468a
CY
90242011-08-21 Chong Yidong <cyd@stupidchicken.com>
9025
2c34e8da
CY
9026 * font-lock.el (font-lock-fontify-region)
9027 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9028 (font-lock-default-unfontify-buffer)
9029 (font-lock-default-fontify-region)
9030 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9031
b3fd59bd
SM
9032 * progmodes/compile.el (compilation-error-properties):
9033 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
9034 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9035 `ant' regexp.
ee31aabc 9036
a3f2468a
CY
9037 * net/browse-url.el (browse-url-firefox): Don't call
9038 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9039
8e999f70
GM
90402011-08-20 Glenn Morris <rgm@gnu.org>
9041
c21a496a
GM
9042 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9043
59ee0542
GM
9044 * tutorial.el (tutorial--default-keys): Update some default bindings.
9045
8e999f70
GM
9046 * files.el (hack-local-variables): Fully ignore case for "mode:".
9047
e3715033
AM
90482011-08-20 Alan Mackenzie <acm@muc.de>
9049
9050 Resolve invalid use of a regexp in regexp-opt.
9051
4d61f28d
JB
9052 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9053 detection for a java annotation.
e3715033 9054
4d61f28d 9055 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
9056 detection for a java annotation.
9057
4d61f28d
JB
9058 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9059 handling for java.
e3715033
AM
9060 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9061
04ed2e9c
CY
90622011-08-20 Chong Yidong <cyd@stupidchicken.com>
9063
9064 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9065 (Bug#9274).
9066
826cee64
AM
90672011-08-20 Alan Mackenzie <acm@muc.de>
9068
58179cce 9069 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
9070 such a construct. Mainly for when jit-lock etc. starts a chunk
9071 here.
9072
58179cce 9073 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 9074 variable.
58179cce 9075 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
9076 c-make-font-lock-search-function.
9077 (c-make-font-lock-search-function): Use the above function.
9078 (c-make-font-lock-context-search-function): New function.
9079 (c-cpp-matchers): Enhance the preprocessor expression case with
9080 the above function
9081 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9082 which takes an expression.
9083
9084 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9085
13009bd8
MR
90862011-08-20 Martin Rudalics <rudalics@gmx.at>
9087
9088 * window.el (display-buffer-reuse-window)
9089 (display-buffer-pop-up-window): Don't reuse or split a side
9090 window.
9091
9234ff7f
GM
90922011-08-19 Glenn Morris <rgm@gnu.org>
9093
9094 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 9095 Downcase "Mode:". (Bug#9331)
9234ff7f 9096
f635daa1
CY
90972011-08-18 Chong Yidong <cyd@stupidchicken.com>
9098
9099 * international/characters.el: Add L and R categories.
9100
9101 * subr.el (bidi-string-mark-left-to-right): Rename from
9102 string-mark-left-to-right. Use category search.
9103
9104 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9105
bc987f8b
JL
91062011-08-18 Juri Linkov <juri@jurta.org>
9107
9108 * faces.el (error, warning, success): New faces with definitions
9109 copied from old default values of `font-lock-warning-face',
9110 `compilation-warning', `compilation-info' (bug#6117).
9111
9112 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9113
9114 * progmodes/compile.el (compilation-error): Inherit from `error'.
9115 (compilation-warning): Inherit from `warning'.
9116 (compilation-info): Inherit from `success'.
9117
9118 * dired.el (dired-marked): Inherit from `warning'.
9119 (dired-flagged): Inherit from `error'.
9120
57173b96
LMI
91212011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9122
3e79eb87
LMI
9123 * mail/smtpmail.el (auth-source): Require to avoid problems with
9124 binding variables (bug#9298). Also clean up some unused
9125 autoloads.
9126
b3fd59bd
SM
9127 * net/network-stream.el (network-stream-open-starttls):
9128 Support using starttls.el without using gnutls-cli.
57173b96 9129
02b404de
JL
91302011-08-17 Juri Linkov <juri@jurta.org>
9131
9132 * progmodes/grep.el (rgrep): Handle the case when
9133 `grep-find-command' is a cons cell (bug#9278).
9134
8c9177f2
MR
91352011-08-17 Martin Rudalics <rudalics@gmx.at>
9136
9137 * window.el (display-buffer-pop-up-frame): Run frame creation
9138 function with BUFFER current (as special-display-popup-frame
9139 does). Reported by Drew Adams.
9140
3644a0ab
DU
91412011-08-17 Daiki Ueno <ueno@unixuser.org>
9142
9143 * epa-mail.el: Simplify GnuPG group expansion using
9144 epg-expand-group.
9145 (epa-mail-group-alist, epa-mail-group-modtime)
9146 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9147 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9148 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9149 Remove.
9150
5e617bc2 91512011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
9152
9153 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9154
9c4aeabf
AM
91552011-08-16 Alan Mackenzie <acm@muc.de>
9156
9157 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9158 Correct, to avoid the inside of macros.
9159
3a99bf64
RS
91602011-08-16 Richard Stallman <rms@gnu.org>
9161
04963aa8
RS
9162 * epa-mail.el: Handle GnuPG group definitions.
9163 (epa-mail-group-alist, epa-mail-group-modtime)
9164 (epa-mail-gnupg-conf-file): New variables.
9165 (epa-mail-parse-groups, epa-mail-sync-groups)
9166 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9167 (epa-mail-expand-recipients): New functions.
9168 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9169
177549d0
RS
9170 * mail/rmail.el (rmail-epa-decrypt): New command.
9171
fe38beef
RS
9172 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9173 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
9174 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9175 (epa-decrypt-armor-in-region): Make error message clearer.
9176
934eacb9
SM
91772011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9178
9179 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9180 and "a2b" to "ab" for `prefix'.
9181
d024fb4e
CY
91822011-08-14 Chong Yidong <cyd@stupidchicken.com>
9183
9184 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9185 filter groups.
de148fee
CY
9186 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9187 Fourquet (Bug#8804).
d024fb4e 9188
62f1ca49
JB
91892011-08-12 Juanma Barranquero <lekktu@gmail.com>
9190
9191 * startup.el (argi): Declare as global variable (bug#9275).
9192
9ccaaa4b
CY
91932011-08-12 Chong Yidong <cyd@stupidchicken.com>
9194
9195 * subr.el (string-mark-left-to-right): Search the entire string
9196 for RTL script, not just the terminating character. Doc fix.
9197
a3dae87a
SM
91982011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9199
6cd18349
SM
9200 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9201 New function.
9202 (js--regexp-literal, js-syntax-propertize-function): Remove.
9203 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9204 (js-mode-map): Don't rebind electric keys.
9205 (js-insert-and-indent): Remove.
9206 (js-mode): Setup electric-layout and electric-indent instead.
9207
a3dae87a
SM
9208 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9209
9d5cb631
DU
92102011-08-12 Daiki Ueno <ueno@unixuser.org>
9211
9212 * epa.el (epa-progress-callback-function): Fix the logic of
9213 displaying progress.
9214 * epa-file.el (epa-file-insert-file-contents): Make progress
9215 display more user-friendly.
9216 (epa-file-write-region): Ditto.
9217
3e26a4a2
CY
92182011-08-10 Chong Yidong <cyd@stupidchicken.com>
9219
9220 * subr.el (string-mark-left-to-right): New function.
9221
9222 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9223 Use string-mark-left-to-right.
9224 (list-buffers-noselect): Caller changed.
9225
a3dae87a
SM
9226 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9227 Use string-mark-left-to-right.
3e26a4a2
CY
9228 (tabulated-list-print): Recenter after moving point.
9229
ac8cf6e6
JL
92302011-08-10 Juri Linkov <juri@jurta.org>
9231
9232 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9233 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9234 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9235
8d96c9a4
CY
92362011-08-09 Chong Yidong <cyd@stupidchicken.com>
9237
9238 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9239 (Bug#7554).
9240
7be1c708 92412011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
9242
9243 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9244 character. (Bug#6594)
9245
37e11a63
CY
92462011-08-08 Chong Yidong <cyd@stupidchicken.com>
9247
839dde57
CY
9248 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9249 (image-dired--with-db-file): New macro.
9250 (image-dired-write-tags, image-dired-remove-tag)
9251 (image-dired-create-gallery-lists, image-dired-write-comments)
9252 (image-dired-get-comment, image-dired-mark-tagged-files)
9253 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9254 (image-dired-gallery-generate): Use insert-file-contents.
9255
37e11a63
CY
9256 * time.el (display-time-world-list, display-time-world-display):
9257 * time-stamp.el (time-stamp-string):
9258 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9259 set-time-zone-rule (Bug#7337).
9260
0b4946c4
DU
92612011-08-08 Daiki Ueno <ueno@unixuser.org>
9262
9263 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9264 (epg-error-to-string, epg-errors-to-string): New function.
9265 (epg-wait-for-completion): Reverse errors list.
9266 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9267 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9268 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9269 (epg-sign-keys, epg-generate-key-from-file)
9270 (epg-generate-key-from-string): Format errors by using
9271 epg-errors-to-string (bug#9255).
9272 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9273
75bfc667
JL
92742011-08-07 Juri Linkov <juri@jurta.org>
9275
9276 * faces.el (list-faces-display): Remove extra angle bracket
9277 from `help-mode-map'.
9278
9279 * info.el (Info-history-toc-nodes): Doc fix.
9280
9281 * longlines.el (longlines-mode): Doc fix.
9282
673e08bb
SM
92832011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9284
4640dd88
SM
9285 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9286 of statements and in a few more cases (bug#9183).
9287
673e08bb
SM
9288 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9289 New functions.
9290 (cl-transform-lambda): Use them (bug#9239).
9291
89b3f019
MR
92922011-08-05 Martin Rudalics <rudalics@gmx.at>
9293
9294 * window.el (display-buffer-same-window)
9295 (display-buffer-same-frame, display-buffer-other-window)
9296 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9297 (pop-to-buffer-other-window)
9298 (pop-to-buffer-same-frame-other-window)
9299 (pop-to-buffer-other-frame): Make them defuns.
9300 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9301
640c8776
SM
93022011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9303
9304 * subr.el (make-composed-keymap): Move from C. Change calling
9305 convention, and improve docstring to bring attention to a subtle point.
9306 * minibuffer.el (completing-read-default): Adjust accordingly.
9307
63648a95
MA
93082011-08-03 Michael Albinus <michael.albinus@gmx.de>
9309
9310 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9311 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9312
9313 * net/trampver.el: Update release number.
9314
b796c9b7
SM
93152011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9316
9317 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9318 "in" (bug#9190).
9319
2239d7d5
LMI
93202011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9321
e07dd7c3
LMI
9322 * mail/sendmail.el (sendmail-query-once): Restore the current
9323 buffer after querying (bug#9074).
9324
0e6a2bd7
LMI
9325 * dired.el (dired-flagged): Use different faces for marked and
9326 flagged files (bug#6117).
9327
ce887515
LMI
9328 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9329 (bug#4433).
9330
92f2affc
LMI
9331 * ido.el (ido-mode): Switch off the message if called
9332 non-interactively.
9333
57d5aff0
LMI
9334 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9335 before 587, since it appears that that's more likely to work for
9336 more people.
9337
98cd6c18 9338 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9339 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9340 exist.
9341
b96dec83
LMI
9342 * info.el: Remove the `Info-beginning-of-buffer' function
9343 (bug#8325).
9344
b796c9b7
SM
9345 * net/network-stream.el (network-stream-open-starttls):
9346 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9347
d90e2ea0
MR
93482011-08-01 Martin Rudalics <rudalics@gmx.at>
9349
9350 * window.el (display-buffer-in-window): Don't set dedicated status
9351 of window here (Bug#9215).
9352 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9353 (display-buffer-pop-up-side-window)
b796c9b7 9354 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9355
cca09170
SM
93562011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9357
9358 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9359 before binding generated-autoload-file.
9360
027b979c
DD
93612011-08-01 Deniz Dogan <deniz@dogan.se>
9362
9363 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9364
3c7ee4f3
MA
93652011-07-30 Michael Albinus <michael.albinus@gmx.de>
9366
9367 Sync with Tramp 2.2.2.
9368
9369 * net/trampver.el: Update release number.
9370
2cc8e51a
JL
93712011-07-30 Juri Linkov <juri@jurta.org>
9372
9373 * dired-aux.el (dired-touch-initial): Remove function.
9374 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9375 current time, and `default' to the last modification time of the
9376 current marked file (bug#6887).
9377
a514d856
JM
93782011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9379
9380 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9381 numeric argument to read-number (bug#9163).
a514d856 9382
8a7eddd7
MA
93832011-07-27 Michael Albinus <michael.albinus@gmx.de>
9384
9385 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9386 connection process, it could be nil.
9387
1ddd96f5
LL
93882011-07-27 Leo Liu <sdl.web@gmail.com>
9389
9390 Simplify url handling in rcirc-mode.
9391
9392 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9393 (rcirc-browse-url-at-mouse): Remove.
9394 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9395
b248a85d
AM
93962011-07-26 Alan Mackenzie <acm@muc.de>
9397
9398 Fontify bitfield declarations properly.
9399
9400 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9401 (c-symbol-chars): Now exported as a lang variable.
9402 (c-not-primitive-type-keywords): New lang variable.
9403
9404 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9405 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9406 parsed as a bitfield declaration.
b248a85d 9407
b796c9b7
SM
9408 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9409 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9410 (c-punctuation-in): New function.
9411 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9412 declarations properly.
9413
68575ab0
UJ
94142011-07-26 Ulf Jasper <ulf.jasper@web.de>
9415
9416 * calendar/icalendar.el (icalendar--all-events): Take care of
9417 multiple vcalendars in a single file.
b796c9b7 9418 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9419
0f0a88b9
DD
94202011-07-25 Deniz Dogan <deniz@dogan.se>
9421
9422 * image.el (insert-image): Clarifying docstring.
9423
0b3f36df
MA
94242011-07-24 Michael Albinus <michael.albinus@gmx.de>
9425
9426 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9427 `tramp-send-command-and-check' if there is no error.
9428 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9429
a9901f61
AM
94302011-07-22 Alan Mackenzie <acm@muc.de>
9431
9432 Prevent cc-langs.elc being loaded at run time.
9433
9434 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9435 cc-langs.
9436
4d61f28d 9437 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9438 "(require 'cc-langs)". Quote a form so it will evaluate at
9439 (cc-mode's) compilation time.
9440
11d074b2
MA
94412011-07-22 Michael Albinus <michael.albinus@gmx.de>
9442
9443 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9444 loading. (Bug#9114)
9445
938b94c8
MR
94462011-07-21 Martin Rudalics <rudalics@gmx.at>
9447
9448 * window.el (display-buffer-pop-up-window)
9449 (display-buffer-pop-up-side-window)
9450 (display-buffer-in-side-window): Call display-buffer-set-height
9451 and display-buffer-set-width after setting the new window's
b796c9b7 9452 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9453
bfa4f190
SS
94542011-07-20 Sam Steingold <sds@gnu.org>
9455
9456 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9457 (etags-tags-included-tables): Call `convert-standard-filename' on
9458 the file names contained in TAGS so that windows Emacs can handle
9459 TAGS files created by cygwin ctags.
9460
8ca42262
LMI
94612011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9462
9463 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9464 which apparently didn't work.
9465
5db2afd2 94662011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9467
5db2afd2
RW
9468 * proced.el (proced-send-signal): For *Marked Processes* buffer
9469 put point at beginning of buffer.
9470
92e15d10
SB
94712011-07-19 Stephen Berman <stephen.berman@gmx.net>
9472
9473 * proced.el (proced-format): Make header lines align with the text
9474 (bug#1779).
9475
1bfd59e5
LMI
94762011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9477
9478 * view.el (view-buffer): Allow running in `special' modes if we're
9479 visiting a file (bug#8615).
9480
f5aae37c
MR
94812011-07-19 Martin Rudalics <rudalics@gmx.at>
9482
9483 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9484 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9485 New functions.
f5aae37c
MR
9486 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9487 more accurately.
9488
bf2c1571
AM
94892011-07-18 Alan Mackenzie <acm@muc.de>
9490
9491 Fontify declarators properly when, e.g., a jit-lock chunk begins
9492 inside a declaration.
9493
9494 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9495
b796c9b7
SM
9496 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9497 New function.
bf2c1571
AM
9498 (c-complex-decl-matchers): Insert reference to
9499 c-font-lock-enclosing-decls.
9500
9501 * progmodes/cc-engine.el (c-backward-single-comment):
9502 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9503 to nil around calls to (forward-comment -1).
9504
4e190b80
LMI
95052011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9506
12dc863d
LMI
9507 * image.el (put-image): Doc typo fix.
9508
a762e966
LMI
9509 * progmodes/etags.el (tags-search): Doc typo fix.
9510
4e190b80
LMI
9511 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9512 password if we get errors 550 to 554.
9513
f019fb21
LMI
95142011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9515
b796c9b7 9516 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9517
81746738
LMI
9518 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9519 indentation character (bug#6380).
9520
3ee3a1b5
LMI
9521 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9522
c82f64de
LMI
9523 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9524 to clarify what the problem is (bug#4291).
9525
f019fb21
LMI
9526 * simple.el (current-kill): Clarify what
9527 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9528 (auto-fill-mode): Document `auto-fill-function' in relation to
9529 `auto-fill-mode' (bug#2470).
f019fb21 9530
0794775d
LM
95312011-07-16 Lawrence Mitchell <wence@gmx.li>
9532
9533 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9534 method if slot is read-only (bug#9035).
9535
be39b8cc
MR
95362011-07-16 Martin Rudalics <rudalics@gmx.at>
9537
b796c9b7 9538 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9539 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9540 selected before, see discussion of (Bug#8615), (Bug#6954).
9541 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9542
6ccf7859
GM
95432011-07-15 Glenn Morris <rgm@gnu.org>
9544
9545 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9546 Respect help-form.
6ccf7859 9547
87e86684
LM
95482011-07-09 Lawrence Mitchell <wence@gmx.li>
9549
9550 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9551 (gnutls-negotiate): Use it.
9552
d6066239
LMI
95532011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9554
b796c9b7
SM
9555 * net/gnutls.el (gnutls-negotiate):
9556 Upcase `gnutls-algorithm-priority'.
d6066239 9557
bd23ebc0
GM
95582011-07-15 Glenn Morris <rgm@gnu.org>
9559
c65bca65
GM
9560 * jka-compr.el (jka-compr-verbose): Move from here...
9561 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9562 Add missing :version tag.
9563 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9564
478615cc
LMI
95652011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9566
7b41decb
LMI
9567 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9568 (gnutls-negotiate): Use it.
9569
dbc44fcd
LMI
9570 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9571
06789f97
LMI
9572 * info.el (Info-beginning-of-buffer): New command.
9573 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9574 announcing `b' as the key (bug#8325).
ab896c37 9575 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9576
c39da690
LMI
9577 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9578
3aa5f34b
LMI
9579 * international/mule-cmds.el
9580 (describe-specified-language-support): Make the error message
9581 clearer (bug#8905).
9582
4bf0979f
LMI
9583 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9584
478615cc
LMI
9585 * isearch.el (isearch-barrier): Add a doc string, since it's
9586 mentioned in a function doc string (bug#8678).
9587
75c68aa1
MR
95882011-07-15 Martin Rudalics <rudalics@gmx.at>
9589
9590 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9591 buffer argument (Bug#9083) and self-identifying label argument.
9592
a7c33da2
GM
95932011-07-15 Glenn Morris <rgm@gnu.org>
9594
9595 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9596
2f5c6024
LMI
95972011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9598
9599 * man.el (Man-fontify-manpage): Fix message when formatting the
9600 man page (bug#7929).
9601
0bb23927 96022011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9603
9604 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9605 argument LRM; if non-nil, append an invisible LRM character to the
9606 buffer name.
9607 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9608 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9609 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9610 paragraph direction.
cce4b0a7 9611
621ef9ab
LMI
96122011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9613
d1583c48
LMI
9614 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9615 the man page name (bug#7929).
9616
6a57fb5f
LMI
9617 * image.el (put-image): Mention the `put-image' overlay property
9618 (bug#7834).
9619
d7956b14
LMI
9620 * scroll-bar.el (set-scroll-bar-mode): Mention that
9621 `scroll-bar-mode' lists the values (bug#7772).
9622
5b2d4a66
LMI
9623 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9624 command (bug#7729).
9625
7509a874
LMI
9626 * rect.el (apply-on-rectangle): Return the point after the last
9627 operation.
9628 (string-rectangle): Go to the point after the last operation
9629 (bug#7522).
9630
4fe74b19
LMI
9631 * printing.el (pr-toggle-region): Clarify the documentation
9632 slightly (bug#7493).
9633
b796c9b7
SM
9634 * time.el (display-time-update):
9635 Allow `display-time-mail-function' to return nil (bug#7158).
9636 Fix suggested by Detlev Zundel.
ab283561 9637
fc233c9d
LMI
9638 * vc/diff.el (diff): Clarify the order the file names are read
9639 (bug#7111).
9640
43f5740b
LMI
9641 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9642 the doc string (bug#7015).
9643
f2182a76
LMI
9644 * font-lock.el (font-lock-maximum-decoration): Mention what
9645 numeric levels mean (bug#6935).
9646
621ef9ab
LMI
9647 * startup.el (initial-buffer-choice): Don't mention the `none'
9648 selection, which is against policy.
9649
adc47434
MR
96502011-07-14 Martin Rudalics <rudalics@gmx.at>
9651
b796c9b7
SM
9652 * window.el (display-buffer-normalize-special):
9653 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9654
7e5bfb8f
EZ
96552011-07-14 Eli Zaretskii <eliz@gnu.org>
9656
9657 * subr.el (version<, version<=, version=): Mention "-CVS" and
9658 "-12345" alpha version numbers.
9659
27fa387a
CY
96602011-07-14 Chong Yidong <cyd@stupidchicken.com>
9661
9662 * bindings.el: Add advertised binding for set-mark-command
9663 (Bug#5772).
9664
8bdfa064
CY
96652011-07-14 Chong Yidong <cyd@stupidchicken.com>
9666
9667 * bindings.el (mode-line-other-buffer):
9668 * bookmark.el (bookmark-bmenu-2-window):
9669 * bs.el (bs-cycle-next, bs-cycle-previous):
9670 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9671 switch-to-buffer.
9672
9673 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9674 Delete.
8bdfa064 9675
5eba16a3
JB
96762011-07-14 Juanma Barranquero <lekktu@gmail.com>
9677
9678 * follow.el (follow-debug-message, follow-redisplay):
9679 * jka-cmpr-hook.el (with-auto-compression-mode):
9680 Fix typos in docstrings.
9681
15853710
LMI
96822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9683
a28e4607
LMI
9684 * subr.el (with-silent-modifications): Clarify somewhat what the
9685 macro inhibits (bug#6525).
9686
15853710
LMI
9687 * simple.el (eval-expression): Note what it does if called
9688 interactively (bug#6495).
9689
bee0fcef
CY
96902011-07-13 Chong Yidong <cyd@stupidchicken.com>
9691
b796c9b7
SM
9692 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9693 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9694
9695 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9696 Remove switch-to-buffer.
9697
58274504
LMI
96982011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9699
bd2fcc8d
LMI
9700 * files.el (make-directory): Clarify that an error will be raised
9701 if there's an error (bug#6397).
9702
0f04b32c
LMI
9703 * startup.el (initial-buffer-choice): Add `none' as a choice
9704 (bug#6234).
9705
465c5fc8
LMI
9706 * subr.el (add-hook): Clarify section about buffer-local hooks
9707 (bug#6218).
9708
58274504
LMI
9709 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9710
bead9a43
JB
97112011-07-13 Juanma Barranquero <lekktu@gmail.com>
9712
9713 * tabify.el (untabify): Preserve the current column so that point
9714 doesn't move (bug#6032).
9715
3af98a7b
LMI
97162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9717
b796c9b7
SM
9718 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9719 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9720
6240145a
GM
97212011-07-13 Glenn Morris <rgm@gnu.org>
9722
9723 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9724 (dired-insert-directory): Give a message the first time
9725 if ls is found not to support --dired.
9726
1d8c2ccc
LMI
97272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9728
9729 * simple.el (toggle-truncate-lines): Clarify what is toggled
9730 (bug#5580). Text by Drew Adams.
9731
5fc4038e
CY
97322011-07-13 Chong Yidong <cyd@stupidchicken.com>
9733
9734 * simple.el (blink-matching-open): Make the error message from the
9735 last change less verbose.
9736
bf6012e5
DN
97372011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9738
9739 * font-lock.el (font-lock-comment-face): Use the high contrast
9740 "yellow" color for font-lock-comment-face on low color terminals
9741 using a dark background color (bug#4221).
9742
343c3b5a
LMI
97432011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9744
7e9505c5
LMI
9745 * dired.el (dired-insert-set-properties): Make the doc string
9746 reflect what it does now (bug#5325).
9747
c26fdcf5
LMI
9748 * simple.el (blink-matching-open): Say that we were unable to find
9749 the match within the limit, if we're limited (bug#5122).
9750
bb388cc5
LMI
9751 * international/mule-cmds.el (prefer-coding-system): Add an
9752 example (bug#4869).
9753
343c3b5a
LMI
9754 * progmodes/etags.el (tags-search): Document `file-list-form'
9755 (bug#4731).
9756
2a517d45
LM
97572011-07-13 Lawrence Mitchell <wence@gmx.li>
9758
9759 * net/browse-url.el (browse-url-default-browser)
9760 (browse-url-browser-function): Make the default browser choice a
9761 bit more logical (bug#4300). Also clean up the doc string.
9762
b6c78ef2
JB
97632011-07-13 Juanma Barranquero <lekktu@gmail.com>
9764
9765 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9766 binary endings (bug#4440).
9767
1c4dd947
LMI
97682011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9769
a2014063
LMI
9770 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9771 which can be pretty annoying (bug#8971).
9772
9c9c2d88
LMI
9773 * jka-compr.el (jka-compr-verbose): New variable, and use
9774 throughout (bug#8971).
9775
1c4dd947
LMI
9776 * info.el (Info-find-file): Fall back on the installation
9777 directory if we can't find the info node anywhere else.
9778
a1c9f41b
SO
97792011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9780
9781 * vc/vc.el (vc-revert-file):
9782 Don't set file time-stamp in the past. (Bug#5181)
9783
536f3d36
LMI
97842011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9785
7152b011
LMI
9786 * files.el (after-find-file): Give a better error message when
9787 trying to find a symlink that points to a file that doesn't exist
9788 (bug#4398).
9789
536f3d36
LMI
9790 * progmodes/cc-vars.el: Remove (probably) misleading comment
9791 (bug#4396).
9792
460c0fba
JB
97932011-07-12 Johan Bockgård <bojohan@gnu.org>
9794
9795 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9796
7a6bda45
CY
97972011-07-12 Chong Yidong <cyd@stupidchicken.com>
9798
9799 * mouse-sel.el: Hack restoring functionality, while keeping
9800 compatibility with 2010-07-03 changes to mouse selection.
9801 (mouse-sel-primary-overlay): New var.
9802 (mouse-sel-selection-alist): Use it.
9803 (mouse-sel-mode): Doc fix; remove points that are default features
9804 of mouse.el.
9805
c79598ef
JB
98062011-07-12 Johan Bockgård <bojohan@gnu.org>
9807
9808 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9809 Fix previous fix (bug#2490).
9810
ff8be6ef
RW
98112011-07-12 Roland Winkler <winkler@gnu.org>
9812
b796c9b7
SM
9813 * textmodes/bibtex.el (bibtex-initialize):
9814 Use pop-to-buffer-same-window.
ff8be6ef
RW
9815 (bibtex-search-entries): Fix interactive call.
9816
296ba3ee
LMI
98172011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9818
f5242a02 9819 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9820 Fontise bytecomp Error lines more correctly (bug#2490).
9821 Fix suggested by Johan Bockgård.
f5242a02 9822
296ba3ee
LMI
9823 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9824
9825 * dired-x.el (dired-guess-default): Use `delete-dups'.
9826
f69fd0d2
CY
98272011-07-12 Chong Yidong <cyd@stupidchicken.com>
9828
9829 * dired.el (dired-mark-prompt):
9830 * dired-aux.el (dired-read-shell-command): Doc fix.
9831
eab5dc07
LMI
98322011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9833
b796c9b7
SM
9834 * mail/sendmail.el (sendmail-query-once):
9835 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9836 emacs -Q.
9837
9838 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9839
eab5dc07
LMI
9840 * cus-edit.el (custom-file): Take an optional no-error variable.
9841 (customize-save-variable): Set the variable, and give a warning if
9842 running under "emacs -q".
9843
a1e65d42
JB
98442011-07-11 Juanma Barranquero <lekktu@gmail.com>
9845
9846 * loadhist.el (unload-feature-special-hooks):
9847 Add `auto-coding-functions', `fill-nobreak-predicate' and
9848 `find-directory-functions' (bug#5327).
9849
1d52da10
LMI
98502011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9851
be958f1d
LMI
9852 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9853
5bedb26c
LMI
9854 * cus-edit.el (custom-guess-name-alist): -alist variables should
9855 use the `alist' type (bug#3120). Suggested by Drew Adams.
9856
1d52da10
LMI
9857 * printing.el: Add documentation to all the `pr-toggle-' commands.
9858
cd394be1 98592011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9860
9861 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9862 backends where it makes sense (bug#2623).
9863
dcc88d8a
LMI
98642011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9865
c3de9feb
LMI
9866 * dired-x.el (dired-guess-default): Remove duplicate shell command
9867 entries (bug#2028).
8a93078b 9868 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9869 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9870
dcc88d8a
LMI
9871 * subr.el (remove-duplicates): New conveniency function.
9872
505e3645
LMI
98732011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9874
9875 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9876 (bug#1526).
9877
98782011-07-10 Martin Rudalics <rudalics@gmx.at>
9879
9880 * window.el (display-buffer-normalize-default): Don't invert
9881 meaning of even-window-heights. Reported by Eli Zaretskii
9882 <eliz@gnu.org>.
9883
455e4fa1
BR
98842011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9885
9886 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9887
8e0bc3e9
CY
98882011-07-10 Chong Yidong <cyd@stupidchicken.com>
9889
9890 * window.el (display-buffer): Fix arguments to
9891 display-buffer-reuse-window in last change.
9892
fa7c3228
CY
9893 * faces.el (link): Use a less saturated blue on light backgrounds.
9894
9895 * startup.el (fancy-startup-text, fancy-about-text)
9896 (fancy-startup-tail): Use font-lock faces, for background safety.
9897
c0a7f300
BN
98982011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9899
b796c9b7
SM
9900 * emulation/viper-cmd.el (viper-change-state-to-vi):
9901 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9902
4dc2a129
MR
99032011-07-09 Martin Rudalics <rudalics@gmx.at>
9904
9905 * window.el (display-buffer-default-specifiers): Remove.
9906 (display-buffer-macro-specifiers): Remove default specifiers.
9907 (display-buffer-alist): Default to nil.
b796c9b7 9908 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9909 (display-buffer-pop-up-window): Allow splitting internal
9910 windows. Check whether a live window was created.
9911 (display-buffer-other-window-means-other-frame)
9912 (display-buffer-normalize-arguments): Rename to
9913 display-buffer-normalize-argument and rewrite. Set the
9914 other-window specifier.
9915 (display-buffer-normalize-special): New function.
9916 (display-buffer-normalize-options): Rename to
9917 display-buffer-normalize-default and rewrite.
9918 (display-buffer-normalize-options-inhibit): Remove.
9919 (display-buffer-normalize-specifiers): Rewrite.
9920 (display-buffer): Process other-window specifier and call
9921 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9922 more faithfully.
b796c9b7 9923 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9924 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9925 (display-buffer-in-window, display-buffer-alist-set):
9926 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9927 <tassilo@member.fsf.org>.
9928
2d43b8c9
LL
99292011-07-09 Leo Liu <sdl.web@gmail.com>
9930
9931 * register.el (insert-register): Restore accidental change on
9932 2011-06-26. (Bug#9028)
9933
7f9b7c53
GM
99342011-07-09 Glenn Morris <rgm@gnu.org>
9935
9936 * subr.el (remq): Handle the empty list. (Bug#9024)
9937
f042cfd8
AS
99382011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9939
9940 * mail/sendmail.el (send-mail-function): No longer delay custom
9941 initialization.
9942 * custom.el (custom-initialize-delay): Doc fix.
9943
856b2f11
SM
99442011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9945
9946 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9947
afae1d68
MA
99482011-07-08 Michael Albinus <michael.albinus@gmx.de>
9949
9950 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9951 human-friendly prompt.
9952
0757af94
SM
99532011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9954
9955 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9956 provided by a particular plugin.
9957
d760b731
LMI
99582011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9959
9960 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9961 save customizations (with "emacs -Q"), just set the variable
9962 instead of erroring out.
9963
9964 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9965
cd79ce90
JL
99662011-07-08 Juri Linkov <juri@jurta.org>
9967
9968 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9969 (archive-zip-update-case): Use 7z if found by `executable-find'.
9970 The order of searching the available programs is the same as in
9971 `archive-zip-extract' (bug#8968).
9972
14cc04aa
CY
99732011-07-07 Chong Yidong <cyd@stupidchicken.com>
9974
9975 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9976 (menu-bar-options-menu): Tweak descriptions.
9977
0a1848ec
LMI
99782011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9979
9980 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9981 menu items into verb phrases (bug#1421). Also refill to fit under
9982 80 columns.
9983
f5bd0689
CY
99842011-07-07 Chong Yidong <cyd@stupidchicken.com>
9985
538e85c6
CY
9986 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9987 (Info-read-node-name): Doc fix (Bug#1084).
9988
f5bd0689
CY
9989 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9990 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9991 (end-of-sexp, beginning-of-sexp)
9992 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9993 (forward-symbol, forward-same-syntax, word-at-point)
9994 (sentence-at-point): Doc fix (Bug#1144).
9995
56ec5115
LMI
99962011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9997
f3f8e37f
LMI
9998 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9999 should cover it (bug#1281).
10000
0757af94 10001 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 10002
e9fce1ac 10003 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
10004 negotiation fails, then possibly try again with a non-encrypted
10005 connection (bug#9017).
10006
56ec5115
LMI
10007 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10008 be used.
10009
c2f9aec8
RS
100102011-07-07 Richard Stallman <rms@gnu.org>
10011
10012 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10013 property, and handle its changed format.
10014 Look for the correct line number.
10015 Use file's line contents (but not past first =) to find
10016 correct line in message.
10017
ef7b981d 100182011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
10019
10020 * international/characters.el (build-unicode-category-table):
10021 Delete it.
0757af94 10022 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 10023
0757af94 10024 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
10025 to src/chartab.c.
10026 (get-char-code-property): Call unicode-property-table-internal to
10027 load a file. Call get-unicode-property-internal where necessary.
10028 (put-char-code-property): Call unicode-property-table-internal to
10029 load a file. Call put-unicode-property-internal where necessary.
10030 put-unicode-property-internal where necessary.
0757af94
SM
10031 (char-code-property-description):
10032 Call unicode-property-table-internal to load a file.
c805dec0
KH
10033
10034 * international/charprop.el:
10035 * international/uni-bidi.el:
10036 * international/uni-category.el:
10037 * international/uni-combining.el:
10038 * international/uni-comment.el:
10039 * international/uni-decimal.el:
10040 * international/uni-decomposition.el:
10041 * international/uni-digit.el:
10042 * international/uni-lowercase.el:
10043 * international/uni-mirrored.el:
10044 * international/uni-name.el:
10045 * international/uni-numeric.el:
10046 * international/uni-old-name.el:
10047 * international/uni-titlecase.el:
10048 * international/uni-uppercase.el: Regenerate.
10049
10050 * loadup.el: Load international/charprop.el before
10051 international/characters.
10052
e14b388a
CY
100532011-07-07 Chong Yidong <cyd@stupidchicken.com>
10054
10055 * window.el (next-buffer, previous-buffer): Signal an error if
10056 called from a minibuffer window.
10057
10058 * bindings.el: Revert 2011-07-04 change.
10059
354cf0ba
RS
100602011-07-06 Richard Stallman <rms@gnu.org>
10061
10062 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10063 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10064 Treat markers like ints.
10065 (rmail-mime-entity): Doc fix.
10066
a48868a7
LMI
100672011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10068
4906cd3d
LMI
10069 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10070 defcustom again for backwards compatibility.
10071
e0457abe
LMI
10072 * simple.el (shell-command-on-region): Fill.
10073
d67f7e1f
LMI
10074 * dired-aux.el (dired-kill-line): Add a doc string.
10075
fe204702
LMI
10076 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10077 to "\\sw\\|\\s_" (bug#358).
10078
a48868a7
LMI
10079 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10080 (dired-unmark-backward): Ditto.
10081 (dired-flag-backup-files): Ditto.
10082
10083 * dired-x.el (dired-mark-sexp): Ditto.
10084
aa8a705c
RS
100852011-07-06 Richard Stallman <rms@gnu.org>
10086
10087 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10088 (rmail-mime-entity): New arg TRUNCATED.
10089 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10090 New functions.
10091 (rmail-mime-save): Warn if entity is truncated.
10092 (rmail-mime-toggle-hidden): Likewise, for showing.
10093 (rmail-mime-process-multipart): Record when an entity is truncated.
10094
a9a936b9
RS
10095 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10096 if ENTITY is a string.
10097
1f2b92cb
LMI
100982011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10099
f4f73198 10100 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
10101 of faces when `M-C-x'-ing their definitions (bug#8378).
10102 Also clean up the code slightly.
f4f73198 10103
12b16734 10104 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 10105 because that makes the colors go away.
12b16734 10106
f0691d22
LMI
10107 * mail/sendmail.el (send-mail-function): Change the default to
10108 `sendmail-query-once'.
9e87df06 10109 (sendmail-query-once): Add an autoload cookie.
f0691d22 10110
1f2b92cb
LMI
10111 * net/network-stream.el (network-stream-open-starttls): Try using
10112 a plain connection even if the server offered STARTTLS, and we
10113 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10114 capability. This should make smtpmail.el work in slightly more
10115 configurations.
10116
1cdd2a1b
MA
101172011-07-06 Michael Albinus <michael.albinus@gmx.de>
10118
10119 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10120 New defun.
10121 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10122
fbcc67e2
MM
101232011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10124
10125 * progmodes/sql.el: Version 3.0
0757af94 10126 (sql-product-alist): Add product :completion-object,
fbcc67e2 10127 :completion-column, and :statement attributes.
0757af94 10128 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 10129 (sql-mode-syntax-table): Mark all punctuation.
0757af94 10130 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
10131 ansi keywords.
10132 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 10133 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
10134 (sql-oracle-show-reserved-words): New function for development.
10135 (sql-product-font-lock): Simplify for source code buffers.
10136 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10137 New functions.
10138 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
10139 (sql-mode-map): Add statement movement functions.
10140 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10141 New variable.
fbcc67e2
MM
10142 (sql-statement-regexp, sql-beginning-of-statement)
10143 (sql-end-of-statement, sql-signum): New functions.
0757af94 10144 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
10145 (sql-show-sqli-buffer): Bug fix.
10146 (sql-interactive-mode): Store connection data as buffer local.
0757af94 10147 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
10148 with sql-interactive-mode.
10149 (sql-save-connection): Save buffer local settings.
0757af94 10150 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
10151 (sql-product-interactive): Bug fix.
10152 (sql-preoutput-hold): New variable.
10153 (sql-interactive-remove-continuation-prompt): Bug fixes.
10154 (sql-debug-redirect): New variable.
10155 (sql-str-literal): New function.
10156 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 10157 Redesign.
fbcc67e2
MM
10158 (sql-oracle-save-settings, sql-oracle-restore-settings)
10159 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10160 (sql-completion-object, sql-completion-column)
10161 (sql-completion-sqlbuf): New variables.
10162 (sql-build-completions-1, sql-build-completions)
10163 (sql-try-completion): New functions.
10164 (sql-read-table-name): Use them.
10165 (sql-contains-names): New buffer local variable.
10166 (sql-list-all, sql-list-table): Use it.
10167 (sql-oracle-completion-types): New variable.
10168 (sql-oracle-completion-object, sql-sqlite-completion-object)
10169 (sql-postgres-completion-object): New functions.
10170
d4eaeab1
GM
101712011-07-06 Glenn Morris <rgm@gnu.org>
10172
10173 * window.el (pop-to-buffer): Doc fix.
10174
322b7dab 101752011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
10176
10177 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10178
322b7dab 101792011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 10180
322b7dab 10181 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 10182
322b7dab 10183 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 10184
605dd5bf
CY
101852011-07-05 Chong Yidong <cyd@stupidchicken.com>
10186
10187 * button.el (button): Inherit from link face. Suggested by Dan
10188 Nicolaescu.
10189
7dbfa719
SM
101902011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10191
3db614b0
SM
10192 * progmodes/gdb-mi.el: Fit in 80 columns.
10193 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10194 switch-to-buffer.
10195
7dbfa719
SM
10196 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10197 if imenu is simply not configured (bug#8941).
10198
919d884a
KM
101992011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10200
10201 * allout.el (allout-post-undo-hook): New allout outline-change
10202 event hook to signal undo activity.
10203 (allout-post-command-business): Run allout-post-undo-hook if an
10204 undo just occurred.
7dbfa719
SM
10205 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10206 * allout-widgets.el (allout-widgets-after-undo-function):
10207 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
10208 in the vicinity of an undo.
10209 (allout-widgets-mode): Include allout-widgets-after-undo-function
10210 on the new allout-post-undo-hook.
10211
450a0f09
SM
102122011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10213
10214 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10215 Let define-derived-mode define it.
10216 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10217 cycles of abbrev-table inheritance (bug#8998).
10218
2de69e00
RW
102192011-07-05 Roland Winkler <winkler@gnu.org>
10220
10221 * textmodes/bibtex.el: Add support for biblatex.
10222 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10223 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10224 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10225 (bibtex-entry-alist, bibtex-field-alist): New variables.
10226 (bibtex-entry-field-alist): Obsolete alias for
10227 bibtex-BibTeX-entry-alist.
10228 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10229 (bibtex-set-dialect): New command.
10230 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
10231 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10232 Bind via bibtex-set-dialect.
2de69e00
RW
10233 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10234 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10235 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10236 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10237 Define via bibtex-set-dialect.
450a0f09
SM
10238 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10239 Obey bibtex-no-opt-remove-re.
2de69e00
RW
10240 (bibtex-vec-push, bibtex-vec-incr): New functions.
10241 (bibtex-format-entry, bibtex-field-list)
10242 (bibtex-print-help-message, bibtex-validate)
10243 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10244
2dcdbdd9
SM
102452011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10246
10247 * progmodes/compile.el (compilation-goto-locus):
10248 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10249 * bs.el (bs-cycle-next, bs-cycle-previous):
10250 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10251 * bindings.el (mode-line-other-buffer):
10252 * autoinsert.el (auto-insert):
10253 * arc-mode.el (archive-extract):
10254 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10255
b27640fe
JB
102562011-07-05 Juanma Barranquero <lekktu@gmail.com>
10257
10258 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10259 Fix check of `emacs-lock-unlockable-modes'.
10260 Coerce true values of `emacs-lock--try-unlocking' to t.
10261
53bbe3ad
JB
102622011-07-05 Juanma Barranquero <lekktu@gmail.com>
10263
10264 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10265 * emacs-lock.el: New file.
10266
1d3cdbc7
JD
102672011-07-05 Julien Danjou <julien@danjou.info>
10268
10269 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10270 than `boundp' to check if face is set.
10271
9173deec
JB
102722011-07-05 Juanma Barranquero <lekktu@gmail.com>
10273
10274 * register.el (registerv-make):
10275 * window.el (window-min-height): Fix typos in docstrings.
10276
869795d6
JD
102772011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10278
9173deec 10279 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
10280 Update doc string.
10281
b768cdcd
JB
102822011-07-04 Juanma Barranquero <lekktu@gmail.com>
10283
10284 * server.el (server-execute): Catch quit and call
10285 `server-return-error' to pass the error back to emacsclient and
10286 close the connection (bug#8942).
10287
13aa217b
KM
102882011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10289
10290 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10291 insecure exception for current topic. Also note that auto-saves
10292 are handled differently.
10293
5d3385a0 10294 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10295 State variables for tracking auto-save inhibition situation.
10296
10297 (allout-write-contents-hook-handler): Rename from
10298 'allout-write-file-hook-handler', and describe how it depends on
10299 write-contents-functions sensitivity to non-nil value to prevent
10300 file write.
10301
10302 (allout-auto-save-hook-handler): Remove. auto-save does not check
10303 this in individual buffers, only in the starting buffer, so this
10304 is not the right way for us to inhibit auto-save in a buffer
10305 according to its condition.
10306
10307 (allout-mode): Use new allout-write-contents-hook-handler, and
10308 only with write-contents-functions. Remove auto-save provisions -
10309 they're implemented elsewhere.
10310
10311 (allout-before-change-handler): If undo is in progress, note that
10312 for attention of allout-post-command-business.
10313
10314 (allout-post-command-business): If the command we're following was
10315 an undo, check for change in the status of encrypted items and
10316 adjust auto-save inhibitions accordingly.
10317
10318 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10319 according to whether there are or aren't any plain-text topics
10320 pending encryption.
10321
2dcdbdd9 10322 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10323 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10324 if there are plain-text topics pending encryption.
13aa217b
KM
10325
10326 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10327 buffer-saved-size and some allout state to not inhibit auto-saves
10328 if there are no longer any plain-text topics pending encryption.
10329
0757af94
SM
10330 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10331 No longer provide for exemption of the current topic.
13aa217b 10332
ac89b32c
JL
103332011-07-04 Juri Linkov <juri@jurta.org>
10334
10335 Add 7z operations to delete and save changed members (bug#8968).
10336 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10337 New defcustoms.
10338 (archive-7z-write-file-member): New function.
10339 (archive-7z-summarize): Fix the number of dashes in the
10340 listing output.
10341
8fa39615
SM
103422011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10343
10344 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10345 (bug#8958).
10346
2f11b3f1
CY
103472011-07-04 Chong Yidong <cyd@stupidchicken.com>
10348
d66fef2b
CY
10349 * bindings.el: Ignore next-buffer and previous-buffer in
10350 minibuffer-local-map.
10351
2f11b3f1
CY
10352 * font-lock.el (font-lock-builtin-face): Change light background
10353 color to dark slate blue (Bug#6693).
10354
f932a347
WD
103552011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10356
10357 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10358
c8af70e1
SM
103592011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10360
10361 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10362 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10363 Add switch-to-buffer.
10364
f158badc
LMI
103652011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10366
10367 * isearch.el (isearch-search-fun-function): Clarify further the
10368 meaning of the function returned.
10369
6d95bd46
MA
103702011-07-04 Michael Albinus <michael.albinus@gmx.de>
10371
10372 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10373
10374 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10375 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10376 Use it.
10377 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10378 `tramp-default-remote-path' does not exist.
10379 (tramp-send-command-and-read): New optional argument NOERROR.
10380 (tramp-open-connection-setup-interactive-shell)
10381 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10382 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10383 (tramp-process-sentinel): Flush also process' connection property.
10384 (tramp-sh-handle-start-file-process): Do not set process
10385 sentinel. It is done now ...
10386 (tramp-maybe-open-connection): ... here. (Bug#8929)
10387
909e6b67
MK
103882011-07-04 MON KEY <monkey@sandpframing.com>
10389
10390 * play/animate.el (animate-string): Doc fixes and allow changing
10391 the buffer name (bug#5417).
10392
103932011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10394
c8af70e1 10395 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10396
f34755dc
PE
103972011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10398
396cec72
PE
10399 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10400 This is simpler and helps future-proof the code.
10401 (timer-until): Use time-subtract and float-time.
08235028 10402 (timer--time-less-p): Use time-less-p.
f34755dc 10403
56e6cc31
JB
104042011-07-04 Juanma Barranquero <lekktu@gmail.com>
10405
3abb79e5
JB
10406 * type-break.el (timep): Use the value of `float-time' to avoid a
10407 byte-compiler warning.
10408
56e6cc31
JB
10409 * server.el (server-eval-and-print): Return any result, even nil.
10410
7b9430b4
PE
104112011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10412
10413 * type-break.el: Accept time formats that the builtins accept.
10414 (timep, type-break-time-difference): Accept any format that
10415 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10416 This is simpler and helps future-proof the code.
10417 (type-break-time-difference): Round rather than ignoring
10418 subseconds components.
10419
3034e9e7
LMI
104202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10421
10422 * info.el (Info-apropos-matches): Make non-interactive, since it
10423 doesn't seem to do anything useful as a command (bug#8829).
10424
1485f4c0
CY
104252011-07-03 Chong Yidong <cyd@stupidchicken.com>
10426
10427 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10428 Move from faces.el.
1485f4c0
CY
10429 (frame-default-terminal-background): New function.
10430
10431 * custom.el (custom-push-theme): Don't record faces in `changed'
10432 theme; this doesn't work correctly for per-frame face settings.
10433 (disable-theme): Use face-set-after-frame-default to reset faces.
10434 (custom--frame-color-default): New function.
10435
9fa3dd45
LMI
104362011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10437
c8af70e1 10438 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10439 (bug#8769).
10440
6cbbc20c
KR
104412011-03-29 Kevin Ryde <user42@zip.com.au>
10442
10443 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10444 `perl-Test2' extend to match possible "fail #N" rep count
10445 (bug#8377).
10446
c7f98048
LMI
104472011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10448
65676592
LMI
10449 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10450 `smtpmail-via-smtp' now returns the error instead of nil.
10451
c7f98048
LMI
10452 * isearch.el (isearch-search-fun-function): Clarify the doc string
10453 (bug#8101).
10454
56e6cc31 104552011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10456
10457 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10458 unnecessary spaces (bug#8987).
10459
2b216704
LMI
104602011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10461
10462 * net/network-stream.el (open-network-stream): Use the
10463 :end-of-capability command thoughout.
10464
104652011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10466
10467 * net/network-stream.el (open-network-stream): Add the
10468 :end-of-capability command parameter, used by pop3.el.
10469
36adf6ce
LMI
104702011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10471
1ca0da0e
LMI
10472 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10473
fc00f69c
LMI
10474 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10475 for list)" (bug#6475).
10476
28fd8759 10477 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10478 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10479 an error (bug#6297).
10480
0dd8b6da
LMI
10481 * man.el (Man-reference-regexp): Allow matching possible
10482 word-wrapped references (bug#6289).
10483
ce1438d6
LMI
10484 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10485 for consistency with the other vc buffers (bug#6197).
10486 (vc-checkin): Ditto.
10487
10488 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10489
36adf6ce
LMI
10490 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10491
e83cc1f7
LMI
104922011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10493
8a20ca4c
LMI
10494 * custom.el (defcustom): Clarify that :set is only used in the
10495 Customize user interface (bug#6089).
10496
83319045
LMI
10497 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10498 associated with a file, refuse to run instead of erroring out
10499 (bug#6084).
10500
a8392169
LMI
10501 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10502 the doc string, since it appears that using `fill-column' always
10503 controls the width (bug#7845).
10504
e83cc1f7
LMI
10505 * simple.el (shell-command-on-region): Say where the error output
10506 went if `shell-command-default-error-buffer' is set (bug#6857).
10507
e47ca23b
KM
105082011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10509
10510 * allout.el (allout-yank-processing): Adjust cursor position for
10511 backwards-deleted space.
10512
10513 (allout-rebullet-heading): Register changes with
10514 allout-exposure-changed-hook, so the modified topic is properly
10515 decorated.
10516
5cf56143
LMI
105172011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10518
08549772
LMI
10519 * minibuffer.el (completion-in-region): Document PREDICATE
10520 (bug#7136).
10521
48e96771
LMI
10522 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10523 of keyword/argument pairs (bug#6904).
10524
c8af70e1
SM
10525 * replace.el (multi-occur):
10526 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10527
e17d05e2
LMI
105282011-07-02 Drew Adams <drew.adams@oracle.com>
10529
10530 * dired.el (dired-mark-if): Make the message about whether it's
10531 marking or unmarking clearer (bug#8523).
10532
063b0e45
LMI
105332011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10534
10535 * disp-table.el (display-table-print-array): New function.
10536 (describe-display-table): Use it to print the vectors more pretty
10537 (Bug#8859).
10538
28545e04
MR
105392011-07-02 Martin Rudalics <rudalics@gmx.at>
10540
10541 * window.el (window-state-get-1): Don't assign clone numbers.
10542 Add clone-of item to list of window parameters.
10543 (window-state-put-2): Don't process clone numbers.
10544 (display-buffer-alist): Fix doc-string.
10545
3349e122
SM
105462011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10547
10548 * subr.el (remq): Don't allocate if it's not needed.
10549 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10550 (keymap--merge-bindings): New functions.
10551 (keymap-canonicalize): Use them to refine the canonicalization.
10552 * minibuffer.el (minibuffer-local-completion-map)
10553 (minibuffer-local-must-match-map): Move initialization from C.
10554 (minibuffer-local-filename-completion-map): Move initialization from C;
10555 don't inherit from anything here.
10556 (minibuffer-local-filename-must-match-map): Make obsolete.
10557 (completing-read-default): Use make-composed-keymap to combine
10558 minibuffer-local-filename-completion-map with either
10559 minibuffer-local-must-match-map or
10560 minibuffer-local-filename-completion-map.
10561
d224ac83
GM
105622011-07-01 Glenn Morris <rgm@gnu.org>
10563
3de63bf8
GM
10564 * type-break.el (type-break-time-sum): Use dolist.
10565
d224ac83
GM
10566 * textmodes/flyspell.el (flyspell-word-search-backward):
10567 Replace CL function.
10568
1a1e3f32
SM
105692011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10570
fe3f64d5
SM
10571 * mouse.el (mouse--strip-first-event): New function.
10572 (function-key-map): Use it to map fringe clicks to normal clicks
10573 by default.
10574
eb604e34
SM
10575 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10576 (vc-bzr-revision-completion-table): Add support for annotate and date.
10577
1a1e3f32
SM
10578 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10579 inherit from parent.
10580
5bd35902
LMI
105812011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10582
ace6c69c 10583 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10584 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10585
191e2bed
LMI
10586 * dired.el (dired-mode): Fix up the doc string as suggested by
10587 Drew Adams (bug#8817).
10588
5bd35902
LMI
10589 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10590 cookie, since the manual says that it should be possible to add
10591 this function to `find-file-hook' (bug#8709).
10592
eee8207a
TZ
105932011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10594
10595 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10596 here. Noted Ted Zlatanov as the maintainer.
10597 (cfengine-common-settings, cfengine-common-syntax): New functions
10598 to set up common things between `cfengine-mode' and
10599 `cfengine3-mode'.
10600 (cfengine3-mode): New mode.
10601 (cfengine3-defuns cfengine3-defuns-regex
10602 (cfengine3-class-selector-regex cfengine3-category-regex)
10603 (cfengine3-vartypes cfengine3-font-lock-keywords)
10604 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10605 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10606
36b148cf
MA
106072011-07-01 Michael Albinus <michael.albinus@gmx.de>
10608
10609 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10610
10611 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10612
0bf4ba9a
MR
106132011-07-01 Martin Rudalics <rudalics@gmx.at>
10614
10615 * window.el (same-window-buffer-names, same-window-regexps)
10616 (same-window-p, special-display-frame-alist)
10617 (special-display-popup-frame, special-display-function)
10618 (special-display-buffer-names, special-display-regexps)
10619 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10620 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10621 (split-window-preferred-function, split-height-threshold)
10622 (split-width-threshold, even-window-heights)
10623 (display-buffer-mark-dedicated, window-splittable-p)
10624 (split-window-sensibly, window-safely-shrinkable-p):
10625 Un-obsolete.
10626 (display-buffer): Don't spread args with function specifier
10627 because special-display-popup-frame won't like it.
10628
35837f51
PE
106292011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10630
d0672f86
PE
10631 Time-stamp simplifications and fixes.
10632 These improve accuracy slightly, and future-proof the code
10633 against some potential changes to current-time format.
10634
b9444d97
PE
10635 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10636 by using time-since and float-time.
10637
0ef923dc
PE
10638 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10639 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10640 + NNN microseconds".
10641
2f81380d
PE
10642 * type-break.el (type-break-time-sum): Rewrite using time-add.
10643
845b5c3e
PE
10644 * play/hanoi.el (hanoi-current-time-float): Remove.
10645 All uses replaced by float-time.
10646
ee6f1be0
PE
10647 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10648 This yields a more-accurate answer.
10649 (rng-time-to-float): Remove; no longer needed.
10650
fe955043
PE
10651 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10652
5777162a
PE
10653 * calendar/timeclock.el (timeclock-seconds-to-time):
10654 Defalias to seconds-to-time, since they're the same thing.
10655
3103f8b6 10656 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10657 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10658 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10659
0e61a35f
SM
106602011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10661
10662 * window.el (bury-buffer): Don't iconify the only frame.
10663 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10664 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10665
ddd63a1e
CY
106662011-07-01 Chong Yidong <cyd@stupidchicken.com>
10667
0e61a35f
SM
10668 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10669 Add mouse-yank-primary.
ddd63a1e 10670
055f4923
TZ
106712011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10672
10673 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10674
6a2fb145
SM
106752011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10676
10677 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10678 (find-library-name): Use it to find relative load names when provided
10679 absolute file name (bug#8803).
10680
fd4983f2
LMI
106812011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10682
887d14ad
LMI
10683 * textmodes/flyspell.el (flyspell-word): Consider words that
10684 differ only in case as potential doublons (bug#5687).
10685
c53dc7fc
LMI
10686 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10687 Remove two rather uninteresting debugging-like messages to make
10688 debbugs.el more silent.
10689
fd4983f2
LMI
10690 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10691 a password-like phrase.
10692
7a71b18d 106932011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10694
10695 * progmodes/cc-guess.el: New file.
10696
6a2fb145 10697 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10698
10699 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10700 derived from `c-basic-common-init'.
10701
10702 * progmodes/cc-mode.el (top-level): Require cc-guess.
10703 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10704
1fa280a3
LM
107052011-06-30 Lawrence Mitchell <wence@gmx.li>
10706
10707 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10708
e6597158
AM
107092011-06-30 Alan Mackenzie <acm@muc.de>
10710
1fa280a3
LM
10711 * progmodes/cc-engine.el (c-guess-continued-construct):
10712 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10713 lock is disabled. Name this case as "CASE G".
10714
68ba37fb
KM
107152011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10716
10717 * allout.el (allout-yank-processing): Fix injection of extra space
10718 between bullet and non-whitespace character in first topic when
10719 pasting, ensuring that the actual spacing in the pasted topic
10720 following the bullet char is preserved. This extra space was
10721 causing pasted encrypted topics to get a decrypted status even
10722 when the content was actually still encrypted. Now the decryption
10723 status from before the paste is preserved.
10724
10725 (allout-flag-region): Set all allout overlays so they evaporate
10726 when reduced to zero length (evanescent), to prevent overlay
10727 leakage.
10728
887a0b34
GM
107292011-06-30 Glenn Morris <rgm@gnu.org>
10730
94b9acce
GM
10731 * w32-fns.el (w32-charset-info-alist): Declare.
10732
1d9b46d4
GM
10733 * find-dired.el (find-grep-options): Simplify.
10734
cc232200
GM
10735 * term/ns-win.el (ns-set-resource): Declare.
10736
28e77c46
GM
10737 * ses.el (row, col): Declare dynamic variables honestly.
10738
887a0b34
GM
10739 * textmodes/reftex-parse.el (index-tags): Declare.
10740
658d8eb8
CY
107412011-06-30 Chong Yidong <cyd@stupidchicken.com>
10742
10743 * cus-edit.el (customize-push-and-save): New function.
10744
10745 * files.el (hack-local-variables-confirm): Use it.
10746
1fa280a3
LM
10747 * custom.el (load-theme): New arg NO-CONFIRM.
10748 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10749 (custom-enabled-themes): Doc fix.
10750
10751 * cus-theme.el (customize-create-theme)
10752 (custom-theme-merge-theme): Callers to load-theme changed.
10753
bb617717
LMI
107542011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10755
d61bdd5d
LMI
10756 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10757 short URLs have at least one dot in them (bug #7614).
10758
bb617717
LMI
10759 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10760 nil, because using a pty is apparently too slow (bug #895).
10761
2f31f37a
LMI
107622011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10763
10764 * mail/sendmail.el (sendmail-query-once): New function.
10765 (sendmail-query-once-function): New variable.
10766
3076b24e
GM
107672011-06-29 Glenn Morris <rgm@gnu.org>
10768
faf2a174
GM
10769 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10770
3076b24e
GM
10771 * ses.el (top-level): Require cl when compiling.
10772 (ses-set-localvars): Fix error statement.
10773 Call it at compile time to silence a storm of warnings.
10774
5386012d
MR
107752011-06-29 Martin Rudalics <rudalics@gmx.at>
10776
10777 * window.el (normalize-live-buffer): Rename to
10778 window-normalize-buffer.
10779 (normalize-live-frame): Rename to window-normalize-frame.
10780 (normalize-any-window): Rename to window-normalize-any-window.
10781 (normalize-live-window): Rename to window-normalize-live-window.
10782 (make-window-atom): Rename to window-make-atom.
10783 (window-resize-reset): Rename to window--resize-reset.
10784 (window-resize-reset-1): Rename to window--resize-reset-1.
10785 (resize-mini-window): Rename to window--resize-mini-window.
10786 (resize-subwindows-skip-p): Rename to
10787 window--resize-subwindows-skip-p.
10788 (resize-subwindows-normal): Rename to
10789 window--resize-subwindows-normal.
10790 (resize-subwindows): Rename to window--resize-subwindows.
10791 (resize-other-windows): Rename to window--resize-siblings.
10792 (resize-this-window): Rename to window--resize-this-window.
10793 (resize-root-window): Rename to window--resize-root-window.
10794 (resize-root-window-vertically): Rename to
10795 window--resize-root-window-vertically.
10796 (normalize-buffer-to-display): Rename to
10797 window-normalize-buffer-to-display.
10798 (normalize-buffer-to-switch-to): Rename to
10799 window-normalize-buffer-to-switch-to.
10800 Correspondingly update all callers of the functions listed
10801 above.
10802 (display-buffer-alist, display-buffer-normalize-arguments)
10803 (display-buffer-normalize-options, display-buffer)
10804 (display-buffer-alist-set): Use "function" instead of
10805 "fun-with-args".
10806
1176868d
CY
108072011-06-28 Chong Yidong <cyd@stupidchicken.com>
10808
10809 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10810 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10811 debbugs.gnu.org. Mention acknowledgment email.
10812
20a7a65f
LMI
108132011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10814
10815 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10816 buffer multibyteness, since it shouldn't matter.
10817
5f45cca5
MR
108182011-06-28 Martin Rudalics <rudalics@gmx.at>
10819
10820 * window.el (display-buffer-in-side-window): Handle dedicated
10821 windows as in display-buffer-reuse-window.
10822 (display-buffer-normalize-alist): Use value of override
10823 specifier.
10824 (display-buffer-normalize-specifiers): Use value of
10825 other-window-means-other-frame specifier.
10826 (display-buffer-alist): Rewrite some texts in widgets.
10827 (display-buffer): Spread arguments when calling function
10828 specified by fun-with-args.
10829
ad85fe1f
DD
108302011-06-28 Deniz Dogan <deniz@dogan.se>
10831
1fa280a3
LM
10832 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10833 Unnest `let'.
da68c4c8 10834
ad85fe1f
DD
10835 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10836 selectors (Bug#5732).
ec49bd31 10837 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10838
a08cc025
JA
108392011-06-27 Jari Aalto <jari.aalto@cante.net>
10840
10841 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10842 (eshell-ls-date-format): New defcustom.
10843 (eshell-ls-file): Use it.
10844
e2b551c5
SM
108452011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10846
10847 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10848
8982b231
KY
108492011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10850
10851 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10852 (ange-ftp-make-tmp-name): New arg.
10853 (ange-ftp-file-local-copy): Use it.
10854
36c9fa27
J
108552011-06-27 Jambunathan K <kjambunathan@gmail.com>
10856
10857 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10858 no-conversion (Bug#8870).
10859
d68443dc
MR
108602011-06-27 Martin Rudalics <rudalics@gmx.at>
10861
10862 * window.el (window-right, window-left, window-child)
10863 (window-child-count, window-last-child)
10864 (window-iso-combination-p, walk-window-tree-1)
10865 (window-atom-check-1, window-tree-1, delete-window)
10866 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10867 new naming conventions - window-vchild, window-hchild,
10868 window-next and window-prev are now called window-top-child,
10869 window-left-child, window-next-sibling and window-prev-sibling
10870 respectively.
d615d6d2
MR
10871 (resize-window-reset): Rename to window-resize-reset.
10872 (resize-window-reset-1): Rename to window-resize-reset-1.
10873 (resize-window): Rename to window-resize.
10874 (window-min-height, window-min-width)
10875 (resize-mini-window, resize-this-window, resize-root-window)
10876 (resize-root-window-vertically, adjust-window-trailing-edge)
10877 (enlarge-window, shrink-window, maximize-window)
10878 (minimize-window, delete-window, quit-restore-window)
10879 (split-window, balance-windows, balance-windows-area-adjust)
10880 (balance-windows-area, window-state-put-2)
10881 (display-buffer-even-window-sizes, display-buffer-set-height)
10882 (display-buffer-set-width, set-window-text-height)
10883 (fit-window-to-buffer): Rename all "resize-window" prefixed
10884 calls to use the "window-resize" prefix convention.
10885 (display-buffer-alist): Fix symbol for label specifier.
10886 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10887 corresponding specifier.
10888 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10889
b6458526
VB
108902011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10891
10892 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10893 convention.
10894 (ses-call-printer): Does not pass an empty string to formatter when the
10895 cell is empty to keep from barking printer Calc math-format-value.
10896
d31fd9ac
RS
108972011-06-27 Richard Stallman <rms@gnu.org>
10898
43d5bf84
RS
10899 * battery.el (battery-mode-line-limit): New variable.
10900 (battery-update): Handle it.
10901
d31fd9ac
RS
10902 * mail/rmailmm.el (rmail-mime-process-multipart):
10903 Handle truncated messages.
10904
819a6054
GM
109052011-06-27 Glenn Morris <rgm@gnu.org>
10906
10907 * progmodes/flymake.el (flymake-err-line-patterns):
10908 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10909
cedc73f2
VB
109102011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10911
819a6054 10912 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10913 (ses--clean-!, ses--clean-_): New functions.
10914 (ses-range): Add configurability of readout order, and conversion
10915 to Calc vector.
10916
5e5d49b6
VB
10917 * ses.el (ses-repair-cell-reference-all): New function.
10918 (ses-cell-symbol): Set macro as safe, so that it can be used in
10919 formulas.
10920
56e6cc31 10921 * ses.el: Update cycle detection algorithm.
90ca8b49 10922 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10923 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10924 (ses-set-localvars): New function.
10925 (ses-make-cell): Add property-list as a cell element.
10926 (ses-cell-property-get-fun, ses-cell-property-get)
10927 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10928 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10929 New functions.
90ca8b49
VB
10930 (ses-cell-property-set, ses-cell-property-pop)
10931 (ses-cell-property-get-handle): New macro.
10932 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10933 New aliases, used for code readability.
10934 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10935 cycle detection.
10936 (ses-self-reference-early-detection): New defcustom.
fac916bf 10937 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10938 (ses-mode): Use ses-set-localvars.
10939 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10940 before lauching the update processing.
10941 (ses-initialize-Dijkstra-attempt): New function.
10942 (ses-recalculate-cell): Update for cycle detection based on
10943 Dijkstra algorithm.
10944
2bb63e81
VB
10945 * ses.el: Fix commenting and indenting convention.
10946
c9d29fb8
SM
109472011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10948
10949 * bs.el (bs-cycle-next): Complete last change.
10950
d8e4b68b
JB
109512011-06-27 Drew Adams <drew.adams@oracle.com>
10952
10953 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10954
40098786
LMI
109552011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10956
c9d29fb8
SM
10957 * net/network-stream.el (network-stream-open-starttls):
10958 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10959 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10960
40098786
LMI
10961 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10962 to binary to possibly avoid line encoding issues on Windows (among
10963 other things).
10964
468d09d4
LMI
109652011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10966
10967 * net/network-stream.el (open-network-stream): Return an :error
10968 saying what the problem was, if possible.
10969
10970 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10971 server.
10972
10973 * net/network-stream.el (network-stream-open-starttls): If we
10974 wanted to use STARTTLS, and the server offered it, but we weren't
10975 able to because we had no STARTTLS support, then close the connection.
10976 (open-network-stream): Return an :error element, if present.
10977
16f07dd7
CY
109782011-06-26 Chong Yidong <cyd@stupidchicken.com>
10979
88821ca0
CY
10980 * hl-line.el (hl-line-sticky-flag): Doc fix.
10981 (global-hl-line-sticky-flag): New option (Bug#8323).
10982 (global-hl-line-highlight): Obey it.
10983
16f07dd7
CY
10984 * vc/vc.el (vc-revert-show-diff): Default to t.
10985
6b5ccddf
KM
109862011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10987
c9d29fb8
SM
10988 * allout-widgets.el (allout-widgets-post-command-business):
10989 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10990 undecorated when an isearch is continued past, and isearch
10991 automatically collapses them. This leads to "widget leaks", where
10992 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10993 hidden widgets can slow down cursor travel, substantially.
10994 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10995 so we're doing without this nicety.
10996
10997 (allout-widgets-tally-string): Don't try to do a hash-table-count
10998 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10999 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11000 *Messages* when allout-widgets-maintain-tally is t.
11001
355f2e07
MR
110022011-06-26 Martin Rudalics <rudalics@gmx.at>
11003
11004 * window.el (display-buffer-normalize-argument): Rename to
11005 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
11006 LABEL argument. Respect special-display-function when popping up
11007 a new frame. Fix code searching for a window showing the buffer
11008 on another frame.
c9d29fb8
SM
11009 (display-buffer-normalize-specifiers):
11010 Call display-buffer-normalize-arguments.
355f2e07
MR
11011 (display-buffer-in-window): Don't undedicate the window if its
11012 buffer remains the same.
11013 Reported by Drew Adams <drew.adams@oracle.com>.
11014 (display-buffer-alist): Add choice for same-window macro
11015 specfier.
11016 (display-buffer): Mention special meaning of LABEL argument in
11017 doc-string. Fix quoting. Don't pop up a new frame even as
11018 fallback.
11019
7ca8fc42
JB
110202011-06-26 Juanma Barranquero <lekktu@gmail.com>
11021
11022 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11023 avoid deleting the current window in some cases (bug#8911).
11024
bc312254
AS
110252011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11026
11027 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11028 (Bug#8934)
11029
2db18f3f
LMI
110302011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11031
c9d29fb8
SM
11032 * net/network-stream.el (network-stream-open-starttls):
11033 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
11034 (network-stream-open-tls): Ditto.
11035
6302e0d3
LL
110362011-06-26 Leo Liu <sdl.web@gmail.com>
11037
11038 * register.el (registerv): New struct.
11039 (registerv-make): New function.
c9d29fb8
SM
11040 (jump-to-register, describe-register-1, insert-register):
11041 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
11042 struct. (Bug#8415)
11043
5fdd4046
CY
110442011-06-26 Chong Yidong <cyd@stupidchicken.com>
11045
2afef60a
CY
11046 * vc/vc.el (vc-revert-show-diff): New defcustom.
11047 (vc-diff-internal): New arg specifying diff buffer.
11048 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11049 reuse an existing *vc-diff* buffer (Bug#8927).
11050
5fdd4046
CY
11051 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11052
e93db24a
GM
110532011-06-26 Glenn Morris <rgm@gnu.org>
11054
11055 * progmodes/f90.el (f90-critical-indent): New option.
11056 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11057 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11058 (f90-mode): Doc fix.
11059 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11060 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11061 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11062 (f90-match-end): Handle block, critical.
11063
eefff499
GM
110642011-06-25 Glenn Morris <rgm@gnu.org>
11065
f6ba4cc9
GM
11066 * calendar/diary-lib.el (diary-included-files): Doc fix.
11067 (diary-include-files): New function, extracted from
11068 diary-include-other-diary-files and diary-mark-included-diary-files.
11069 (diary-include-other-diary-files, diary-mark-included-diary-files):
11070 Just call diary-include-files.
11071 (diary-mark-entries): Reset diary-included-files on first call.
11072
16712304
GM
11073 * calendar/diary-lib.el (diary-mark-entries)
11074 (diary-mark-included-diary-files):
11075 Visit included diary-files in temp buffers.
11076
5d8e0d43
GM
11077 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11078 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11079 (f90-start-block-re, f90-imenu-generic-expression)
11080 (f90-looking-at-program-block-start, f90-no-block-limit):
11081 Add support for submodules.
11082
ccf7a5d5
GM
11083 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11084 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 11085
11fdef7d 110862011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
11087
11088 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11089 buffer-file-type before setting its value, to avoid disastrous
eefff499 11090 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 11091
74f53697
JB
110922011-06-25 Juanma Barranquero <lekktu@gmail.com>
11093
11094 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11095
11096 * ses.el (ses-unload-function):
11097 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11098
11099 * proced.el (proced-unload-function):
11100 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11101
18a4ce5e
AR
111022011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11103
11104 * server.el (server-create-window-system-frame): Add parameters arg.
11105 (server-process-filter): Doc fix. Handle frame-parameters.
11106
519d22cc
JB
111072011-06-25 Juanma Barranquero <lekktu@gmail.com>
11108
11109 Fix bug#8730, bug#8781.
11110
11111 * loadhist.el (unload--set-major-mode): New function.
11112 (unload-feature): Use it.
11113
11114 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11115 (python-unload-function): New function.
11116
c206f5b0
SM
111172011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11118
11119 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11120
f9ad64f3
GS
111212011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11122
11123 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11124 the candidates list.
11125
7d0da90e
JB
111262011-06-24 Juanma Barranquero <lekktu@gmail.com>
11127
11128 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11129
14b4e83d
RS
111302011-06-23 Richard Stallman <rms@gnu.org>
11131
11132 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11133 (rmail-variables): Set next-error-move-function.
11134 (rmail-what-message): Take argument POS.
11135 (rmail-next-error-move): New function.
11136
273d2baf
SM
111372011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11138
11139 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11140 messages for adjacent non-terminals.
11141
56c2cc9a
RS
111422011-06-23 Richard Stallman <rms@gnu.org>
11143
11144 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 11145 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
11146 (rmail-start-mail): Don't specify use of rmail-mail-return;
11147 that's done by mail-bury now.
11148 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 11149
d59eb518
MA
111502011-06-23 Michael Albinus <michael.albinus@gmx.de>
11151
11152 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11153 SIZE is a number.
11154
02cfc6d6
MR
111552011-06-23 Martin Rudalics <rudalics@gmx.at>
11156
11157 * window.el (get-lru-window, get-mru-window)
11158 (get-largest-window): Never return a minibuffer window.
11159 (display-buffer-pop-up-window): Fix a bug that could lead to
11160 reusing the minibuffer window.
11161 (display-buffer): Pass original specifier argument to
11162 display-buffer-function instead of the normalized one.
11163 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11164
4e323265
LL
111652011-06-22 Leo Liu <sdl.web@gmail.com>
11166
11167 * minibuffer.el (completing-read-function)
11168 (completing-read-default): Move from minibuf.c
11169
7a70468f
RS
111702011-06-22 Richard Stallman <rms@gnu.org>
11171
50718fc2
RS
11172 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11173 to Rmail even if not started by a special Rmail command.
11174
7a70468f
RS
11175 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11176 Copy the buffer currently showing just one message.
11177
297dde5a
RW
111782011-06-22 Roland Winkler <winkler@gnu.org>
11179
11180 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11181 (bibtex-clean-entry): First delete the old key so that a
11182 customized algorithm for generating the new key does not get
11183 confused by the old key.
11184 (bibtex-url): Obey regexp of first step.
11185 (bibtex-search-entries): Do not use add-to-list with local
11186 list-var.
11187
97bb1093
LMI
111882011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11189
11190 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11191 stored a user name, then query for the password first, instead of
11192 waiting for SMTP to give an error message and the trying again.
11193
1c0f1a19
JD
111942011-06-22 Lawrence Mitchell <wence@gmx.li>
11195
11196 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11197 BUFFER in call-process.
11198
396f7c9d
LMI
111992011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11200
11201 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11202 QUIT twice.
ddb7ffee
LMI
11203 (smtpmail-try-auth-methods): Require user name and password from
11204 auth-source.
396f7c9d 11205
8998d1b3
MR
112062011-06-22 Martin Rudalics <rudalics@gmx.at>
11207
11208 * window.el (display-buffer-default-specifiers)
11209 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11210 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 11211 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
11212
11213 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11214 (special-display-frame-alist, special-display-popup-frame):
11215 Remove duplicate declarations. These are now in window.el.
11216
4ea31e07
LMI
112172011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11218
c9d29fb8
SM
11219 * mail/smtpmail.el (smtpmail-via-smtp):
11220 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
11221 server supports it. SMTP servers that support STARTTLS commonly
11222 require it.
11223
11224 * net/network-stream.el (network-stream-open-starttls): Support
11225 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 11226 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 11227
95f41d9a
LMI
11228 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11229 upgrades with `open-network-stream', and rely solely on
11230 auth-source for all credentials. Big changes throughout the file,
11231 but in particular:
c9d29fb8
SM
11232 (smtpmail-auth-credentials): Remove.
11233 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
11234 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11235 MAIL FROM, too.
95f41d9a 11236
c9d29fb8
SM
11237 * net/network-stream.el (network-stream-open-starttls):
11238 Provide support for client certificates both for external and built-in
4ea31e07
LMI
11239 STARTTLS.
11240 (auth-source): Require.
11241 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
11242 (network-stream-certificate): Change cert-cert to cert and
11243 cert-key to key.
4ea31e07 11244
065ec2c7
MA
112452011-06-21 Michael Albinus <michael.albinus@gmx.de>
11246
11247 * net/tramp-cache.el (top): Don't load the persistency file when
11248 "emacs -Q" has been called.
11249
cd93b359
DR
112502011-06-21 Tim Harper <timcharper@gmail.com>
11251
d8e4b68b
JB
11252 * term/ns-win.el (ns-initialize-window-system):
11253 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
11254 resource to NO as it is not yet supported by the NS port.
11255
ae9c0411
JB
112562011-06-21 Juanma Barranquero <lekktu@gmail.com>
11257
11258 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11259 (list-dynamic-libraries): ...not here.
11260
7f3f739f
LL
112612011-06-21 Leo Liu <sdl.web@gmail.com>
11262
11263 * subr.el (sha1): Implement sha1 using secure-hash.
11264
327c8fb1
MR
112652011-06-21 Martin Rudalics <rudalics@gmx.at>
11266
11267 * window.el (display-buffer-alist): In default value do not
11268 enforce searching a window on any but the selected frame.
11269 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11270 (display-buffer-select-window): Remove function.
11271 (display-buffer-in-window): When a window on another frame gets
11272 reused, do not select it any more but just raise its frame if
11273 necessary (Bug#8851) and (Bug#8856).
11274 (display-buffer-normalize-options): Handle pop-up-frames related
11275 options more faithfully.
11276 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11277 window if it is on another frame.
c9d29fb8
SM
11278 (display-buffer-alist, display-buffer-default-specifiers):
11279 Don't make new frame unsplittable by default.
9e9de014
MR
11280 (display-buffer-normalize-argument): Fix doc-string typo and use
11281 'same-frame-other-window instead of 'other-window when associating
11282 with display-buffer-macro-specifiers.
327c8fb1 11283
7cf3f556
VB
112842011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11285
11286 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11287 New functions.
11288 (5x5-mode-map, 5x5-mode-menu): Bind them.
11289 (5x5-draw-grid): Tweak the solver's rendering.
11290
60a406cf
SM
112912011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11292
11293 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11294 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11295
d8e4b68b 112962011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11297
11298 * menu-bar.el: Use function variable instead of switch-to-buffer.
11299 (menu-bar-select-buffer-function): New variable.
60a406cf 11300 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11301
478d6f95
SM
113022011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11303
11304 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11305 variable's status.
11306
ca530739
JD
113072011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11308
11309 * x-dnd.el (x-dnd-version-from-flags)
11310 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11311 and long as number (Bug#8899).
11312 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11313
bcd70d97
SM
113142011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11315
60a406cf 11316 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11317 (completion-try-completion, completion-all-completions): Compute the
11318 metadata argument if it's missing; make it optional (bug#8795).
11319
60a406cf 11320 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11321 (widget-complete): Use new :completion-function property.
11322 (widget-completions-at-point): New function.
11323 (default): Use :completion-function instead of :complete.
60a406cf
SM
11324 (widget-default-completions): Rename from widget-default-complete;
11325 Rewrite.
bcd70d97
SM
11326 (widget-string-complete, widget-file-complete, widget-color-complete):
11327 Remove functions.
11328 (file, symbol, function, variable, coding-system, color):
11329 * international/mule-cmds.el (default-input-method, charset)
11330 (language-info-custom-alist):
11331 * cus-edit.el (face): Use new property :completions.
11332
11333 * progmodes/pascal.el (pascal-completions-at-point): New function.
11334 (pascal-mode): Use it.
11335 (pascal-mode-map): Use completion-at-point.
11336 (pascal-toggle-completions): Make obsolete.
11337 (pascal-complete-word, pascal-show-completions):
11338 * progmodes/octave-mod.el (octave-complete-symbol):
11339 Redefine as obsolete alias.
11340 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11341 Signal absence of completion info for old Octave,
11342 (inferior-octave-complete): Redefine as obsolete alias.
11343 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11344 (meta-completions-at-point): Rename from meta-complete-symbol and
11345 adapt it for use on completion-at-point-functions.
11346 (meta-common-mode): Use it.
11347 (meta-looking-at-backward, meta-match-buffer): Remove.
11348 (meta-complete-symbol): Redefine as obsolete alias.
11349 (meta-common-mode-map): Use completion-at-point.
11350 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11351 (makefile-mode-map): Use completion-at-point.
11352 (makefile-completions-at-point): Rename from makefile-complete and
11353 adapt it for use on completion-at-point-functions.
11354 (makefile-mode): Use it.
11355 (makefile-complete): Redefine as obsolete alias.
11356
aebf69c8
DD
113572011-06-20 Deniz Dogan <deniz@dogan.se>
11358
11359 * net/rcirc.el: Delete trailing whitespaces once and for all.
11360
bfbbb27d
DC
113612011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11362
11363 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11364
d264a46b
CY
113652011-06-19 Chong Yidong <cyd@stupidchicken.com>
11366
4ca009e5
CY
11367 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11368
d264a46b
CY
11369 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11370
fbf5b3ce
MR
113712011-06-19 Martin Rudalics <rudalics@gmx.at>
11372
11373 * window.el (display-buffer-other-window-means-other-frame):
11374 Call display-buffer-normalize-alist.
11375 (display-buffer-normalize-specifiers-1): Rename to
11376 display-buffer-normalize-argument. New argument other-frame.
11377 Rewrite.
11378 (display-buffer-normalize-specifiers-2): Rename to
11379 display-buffer-normalize-options.
11380 (display-buffer-normalize-alist-1): New function.
11381 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11382 display-buffer-normalize-alist.
11383 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11384 (display-buffer-normalize-options-inhibit): New variable.
11385 (display-buffer-normalize-specifiers): Rewrite calling
11386 display-buffer-normalize-alist,
11387 display-buffer-normalize-argument, and
11388 display-buffer-normalize-options. Don't call the latter if
11389 display-buffer-normalize-options-inhibit is non-nil.
11390 (frame-auto-delete): New option.
11391 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11392 (window-list-no-nils, window-state-ignored-parameters)
11393 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11394 (window-state-put-1, window-state-put-2, window-state-put):
11395 New functions.
9a028c23
MR
11396 (display-buffer-normalize-options): Move special-display-p group
11397 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11398
6d10d800
CY
113992011-06-18 Chong Yidong <cyd@stupidchicken.com>
11400
6420d28b
CY
11401 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11402 groups (Bug#8776).
11403 (rx-submatch-n): New function.
11404 (rx): Document it.
11405
ddb8b596
CY
11406 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11407 (Bug#8768).
11408
11409 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11410
77080289
CY
11411 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11412
61dfb316
CY
11413 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11414 anytime existing face settings are present (Bug#8889).
11415
6d10d800
CY
11416 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11417 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11418 Remove unused argument.
11419
be3fb2b8
MR
114202011-06-18 Martin Rudalics <rudalics@gmx.at>
11421
bcd70d97
SM
11422 * window.el (display-buffer-default-specifiers):
11423 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11424 pop-up-window-min-width, and another reuse-window specifier
11425 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11426 (display-buffer-normalize-specifiers-2):
11427 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11428 pop-up-windows is unset. Add a reuse-window specifier for the
11429 case popping up a new window fails.
11430 (special-display-popup-frame): Remove double quoting.
28dec25a 11431 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11432
1c6d8c76
SM
114332011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11434
11435 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11436 according to comint-completion-addsuffix.
11437
11438 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11439 (pcomplete-suffix-list): Mark as obsolete.
11440 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11441 pcomplete-seen in the closure.
11442 (pcomplete-comint-setup): Setup completion-at-point as well.
11443 (pcomplete--entries): New function.
11444 (pcomplete--env-regexp): New var.
11445 (pcomplete-entries): Rewrite to work with partial-completion and
11446 without relying on pcomplete-suffix-list.
11447 (pcomplete-pare-list): Remove, unused.
11448
25aef8b8
MR
114492011-06-17 Martin Rudalics <rudalics@gmx.at>
11450
11451 * window.el (display-buffer-alist): Set pop-up-window-min-height
11452 and pop-up-window-min-width in default value. Reported by
11453 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11454 other-window-means-other-frame.
11455 (display-buffer-macro-specifiers): Comment out entry for
11456 other-window specifier.
11457 (display-buffer-other-window-means-other-frame): New function.
11458 (display-buffer-normalize-specifiers-1): New arguments
11459 buffer-name and label. Treat other-window case specially.
11460 (display-buffer-normalize-specifiers-2): Treat other-window case
11461 specially.
11462 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11463 (display-buffer-normalize-specifiers):
11464 Call display-buffer-normalize-specifiers-3.
25aef8b8 11465
dbad4f69
MR
114662011-06-17 Martin Rudalics <rudalics@gmx.at>
11467
11468 * window.el (same-window-p): Fix two typos introduced when
11469 adding with-no-warnings.
d1067961
MR
11470 (display-buffer-normalize-specifiers-1): Don't check
11471 pop-up-frames for 'unset initialization.
11472 (display-buffer-normalize-specifiers-2): Major rewrite using
11473 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11474 (pop-up-frames, display-buffer-reuse-frames)
11475 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11476 Suggested by David Engster <deng@randomsample.de>.
11477 (even-window-heights): Initialize to 'unset.
11478 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11479 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11480 other window case.
dbad4f69 11481
9b9c9e3a
MR
114822011-06-16 Martin Rudalics <rudalics@gmx.at>
11483
bcd70d97
SM
11484 * window.el (display-buffer-normalize-specifiers-1):
11485 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11486 second argument of display-buffer (Bug#8865).
981d5c09
MR
11487 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11488 (switch-to-buffer-other-window-same-frame)
11489 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11490 Adams (Bug#8875).
9c2755e9
MR
11491 (display-buffer): Don't check noninteractive when calling
11492 display-buffer-pop-up-frame.
11493 (display-buffer-pop-up-frame): Never pop up a frame in
11494 noninteractive mode (Bug#8857).
67222e1d
MR
11495 (enlarge-window, shrink-window): Don't report an error when the
11496 window can't be resized as requested (Bug#8862).
9b9c9e3a 11497
2b75be67
SM
114982011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11499
9ffdd3ba
SM
11500 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11501
cb581a67
SM
11502 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11503
2b75be67
SM
11504 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11505
8c0e3589
AM
115062011-06-15 Alan Mackenzie <acm@muc.de>
11507
cb581a67
SM
11508 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11509 for declarators, disable knr checking to speed up for normal files.
11510 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11511
b96e6cde
LMI
115122011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11513
4bba86e6
LMI
11514 * net/network-stream.el (open-network-stream): Add the keyword
11515 :always-query-capabilities for the case where you want to force a
11516 `plain' network connection, but the protocol still requires the
11517 capabilitiy command (i.e., SMTP and EHLO).
11518
2b75be67 11519 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11520 consistency with other `-live-p' functions.
11521
efdcdbf8
SM
115222011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11523
11524 * window.el (same-window-buffer-names, same-window-regexps)
11525 (special-display-frame-alist, special-display-popup-frame)
11526 (special-display-function, special-display-buffer-names)
11527 (special-display-regexps, pop-up-frame-alist)
11528 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11529 (pop-up-windows, split-window-preferred-function)
11530 (split-height-threshold, split-width-threshold, even-window-heights)
11531 (display-buffer-mark-dedicated): Don't encourage the use of
11532 display-buffer-alist from Elisp code.
11533
c5cde042
DN
115342011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11535
11536 * progmodes/python.el (python-mode): Derive from prog-mode.
11537 * progmodes/ps-mode.el (ps-mode):
11538 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11539 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11540 * progmodes/ld-script.el (ld-script-mode): Likewise.
11541
baa1c9ab
MR
115422011-06-15 Martin Rudalics <rudalics@gmx.at>
11543
11544 * window.el (display-buffer-alist): Trim default value to avoid
11545 popping up a new frame (Bug#8857) or reusing an arbitrary window
11546 on another frame.
11547 (display-buffer): Do not fall back on popping up a new frame in
11548 batch mode (Bug#8857).
11549
c5dd5a51
CY
115502011-06-14 Chong Yidong <cyd@stupidchicken.com>
11551
11552 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11553 (custom-theme-summary): New function.
11554 (customize-themes): Use it.
11555
d647b7c4
GM
115562011-06-13 Glenn Morris <rgm@gnu.org>
11557
11558 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11559
9481c002
MR
115602011-06-13 Martin Rudalics <rudalics@gmx.at>
11561
357f93d2
MR
11562 * help.el (help-window): Remove variable.
11563 (help-window-point-marker, temp-buffer-max-height)
11564 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11565 (help-print-return-message): Don't set help-window.
11566 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11567 (help-window-setup-finish): Remove.
11568 (help-window-display-message, help-window-setup)
11569 (with-help-window): Major rewrite based on new
11570 display-buffer-window variable.
11571
11572 * help-mode.el (help-mode-finish): Remove help-window related
11573 code.
11574
11575 * view.el (view-exits-all-viewing-windows): Remove reference to
11576 view-return-to-alist in doc-string.
11577 (view-return-to-alist): Make obsolete.
11578 (view-buffer): Call pop-to-buffer-same-window and remove
11579 undo-window code.
11580 (view-buffer-other-window): Call pop-to-buffer-other-window and
11581 simplify code. Ignore second argument.
11582 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11583 simplify code. Ignore second argument.
11584 (view-return-to-alist-update): Make obsolete.
11585 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11586 Rewrite using quit-restore window parameters.
2b75be67
SM
11587 (view-mode-exit): Rename second argument to EXIT-ONLY.
11588 Rewrite using quit-restore-window.
357f93d2
MR
11589 (View-exit, View-exit-and-edit, View-leave, View-quit)
11590 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11591 appropriate arguments.
11592 (view-end-message): Use quit-restore window parameter.
11593
9481c002
MR
11594 * window.el (display-buffer-function): Rewrite doc-string.
11595 (display-buffer-window, display-buffer-alist): New variables.
11596 (display-buffer-split-specifiers)
11597 (display-buffer-side-specifiers)
11598 (display-buffer-macro-specifiers): New constants.
11599 (display-buffer-even-window-sizes, display-buffer-set-height)
11600 (display-buffer-set-width, display-buffer-select-window)
11601 (display-buffer-in-window, display-buffer-reuse-window)
11602 (display-buffer-split-window-1, display-buffer-split-window)
11603 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11604 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11605 (display-buffer-in-side-window, normalize-buffer-to-display)
11606 (display-buffer-normalize-specifiers-1)
11607 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11608 (display-buffer-normalize-specifiers, display-buffer-frame):
11609 New functions.
9481c002
MR
11610 (display-buffer): Major rewrite.
11611 (display-buffer-other-window, display-buffer-other-frame)
11612 (pop-to-buffer, switch-to-buffer-other-window)
11613 (switch-to-buffer-other-frame): Rewrite.
11614 (display-buffer-same-window, display-buffer-same-frame)
11615 (display-buffer-same-frame-other-window)
11616 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11617 (pop-to-buffer-other-window)
11618 (pop-to-buffer-same-frame-other-window)
11619 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11620 (switch-to-buffer-other-window-same-frame): New functions.
11621 (same-window-p, special-display-p): Rewrite disabling warnings.
11622 Make obsolete.
11623 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11624 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11625 Make obsolete
11626 (same-window-buffer-names, same-window-regexps)
11627 (special-display-frame-alist, special-display-popup-frame)
11628 (special-display-function, special-display-buffer-names)
11629 (special-display-regexps, pop-up-frame-alist)
11630 (pop-up-frame-function, split-window-preferred-function)
11631 (split-height-threshold, split-width-threshold)
11632 (even-window-heights): Make obsolete.
11633
9db51aca
GM
116342011-06-12 Glenn Morris <rgm@gnu.org>
11635
11636 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11637 Misc simplifications.
9db51aca 11638
39cffb44
MR
116392011-06-12 Martin Rudalics <rudalics@gmx.at>
11640
11641 * window.el (window-safely-shrinkable-p): Restore function which
11642 was inadvertently removed in change from 2011-06-11. Declare as
11643 obsolete.
11644
2b75be67
SM
11645 * calendar/calendar.el (calendar-generate-window):
11646 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11647 window-safely-shrinkable-p.
11648
a8955be7
GM
116492011-06-12 Glenn Morris <rgm@gnu.org>
11650
11651 * progmodes/fortran.el (fortran-mode-syntax-table):
11652 * progmodes/f90.el (f90-mode-syntax-table):
11653 Set % to punctuation. (Bug#8820)
11654 (f90-find-tag-default): Remove, no longer needed.
11655
f0d4059d
DC
116562011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11657
11658 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11659
1100a63c
CY
116602011-06-11 Chong Yidong <cyd@stupidchicken.com>
11661
11662 * image.el (image-animated-p): Return animation delay in seconds.
11663 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11664 (image-animate-timeout): Remove DELAY argument. Don't assume
11665 every subimage has the same delay; get it from image-animated-p.
11666 (image-animate): Caller changed.
11667
def722bf
MA
116682011-06-11 Michael Albinus <michael.albinus@gmx.de>
11669
11670 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11671 to ignored backtrace functions.
11672
0a2bb1a9
GM
116732011-06-11 Glenn Morris <rgm@gnu.org>
11674
11675 * calendar/appt.el (appt-disp-window-function): Doc fix.
11676 (appt-check): Handle overlapping appointments. (Bug#8337)
11677
6198ccd0
MR
116782011-06-11 Martin Rudalics <rudalics@gmx.at>
11679
11680 * window.el (window-tree-1, window-tree): New functions, moving
11681 the latter to window.el.
11682 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11683 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11684 (bw-refresh-edges): Remove.
11685 (balance-windows-1, balance-windows-2): New functions.
11686 (balance-windows): Rewrite in terms of window tree functions,
11687 balance-windows-1 and balance-windows-2.
11688 (bw-adjust-window): Remove.
11689 (balance-windows-area-adjust): New function with functionality of
11690 bw-adjust-window but using resize-window.
2b75be67
SM
11691 (set-window-text-height): Rewrite doc-string.
11692 Use normalize-live-window and resize-window.
11693 (enlarge-window-horizontally, shrink-window-horizontally):
11694 Rename argument to DELTA.
6198ccd0
MR
11695 (window-buffer-height): New function.
11696 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11697 Rewrite using new window resize routines.
2b75be67
SM
11698 (kill-buffer-and-window, mouse-autoselect-window-select):
11699 Use ignore-errors instead of condition-case.
6198ccd0
MR
11700 (quit-window): Call delete-frame instead of delete-windows-on
11701 for the only buffer on frame.
11702
9397e56f
MR
117032011-06-10 Martin Rudalics <rudalics@gmx.at>
11704
11705 * loadup.el (top-level): Load window before files for the sake
11706 of replace-buffer-in-windows.
11707
11708 * files.el (read-buffer-to-switch)
11709 (switch-to-buffer-other-window)
2b75be67
SM
11710 (switch-to-buffer-other-frame, display-buffer-other-frame):
11711 Move to window.el.
9397e56f
MR
11712
11713 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11714 (previous-buffer): Move to window.el.
11715
11716 * bindings.el (unbury-buffer): Move to window.el.
11717
11718 * window.el (delete-other-windows-vertically): Move after
11719 definition of delete-other-windows.
11720 (other-window, delete-windows-on, replace-buffer-in-windows):
11721 Move here from window.c.
11722 (record-window-buffer, unrecord-window-buffer)
11723 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11724 (switch-to-next-buffer): New functions.
11725 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11726 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11727 (previous-buffer): Move here from simple.el.
11728 Call switch-to-prev-buffer.
9397e56f
MR
11729 (bury-buffer): Move here from buffer.c. Switch to previous
11730 buffer when window cannot be deleted.
11731 (unbury-buffer): Move here from bindings.el.
11732 (ctl-x-map): Move binding for other-window from window.c to
11733 here.
11734 (read-buffer-to-switch, switch-to-buffer-other-window)
11735 (switch-to-buffer-other-frame): Move here from files.el.
11736 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11737 (switch-to-buffer): Move here from buffer.c.
11738 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11739
562dd5e9
MR
117402011-06-10 Martin Rudalics <rudalics@gmx.at>
11741
11742 * window.el (window-min-height, window-min-width): Move here
11743 from window.c. Add defcustoms and rewrite doc-strings.
11744 (resize-mini-window, resize-window): New functions.
11745 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11746 Move here from window.c.
11747 (maximize-window, minimize-window): New functions.
11748 (delete-window, delete-other-windows, split-window): Move here
11749 from window.c.
11750 (window-split-min-size): New function.
11751 (split-window-keep-point): Mention split-window-above-each-other
11752 instead of split-window-vertically.
2b75be67 11753 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11754 Rename split-window-vertically to split-window-above-each-other
11755 and provide defalias for old definition.
11756 (split-window-side-by-side, split-window-horizontally):
11757 Rename split-window-horizontally to split-window-side-by-side
11758 and provide defalias for the old definition.
562dd5e9
MR
11759 (ctl-x-map): Move bindings for delete-window,
11760 delete-other-windows and enlarge-window here from window.c.
11761 Replace bindings for split-window-vertically and
11762 split-window-horizontally by bindings for
11763 split-window-above-each-other and split-window-side-by-side.
11764
11765 * cus-start.el (all): Remove entries for window-min-height and
11766 window-min-width. Add entries for window-splits and
11767 window-nest.
11768
f0da764a
GM
117692011-06-09 Glenn Morris <rgm@gnu.org>
11770
80675c21
GM
11771 * calendar/appt.el (appt-mode-line): New function.
11772 (appt-check, appt-disp-window): Use it.
11773
f0da764a
GM
11774 * files.el (hack-one-local-variable-eval-safep):
11775 Allow minor-modes with explicit +/-1 arguments.
11776
59f623b7
TZ
117772011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11778
11779 * term/xterm.el (xterm): Add defgroup.
11780 (xterm-extra-capabilities): Add defcustom to supply known xterm
11781 capabilities, skip querying them, or query them (default).
11782 (terminal-init-xterm): Use it.
11783 (terminal-init-xterm-modify-other-keys): New function to set up
11784 modifyOtherKeys support to simplify `terminal-init-xterm'.
11785
9aab8e0d
MR
117862011-06-09 Martin Rudalics <rudalics@gmx.at>
11787
11788 * window.el (resize-window-reset, resize-window-reset-1)
11789 (resize-subwindows-skip-p, resize-subwindows-normal)
11790 (resize-subwindows, resize-other-windows, resize-this-window)
11791 (resize-root-window, resize-root-window-vertically)
11792 (window-deletable-p, window-or-subwindow-p)
11793 (frame-root-window-p): New functions.
11794
e8b08aee
GM
117952011-06-09 Glenn Morris <rgm@gnu.org>
11796
11797 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11798 (ange-ftp-get-files): Use it.
11799
254c37a5
AK
118002011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11801
11802 * mail/sendmail.el (mail-recover-1, mail-recover):
11803 * files.el (recover-file, recover-session):
11804 Handle dired-listing-switches not being just a single short option.
11805
35d7dbd3
GM
118062011-06-09 Glenn Morris <rgm@gnu.org>
11807
11808 * calendar/appt.el (appt-display-message, appt-disp-window):
11809 Handle lists of appointments.
11810
387522b2
MR
118112011-06-08 Martin Rudalics <rudalics@gmx.at>
11812
2b75be67
SM
11813 * window.el (one-window-p): Move down in code.
11814 Rewrite doc-string.
11815 (window-current-scroll-bars): Rewrite doc-string.
11816 Normalize live window argument.
387522b2
MR
11817 (walk-windows, get-window-with-predicate, count-windows):
11818 Rewrite doc-string. Use window-list-1.
11819 (window-in-direction-2, window-in-direction, get-mru-window):
11820 New functions.
11821
d8e4b68b 118222011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11823
11824 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11825 Doc fix (Bug#8713).
11826
118272011-06-08 Chong Yidong <cyd@stupidchicken.com>
11828
11829 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11830
118312011-06-08 Juanma Barranquero <lekktu@gmail.com>
11832
11833 * loadhist.el (unload-feature-special-hooks):
11834 Add `comint-output-filter-functions'.
11835
0de12c52
IK
118362011-06-08 Ivan Kanis <gnu@kanis.fr>
11837
11838 * calendar/appt.el (appt-check): Move some initializations into the let.
11839
f3d1777e
MR
118402011-06-08 Martin Rudalics <rudalics@gmx.at>
11841
11842 * window.el (window-height): Defalias to window-total-height.
11843 (window-width): Defalias to window-body-width.
11844
18af70d0
CY
118452011-06-07 Chong Yidong <cyd@stupidchicken.com>
11846
11847 * image-mode.el (image-toggle-animation): New command.
11848 (image-mode-map): Bind it to RET.
11849 (image-mode): Update message.
11850 (image-toggle-display-image): Avoid a spurious cache flush.
11851 (image-transform-rotation): Doc fix.
11852 (image-transform-properties): Return quickly in the normal case.
11853 (image-animate-loop): Rename from image-animate-max-time.
11854
2b75be67 11855 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11856 (create-animated-image): Remove unnecessary function.
11857 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11858 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11859 (image-animate-timer): Use car-safe.
11860 (image-animate-timeout): Rename argument.
11861
190b47e6
MR
118622011-06-07 Martin Rudalics <rudalics@gmx.at>
11863
11864 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11865 window.c. Rename first argument to ALL-FRAMES.
11866 Rephrase doc-strings.
11867 (get-buffer-window-list): Rewrite using window-list-1.
11868 Rephrase doc-string.
a1511caf
MR
11869 (window-safe-min-height, window-safe-min-width): New constants.
11870 (window-size-ignore, window-min-size, window-min-size-1)
11871 (window-sizable, window-sizable-p, window-size-fixed-1)
11872 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11873 (window-max-delta-1, window-max-delta, window-resizable)
11874 (window-resizable-p, window-total-height, window-total-width)
11875 (window-body-width): New functions.
11876 (window-full-height-p, window-full-width-p): Rewrite using
11877 window-total-size.
11878 (window-body-height): Rewrite using window-body-size.
190b47e6 11879
85cc1f11
MR
118802011-06-06 Martin Rudalics <rudalics@gmx.at>
11881
11882 * window.el (window-right, window-left, window-child)
11883 (window-child-count, window-last-child, window-any-p)
11884 (normalize-live-buffer, normalize-live-frame)
11885 (normalize-any-window, normalize-live-window)
11886 (window-iso-combination-p, window-iso-combined-p)
11887 (window-iso-combinations)
11888 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11889 (windows-with-parameter, window-with-parameter)
11890 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11891 (window-atom-check, window-side-check, window-check):
11892 New functions.
85cc1f11
MR
11893 (ignore-window-parameters, window-sides, window-sides-vertical)
11894 (window-sides-slots): New variables.
11895 (window-size-fixed): Move down in code. Minor doc-string fix.
11896
e7156492
AS
118972011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11898
11899 * comint.el (comint-dynamic-complete-as-filename)
11900 (comint-dynamic-complete-filename): Correctly call
11901 completion-in-region.
11902
7e821d0d
DD
119032011-06-05 Deniz Dogan <deniz@dogan.se>
11904
11905 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11906 in last change.
11907
ac09b8a1
DD
119082011-06-05 Deniz Dogan <deniz@dogan.se>
11909
11910 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11911 (rcirc): Use it to prompt for encryption.
11912
34699b85
RW
119132011-06-05 Roland Winkler <winkler@gnu.org>
11914
11915 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11916 (bibtex-search-entries): New command bound to C-c C-a.
11917 (bibtex-display-entries): New function.
11918
004dedd3
RW
119192011-06-05 Roland Winkler <winkler@gnu.org>
11920
11921 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11922 (bibtex-insert-kill): After yanking insert newline if necessary.
11923 (bibtex-initialize): Call bibtex-string-files-init only once.
11924 (bibtex-mode): Do not call easy-menu-add.
11925 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11926 (bibtex-yank): Set arg properly if nil.
11927
022fe7ce
RW
119282011-06-05 Roland Winkler <winkler@gnu.org>
11929
2b75be67
SM
11930 * textmodes/bibtex.el (bibtex-search-entry-globally):
11931 New variable.
022fe7ce
RW
11932 (bibtex-search-entry): Use it.
11933
b7c3692a
RW
119342011-06-05 Roland Winkler <winkler@gnu.org>
11935
11936 * textmodes/bibtex.el (bibtex-entry-format): New option
11937 sort-fields.
11938 (bibtex-format-entry, bibtex-reformat): Honor this option.
11939 (bibtex-parse-entry): Return fields in proper order.
11940
8eda563d
JB
119412011-06-05 Juanma Barranquero <lekktu@gmail.com>
11942
11943 * doc-view.el (doc-view-remove-if): Move computation of result out
11944 of `dolist' to silence misleading lexical-binding warning.
11945
7dbe3dbc
CY
119462011-06-04 Chong Yidong <cyd@stupidchicken.com>
11947
11948 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11949 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11950
0c33dd17
MA
119512011-06-04 Michael Albinus <michael.albinus@gmx.de>
11952
11953 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11954 "SunOS 5.10".
11955
f8f91c2b
MA
119562011-06-04 Michael Albinus <michael.albinus@gmx.de>
11957
11958 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11959 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11960 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11961 (tramp-parse-putty):
11962 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11963 (tramp-completion-function-alist-ssh)
11964 (tramp-completion-function-alist-telnet)
11965 (tramp-completion-function-alist-su)
11966 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11967 cookie.
11968
11969 * net/tramp-ftp.el:
11970 * net/tramp-sh.el:
11971 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11972 load "tramp.el" `tramp-set-completion-function'.
11973
e17d9003
SM
119742011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11975
11976 * shell.el: Require and use pcomplete.
11977 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11978 (shell-completion-vars): Set pcomplete-default-completion-function.
11979
6c4cab03
DD
119802011-06-04 Deniz Dogan <deniz@dogan.se>
11981
11982 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11983 `memq' (Bug#8799).
11984
ea9fafe0
SM
119852011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11986
11987 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11988
b3e945d3
JB
119892011-06-02 Juanma Barranquero <lekktu@gmail.com>
11990
11991 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11992 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11993 * vc/log-view.el (log-view-beginning-of-defun):
11994 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11995 (smerge-refine-forward, smerge-refine-chopup-region):
11996 Silence warning for unused `dotimes' counter variables.
11997
7d520089
SM
119982011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11999
12000 * net/tramp.el (tramp-with-progress-reporter): Rename from
12001 with-progress-reporter. Use `declare'.
12002 * net/tramp-smb.el:
12003 * net/tramp-sh.el:
12004 * net/tramp-gvfs.el: Update all uses.
12005
a1c2400f
JB
120062011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12007
12008 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12009 buffer isn't killed before making it current.
12010
2403c841
SM
120112011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12012
12013 Silence various byte-compiler warnings.
12014 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12015 `access-type' and new obsolescence format.
12016 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12017 new format.
12018 (byte-compile-check-variable): New `access-type' argument.
12019 Only warn if the access-type is obsolete.
12020 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12021 (byte-compile-variable-set): Adjust callers.
12022 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12023 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12024 setting it as obsolete.
12025 * simple.el (minibuffer-completing-symbol):
12026 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12027 access as obsolete.
12028 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12029 obsolete yet.
12030 * international/quail.el (quail-mouse-choose-completion): Remove unused
12031 code referring to obsolete var.
12032 (quail-choose-completion-string): Remove.
12033 * server.el (server-clients-with, server-kill-buffer-query-function)
12034 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12035 * proced.el (proced-send-signal):
12036 * emacs-lisp/lisp.el (lisp-complete-symbol):
12037 Replace completion-annotate-function with completion-extra-properties.
12038
2462470b
SM
120392011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12040
fb5b2591
SM
12041 * simple.el (goto-line): Use read-number.
12042 (overriding-map-is-bound): Remove.
12043 (saved-overriding-map): Change default.
12044 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12045 Take the map as argument.
12046 (universal-argument, negative-argument, digit-argument): Use it.
12047 (restore-overriding-map): Adjust.
12048 (do-auto-fill): Use fill-forward-paragraph.
12049 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12050
fd6fa53f
SM
12051 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12052 (minibuffer-inactive-mode): New major mode.
12053 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12054 the *Messages* buffer" hack.
12055 (mouse-popup-menubar): Don't burp if the event is a normal key.
12056
2462470b
SM
12057 Miscellaneous tweaks.
12058 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12059 lexical scoping as in subr.el's dolist and dotimes.
12060 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12061 Silence compiler warning.
12062 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12063 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12064 * international/ccl.el (ccl-compile): Trivial simplification.
12065 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12066 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12067 `printflag' argument.
12068 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12069 Purecopy the whole obsolescence data.
12070
108bf785
LL
120712011-06-01 Leo Liu <sdl.web@gmail.com>
12072
12073 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12074 improve doc-string as suggested by Marco Pessotto
12075 <melmothx@gmail.com>.
12076 (rcirc-print): Fix last change.
12077
30a23501
SM
120782011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12079
12080 * minibuffer.el (complete-with-action): Return nil for the metadata and
12081 boundaries of non-functional tables.
12082 (completion-table-dynamic): Return nil for the metadata.
12083 (completion-table-with-terminator): Add default case, using
12084 complete-with-action.
12085 (completion--metadata): New function.
12086 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12087 to try and avoid pathological performance problems.
12088 (completion--embedded-envvar-table): Return `category' metadata.
12089
bcd54f83
LMI
120902011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12091
12092 * subr.el (process-alive-p): New tiny convenience function.
12093
e227544d
SM
120942011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12095
12096 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12097 content but also its previous major mode.
12098
e8296fdc
HE
120992011-05-31 Helmut Eller <eller.helmut@gmail.com>
12100
4d61f28d 12101 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
12102 *Backtrace* buffer when we exit with C-M-c.
12103
620c53a6
SM
121042011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12105
12106 * minibuffer.el: Add metadata method to completion tables.
12107 (completion-category-overrides): New defcustom.
12108 (completion-metadata, completion--field-metadata)
12109 (completion-metadata-get, completion--styles)
12110 (completion--cycle-threshold): New functions.
12111 (completion-try-completion, completion-all-completions):
12112 Add `metadata' argument to choose completion-styles.
12113 (completion--do-completion): Use metadata to choose cycling.
12114 (completion-all-sorted-completions): Use metadata for sorting.
12115 Remove :completion-cycle-penalty which is not needed any more.
12116 (completion--try-word-completion): Add `metadata' argument.
12117 (minibuffer-completion-help): Check metadata for annotation function
12118 and sorting.
12119 (completion-file-name-table): Return `category' metadata.
12120 (minibuffer-completing-file-name): Make obsolete.
12121 * simple.el (minibuffer-completing-symbol): Make obsolete.
12122 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12123 completion-try-completion.
12124
1257e755
SM
121252011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12126
12127 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12128
3767e706
LL
121292011-05-30 Leo Liu <sdl.web@gmail.com>
12130
12131 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
12132 (rcirc-print): Decode all incoming messages (bug#8744).
12133 (rcirc-decode-coding-system): Allow value nil for automatic coding
12134 system detection.
3767e706 12135
d1a5d56a
GM
121362011-06-01 Glenn Morris <rgm@gnu.org>
12137
12138 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12139
e8cbec34
CY
121402011-05-29 Chong Yidong <cyd@stupidchicken.com>
12141
12142 * image.el (image-animate-max-time): Allow nil and t values.
12143 Default to nil.
12144 (create-animated-image): Doc fix.
12145 (image-animate-start): Remove second arg; just use
12146 image-animate-max-time.
12147 (image-animate-timeout): Doc fix. Args changed.
12148
12149 * image-mode.el (image-toggle-display-image): Ensure that the
12150 image spec passed to the animate timer is the same object as in
58179cce 12151 the buffer's display property (Bug#6981).
e8cbec34
CY
12152 (image-transform-properties): Doc fix.
12153
12154 * image.el (image-animate-max-time): Default to nil.
12155
159daf87
MR
121562011-05-29 Martin Rudalics <rudalics@gmx.at>
12157
12158 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12159 entire buffer list (Bug#8184).
12160
d66c4c7c
CY
121612011-05-29 Chong Yidong <cyd@stupidchicken.com>
12162
12163 * image.el (imagemagick-types-inhibit)
12164 (imagemagick-register-types): Doc fix.
12165
80aec780
DD
121662011-05-29 Deniz Dogan <deniz@dogan.se>
12167
12168 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12169 default.
12170
1dd3c2d9
CY
121712011-05-29 Chong Yidong <cyd@stupidchicken.com>
12172
12173 * select.el: Don't perform clipboard-manager saving in hooks;
12174 leave the hooks empty.
12175
60e56523
LL
121762011-05-28 Leo Liu <sdl.web@gmail.com>
12177
12178 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12179 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12180 (occur-edit-mode): New major mode (Bug#8463).
12181 (occur-after-change-function): New function.
12182 (occur-engine): Give Occur tags a read-only property.
12183
2b1e1a22
KR
121842011-05-28 Kevin Ryde <user42@zip.com.au>
12185
12186 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12187
5d344e88
CY
121882011-05-28 Chong Yidong <cyd@stupidchicken.com>
12189
8e6ca83d
CY
12190 * bindings.el (help-echo): Make the initial non-indicator dash
12191 empty on graphical terminals (Bug#7295).
12192
5d344e88
CY
12193 * files.el (auto-mode-alist): Move config rule after the
12194 in-stripping one (Bug#8547).
12195
bfbbace7
CY
12196 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12197
fbeba6e2
CY
12198 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12199 setting (Bug#8740).
12200
60ed8c72
AA
122012011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12202
4ac619f0
AA
12203 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12204 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12205 (Bug#8539).
60ed8c72 12206
23db196e
CY
122072011-05-28 Chong Yidong <cyd@stupidchicken.com>
12208
12209 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12210
5012f24c
DK
122112011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12212
12213 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12214 (hs-hide-block-at-point, hs-find-block-beginning)
12215 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12216 (Bug#8279).
12217
6a639b16
GM
122182011-05-28 Glenn Morris <rgm@gnu.org>
12219
12220 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12221
d43eaf2c
CY
122222011-05-28 Chong Yidong <cyd@stupidchicken.com>
12223
5199bde1
CY
12224 * help-fns.el (describe-function-1): If the function is a derived
12225 major mode, print the parent mode.
12226
d43eaf2c
CY
12227 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12228 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12229
423428a8
SM
122302011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12231
0ff8e1ba 12232 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 12233 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
12234 * progmodes/etags.el (tags-completion-at-point-function):
12235 * info-look.el (info-lookup-completions-at-point): Mark as
12236 non-exclusive.
12237 (info-complete): Adjust accordingly.
12238
423428a8
SM
12239 * info-look.el: Convert to lexical-binding and completion-at-point.
12240 (info-lookup-completions-at-point): New function.
12241 (info-complete): Use it and completion-in-region.
12242
b74aa22b
DA
122432011-05-28 Drew Adams <drew.adams@oracle.com>
12244
12245 * isearch.el: Let M-e start with point at the first mismatched char.
12246 (isearch-fail-pos): New function.
12247 (isearch-edit-string): Use it.
12248
66e2e71d
DK
122492011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12250
12251 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12252
b1890b0f 122532011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
12254
12255 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12256 traversal functions for avl-trees.
12257 (avl-tree--stack): New struct.
12258 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12259 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
12260 (avl-tree--do-enter): Add optional `updatefun' arg.
12261 Change return value.
eb95d01d 12262 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12263 (avl-tree--do-delete): Add `test' and `nilflag' args.
12264 Change return value.
eb95d01d
TC
12265 (avl-tree-member): Add optional `nilflag'
12266 (avl-tree-member-p): New function.
12267 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12268 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12269 (avl-tree-stack-empty-p): New functions.
12270
3769ddcf
TC
12271 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12272 avl-tree--del-balance1 and make it work both ways.
12273 (avl-tree--del-balance2): Remove.
12274 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12275 make it work both ways.
12276 (avl-tree--enter-balance2): Remove.
12277 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12278 New macros.
12279 (avl-tree--mapc, avl-tree-map): Add direction argument.
12280
eb95d01d 122812011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
12282
12283 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12284
a9f737ee
CY
122852011-05-27 Chong Yidong <cyd@stupidchicken.com>
12286
12287 * select.el: Support clipboard managers with built-in function
12288 x-clipboard-manager-save, via delete-frame-functions and
12289 kill-emacs-hook.
12290 (xselect-convert-to-targets): Add MULTIPLE target to list.
12291 (xselect-convert-to-save-targets): New function.
12292
c92a1e54
KH
122932011-05-27 Kenichi Handa <handa@m17n.org>
12294
12295 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12296 let-binding rfc2047-encode-encoded-words to nil.
12297
e145f188
GM
122982011-05-27 Glenn Morris <rgm@gnu.org>
12299
5ec8a862
GM
12300 * mail/emacsbug.el: Don't require url-util.
12301
4b29d9fb
GM
12302 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12303
e145f188
GM
12304 * files.el (set-auto-mode):
12305 Also respect mode: entries at the end of the file. (Bug#8586)
12306
7d15102b
GM
123072011-05-26 Glenn Morris <rgm@gnu.org>
12308
98f593b8
GM
12309 * files.el (hack-local-variables-prop-line, hack-local-variables):
12310 Downcase mode names, as seems to be traditional.
27b48e63 12311 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12312
7d15102b
GM
12313 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12314 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12315
51d5b4ec
JD
123162011-05-25 Julien Danjou <julien@danjou.info>
12317
12318 * textmodes/rst.el (rst-define-level-faces): Do not define face
12319 symbol if it is already defined.
12320
91513f63
VB
123212011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12322
12323 * play/5x5.el (5x5-new-game, 5x5-randomize):
12324 Reset 5x5-solver-output to nil when a new grid is cast.
12325 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12326 these debugging traces, as defmacro breaks the compiled code.
12327
4d90d6d0
DK
123282011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12329
12330 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12331
e1b90ef6
LL
123322011-05-24 Leo Liu <sdl.web@gmail.com>
12333
12334 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12335 (vc-bzr-sha1): Adapt.
12336
d8e4b68b 12337 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12338
12339 * bindings.el: Provide sha1 feature.
12340
db0406bb 123412011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12342
12343 * mail/sendmail.el: Require `rfc2047'.
12344 (mail-insert-from-field): Do not perform RFC2047 encoding.
12345 (mail-encode-header): New function.
12346 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12347 buffer to the return value of select-message-coding-system.
12348 Call mail-encode-header.
b8d747b9
KH
12349
12350 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12351
db0406bb 123522011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12353
4d90d6d0
DK
12354 * mail/supercite.el (sc-default-cite-frame):
12355 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12356
eb8a5e9b
GM
123572011-05-24 Glenn Morris <rgm@gnu.org>
12358
f8630703
GM
12359 * progmodes/python.el (brm-menu): Declare.
12360
8831bbed
GM
12361 * emulation/viper.el (viper-set-hooks): Declare.
12362
eb8a5e9b
GM
12363 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12364 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12365 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12366 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12367 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12368 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12369
a2a25d24
SM
123702011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12371
12372 Add an :exit-function for completion-at-point.
12373
12374 * minibuffer.el (completion--done): New fun.
12375 (completion--do-completion): Use it. New arg `expect-exact'.
12376 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12377 since completion--do-completion does it for us now.
12378 (minibuffer-force-complete): Use completion--done and
12379 completion--replace. Handle sole-completion case with more care.
12380 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12381 (completion-extra-properties): New var.
12382 (completion-annotate-function): Make obsolete.
12383 (minibuffer-completion-help): Adjust accordingly.
12384 Use completion-list-insert-choice-function.
12385 (completion-at-point, completion-help-at-point):
12386 Bind completion-extra-properties.
12387 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12388 * simple.el (completion-list-insert-choice-function): New var.
12389 (completion-setup-function): Preserve it.
12390 (choose-completion): Pay attention to it, shuffle the code a bit.
12391 (choose-completion-string): New arg `insert-function'.
12392
12393 * textmodes/bibtex.el: Convert to lexical binding.
12394 (bibtex-mode-map): Use completion-at-point.
12395 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12396 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12397 (bibtex-complete): Define as obsolete alias.
12398 (bibtex-complete-internal): Remove.
12399 (bibtex-format-entry): Remove unused sub-group in regexp.
12400 * shell.el (shell--command-completion-data)
12401 (shell-environment-variable-completion):
12402 * pcomplete.el (pcomplete-completions-at-point):
12403 * comint.el (comint--complete-file-name-data): Use :exit-function
12404 instead of completion-table-with-terminator so it also works for
12405 choose-completion.
12406
e44e373d
SM
124072011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12408
4f91a816
SM
12409 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12410
782fc819
SM
12411 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12412 (bug#8710).
12413
e44e373d
SM
12414 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12415
381987c3
KM
124162011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12417
12418 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12419 customization variable and implement: If non-nil, auto-fill will
12420 be inhibited while on topic's header line.
12421
b776bc70
VB
124222011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12423
12424 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12425 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12426 always have a solution in grid size = 5 cases.
12427 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12428 (5x5-solver-output, 5x5-log-buffer): New vars.
12429 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12430 Make these variables buffer local to achieve 5x5 multi-session-ness.
12431 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12432 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12433 (5x5-solve-suggest): New funs.
12434 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12435 randomize a grid so that we ensure that there is always a solution.
12436 (5x5-make-random-grid): Allow other movement than flipping.
12437
7de88b6e
KR
124382011-05-23 Kevin Ryde <user42@zip.com.au>
12439
12440 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12441 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12442 advice and passes PREDICATE.
12443
b1ef1257
SM
124442011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12445
bbca48fe
SM
12446 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12447 byte-compile-lambda if it's actually a lambda.
12448
b1ef1257
SM
12449 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12450 Fix function quoting. Use backquote better.
12451
92a9cc65
YS
124522011-05-22 Yuanle Song <sylecn@gmail.com>
12453
12454 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12455 matching (Bug#8516).
12456
f0fb8059
JA
124572011-01-22 Jari Aalto <jari.aalto@cante.net>
12458
12459 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12460 different face (Bug#8178).
12461
d5b44c93
CY
124622011-05-22 Chong Yidong <cyd@stupidchicken.com>
12463
12464 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12465 defface (Bug#8144).
12466
79106a44
SM
124672011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12468
9c848d8a
SM
12469 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12470 funcall as well (bug#8712). Warn when performing those conversions.
12471 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12472
79106a44
SM
12473 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12474
88dfa756
GM
124752011-05-22 Glenn Morris <rgm@gnu.org>
12476
12477 * files.el (hack-local-variables-prop-line): Small simplifications.
12478 (hack-local-variables, hack-local-variables-prop-line):
12479 If MODE-ONLY, return the mode, rather than just `t'.
12480
b7cf2c79
SM
124812011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12482
12483 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12484
3f1a8558
GM
124852011-05-21 Glenn Morris <rgm@gnu.org>
12486
7e4ccca3
GM
12487 * files.el (hack-local-variables-prop-line, hack-local-variables):
12488 If only interested in the mode, don't bother doing the other stuff.
12489
637d46ca
GM
12490 * image-mode.el (image-after-revert-hook):
12491 Redraw all frames on which the image is visible. (Bug#8567)
12492
973d955b
GM
12493 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12494
3f1a8558
GM
12495 * wid-edit.el (widget-checklist-match-inline):
12496 Fix 2011-04-19 change. (Bug#8649)
12497
96479927
SM
124982011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12499
1dcf791f
SM
12500 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12501 Also allow singlespace after single-letter capitals followed by a dot.
12502
96479927
SM
12503 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12504 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12505
35fd0881
N
125062011-05-20 Nix <nix@esperi.org.uk>
12507
12508 * files.el (basic-save-buffer-2):
12509 Fix handling of break-hardlink-on-save with non-existent files.
12510
82745640
DD
125112011-05-19 Deniz Dogan <deniz@dogan.se>
12512
12513 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12514 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12515
4a720484
GM
125162011-05-19 Glenn Morris <rgm@gnu.org>
12517
d1f21341
GM
12518 * progmodes/f90.el (f90-type-def-re):
12519 Handle "type, bind(c)". (Bug#8691)
12520
4a720484
GM
12521 * emacs-lisp/autoload.el (batch-update-autoloads):
12522 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12523
2fb0a219
MA
125242011-05-18 Michael Albinus <michael.albinus@gmx.de>
12525
12526 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12527 property for the correct connection in case of multihops.
12528
e565dd37
GM
125292011-05-18 Glenn Morris <rgm@gnu.org>
12530
c2571358 12531 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12532 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12533
e565dd37
GM
12534 Rationalize calendar handling of day and month abbrev-arrays.
12535 * calendar/calendar.el (calendar-customized-p): New function.
12536 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12537 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12538 Add :set function.
12539 (calendar-abbrev-length, calendar-day-abbrev-array)
12540 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12541 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12542 Elements may no longer be nil.
12543 (calendar-day-name, calendar-month-name):
12544 Update for changed nature of abbrev arrays.
12545 * calendar/diary-lib.el (diary-name-pattern):
12546 Update for changed nature of abbrev arrays.
12547 (diary-mark-entries-1): Update calendar-make-alist calls.
12548 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12549 * calendar/cal-html.el (cal-html-day-abbrev-array):
12550 Simply inherit from calendar-day-abbrev-array.
12551
1d99a745
SM
125522011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12553
12554 * progmodes/grep.el (grep-mode): Disable default
12555 compilation-directory-matcher setting (bug#8684).
12556
7c1d9aa0
MA
125572011-05-17 Michael Albinus <michael.albinus@gmx.de>
12558
12559 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12560 instead of "head" and "tail". There were problems with SunOS 5.9,
12561 and it performs better.
12562
3952e9d8
GM
125632011-05-17 Glenn Morris <rgm@gnu.org>
12564
2dd12e7f
GM
12565 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12566
e4157b9c
GM
12567 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12568 Replace obsolete function.
12569
8e249bbd
GM
12570 * shell.el (pcomplete-parse-arguments-function): Declare.
12571
3952e9d8
GM
12572 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12573 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12574 (appt-check): Doc fixes.
12575 (appt-disp-window-function, appt-delete-window-function):
12576 Remove needless special case in custom :type.
12577 (appt-display-count): Default to 0, not nil.
12578 (appt-check): Reset appt-display-count to 0, not nil.
12579
c71a0d48 125802011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12581
c71a0d48
GM
12582 * progmodes/python.el (python-font-lock-keywords):
12583 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12584
31d55be9
SM
125852011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12586
12587 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12588
3bfacb2f
KR
125892011-05-16 Kevin Ryde <user42@zip.com.au>
12590
12591 * info-look.el (makefile-automake-mode): New setups, looking in
12592 automake manual, then makefile-mode.
12593 (makefile-mode): Remove automake manual, have it just in
12594 makefile-automake-mode since there's various things different or
12595 not relevant to plain make.
12596 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12597 believe a hypothetical automake-mode would go to makefile-mode,
12598 not the other way around.
12599
c8e83751
CY
126002011-05-15 Chong Yidong <cyd@stupidchicken.com>
12601
5e9e35cd
CY
12602 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12603 hunk-end tags (Bug#8672).
12604
c8e83751
CY
12605 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12606 vc-annotate-show-diff-revision-at-line (Bug#8671).
12607
50b23e5a
GM
126082011-05-14 Glenn Morris <rgm@gnu.org>
12609
7210a739
GM
12610 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12611 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12612 (change-log-font-lock-keywords): Also handle multiple author lines
12613 with leading tabs. (Bug#8644)
7210a739 12614
4691905a
GM
12615 * calendar/appt.el (appt-check): Rename some local variables.
12616 Some simplification/reordering.
12617
50b23e5a
GM
12618 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12619 (feedmail-sendmail-f-doesnt-sell-me-out)
12620 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12621 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12622 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12623 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12624 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12625 (feedmail-binmail-gnulinuxish-template):
12626 Rename from feedmail-binmail-linuxish-template.
12627 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12628 Use insert-buffer-substring.
12629
215cda7c
BC
126302011-05-14 Bill Carpenter <bill@carpenter.org>
12631
12632 * mail/feedmail.el (feedmail-patch-level): Increase.
12633 (feedmail-debug): New custom group.
12634 (feedmail-confirm-outgoing-timeout)
12635 (feedmail-sendmail-f-doesnt-sell-me-out)
12636 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12637 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12638 (feedmail-sender-line, feedmail-from-line)
12639 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12640 (feedmail-spray-this-address)
215cda7c
BC
12641 (feedmail-spray-address-fiddle-plex-list)
12642 (feedmail-queue-use-send-time-for-date)
12643 (feedmail-queue-use-send-time-for-message-id)
12644 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12645 (feedmail-buffer-eating-function):
12646 Doc fixes.
12647 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12648 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12649 (feedmail-message-action-scroll-down): New functions.
12650 (feedmail-queue-directory, feedmail-queue-draft-directory):
12651 Use expand-file-name.
12652 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12653 Remove C-v help entry.
12654 (feedmail-queue-buffer-file-name): New variable.
12655 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12656 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12657 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12658 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12659 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12660 (feedmail-message-action-toggle-spray)
12661 (feedmail-run-the-queue-no-prompts)
12662 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12663 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12664 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12665 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12666 (feedmail-envelope-deducer, feedmail-fiddle-from)
12667 (feedmail-fiddle-sender, feedmail-default-date-generator)
12668 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12669 (feedmail-fiddle-spray-address)
12670 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12671 (feedmail-fiddle-list-of-fiddle-plexes)
12672 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12673 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12674 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12675 Change default. Doc fix.
12676 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12677 (feedmail-binmail-linuxish-template): New constant.
12678 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12679 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12680 (feedmail-send-it): Add debug call.
12681 Use feedmail-queue-buffer-file-name, and
12682 feedmail-send-it-immediately-wrapper.
12683 (feedmail-message-action-send): Add debug call.
12684 Use feedmail-send-it-immediately-wrapper.
12685 (feedmail-queue-express-to-queue): Add debug call.
12686 Run feedmail-queue-express-hook.
12687 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12688 (feedmail-message-action-help-blat):
12689 Rename from feedmail-queue-send-edit-prompt-help-first.
12690 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12691 Check line-endings. Handle errors better.
12692 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12693 Doc fix. Add debug call.
12694 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12695 Use feedmail-queue-send-edit-prompt-inner.
12696 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12697 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12698 from feedmail-queue-send-edit-prompt.
12699 (feedmail-queue-send-edit-prompt-help)
12700 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12701 (feedmail-tidy-up-slug): Add debug call.
12702 Respect feedmail-queue-slug-suspect-regexp.
12703 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12704 (feedmail-dump-message-to-queue): Add debug call.
12705 Expand queue-directory.
12706 (feedmail-dump-message-to-queue): Change message slightly.
12707 Use feedmail-say-chatter.
12708 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12709 (feedmail-send-it-immediately-wrapper): New function.
12710 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12711 Insert empty string rather than newline. Handle full-frame case.
12712 Use catch/throw. Use feedmail-say-chatter.
12713 (feedmail-fiddle-from): Try mail-host-address.
12714 (feedmail-default-message-id-generator): Doc fix.
12715 Bind system-time-locale. Handle missing end.
12716 (feedmail-fiddle-x-mailer): Add debug call.
12717 Handle feedmail-x-mailer-line being nil.
12718 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12719 Add debug call. Use buffer-substring-no-properties.
12720 (feedmail-say-debug, feedmail-say-chatter): New functions.
12721 (feedmail-find-eoh): Give an explicit error.
12722
42c7e61e
UJ
127232011-05-13 Ulf Jasper <ulf.jasper@web.de>
12724
c2571358 12725 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12726 family from helvetica to sans.
c2571358 12727 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12728 etc/images/newsticker.
12729
c2571358 12730 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12731 family from helvetica to sans.
12732
12733 * net/newst-plainview.el (newsticker-new-item-face)
12734 (newsticker-old-item-face, newsticker-immortal-item-face)
12735 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12736 (newsticker-statistics-face): Change default family from
42c7e61e 12737 helvetica to sans.
c2571358 12738 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12739 etc/images/newsticker.
12740
5d3385a0
JB
12741 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12742 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12743 auto-marking.
12744
8497a297
DV
127452011-05-13 Didier Verna <didier@xemacs.org>
12746
12747 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12748 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12749 TODO entries.
8497a297
DV
12750 (lisp-lambda-list-keyword-parameter-indentation)
12751 (lisp-lambda-list-keyword-parameter-alignment)
12752 (lisp-lambda-list-keyword-alignment): New customizable user options.
12753 (lisp-indent-defun-method): Improve docstring.
12754 (extended-loop-p): Fix comment.
12755 (lisp-indent-lambda-list-keywords-regexp): New variable.
12756 (lisp-indent-lambda-list): New function.
12757 (lisp-indent-259): Use it.
12758 (lisp-indent-defmethod): Support for more than one
12759 method qualifier and properly indent methods lambda-lists.
12760 (defgeneric): Provide a missing common-lisp-indent-function property.
12761
f278f87f
SM
127622011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12763
12764 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12765 bounds for the empty string (bug#8667).
12766
5233edd7
GM
127672011-05-13 Glenn Morris <rgm@gnu.org>
12768
5237a44f
GM
12769 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12770
8340026c 12771 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12772 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12773
5233edd7 12774 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12775 (appt-time-msg-list): Doc fix.
a5464014 12776 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12777
92d10796
AS
127782011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12779
12780 * progmodes/ld-script.el (ld-script-keywords)
12781 (ld-script-builtins): Update keywords list.
12782
914a0ae1
SM
127832011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12784
c89be45f
SM
12785 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12786
914a0ae1
SM
12787 * shell.el (shell-completion-vars): New function.
12788 (shell-mode):
12789 * simple.el (read-shell-command): Use it.
12790 (blink-matching-open): No need for " [...]" in minibuffer-message.
12791
98dc3df3
GM
127922011-05-12 Glenn Morris <rgm@gnu.org>
12793
12794 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12795 (appt-check): Simplify.
12796
d2fc7e3d 127972011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12798
4d61f28d 12799 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12800 literal "/dev/null".
12801
d2fc7e3d 128022011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12803
12804 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12805 Fix typo.
12806
d2fc7e3d 128072011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12808
3f254caa
SM
12809 * progmodes/which-func.el (which-function):
12810 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12811 which might not be defined (Bug#8260).
12812
d45885f7
GM
128132011-05-12 Glenn Morris <rgm@gnu.org>
12814
12815 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12816 Let byte-compile-initial-macro-environment always take precedence.
12817
488086f4
SM
128182011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12819
12820 * net/rcirc.el: Add support for SSL/TLS connections.
12821 (rcirc-server-alist): New field `encryption'.
12822 (rcirc): Check `encryption' settings.
12823 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12824 Merge make-local-variable into `set'.
12825 (rcirc--connection-open-p): New function.
12826 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12827 the process is not a network process (e.g. running gnutls-cli).
12828 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12829 Make rcirc-(en|de)code-coding-system local here.
12830 (rcirc-mode): Merge make-local-variable into `set'.
12831 (rcirc-parent-buffer): Make permanent buffer-local.
12832 (rcirc-multiline-minor-mode): Don't do it here.
12833 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12834 there's no server buffer.
12835
7d3b9d44
GM
128362011-05-11 Glenn Morris <rgm@gnu.org>
12837
f64049c6
GM
12838 * newcomment.el (comment-kill): Prefix "unused" local.
12839
93c9df73
GM
12840 * term/w32console.el (get-screen-color): Declare.
12841
7d3b9d44
GM
12842 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12843 Handle symbol elements of byte-compile-initial-macro-environment.
12844
9e2dd53f
LL
128452011-05-10 Leo Liu <sdl.web@gmail.com>
12846
488086f4
SM
12847 * bookmark.el (bookmark-bmenu-mode-map):
12848 Bind bookmark-bmenu-search to `/'.
8b340240 12849
9e2dd53f 12850 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12851 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12852 (Footnote-unicode): New function.
12853 (footnote-style-alist): Add unicode style to the list.
12854 (footnote-style): Doc fix.
9e2dd53f 12855
79b70037
GM
128562011-05-10 Jim Meyering <meyering@redhat.com>
12857
12858 Fix doubled-word typos.
12859 * international/quail.el (quail-insert-kbd-layout): and and -> and
12860 * kermit.el: and and -> and
12861 * net/ldap.el (ldap-search-internal): to to -> to
12862 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12863 * progmodes/js.el (js-mode): and and -> and
12864 * textmodes/artist.el (artist-move-to-xy): at at -> at
12865 (artist-draw-region-trim-line-endings): if if -> if
12866 And Safetyc -> Safety.
12867 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12868
b8f82dc1 128692011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12870 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12871
12872 * files.el (hack-one-local-variable-eval-safep):
12873 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12874
4f99f44b
GM
128752011-05-10 Glenn Morris <rgm@gnu.org>
12876
12877 * calendar/diary-lib.el (diary-list-entries-hook)
12878 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12879 (diary-nongregorian-marking-hook, diary-list-entries)
12880 (diary-include-other-diary-files, diary-mark-entries)
12881 (diary-mark-included-diary-files): Doc fixes.
12882
84f29e6b
JB
128832011-05-09 Juanma Barranquero <lekktu@gmail.com>
12884
12885 * misc.el: Require tabulated-list.el during compilation.
12886
9bedd73a
CY
128872011-05-09 Chong Yidong <cyd@stupidchicken.com>
12888
488086f4
SM
12889 * progmodes/compile.el (compilation-start):
12890 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12891 (compilation-filter-hook): Doc fix.
12892
797c735c
DD
128932011-05-09 Deniz Dogan <deniz@dogan.se>
12894
12895 * wdired.el: Remove outdated installation comment. Fix usage
12896 comment.
12897
5f4b1dfe
JB
128982011-05-09 Juanma Barranquero <lekktu@gmail.com>
12899
12900 * misc.el: Implement new command `list-dynamic-libraries'.
12901 (list-dynamic-libraries--loaded-only-p): New variable.
12902 (list-dynamic-libraries--refresh): New function.
12903 (list-dynamic-libraries): New command.
12904
4c44026c
CY
129052011-05-09 Chong Yidong <cyd@stupidchicken.com>
12906
488086f4
SM
12907 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12908 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12909 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12910 higher priority to avoid clobbering by gnu.
12911
027f966d
CY
129122011-05-08 Chong Yidong <cyd@stupidchicken.com>
12913
12914 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12915 if the face has existing theme settings (Bug#8454).
12916
085f5d7d
CY
129172011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12918
488086f4
SM
12919 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12920 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12921
2a86a00c
RS
12922 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12923 special file names `.' and `..' (Bug#8259).
12924
d9c54a06
CY
129252011-05-08 Chong Yidong <cyd@stupidchicken.com>
12926
488086f4
SM
12927 * progmodes/grep.el (grep-mode-font-lock-keywords):
12928 Remove buffer-changing entries.
d9c54a06
CY
12929 (grep-filter): New function.
12930 (grep-mode): Add it to compilation-filter-hook.
12931
12932 * progmodes/compile.el (compilation-filter-hook)
12933 (compilation-filter-start): New defvars.
12934 (compilation-filter): Call compilation-filter-hook prior to
12935 updating the process mark.
12936
c4662635
SM
129372011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12938
12939 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12940
b0512a1d
EZ
129412011-05-07 Eli Zaretskii <eliz@gnu.org>
12942
605c9376
EZ
12943 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12944 mailclient-send-it even if window-system is nil. (Bug#8595)
12945
c4662635
SM
12946 * term/w32console.el (terminal-init-w32console):
12947 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12948 background-mode. (Bug#8597)
12949
d1dc2cc2
SM
129502011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12951
12952 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12953 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12954 New functions.
12955 (defgeneric, eieio--defmethod): Use them.
12956 (eieio-defgeneric): Remove.
12957 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12958
915d1300
GM
129592011-05-07 Glenn Morris <rgm@gnu.org>
12960
a3961c3e
GM
12961 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12962 Use let rather than let*.
12963 (timeclock-find-discrep): Remove unused local.
12964
314347b9
GM
12965 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12966
915d1300
GM
12967 * calendar/appt.el (appt-time-msg-list): Doc fix.
12968
275b59b0
NF
129692011-05-06 Noah Friedman <friedman@splode.com>
12970
12971 * apropos.el (apropos-print-doc): Only use
12972 emacs-lisp-docstring-fill-column when it is bound to an integer,
12973 per that variable's documentation.
12974
6c19f744
SM
129752011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12976
12977 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12978 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12979
60f884b2
GM
129802011-05-06 Glenn Morris <rgm@gnu.org>
12981
5006e634
GM
12982 * calendar/appt.el (appt-message-warning-time): Doc fix.
12983 (appt-warning-time-regexp): New option.
12984 (appt-make-list): Respect appt-message-warning-time.
12985
548d0a63
GM
12986 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12987 New options.
12988 (diary-add-to-list): Strip comments from the displayed string.
12989 (diary-mode): Set comment-start and comment-end.
12990
60f884b2
GM
12991 * vc/diff-mode.el (smerge-refine-subst): Declare.
12992 (diff-refine-hunk): Don't require smerge-mode when compiling.
12993
989681bb
JB
129942011-05-06 Juanma Barranquero <lekktu@gmail.com>
12995
12996 * simple.el (list-processes): Return nil as the docstring says.
12997
a6bc05e1
MA
129982011-05-05 Michael Albinus <michael.albinus@gmx.de>
12999
13000 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13001 to "".
13002 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13003 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13004 determining of binary transfer. (Bug#7383)
13005
23c22e9a
MA
130062011-05-05 Michael Albinus <michael.albinus@gmx.de>
13007
c4662635
SM
13008 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13009 Fix port computation bug. (Bug#8618)
23c22e9a 13010
0bff894f
GM
130112011-05-05 Glenn Morris <rgm@gnu.org>
13012
b8296902
GM
13013 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13014
1f522ce8
GM
13015 * simple.el (shell-dynamic-complete-functions)
13016 (comint-dynamic-complete-functions): Declare.
13017
cf5bee67
GM
13018 * net/network-stream.el (gnutls-negotiate):
13019 * simple.el (tabulated-list-print): Fix declarations.
13020
13021 * progmodes/gud.el (syntax-symbol, syntax-point):
13022 Remove unnecessary and incorrect declarations.
13023
0bff894f
GM
13024 * emacs-lisp/check-declare.el (check-declare-scan):
13025 Handle byte-compile-initial-macro-environment in bytecomp.el
13026
9869b3ae
SM
130272011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13028
13029 Fix earlier half-done eieio-defmethod change (bug#8338).
13030 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13031 Streamline and change calling convention.
13032 (defmethod): Adjust accordingly and simplify.
13033 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13034 new eieio--defmethod.
13035 (slot-boundp): Minor CSE simplification.
13036
9c1d5ac5
MZ
130372011-05-05 Milan Zamazal <pdm@zamazal.org>
13038
13039 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13040 (glasses-make-readable): Use glasses-separate-capital-groups.
13041
455c834e
JB
130422011-05-05 Juanma Barranquero <lekktu@gmail.com>
13043
13044 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13045 (warning-series): Doc fix.
13046 (display-warning): Don't try to create the buffer if we just found it.
13047
9ed7c8cb
CY
130482011-05-04 Chong Yidong <cyd@stupidchicken.com>
13049
13050 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13051 (autoload-find-generated-file): New function.
13052 (generate-file-autoloads): Bind generated-autoload-file to
13053 buffer-file-name.
9869b3ae
SM
13054 (update-file-autoloads, update-directory-autoloads):
13055 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
13056 output file (Bug#7989).
13057 (batch-update-autoloads): Doc fix.
13058
0898ca10
JB
130592011-05-04 Juanma Barranquero <lekktu@gmail.com>
13060
13061 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13062
31dfb76c
GM
130632011-05-04 Glenn Morris <rgm@gnu.org>
13064
f330b642
GM
13065 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13066 function, so it follows changes in calendar-date-style.
13067 (diary-fancy-date-matcher): New function.
13068 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13069 (diary-fancy-font-lock-fontify-region-function):
13070 Use diary-fancy-date-pattern as a function.
13071
31dfb76c
GM
13072 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13073 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13074
48e79d6a
TZ
130752011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13076
13077 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13078 instead of positional arguments. Allow :keylist and :crlfiles
13079 arguments.
13080 (open-gnutls-stream): Call it.
13081
13082 * net/network-stream.el (network-stream-open-starttls): Adjust to
13083 call `gnutls-negotiate' with :process and :hostname arguments.
13084
dd5a5ee0
SM
130852011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13086
ef80fc09
SM
13087 * minibuffer.el (completion--message): New function.
13088 (completion--do-completion, minibuffer-complete)
13089 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13090 (completion--do-completion): Don't ignore completion-auto-help when in
13091 icomplete-mode.
13092
dd5a5ee0
SM
13093 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13094 internal encoding (e.g. tibetan zero is not whitespace).
13095 (global-whitespace-mode): Prefer save-current-buffer.
13096 (whitespace-trailing-regexp): Remove useless save-match-data.
13097 (whitespace-empty-at-bob-regexp): Minor simplification.
13098
b7d22a83
CY
130992011-05-03 Chong Yidong <cyd@stupidchicken.com>
13100
13101 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13102
5192af46
AM
131032011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13104
13105 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 13106 Use `concat' to create string for insertion.
5192af46 13107
5767d190
SM
131082011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13109
13110 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13111 Avoid open-line which runs post-self-insert-hook.
13112 (bibtex-fill-entry): Remove unused `end' var.
13113
bf242939
AM
131142011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13115
5767d190
SM
13116 * textmodes/ispell.el (ispell-add-per-file-word-list):
13117 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 13118
25666126
LL
131192011-05-03 Leo Liu <sdl.web@gmail.com>
13120
13121 * isearch.el (isearch-yank-pop): New command.
5767d190 13122 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
13123 (isearch-forward): Mention it.
13124
52d3c2d0
SM
131252011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13126
1bcace58
SM
13127 * simple.el (minibuffer-complete-shell-command): Remove.
13128 (minibuffer-local-shell-command-map): Use completion-at-point.
13129 (read-shell-command): Setup completion vars here instead.
13130 (read-expression-map): Bind TAB to symbol completion.
13131
52d3c2d0
SM
13132 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13133 error directly rather via storing it into `results'.
13134
35813471
LL
131352011-05-02 Leo Liu <sdl.web@gmail.com>
13136
13137 * vc/diff.el: Fix description.
13138
e793a940
LMI
131392011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13140
13141 * server.el (server-eval-at): New function.
13142
8de66e05
LMI
131432011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13144
13145 * net/network-stream.el (open-network-stream): Take a :nowait
13146 parameter and pass it on to `make-network-process'.
13147 (network-stream-open-plain): Ditto.
13148
dcb79f20
AS
131492011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13150
13151 * faces.el (face-spec-set-match-display): Don't match toolkit
13152 options on terminal frames.
13153
14a7fbd8
SM
131542011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13155
7eabc1be
SM
13156 * progmodes/pascal.el: Use lexical binding.
13157 (pascal-mode-map): Remove author preferences.
13158
14a7fbd8
SM
13159 * pcomplete.el (pcomplete-std-complete): Don't abuse
13160 completion-at-point.
13161
50f84510
JB
131622011-04-28 Juanma Barranquero <lekktu@gmail.com>
13163
6e087a44
JB
13164 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13165 removing code that has been dead since 1991 or so.
13166
50f84510
JB
13167 * startup.el (command-line): When warning about "_emacs", use a
13168 delayed warning to allow the user to filter it out.
13169
0ba690bd
DD
131702011-04-28 Deniz Dogan <deniz@dogan.se>
13171
13172 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13173 user has not joined.
13174
08abfaad
SM
131752011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13176
13177 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13178 aren't any completions at point.
13179
638f053a
JB
131802011-04-28 Juanma Barranquero <lekktu@gmail.com>
13181
13182 * subr.el (display-delayed-warnings): New function.
13183 (delayed-warnings-hook): New variable.
13184
8fff8daa
SM
131852011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13186
08abfaad
SM
13187 * minibuffer.el (completion-at-point, completion-help-at-point):
13188 Don't presume that a given completion-at-point-function will always
13189 use the same calling convention.
13190
8fff8daa
SM
13191 * pcomplete.el (pcomplete-completions-at-point):
13192 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13193 pcomplete-seen is non-nil.
13194 (pcomplete-comint-setup): Also recognize the new comint/shell
13195 completion functions.
13196 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13197 pcomplete-seen is non-nil.
13198
841a1577 131992011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 13200
841a1577 13201 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 13202 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 13203 the first character in the entry. This allows for code to add its
211ec907
UJ
13204 own uid to the entry.
13205 (icalendar--convert-float-to-ical): Add export of
13206 `diary-float'-entries save for those with the optional DAY
13207 argument.
13208
2a782793
DC
132092011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13210
13211 * subr.el (shell-quote-argument): Use alternate escaping strategy
13212 when we spot a variable reference in a string.
13213
0438ce91
DC
132142011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13215
13216 * cus-start.el (all): Define customization for debug-on-event.
13217
841a1577 132182011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
13219
13220 * subr.el (shell-quote-argument): Escape correctly under Windows.
13221
d090ed6c
SM
132222011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13223
13224 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13225
bfd31217
MA
132262011-04-25 Michael Albinus <michael.albinus@gmx.de>
13227
d090ed6c
SM
13228 * net/tramp.el (tramp-process-actions): Add POS argument.
13229 Delete region between POS and (pos).
bfd31217 13230
d090ed6c
SM
13231 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13232 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
13233 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13234
13235 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13236 position in `tramp-process-actions' call.
13237
13238 * net/trampver.el: Update release number.
13239
e92f3bd3
SM
132402011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13241
850256b5
SM
13242 * custom.el (defcustom): Obey lexical-binding.
13243
e92f3bd3
SM
13244 Fix octave-inf completion problems reported by Alexander Klimov.
13245 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13246 Inherit from octave-mode-syntax-table.
13247 (inferior-octave-mode): Set info-lookup-mode.
13248 (inferior-octave-completion-at-point): New function.
13249 (inferior-octave-complete): Use it and completion-in-region.
13250 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13251 comint-filename-completion.
13252 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13253 symbol elements which shouldn't be word elements.
13254 (octave-font-lock-keywords, octave-beginning-of-defun)
13255 (octave-function-header-regexp): Adjust regexps accordingly.
13256 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13257
cd22b309
JB
132582011-04-25 Juanma Barranquero <lekktu@gmail.com>
13259
13260 * net/gnutls.el (gnutls-errorp): Declare before first use.
13261
8b492194
TZ
132622011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13263
13264 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13265 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13266 default trustfile exists before going to use it. Add missing
5a5fa834 13267 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13268 Reported by Claudio Bley <claudio.bley@gmail.com>.
13269 (open-gnutls-stream): Add usage example.
13270
13271 * net/network-stream.el (network-stream-open-starttls): Give host
13272 parameter to `gnutls-negotiate'.
13273 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13274 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13275
841a1577 132762011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13277
cd22b309
JB
13278 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13279 Use correct match group (bug#8438).
05842630 13280
3ba7869c
CY
132812011-04-24 Chong Yidong <cyd@stupidchicken.com>
13282
512e3ae1
CY
13283 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13284 (package-menu--generate): New arg specifying packages to show.
13285 (package-menu-refresh, package-menu-execute, list-packages):
13286 Callers changed.
13287 (package-show-package-list): New function, replacing deleted
13288 package--list-packages (renamed because it is non-internal).
13289
13290 * finder.el (finder-list-matches): Use package-show-package-list
13291 instead of deleted package--list-packages.
13292
e92f3bd3
SM
13293 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13294 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13295 (vc-annotate-mode-map): Bind it to RET.
13296
7031be6d
UR
132972011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13298
13299 * progmodes/etags.el (next-file): Don't use set-buffer to change
13300 buffers (Bug#8478).
13301
4ef177aa
CY
133022011-04-24 Chong Yidong <cyd@stupidchicken.com>
13303
c8d173eb
CY
13304 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13305
4ef177aa
CY
13306 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13307 (apropos-accumulator): Doc fix.
13308 (apropos-function, apropos-macro, apropos-command)
13309 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13310 (apropos-plist): Add face property.
13311 (apropos-symbols-internal): Fix indentation.
13312 (apropos-print): Simplify help, and recognize apropos-multi-type.
13313 (apropos-print-doc): Use button-type-get to extract the button's
13314 face property. Fill docstring (Bug#8352).
13315
4ffd0d6b 133162011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13317
13318 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13319
c6c32125 13320 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13321 (mpuz-mode-map): Use mapc.
c6c32125
JB
13322 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13323 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13324 Fix typos in docstrings.
13325
58d468b4
JB
13326 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13327 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13328
6470c3c6
JB
13329 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13330
4ffd0d6b 133312011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13332
13333 * minibuffer.el (completion--do-completion): Avoid the "Next char
13334 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13335
3ad8bad0
CY
13336 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13337 mouse-2 into unread-command-events, it is interpreted correctly.
13338
71d73c9c 13339 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13340 (image-toggle-display): Doc fix.
71d73c9c 13341
841a1577 133422011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13343
4ffd0d6b
GM
13344 * textmodes/page.el (what-page): Use line-number-at-pos to
13345 calculate line number (Bug#6825).
6e1dbaa9 13346
c2fb1b60
JB
133472011-04-22 Juanma Barranquero <lekktu@gmail.com>
13348
13349 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13350 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13351 Pass argument NO-DEFAULT to `find-tag-interactive'.
13352
e02f48d7
JB
133532011-04-22 Juanma Barranquero <lekktu@gmail.com>
13354
13355 Lexical-binding cleanup.
13356
13357 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13358 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13359 * progmodes/ada-prj.el (ada-prj-initialize-values)
13360 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13361 (ada-prj-show-value):
13362 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13363 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13364 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13365 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13366 * progmodes/bug-reference.el (bug-reference-push-button):
13367 * progmodes/fortran.el (fortran-line-length):
13368 * progmodes/glasses.el (glasses-change):
13369 * progmodes/octave-mod.el (octave-fill-paragraph):
13370 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13371 (python-pdbtrack-grub-for-buffer, python-sentinel):
13372 * progmodes/sql.el (sql-save-connection):
13373 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13374 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13375 Mark unused parameters.
13376
13377 * progmodes/compile.el (compilation--flush-directory-cache)
13378 (compilation--flush-parse, compile-internal): Mark unused parameters.
13379 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13380 (compilation-next-error-function): Remove unused variable `timestamp'.
13381
13382 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13383 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13384
13385 * progmodes/dcl-mode.el (dcl-end-of-command):
13386 Remove unused variable `start'.
13387 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13388 (dcl-option-value-basic, dcl-option-value-offset)
13389 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13390 Mark unused parameters.
13391 (dcl-save-local-variable): Remove unused variable `val'.
13392 (mode): Declare.
13393
13394 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13395 Mark unused parameters.
13396 (delphi-ignore-changes): Move before first use.
13397 (delphi-charset-token-at): Remove unused variable `start'.
13398 (delphi-else-start): Remove unused variable `if-count'.
13399 (delphi-comment-block-start, delphi-comment-block-end):
13400 Remove unused variable `kind'.
13401 (delphi-indent-line): Remove unused variable `new-point'.
13402
13403 * progmodes/ebrowse.el (ebrowse-files-list)
13404 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13405 Mark unused parameters. Don't quote `lambda'.
13406 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13407 Don't quote `lambda'.
13408 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13409 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13410 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13411 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13412 Use `ignore-errors'.
13413 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13414 (ebrowse-view/find-file-and-search-pattern)
13415 (ebrowse-view/find-member-declaration/definition):
13416 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13417 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13418 Rename parameter PREFIX-ARG to PREFIX.
13419 (ebrowse-tags-read-name): Remove unused variables `start' and
13420 `member-info'.
13421 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13422 to `tags-file'.
13423
13424 * progmodes/etags.el (local-find-tag-hook): Declare.
13425 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13426 Mark unused parameters.
13427
13428 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13429 (executable-interpret): Mark unused parameter.
13430
13431 * progmodes/flymake.el (flymake-process-sentinel)
13432 (flymake-after-change-function)
13433 (flymake-create-temp-with-folder-structure)
13434 (flymake-get-include-dirs-dot): Mark unused parameters.
13435 (flymake-safe-delete-directory): Remove unused variable `err'.
13436
13437 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13438 (speedbar-timer-fn, speedbar-line-text)
13439 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13440 (speedbar-center-buffer-smartly): Declare functions.
13441 (gdb-find-watch-expression): Remove unused variable `array'.
13442 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13443 (gdb-starting): Mark unused parameters.
13444 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13445 (gdb-table-string): Remove unused variable `res'.
13446 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13447 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13448 (gdb-display-buffer): Remove unused variable `cur-size'.
13449
13450 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13451 allow lexical-binding compilation.
13452 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13453 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13454 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13455 Mark unused parameters.
13456 (gud-gdb-marker-filter): Remove unused variable `match'.
13457 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13458 lambda expressions and funcall them, instead of using `fset'.
13459
13460 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13461 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13462
13463 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13464 variable `header-beg'; use `let'.
13465
13466 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13467 `restart', `last-sexp' and `at-do'.
13468
13469 * progmodes/js.el (js--debug): Mark unused parameter.
13470 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13471 (js--splice-into-items): Remove unused variable `item'.
13472 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13473
13474 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13475 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13476 (makefile-complete): Remove unused variable `try'.
13477 (makefile-fill-paragraph, makefile-match-function-end):
13478 Mark unused parameters.
13479
13480 * progmodes/octave-inf.el (inferior-octave-complete):
13481 Remove unused variable `proc'.
13482 (inferior-octave-output-digest): Mark unused parameter.
13483
13484 * progmodes/perl-mode.el (perl-calculate-indent):
13485 Remove unused variable `err'.
13486
13487 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13488 (prolog-indent-line): Mark unused parameters.
13489 (prolog-indent-line): Remove unused variable `beg'.
13490
13491 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13492 (reporter-dont-compact-list): Declare.
13493
13494 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13495 Remove unused variable `char'.
13496 (sh-debug): Mark unused parameter.
13497 (sh-get-indent-info): Remove unused variable `start'.
13498 (sh-calculate-indent): Remove unused variable `var'.
13499
13500 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13501 (simula-electric-keyword): Remove unused variable `null'.
13502 (simula-search-backward, simula-search-forward): Remove unused
13503 variables `begin' and `end'.
13504
13505 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13506 Remove unused variable `pos'.
13507 (vera-electric-tab, vera-comment-uncomment-region):
13508 Mark unused parameters.
13509 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13510
7ede3b65
CY
135112011-04-22 Chong Yidong <cyd@stupidchicken.com>
13512
13513 * emacs-lisp/package.el (package--builtins, package-alist)
13514 (package-load-descriptor, package-built-in-p, package-activate)
13515 (define-package, package-installed-p)
13516 (package-compute-transaction, package-buffer-info)
13517 (package--push): Doc fix. Distinguish more clearly between
13518 version strings and version lists.
13519
121656e9
JB
135202011-04-21 Juanma Barranquero <lekktu@gmail.com>
13521
13522 Lexical-binding cleanup.
13523
13524 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13525 (5x5-make-mutate-best):
13526 * play/fortune.el (fortune-in-buffer):
13527 * play/gomoku.el (gomoku-init-display):
13528 * play/solitaire.el (solitaire, solitaire-do-check):
13529 * play/tetris.el (tetris-default-update-speed-function):
13530 Mark unused parameters.
13531
13532 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13533 (bubbles--shift): Remove unused variable `char-org'.
13534 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13535 (bubbles--show-images): Remove unused variable `char'.
13536
13537 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13538 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13539 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13540 (decipher-analyze-buffer): Use ?\s.
13541 (decipher-make-checkpoint): Remove unused variable `mapping'.
13542
13543 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13544
13545 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13546 Remove unused variable `result'; use `let'.
13547
13548 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13549 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13550 (gametree-children-shown-p, gametree-compute-reduced-score):
13551 Use `ignore-errors'.
13552
13553 * play/handwrite.el (ps-lpr-switches): Declare.
13554 (handwrite): Remove unused variables `pmin' and `lastp'.
13555
13556 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13557
13558 * play/landmark.el (landmark-init-display)
13559 (landmark-update-naught-weights): Mark unused parameters.
13560 (landmark-y): Remove unused variable `noise'. Simplify.
13561 (landmark-human-plays): Remove unused variable `score'.
13562
13563 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13564 (mpuz-try-proposal): Remove unused variable `game'.
13565
13566 * play/zone.el (life-patterns): Declare.
13567
80f499c7
JB
135682011-04-20 Juanma Barranquero <lekktu@gmail.com>
13569
13570 * vc/vc.el (ediff-vc-internal): Declare function.
13571
024ff170
SM
135722011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13573
c0a193ea
SM
13574 * shell.el: Use lexical-binding and std completion UI.
13575 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13576 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13577 comint-preoutput-filter-functions rather than on
13578 comint-output-filter-functions.
13579 (shell-command-completion, shell--command-completion-data)
13580 (shell-filename-completion, shell-environment-variable-completion)
13581 (shell-c-a-p-replace-by-expanded-directory): New functions.
13582 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13583 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13584 (shell-dynamic-complete-environment-variable): Use them.
13585 (shell-dynamic-complete-as-environment-variable)
13586 (shell-dynamic-complete-as-command): Remove.
13587 (shell-match-partial-variable): Match past point.
13588 * comint.el: Clean up use of completion-at-point-functions.
13589 (comint-completion-at-point): New function.
13590 (comint-mode): Use it completion-at-point-functions.
13591 (comint-dynamic-complete): Make it obsolete.
13592 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13593 (comint-c-a-p-replace-by-expanded-history): New function.
13594 (comint-dynamic-complete-functions)
13595 (comint-replace-by-expanded-history): Use it.
13596 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13597 termination strings. Try harder to avoid second try-completion.
13598 (completion-in-region-mode-map): Disable bindings that don't work yet.
13599
2dbaa080
SM
13600 * comint.el: Use lexical-binding. Require CL.
13601 (comint-dynamic-complete-functions): Use comint-filename-completion.
13602 (comint-completion-addsuffix): Tweak custom type.
13603 (comint-filename-completion, comint--common-suffix)
13604 (comint--common-quoted-suffix, comint--table-subvert)
13605 (comint--complete-file-name-data): New functions.
13606 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13607 (comint-dynamic-list-filename-completions): Use them.
13608 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13609
2dbaa080
SM
13610 * minibuffer.el (completion-in-region-mode):
13611 Keep completion-in-region-mode--predicate global.
13612 (completion-in-region--postch):
13613 Assume completion-in-region-mode--predicate is not null.
13614
c79a6f38
SM
13615 * progmodes/flymake.el (flymake-start-syntax-check-process):
13616 Obey `dir'. Simplify.
13617
024ff170
SM
13618 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13619 we're in VC after all.
13620
1c6c854e
CS
136212011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13622
13623 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13624 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13625 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13626
bed7f140
SM
136272011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13628
332e62ab
SM
13629 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13630 add sanity check.
13631
bed7f140
SM
13632 * obsolete/erc-hecomplete.el: Make obsolete.
13633 * obsolete/: Standardize obsolescence info in the header.
13634
f195c582
GM
136352011-04-20 Glenn Morris <rgm@gnu.org>
13636
13637 * calendar/solar.el (solar-horizontal-coordinates):
13638 Use the longitude argument rather than `calendar-longitude'.
13639 (solar-date-next-longitude): Remove unused locals.
13640
cb79b8c0
VJL
136412011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13642
13643 * whitespace.el: New version 13.2.1.
13644
136452011-04-20 felix <EmacsWiki> (tiny change)
13646
d8e4b68b 13647 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13648 switching between major modes on a file.
13649
602ea69d
SM
136502011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13651
13652 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13653 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13654 multi-line comments as well.
13655
06b60517
JB
136562011-04-19 Juanma Barranquero <lekktu@gmail.com>
13657
13658 Lexical-binding cleanup.
13659
13660 * arc-mode.el (archive-mode-revert):
13661 * cmuscheme.el (scheme-interactively-start-process):
13662 * custom.el (custom-initialize-delay):
13663 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13664 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13665 * emacs-lock.el (emacs-lock-clear-sentinel):
13666 * ezimage.el (defezimage):
13667 * follow.el (follow-avoid-tail-recenter):
13668 * fringe.el (set-fringe-mode-1):
13669 * generic-x.el (bat-generic-mode-compile):
13670 * help-mode.el (help-info-variable, help-do-xref)
13671 (help-mode-revert-buffer):
13672 * help.el (view-emacs-todo):
13673 * iswitchb.el (iswitchb-completion-help):
13674 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13675 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13676 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13677 * locate.el (locate-update):
13678 * longlines.el (longlines-encode-region)
13679 (longlines-after-change-function):
13680 * outline.el (outline-isearch-open-invisible):
13681 * ps-def.el (declare-function, charset-dimension, char-width)
13682 (encode-char):
13683 * ps-mule.el (ps-mule-plot-string):
13684 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13685 (recentf-edit-list-select, recentf-edit-list-validate)
13686 (recentf-open-files-action):
13687 * rect.el (delete-whitespace-rectangle-line)
13688 (rectangle-number-line-callback):
13689 * register.el (window-configuration-to-register)
13690 (frame-configuration-to-register):
13691 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13692 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13693 (xselect-convert-to-targets, xselect-convert-to-delete)
13694 (xselect-convert-to-filename, xselect-convert-to-charpos)
13695 (xselect-convert-to-lineno, xselect-convert-to-colno)
13696 (xselect-convert-to-os, xselect-convert-to-host)
13697 (xselect-convert-to-user, xselect-convert-to-class)
13698 (xselect-convert-to-name, xselect-convert-to-integer)
13699 (xselect-convert-to-atom, xselect-convert-to-identity):
13700 * subr.el (declare, ignore, process-kill-without-query)
13701 (text-clone-maintain):
13702 * terminal.el (te-get-char, te-tic-sentinel):
13703 * tool-bar.el (tool-bar-make-keymap):
13704 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13705 * type-break.el (type-break-mode, type-break-noninteractive-query):
13706 * view.el (View-back-to-mark):
13707 * wid-browse.el (widget-browse-action, widget-browse-widget)
13708 (widget-browse-widgets, widget-browse-sexp):
13709 * widget.el (define-widget-keywords):
13710 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13711 Mark unused parameters.
13712
13713 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13714 (align-areas): Remove unused variable `look'.
13715 (align-region): Remove unused variables `real-end' and `pos-list'.
13716
13717 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13718
13719 * bindings.el (mode-line-modified, mode-line-remote):
13720 Mark unused parameters.
13721 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13722
13723 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13724 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13725
13726 * comint.el (comint-history-isearch-pop-state)
13727 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13728 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13729 (comint-substitute-in-file-name): Doc fix.
13730
13731 * completion.el (cmpl-statistics-block): Mark unused parameter.
13732 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13733 (save-completions-to-file, load-completions-from-file):
13734 Remove unused local variable `e'.
13735
13736 * composite.el (compose-chars): Remove unused variable `len'.
13737 (lgstring-insert-glyph): Remove unused variable `g'.
13738 (compose-glyph-string): Remove unused variables `ascent',
13739 `descent', `lbearing' and `rbearing'.
13740 (compose-glyph-string-relative): Remove unused variables
13741 `lbearing', `rbearing' and `wadjust'.
13742 (compose-gstring-for-graphic): Remove unused variables `header',
13743 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13744 (compose-gstring-for-terminal): Remove unused variables `header'
13745 and `nchars'. Use `let', not `let*'.
13746
13747 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13748 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13749 (Custom-buffer-done, custom-buffer-create-internal)
13750 (custom-browse-visibility-action, custom-browse-group-tag-action)
13751 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13752 (widget-magic-mouse-down-action, custom-toggle-parent)
13753 (custom-add-parent-links, custom-toggle-hide-variable)
13754 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13755 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13756 (custom-face-menu-create, custom-variable-menu-create, get)
13757 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13758 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13759 (customize-apropos): Remove unused variable `tests'.
13760 (custom-group-value-create): Remove unused variable `hidden-p'.
13761 (sort-fold-case): Declare.
13762
13763 * cus-theme.el (custom-reset-standard-faces-list)
13764 (custom-reset-standard-variables-list): Declare.
13765 (customize-create-theme, custom-theme-revert, custom-theme-write)
13766 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13767 Mark unused parameters.
13768
13769 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13770
13771 * delim-col.el (delimit-columns-max): Move defvar before first use.
13772
13773 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13774 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13775
13776 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13777 (auto-insert): Declare.
13778 (desktop-restore-file-buffer): Rename desktop-* parameters;
13779 mark unused ones.
13780 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13781 (desktop-buffer): Rename desktop-* parameters.
13782
13783 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13784 (dframe-reposition-frame-xemacs, dframe-help-echo)
13785 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13786 Mark unused parameters.
13787
13788 * dired-aux.el (backup-extract-version-start, overwrite-query)
13789 (overwrite-backup-query, rename-regexp-query)
13790 (rename-non-directory-query): Declare.
13791 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13792 (dired-add-entry): Remove unused variable `orig-file-name'.
13793 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13794 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13795 `dired-copy-preserve-time' directly.
13796 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13797 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13798
13799 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13800 (dired-virtual-revert, dired-make-relative-symlink):
13801 Mark unused parameters.
13802 (manual-program): Declare.
13803 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13804 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13805 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13806
13807 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13808
13809 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13810
13811 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13812 Declare.
13813
13814 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13815
13816 * electric.el (Electric-command-loop): Rename parameter
13817 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13818
13819 * expand.el (expand-in-literal): Remove unused variable `here'.
13820
13821 * facemenu.el (facemenu-add-new-color):
13822 Remove unused variable `docstring'.
13823
13824 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13825 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13826 (face-attr-construct): Mark unused parameter. Doc fix.
13827 (read-color): Remove unused variable `hex-string'.
13828
13829 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13830 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13831 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13832 (display-buffer-other-frame): Remove unused variable `old-window'.
13833 (kill-buffer-hook): Declare.
13834 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13835 Mark unused parameters.
13836 (after-find-file): Pass 1 to `auto-save-mode', not t.
13837
13838 * files-x.el (auto-insert): Declare.
13839 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13840
13841 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13842 variable `buf'. Mark unused parameter.
06b60517
JB
13843 (find-lisp-insert-directory): Mark unused parameter.
13844
13845 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13846 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13847 (format-common-tail): Remove, unused.
13848 (format-deannotate-region): Remove unused variable `loc'.
13849 (format-annotate-region): Remove unused variable `p'.
13850 (format-annotate-single-property-change): Remove unused variables
13851 `default' and `tail'.
13852
13853 * forms.el (read-file-filter): Declare.
13854 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13855
13856 * frame.el (frame-creation-function-alist): Mark unused parameter.
13857 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13858
13859 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13860 Remove unused parameters.
13861 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13862 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13863
13864 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13865 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13866 (hfy-prepare-tag-map): Mark unused parameters.
13867 (htmlfontify-buffer): Use `called-interactively-p'.
13868
13869 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13870 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13871 (ibuffer-do-occur): Mark unused parameters.
13872 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13873 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13874
13875 * ibuffer.el: Don't quote `lambda'.
13876 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13877 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13878 Mark unused parameters.
13879
13880 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13881 (ido-completing-read): Mark unused parameters.
13882 (ido-copy-current-word): Mark unused parameters;
13883 remove unused variable `name'.
13884 (ido-sort-merged-list): Remove unused parameter `dirs'.
13885
13886 * ielm.el (ielm-input-sender): Mark unused parameter.
13887 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13888 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13889 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13890 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13891 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13892
13893 * image-dired.el (image-dired-display-thumbs): Remove unused
13894 variables `curr-file' and `count'.
13895 (image-dired-remove-tag): Remove unused variable `start'.
13896 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13897 variable `curr-file'
13898 (image-dired-rotate-original): Remove unused variable `temp-file'.
13899 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13900 Remove unused variable `file'.
13901 (image-dired-gallery-generate): Remove unused variable `curr'.
13902 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13903
13904 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13905
13906 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13907
13908 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13909
13910 * isearch.el (minibuffer-history-symbol): Declare.
13911 (isearch-edit-string): Remove unused variable `err'.
13912 (isearch-message-prefix, isearch-message-suffix):
13913 Mark unused parameters.
13914
13915 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13916
13917 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13918
13919 * makesum.el (double-column): Remove unused variable `cnt'.
13920
13921 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13922 (ido-ignore-item-temp-list): Declare.
13923
13924 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13925 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13926 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13927 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13928 `mouse-col-delta'.
13929
13930 * mouse-sel.el (mouse-extend-internal):
13931 Remove unused variable `orig-window-frame'.
13932
13933 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13934 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13935 Move declarations before first use.
13936 (pcomplete-opt): Mark unused parameters; doc fix.
13937
13938 * proced.el (proced-revert): Mark unused parameter.
13939 (proced-send-signal): Remove unused variable `err'.
13940
13941 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13942 Rename parameter PREFIX-ARG to ARG.
13943 (ps-basic-plot-string, ps-basic-plot-whitespace):
13944 Mark unused parameters.
13945
13946 * replace.el (replace-count): Define.
13947 (occur-revert-function): Mark unused parameters.
13948 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13949 (isearch-case-fold-search, isearch-string): Declare.
13950 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13951 bind `case-fold-search'. Remove unused variables `beg' and `end',
13952 and simplify.
13953 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13954 COUNT and bind `replace-count'.
13955 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13956 to COUNT.
13957
13958 * savehist.el (print-readably, print-string-length): Declare.
13959
13960 * shadowfile.el (shadow-expand-cluster-in-file-name):
13961 Remove unused variable `cluster'.
13962 (shadow-copy-file): Remove unused variable `i'.
13963 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13964 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13965 (shadow-define-literal-group, shadow-define-regexp-group)
13966 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13967
13968 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13969 (shell): Use `called-interactively-p'.
13970 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13971
13972 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13973 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13974 (delete-backward-char): Remove unused variable `ocol'.
13975 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13976 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13977 (event-apply-hyper-modifier, event-apply-shift-modifier)
13978 (event-apply-control-modifier, event-apply-meta-modifier):
13979 Mark unused parameters.
13980 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13981 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13982
13983 * speedbar.el (speedbar-ignored-directory-expressions)
13984 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13985 (speedbar-find-file, speedbar-dir-follow)
13986 (speedbar-directory-buttons-follow, speedbar-tag-find)
13987 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13988 (speedbar-buffers-line-directory, speedbar-buffer-click):
13989 Mark unused parameters.
13990 (speedbar-tag-file): Remove unused variable `mode'.
13991 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13992
13993 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13994
13995 * talk.el (talk): Remove unused variable `display'.
13996
13997 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13998 (tar-write-region-annotate): Mark unused parameter.
13999
14000 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14001 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14002 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14003 warning by another.
14004
14005 * time-stamp.el (time-stamp-string-preprocess):
14006 Remove unused variable `require-padding'.
14007
14008 * tree-widget.el (widget-glyph-enable): Declare.
14009 (tree-widget-action): Mark unused parameter.
14010
14011 * w32-fns.el (x-get-selection): Mark unused parameter.
14012 (autoload-make-program, generated-autoload-file): Declare.
14013
14014 * wdired.el (wdired-revert): Mark unused parameters.
14015 (wdired-xcase-word): Remove unused variable `err'.
14016
14017 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14018 (whitespace-help-scroll): Remove unused variable `data-help'.
14019
14020 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14021 (widget-image-insert, widget-after-change, default)
14022 (widget-default-format-handler, widget-default-notify)
14023 (widget-default-prompt-value, widget-info-link-action)
14024 (widget-url-link-action, widget-function-link-action)
14025 (widget-variable-link-action, widget-file-link-action)
14026 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14027 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14028 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14029 (widget-insert-button-action, widget-delete-button-action, visibility)
14030 (widget-documentation-link-action, widget-documentation-string-action)
14031 (widget-const-prompt-value, widget-regexp-match, symbol)
14032 (widget-coding-system-prompt-value)
14033 (widget-key-sequence-value-to-external, sexp)
14034 (widget-sexp-value-to-internal, character, vector, cons)
14035 (widget-choice-prompt-value, widget-boolean-prompt-value)
14036 (widget-color--choose-action): Mark unused parameters.
14037 (widget-item-match-inline, widget-choice-match-inline)
14038 (widget-checklist-match, widget-checklist-match-inline)
14039 (widget-group-match): Rename parameter VALUES to VALS.
14040 (widget-field-value-set): Remove unused variable `size'.
14041 (widget-color-action): Remove unused variables `value' and `start'.
14042
14043 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 14044 variable `dir'. Doc fix.
06b60517
JB
14045 (windmove-find-other-window): Don't pass it.
14046
14047 * window.el (count-windows): Mark unused parameter.
14048 (bw-adjust-window): Remove unused variable `err'.
14049
14050 * woman.el (woman-file-name): Remove unused variable `default'.
14051 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14052 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14053 (global-font-lock-mode): Declare.
14054 (woman-decode-region): Mark unused parameter.
14055 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14056
14057 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14058 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14059 (x-dnd-handle-moz-url): Remove unused variable `title'.
14060 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14061
14062 * xml.el (xml-parse-tag, xml-parse-attlist):
14063 Remove unused variable `pos'.
14064
bc4f7f3d
GM
140652011-04-19 Glenn Morris <rgm@gnu.org>
14066
14067 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14068 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14069 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14070 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14071 * calendar/cal-html.el (cal-html-insert-minical):
14072 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14073 (calendar-mark-date-pattern):
14074 Prefix "unused" locals.
14075
14076 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14077 optional argument `style'.
14078
14079 * calendar/appt.el (appt-make-list):
14080 * calendar/cal-china.el (calendar-chinese-date-string):
14081 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14082 (diary-hebrew-yahrzeit):
14083 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14084 * calendar/calendar.el (calendar-generate-window):
14085 * calendar/time-date.el (time-to-days):
14086 Remove unused local variables.
14087
16a43933
CY
140882011-04-18 Chong Yidong <cyd@stupidchicken.com>
14089
14090 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14091 glyphless-char-display table.
14092 (tabulated-list-glyphless-char-display): New var.
14093
7eed1860
SS
140942011-04-18 Sam Steingold <sds@gnu.org>
14095
14096 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14097 to acknowledgments.
14098
4d2d1ccd
GM
140992011-04-17 Glenn Morris <rgm@gnu.org>
14100
14101 * calendar/diary-lib.el (diary-sexp-entry):
14102 * calendar/holidays.el (holiday-sexp):
14103 Set debug-on-error rather than the removed stack-trace-on-error.
14104
239da61d
GM
141052011-04-16 Glenn Morris <rgm@gnu.org>
14106
14107 * progmodes/f90.el: Use lexical-binding.
14108 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14109
8b05752a
SM
141102011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14111
daca8ba5
SM
14112 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14113 (mail-mode): Setup mailalias completion here instead.
14114 * mail/mailalias.el: Use lexical-binding.
14115 (pattern, mailalias-done): Declare dynamic.
14116 (mail-completion-at-point-function): New function, from mail-complete.
14117 (mail-complete): Use it.
14118 (mail-completion-expand): New function.
14119 (mail-get-names): Use it.
14120 (mail-directory, mail-directory-process, mail-directory-stream):
14121 Don't use `pattern' for lexically bound arg.
14122
6f542485
SM
14123 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14124
037e7c3f
SM
14125 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14126 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14127 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14128
8b05752a
SM
14129 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14130 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14131 (byte-interactive-p): Define them again, for use when inlining
14132 old code.
14133
49093f60
JB
141342011-04-15 Juanma Barranquero <lekktu@gmail.com>
14135
14136 * loadup.el: Use `string-to-number', not `string-to-int'.
14137
b5b8e7de
SM
141382011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14139
14140 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14141 gud-gdb-complete-command.
14142 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14143 (gud-gdb-completion-at-point): New function.
14144 (gud-gdb-completions): Remove.
14145
f42efeb5
MA
141462011-04-14 Michael Albinus <michael.albinus@gmx.de>
14147
49093f60
JB
14148 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14149 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14150 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14151 whether `executable-find' is bound.
f42efeb5
MA
14152
14153 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14154
e240cc21
SM
141552011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14156
14157 * minibuffer.el (completion-in-region-mode-predicate)
14158 (completion-in-region-mode--predicate): New vars.
14159 (completion-in-region, completion-in-region--postch)
14160 (completion-in-region-mode): Use them.
14161 (completion--capf-wrapper): Also return the hook function.
14162 (completion-at-point, completion-help-at-point):
14163 Adjust and provide a predicate.
c2bd2ab0
SM
14164
14165 Preserve arg names for advice of subr and lexical functions (bug#8457).
14166 * help-fns.el (help-function-arglist): Consolidate the subr and
14167 new-byte-code cases. Add argument `preserve-names' to extract names
14168 from the docstring when needed.
14169 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14170 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14171 (ad-arglist): Use help-function-arglist's new arg.
14172 (ad-definition-type): Use cond.
14173
c183f693
JB
141742011-04-13 Juanma Barranquero <lekktu@gmail.com>
14175
06641a47
JB
14176 * autorevert.el (auto-revert-handler):
14177 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14178 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14179 Don't quote lambda.
14180
c183f693
JB
14181 * image-mode.el (image-transform-set-scale):
14182 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14183
1e3b6001
G
141842011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14185
14186 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 14187 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
14188 Upgrades via gnutls-cli are too slow to be done opportunistically.
14189
2d6af8dd
JB
141902011-04-12 Juanma Barranquero <lekktu@gmail.com>
14191
14192 * dframe.el (dframe-current-frame): Remove spurious quote.
14193
c0749a51
GM
141942011-04-12 Glenn Morris <rgm@gnu.org>
14195
088d0d61
GM
14196 * calendar/cal-tex.el (cal-tex-end-document):
14197 Try to automatically use latin1 input if needed.
14198
c0749a51
GM
14199 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14200 Don't try to cons a mark onto an empty element.
14201
5c90fde0
LL
142022011-04-11 Leo Liu <sdl.web@gmail.com>
14203
14204 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14205 buffers.
14206 (ido-kill-buffer-at-head): Support killing virtual buffers.
14207
369e974d
CY
142082011-04-10 Chong Yidong <cyd@stupidchicken.com>
14209
14210 * minibuffer.el (completion-show-inline-help): New var.
14211 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
14212 (minibuffer-force-complete, minibuffer-complete-word):
14213 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
14214
14215 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14216 to avoid interference from inline help (Bug#5849).
14217
37f1c930
LL
142182011-04-10 Leo Liu <sdl.web@gmail.com>
14219
099c39a4
JB
14220 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14221 Fix typo.
37f1c930 14222
a32d4040
CY
142232011-04-09 Chong Yidong <cyd@stupidchicken.com>
14224
14225 * image-mode.el (image-toggle-display-image): Signal an error if
14226 not in Image mode.
14227 (image-transform-mode, image-transform-resize)
14228 (image-transform-set-rotation): Doc fix.
daca8ba5 14229 (image-transform-set-resize): Delete.
a32d4040
CY
14230 (image-transform-set-scale, image-transform-fit-to-height)
14231 (image-transform-fit-to-width): Handle image-toggle-display-image
14232 and image-transform-resize directly.
14233
099c39a4 142342011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
14235
14236 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
14237 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14238 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
14239 (doc-view-mode-map): Add bindings for the new functions.
14240
099c39a4 142412011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 14242
4d61f28d 14243 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
14244 Fix typo in docstring.
14245
3726838a
EZ
142462011-04-08 Eli Zaretskii <eliz@gnu.org>
14247
04f33f1e
EZ
14248 * files.el (file-size-human-readable): Produce one digit after
14249 decimal, like "ls -lh" does.
14250
14251 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14252 the file size representation.
14253
3726838a
EZ
14254 * simple.el (list-processes): If async subprocesses are not
14255 available, error out with a clear error message.
14256
cbb59342
CY
142572011-04-08 Chong Yidong <cyd@stupidchicken.com>
14258
14259 * help.el (help-form-show): New function, to be called from C.
14260 Put help-form output in a buffer named differently than *Help*.
14261
e3971c44
EZ
142622011-04-08 Eli Zaretskii <eliz@gnu.org>
14263
14264 * files.el (file-size-human-readable): New function.
14265
14266 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14267 computing the representation inline. Don't require `cl'.
14268
12544bbe
GM
142692011-04-08 Glenn Morris <rgm@gnu.org>
14270
a1de6c6a
GM
14271 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14272
3c4671f4
GM
14273 * net/browse-url.el (browse-url-firefox):
14274 Test system-type, not system-configuration.
14275
b605679c
GM
14276 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14277 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14278 Use log-edit-empty-buffer-p. (Bug#7598)
14279
56442f0c
GM
14280 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14281 (rlogin-mode-map): Initialize in the defvar.
14282 (rlogin): Use ignore-errors.
14283
12544bbe
GM
14284 * replace.el (occur-mode-map): Some fixes for menu items.
14285
eb237b0f
AH
142862011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14287
14288 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14289
7d668f2c
CY
142902011-04-06 Chong Yidong <cyd@stupidchicken.com>
14291
e67a13ab
CY
14292 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14293 issuing unused warnings.
14294
14295 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14296 macro directly.
14297
7d668f2c
CY
14298 * simple.el: Lisp reimplement of list-processes. Based on an
14299 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14300 (process-menu-mode): New major mode.
14301 (list-processes--refresh, list-processes):
14302 (process-menu-visit-buffer): New functions.
14303
14304 * files.el (save-buffers-kill-emacs): Don't assume any return
14305 value of list-processes, which is undocumented anyway.
14306
a83ec3c9
CY
143072011-04-06 Chong Yidong <cyd@stupidchicken.com>
14308
14309 * emacs-lisp/tabulated-list.el: New file.
14310
e91a96fe
CY
14311 * emacs-lisp/package.el: Use Tabulated List mode.
14312 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14313 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14314 table format using Tabulated List mode variables.
14315 (package--push): New macro, replacing package-list-maybe-add.
14316 (package-menu--generate): Use package--push. Renamed from
14317 package--generate-package-list.
14318 (package-menu-refresh, list-packages): Use it.
daca8ba5 14319 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14320 Return insertion data instead of inserting it directly.
099c39a4
JB
14321 (package-menu-describe-package, package-menu-execute):
14322 Use tabulated-list-get-id.
e91a96fe
CY
14323 (package-menu-mark-delete, package-menu-mark-install)
14324 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14325 (package-menu-mark-obsolete-for-deletion):
14326 Use tabulated-list-put-tag.
e91a96fe
CY
14327 (package--list-packages, package-menu-revert)
14328 (package-menu-get-package, package-menu-get-version)
14329 (package-menu-sort-by-column): Functions deleted.
14330 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14331 (package-menu--status-predicate, package-menu--version-predicate)
14332 (package-menu--name-predicate)
14333 (package-menu--description-predicate): Handle arguments in the
14334 Tabulated List format.
14335 (package-list-packages-no-fetch): Call list-packages.
14336
3e214b50
JB
143372011-04-06 Juanma Barranquero <lekktu@gmail.com>
14338
14339 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14340 (after-find-file): Don't bind it.
3e214b50
JB
14341 (revert-buffer-in-progress-p): New variable.
14342 (revert-buffer): Bind it.
14343 Pass nil for `after-find-file-from-revert-buffer'.
14344
14345 * saveplace.el (save-place-find-file-hook): Use new variable
14346 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14347
3f0f1700
GM
143482011-04-06 Glenn Morris <rgm@gnu.org>
14349
c0274801
GM
14350 * Makefile.in (AUTOGEN_VCS): New variable.
14351 (autoloads): Use $AUTOGEN_VCS.
14352
3f0f1700
GM
14353 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14354 * calendar/calendar.el (calendar-mode-map):
14355 Check for toolkit scroll bars. (Bug#8305)
14356
41ea9e48
CY
143572011-04-05 Chong Yidong <cyd@stupidchicken.com>
14358
14359 * minibuffer.el (completion-in-region--postch)
14360 (completion-in-region-mode): Remove unnecessary messages.
14361
6194c800
JB
143622011-04-05 Juanma Barranquero <lekktu@gmail.com>
14363
33256f14
JB
14364 * font-lock.el (font-lock-refresh-defaults):
14365 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14366 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14367
6194c800
JB
14368 * info.el (Info-directory-list, Info-read-node-name-2)
14369 (Info-split-parameter-string): Doc fixes.
14370 (Info-virtual-nodes): Reflow docstring.
14371 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14372 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14373 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14374 Fix typos in docstrings.
14375 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14376 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14377 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14378 (Info-restore-desktop-buffer): Mark unused parameters.
14379 (Info-directory-find-file, Info-directory-find-node)
14380 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14381 (Info-virtual-index-find-node, Info-apropos-find-file)
14382 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14383 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14384 (Info-virtual-index): Remove unused local variable `nodename'.
14385
b87a8200 143862011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14387
b87a8200
DD
14388 * net/rcirc.el: Update my e-mail address.
14389 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14390
3b2ff876
CY
143912011-04-05 Chong Yidong <cyd@stupidchicken.com>
14392
14393 * startup.el (command-line): Save the cursor's theme-face
14394 directly, instead of using face-override-spec.
14395
14396 * custom.el (load-theme): Minor optimization in assigning faces.
14397
8d17e7ca
JB
143982011-04-04 Juanma Barranquero <lekktu@gmail.com>
14399
14400 * help-fns.el (describe-variable): Complete all variables having
14401 documentation, including keywords.
14402 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14403
2fbc1934
JB
144042011-04-04 Juanma Barranquero <lekktu@gmail.com>
14405
14406 Convert to lexical-binding.
14407
14408 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14409 (bs--get-marked-string, bs--get-modified-string)
14410 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14411 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14412 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14413
14414 * ehelp.el (electric-help-execute-extended)
14415 (electric-help-ctrl-x-prefix):
14416 * hexl.el (hexl-revert-buffer-function):
14417 * linum.el (linum-after-change, linum-after-scroll):
14418 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14419
14420 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14421
74f50695
DU
144222011-04-04 Daiki Ueno <ueno@unixuser.org>
14423
14424 * epa-dired.el:
14425 * epa-mail.el:
14426 * epa-hook.el:
14427 * epa-file.el:
14428 * epa.el:
14429 * epg.el: Use lexical binding.
14430
c11325f7
CY
144312011-04-03 Chong Yidong <cyd@stupidchicken.com>
14432
0d9e9a12
CY
14433 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14434
c11325f7 14435 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14436 dictionary case for flyspell-mark-duplications-exceptions.
14437 Use regexp matching for languages.
c11325f7
CY
14438 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14439 default dictionary (Bug#7926).
14440
da91b5f2
CY
144412011-04-02 Chong Yidong <cyd@stupidchicken.com>
14442
099c39a4
JB
14443 * emacs-lisp/package.el (package--with-work-buffer):
14444 Recognize https URLs.
da91b5f2 14445
099c39a4
JB
14446 * net/network-stream.el: Move from gnus/proto-stream.el.
14447 Change prefix to network-stream throughout.
da91b5f2
CY
14448 (open-protocol-stream): Merge into open-network-stream, leaving
14449 open-protocol-stream as an alias. Handle nil BUFFER args.
14450
14451 * subr.el (open-network-stream): Move to net/network-stream.el.
14452
afa8e9f6
GM
144532011-04-02 Glenn Morris <rgm@gnu.org>
14454
1d2e369d
GM
14455 * find-dired.el (find-exec-terminator): New option.
14456 (find-ls-option): Test for -ls support.
14457 (find-ls-subdir-switches): Test for -b in find-ls-option.
14458 (find-dired, find-grep-dired): Doc fixes.
14459 (find-dired): Use find-exec-terminator.
14460
8abb7da8 14461 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14462 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14463 (find-name-arg): Remove purecopy.
8abb7da8 14464
f3ca7378
GM
14465 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14466 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14467 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14468 accordingly. Don't add the null-device if not needed.
14469
afa8e9f6
GM
14470 * files.el (save-some-buffers): Doc fix.
14471
35eae264
EZ
144722011-04-02 Eli Zaretskii <eliz@gnu.org>
14473
14474 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14475
26b51db5
JB
144762011-04-01 Juanma Barranquero <lekktu@gmail.com>
14477
14478 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14479 Use `dolist' rather than `mapcar'.
14480
7200d79c
SM
144812011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14482
03408648 14483 Add lexical binding.
7200d79c 14484
03408648
SM
14485 * subr.el (apply-partially): Use new closures rather than CL.
14486 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14487 (dolist, dotimes): Use slightly different expansion for lexical code.
14488 (functionp): Move to C.
14489 (letrec): New macro.
14490 (with-wrapper-hook): Use it and apply-partially instead of CL.
14491 (eval-after-load): Preserve lexical-binding.
14492 (save-window-excursion, with-output-to-temp-buffer): Turn them
14493 into macros.
7200d79c 14494
03408648
SM
14495 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14496
14497 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14498 than the arglist.
14499 (help-add-fundoc-usage): Don't add `Not documented'.
14500 (help-function-arglist): Handle closures, subroutines, and new
14501 byte-code-functions.
14502 (help-make-usage): Remove leading underscores.
14503 (describe-function-1): Handle closures.
14504 (describe-variable): Use special-variable-p for completion.
14505
14506 * files.el (lexical-binding): Declare safe.
f488fb65 14507
03408648
SM
14508 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14509 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14510 (pcase): Add `let' pattern.
14511 Change memoization so it actually works.
14512 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14513 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14514 <let>: New case.
f488fb65 14515
03408648
SM
14516 * emacs-lisp/macroexp.el: Use lexical binding.
14517 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14518 Don't convert ' to #' without checking that it's indeed quoting
14519 a lambda.
14520
14521 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14522 Use eval-sexp-add-defvars.
03408648
SM
14523 (eval-sexp-add-defvars): New fun.
14524
14525 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14526
14527 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14528 Don't autoload.
14529 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14530 than the internal `byte-compile-lambda'.
14531 (defmethod): Don't hide code under quotes.
14532 (eieio-defmethod): New `code' argument.
14533
14534 * emacs-lisp/eieio-comp.el: Remove.
14535
14536 * emacs-lisp/edebug.el (edebug-eval-defun)
14537 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14538 (edebug-toggle): Avoid `eval'.
14539
14540 * emacs-lisp/disass.el (disassemble-internal): Handle new
14541 `closure' objects.
14542 (disassemble-1): Handle new byte codes.
14543
14544 * emacs-lisp/cl.el (pushnew): Silence warning.
14545
14546 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14547 (cl-byte-compile-throw): Remove.
14548 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14549
14550 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14551 closures.
14552
14553 * emacs-lisp/cconv.el: New file.
14554
14555 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14556 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14557 (byte-compile-initial-macro-environment):
14558 Handle declare-function here.
14559 (byte-compile--lexical-environment): New var.
14560 (byte-stack-ref, byte-stack-set, byte-discardN)
14561 (byte-discardN-preserve-tos): New lap codes.
14562 (byte-interactive-p): Don't use any more.
14563 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14564 New macros.
14565 (byte-compile-lapcode): Use them and handle new lap codes.
14566 (byte-compile-obsolete): Remove.
14567 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14568 (byte-compile-arglist-warn): Check late def of inlinable funs.
14569 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14570 since they should have been expanded by now.
14571 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14572 (byte-compile-from-buffer): Remove unused second arg.
14573 (byte-compile-preprocess): New function.
14574 (byte-compile-toplevel-file-form): New function to distinguish
14575 file-form calls from outside from file-form calls from hunk-handlers.
14576 (byte-compile-file-form): Simplify.
14577 (byte-compile-file-form-defsubst): Remove.
14578 (byte-compile-file-form-defmumble): Simplify now that
14579 byte-compile-lambda always returns a byte-code-function.
14580 (byte-compile): Preprocess.
14581 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14582 Remove, not used any more.
14583 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14584 (byte-compile-make-args-desc): New funs.
14585 (byte-compile-lambda): Handle lexical functions. Always return
14586 a byte-code-function.
14587 (byte-compile-reserved-constants): New var, to make up room for
14588 closed-over variables.
14589 (byte-compile-constants-vector): Obey it.
14590 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14591 (byte-compile-macroexpand-declare-function): New function.
14592 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14593 byte-code-functions.
14594 (byte-compile-form): Check obsolescence here.
14595 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14596 (byte-compile-variable-ref): Remove.
14597 (byte-compile-dynamic-variable-op): New fun.
14598 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14599 (byte-compile-variable-set): New funs.
14600 (byte-compile-discard): Add 2 args.
14601 (byte-compile-stack-ref, byte-compile-stack-set)
14602 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14603 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14604 macroexpand-all instead.
14605 (byte-compile-quote-form): Remove.
14606 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14607 (byte-compile-bind, byte-compile-unbind): New funs.
14608 (byte-compile-let): Handle let* and lexical binding.
14609 (byte-compile-let*): Remove.
14610 (byte-compile-catch, byte-compile-unwind-protect)
14611 (byte-compile-track-mouse, byte-compile-condition-case):
14612 Handle a new :fun-body form, used for lexical scoping.
14613 (byte-compile-save-window-excursion)
14614 (byte-compile-with-output-to-temp-buffer): Remove.
14615 (byte-compile-defun): Simplify.
14616 (byte-compile-stack-adjustment): New fun.
14617 (byte-compile-out): Use it.
14618 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14619
14620 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14621 handler any more.
14622
14623 * emacs-lisp/byte-opt.el: Use lexical binding.
14624 (byte-inline-lapcode): Remove (to bytecomp).
14625 (byte-compile-inline-expand): Pay attention to inlining to/from
14626 lexically bound code.
14627 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14628 any more.
14629 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14630 any more and don't call compiler-macros.
14631 (byte-compile-splice-in-already-compiled-code): Remove.
14632 (byte-code): Don't inline any more.
14633 (disassemble-offset): Receive `bytes' as argument rather than via
14634 dynamic scoping.
14635 (byte-compile-tag-number): Declare before first use.
14636 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14637 `return' even if make-spliceable.
14638 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14639 obsolete interactive-p.
14640 (byte-optimize-lapcode): Optimize new lap-codes.
14641 Don't trip up on new form of `byte-constant' lap code.
14642
14643 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14644
14645 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14646
14647 * custom.el (custom-initialize-default, custom-declare-variable):
14648 Use `defvar'.
14649
14650 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14651 New variables.
14652 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14653 (COMPILE_FIRST): Add macroexp and cconv.
14654 * makefile.w32-in: Mirror changes in Makefile.in.
14655
14656 * vc/cvs-status.el:
14657 * vc/diff-mode.el:
14658 * vc/log-edit.el:
14659 * vc/log-view.el:
14660 * vc/smerge-mode.el:
14661 * textmodes/bibtex-style.el:
14662 * textmodes/css.el:
14663 * startup.el:
14664 * uniquify.el:
da91b5f2
CY
14665 * minibuffer.el:
14666 * newcomment.el:
14667 * reveal.el:
14668 * server.el:
14669 * mpc.el:
14670 * emacs-lisp/smie.el:
14671 * doc-view.el:
14672 * dired.el:
03408648
SM
14673 * abbrev.el: Use lexical binding.
14674
0f0c1f27
EZ
146752011-04-01 Eli Zaretskii <eliz@gnu.org>
14676
14677 * info.el (info-display-manual): New function.
14678
c82b2579
SM
146792011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14680
14681 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14682
221ddf68
TH
146832011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14684
14685 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14686 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14687
cba6e77e
GM
146882011-03-31 Glenn Morris <rgm@gnu.org>
14689
e040639f
GM
14690 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14691
cba6e77e
GM
14692 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14693
6d0f1c9e
CS
146942011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14695
14696 * progmodes/python.el (python-default-interpreter)
14697 (python-python-command-args, python-jython-command-args)
14698 (python-which-shell, python-which-args, python-which-bufname)
14699 (python-file-queue, python-comint-output-filter-function)
14700 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14701 variables and functions.
14702
3e2d70fd
SM
147032011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14704
14705 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14706 (completion-in-region-mode): New minor mode.
14707 (completion-in-region): Use it.
14708 (completion-in-region--data, completion-in-region-mode-map): New vars.
14709 (completion-in-region--postch): New function.
14710 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14711 New vars.
14712 (completion--capf-wrapper): New function.
14713 (completion-at-point): Use it to track well-behavedness of
14714 hook functions.
14715 (completion-help-at-point): New command.
14716
f3e4086c
JM
147172011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14718
14719 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14720 syntax class to search for whitespace on a single line
14721 (Message-ID: <4D938140.4030905@redhat.com>).
14722
eb7ffc14
LL
147232011-03-30 Leo Liu <sdl.web@gmail.com>
14724
14725 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14726 New commands.
14727 (edit-abbrevs-map): Bind them here.
14728 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14729
d806ab68
KM
147302011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14731
14732 * allout.el (allout-hide-by-annotation, allout-flag-region):
14733 Reduce possibility of overlay leakage by making them volatile.
14734
14735 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14736 hash is not shared between buffers. Mode initialization is
14737 responsible for giving it a useful starting value.
14738 (allout-item-span): Reduce possibility of overlay leakage by
14739 making them volatile.
14740 (allout-widgets-count-buttons-in-region): Add diagnostic function
14741 for tracking down button overlay leaks.
14742
ea622834
LL
147432011-03-29 Leo Liu <sdl.web@gmail.com>
14744
14745 * ido.el (ido-read-internal): Use the default history var
14746 minibuffer-history if no HISTORY is specified.
14747
b62f8267
G
147482011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14749
03408648
SM
14750 * net/imap.el (imap-shell-open, imap-process-connection-type):
14751 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14752 Kerberos, SSL, other subprocesses.
14753
947b6566
LL
147542011-03-28 Leo Liu <sdl.web@gmail.com>
14755
14756 * abbrev.el (abbrev-table-empty-p): New function.
14757 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14758 nonempty ones. (Bug#5937)
14759
5ffb62aa
JD
147602011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14761
14762 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14763
7a097943
LL
147642011-03-27 Leo Liu <sdl.web@gmail.com>
14765
14766 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14767 for foreground and background colors.
14768 (ansi-color-make-color-map): Adapt.
14769
c5b40130
LL
147702011-03-25 Leo Liu <sdl.web@gmail.com>
14771
1f48f7d2
LL
14772 * midnight.el (midnight-time-float): Remove. Note it calculates
14773 the microsecond component incorrectly and seconds-to-time does the
14774 same job.
625897ec 14775 Remove redundant (require 'timer).
1f48f7d2 14776
c5b40130
LL
14777 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14778 (ido-completions): Remove unused arguments. (Bug#8329)
14779
d86d2721
SM
147802011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14781
14782 * minibuffer.el (completion--flush-all-sorted-completions):
14783 Remove itself from hook.
14784 (completion-at-point): Let the functions perform the completion
14785 immediately and return nil or t.
14786 * comint.el (comint-dynamic-complete-functions): Now identical to
14787 completion-at-point-functions.
14788 (comint-dynamic-list-input-ring): Remove unused var `index'.
14789 (comint--match-partial-filename, comint--unquote&expand-filename):
14790 New funs, split from comint-match-partial-filename.
14791 (comint-dynamic-complete): Use completion-at-point.
14792 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14793
e8974c48
DA
147942011-03-24 Drew Adams <drew.adams@oracle.com>
14795
14796 * thingatpt.el: Support `defun'.
14797
def71b5e
LL
147982011-03-23 Leo Liu <sdl.web@gmail.com>
14799
cb5af48e
LL
14800 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14801
def71b5e
LL
14802 * help-mode.el (help-mode-finish): Tweak regexp.
14803
927c53e7
GM
148042011-03-23 Glenn Morris <rgm@gnu.org>
14805
18d05bed
GM
14806 * eshell/esh-opt.el (eshell-eval-using-options):
14807 Do not bind unused local variable `eshell-option-stub'.
14808
927c53e7
GM
14809 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14810
9d0da923
JB
148112011-03-22 Juanma Barranquero <lekktu@gmail.com>
14812
14813 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14814 keymap variable in `with-no-warnings' to avoid a warning when the
14815 keymap has been already `defconst'ed.
14816
4b978a67
LL
148172011-03-22 Leo Liu <sdl.web@gmail.com>
14818
14819 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14820 encode all chars in abbrevs; otherwise use emacs-mule or
14821 utf-8-emacs. (Bug#8308)
14822
5fd62452
JB
148232011-03-22 Juanma Barranquero <lekktu@gmail.com>
14824
0b1596c6
JB
14825 * simple.el (backward-delete-char-untabify):
14826 Avoid warning about using `delete-backward-char'.
14827
5fd62452
JB
14828 * image.el (image-type-file-name-regexps): Make it variable.
14829 `imagemagick-register-types' modifies it, and the user may want
14830 to add new extensions for known image types.
14831 (imagemagick-register-types): Throw error if not using ImageMagick.
14832
0b4e93f1
LL
148332011-03-22 Leo Liu <sdl.web@gmail.com>
14834
14835 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14836 located before rcirc-prompt-end-marker.
14837 (rcirc-complete): Error if point is not after rcirc prompt.
14838 Handle the case when table is nil.
9882e214 14839 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14840
fccee4ab
CY
148412011-03-22 Chong Yidong <cyd@stupidchicken.com>
14842
14843 * custom.el (custom--inhibit-theme-enable): Make it affect only
14844 custom-theme-set-variables and custom-theme-set-faces.
14845 (provide-theme): Ignore custom--inhibit-theme-enable.
14846 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14847 (custom-enabling-themes): Delete variable.
d86d2721
SM
14848 (enable-theme): Accept only loaded themes as arguments.
14849 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14850 (custom-enabled-themes): Forbid themes from setting this.
14851 Eliminate use of custom-enabling-themes.
14852 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14853
af896da6
LL
148542011-03-21 Leo Liu <sdl.web@gmail.com>
14855
14856 * ido.el (ido-read-internal): Add ido-selected to history instead
14857 of user input.
14858
78f64af0
SM
148592011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14860
14861 * subr.el (deferred-action-list, deferred-action-function):
14862 Mark obsolete.
14863
b16ac1ec
LL
148642011-03-21 Leo Liu <sdl.web@gmail.com>
14865
810f7698
LL
14866 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14867 change on 2011-02-13 (bug#8309).
14868
b16ac1ec
LL
14869 * minibuffer.el (read-file-name-function): Change default value.
14870 (read-file-name--defaults): Rename from read-file-name-defaults.
14871 (read-file-name-default): Rename from read-file-name.
14872 (read-file-name): Call read-file-name-function.
14873
4e05e67e
GM
148742011-03-21 Glenn Morris <rgm@gnu.org>
14875
14876 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14877 Doc fixes.
14878
4359915b
CY
148792011-03-21 Chong Yidong <cyd@stupidchicken.com>
14880
14881 * cus-theme.el: Add missing provide statement.
14882 (customize-create-theme): Extract theme value correctly.
14883 (custom-theme-visit-theme): Autoload.
14884 (customize-create-theme): Prompt before inserting default faces.
14885
1fe275ee
JB
148862011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14887
14888 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14889 units and musical notes.
14890
cd394be1 148912011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14892
14893 * ido.el (ido-read-internal): Use completing-read-default.
14894 (ido-completing-read): Fix compatibility with completing-read.
14895
7d476bde
CO
148962011-03-20 Christian Ohler <ohler@gnu.org>
14897
14898 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14899 (ert-delete-all-tests): Use `called-interactively-p' rather than
14900 `interactive-p'.
14901 (ert--make-xrefs-region): Respect END.
14902
fe0fb33e
CY
149032011-03-19 Chong Yidong <cyd@stupidchicken.com>
14904
ff854b0b
CY
14905 * dired-aux.el (dired-create-directory): Signal an error if the
14906 directory already exists (Bug#8246).
14907
fe0fb33e
CY
14908 * facemenu.el (list-colors-display): Call list-faces-display
14909 inside with-help-window.
14910 (list-colors-print): Use display property to align the final
14911 column, instead of checking window-width.
14912
576bce32
EZ
149132011-03-19 Eli Zaretskii <eliz@gnu.org>
14914
4d61f28d 14915 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14916 windows-nt systems.
14917 (emerge-protect-metachars): Quote correctly for ms-dos and
14918 windows-nt systems.
14919
89c41d68 149202011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14921
14922 * info.el (info-initialize): Replace all uses of `:' with
14923 path-separator for compatibility with non-Unix systems.
14924 Cache quoting of path-separator. (Bug#8258)
14925
b14e3e21 149262011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14927
14928 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14929 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14930 (mouse-avoidance-mode): Fix typos in docstrings.
14931
4525ce3e
CY
149322011-03-19 Chong Yidong <cyd@stupidchicken.com>
14933
14934 * startup.el (package-subdirectory-regexp): Move from package.el.
14935 Omit \\` and \\', and let callers add them.
14936
14937 * emacs-lisp/package.el (package-strip-version)
14938 (package-load-all-descriptors): Add \\` and \\' to
14939 package-subdirectory-regexp before using it.
14940 (package-untar-buffer): New arg DIR; ensure that file untars only
14941 into this expected directory. Remove superfluous delete-region.
14942 (package-unpack): Caller changed.
14943 (package-tar-file-info): Use package-subdirectory-regexp.
14944
a904a09a 149452011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14946
a904a09a
SM
14947 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14948 diff-mode-shared-map (bug#8284).
14949 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14950
149512011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14952
14953 * calendar/time-date.el (format-seconds): Use assoc instead of
14954 assoc-string, since assoc-string doesn't exist in XEmacs.
14955
171fc304
JB
149562011-03-17 Juanma Barranquero <lekktu@gmail.com>
14957
14958 * custom.el (custom-known-themes): Reflow docstring.
14959 (custom-theme-load-path): Fix typo in docstring.
14960 (load-theme): Fix typo in error message.
14961 (custom-available-themes, custom-variable-theme-value):
14962 Use `let', not `let*'.
14963
d71990a1
JB
149642011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14965
14966 * calc/README: Mention inclusion of musical notes.
14967
14968 * calc/calc-units.el (calc-lu-quant): Rename from
14969 `calc-logunits-quantity'.
14970 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14971 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14972 (calc-db): Rename from `calc-dblevel'.
14973 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14974 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14975 (calc-np): Rename from `calc-nplevel'.
14976 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14977 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14978 (calc-lu-plus): Rename from `calc-logunits-add'.
14979 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14980 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14981 (calc-lu-minus): Rename from `calc-logunits-sub'.
14982 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14983 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14984 (calc-lu-times): Rename from `calc-logunits-mul'.
14985 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14986 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14987 (calc-lu-divide): Rename from `calc-logunits-div'.
14988 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14989 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14990
14991 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14992 functions being autoloaded.
14993
14994 * calc/calc.el (calc-lu-power-reference): Rename from
14995 `calc-logunits-power-reference'.
14996 (calc-lu-field-reference): Rename from
14997 `calc-logunits-field-reference'.
14998
7a71b18d
GM
14999 * calc/calc-help.el (calc-l-prefix-help):
15000 Mention musical note functions.
d71990a1 15001
40c2934b
SM
150022011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15003
15004 * minibuffer.el (completion-all-sorted-completions):
15005 Use :completion-cycle-penalty text property if present.
15006
b0911414
KM
150072011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15008
15009 * allout.el (allout-yank-processing): Adjust for new rebulleting
15010 regime so bullet being yanked is used without prompting the user
15011 for a choice.
15012
8a05b668
JB
150132011-03-16 Juanma Barranquero <lekktu@gmail.com>
15014
15015 * startup.el (command-line): Warn the user that _emacs is deprecated.
15016
5ba5fb81
JB
150172011-03-16 Juanma Barranquero <lekktu@gmail.com>
15018
15019 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15020 (delphi-verbose, delphi-comment-face, delphi-string-face)
15021 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15022 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15023 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15024 (delphi-new-comment-line, delphi-font-lock-defaults)
15025 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15026 Fix typos in docstrings.
15027
2dab465b
KM
150282011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15029
5ba5fb81 15030 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
15031 Invert the roles of character and string values for INSTEAD, so a
15032 string is used for the more common case of a defaulting prompt.
15033
0adf5618
SM
150342011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15035
15036 * progmodes/ruby-mode.el (ruby-backward-sexp):
15037 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15038 * play/gamegrid.el (gamegrid-make-face):
15039 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15040 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15041 * notifications.el (notifications-notify):
15042 * net/xesam.el (xesam-search-engines):
15043 * net/quickurl.el (quickurl-list-insert):
15044 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15045
d72700e5
CY
150462011-03-15 Chong Yidong <cyd@stupidchicken.com>
15047
15048 * startup.el (command-line): Update package subdirectory regexp.
15049
49c5410a
SM
150502011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15051
c6eee9aa
SM
15052 * allout.el (allout-abbreviate-flattened-numbering)
15053 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15054
49c5410a
SM
15055 * subr.el (read-char-choice): Only show the cursor after the prompt,
15056 not after the answer.
15057
047b2bb9
KR
150582011-03-15 Kevin Ryde <user42@zip.com.au>
15059
15060 * help-fns.el (variable-at-point): Skip leading quotes, if any
15061 (bug#8253).
15062
0a57d256
SM
150632011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15064
15065 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15066 warning message.
15067
77c992bc
MA
150682011-03-14 Michael Albinus <michael.albinus@gmx.de>
15069
15070 * shell.el (shell): When called interactively, offer to change the
15071 shell file name on remote hosts.
15072
eebc475d
TZ
150732011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15074
15075 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15076 integration for LDAP parameters. The host, base, user or binddn,
15077 and secret tokens can be specified in a netrc file, for instance.
15078 This is optional because an `auth-source' parameter must be
15079 specified in the search attributes.
15080
9d05d1ba
JB
150812011-03-13 Juanma Barranquero <lekktu@gmail.com>
15082
15083 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15084
09d9db2c
GM
150852011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15086
15087 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15088 into declaration. Remove redundant and harmful binding.
15089
150902011-03-12 Eli Zaretskii <eliz@gnu.org>
15091
15092 * files.el (file-ownership-preserved-p): Pass `integer' as an
15093 explicit 2nd argument to `file-attributes'. If the file's owner
15094 is the Administrators group on Windows, and the current user is
15095 Administrator, consider that a match.
15096
15097 * server.el (server-ensure-safe-dir): Consider server directory
15098 safe on MS-Windows if its owner is the Administrators group while
15099 the current Emacs user is Administrator. Use `=' to compare
15100 numerical UIDs, since they could be integers or floats.
15101
219bd536
JB
151022011-03-12 Juanma Barranquero <lekktu@gmail.com>
15103
15104 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15105
f3afd36b
MA
151062011-03-12 Michael Albinus <michael.albinus@gmx.de>
15107
15108 Sync with Tramp 2.2.1.
15109
15110 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15111
15112 * net/trampver.el: Update release number.
15113
3aaaa6f1
SM
151142011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15115
94642599
SM
15116 * progmodes/compile.el (compilation--previous-directory): Fix up
15117 various nil/dead-marker mismatches (bug#8014).
15118 (compilation-directory-properties, compilation-error-properties):
15119 Don't call it at a position past the one we're about to change.
15120
3aaaa6f1
SM
15121 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15122 Disable obsolescence warnings in the file that declares it.
15123
14239447
KM
151242011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15125
099c39a4
JB
15126 * allout-widgets.el (allout-widgets-tally):
15127 Initialize allout-widgets-tally as a hash table rather than nil to
15128 prevent mode-line redisplay warnings. Also, clarify the module
15129 description and fix a comment typo.
14239447 15130
135e287c
JB
151312011-03-11 Juanma Barranquero <lekktu@gmail.com>
15132
15133 * help-fns.el (describe-variable): Don't complete keywords.
15134 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15135
ffbf300e
CY
151362011-03-10 Chong Yidong <cyd@stupidchicken.com>
15137
ba08b241
CY
15138 * emacs-lisp/package.el (package-version-join): Impose a standard
15139 string representation for pre/alpha/beta version lists.
15140 (package-unpack-single): Standardize the directory name by passing
15141 it through package-version-join.
15142 (package-strip-rcs-id): Accept any version string that does not
15143 signal an error in version-to-list.
ffbf300e 15144
f346fd6b
MA
151452011-03-10 Michael Albinus <michael.albinus@gmx.de>
15146
15147 * simple.el (delete-trailing-whitespace): Return nil for the
15148 benefit of `write-file-functions'.
15149
ccb55d27
GM
151502011-03-10 Glenn Morris <rgm@gnu.org>
15151
5ceaac0c
GM
15152 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15153
02da65ff
GM
15154 * vc/vc-git.el (vc-git-program): New option.
15155 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15156 (vc-git--call): Use it.
15157
b2f603cc
GM
15158 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15159
5772caab
GM
15160 * cus-edit.el (Custom-newline): If no button at point, look
15161 for a subgroup button at start-of-line. (Bug#2298)
15162
ccb55d27
GM
15163 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15164
ec6ecaed
JD
151652011-03-10 Julien Danjou <julien@danjou.info>
15166
15167 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15168 `cursor-type' is nil.
15169
9d5aa01d
JB
151702011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15171
15172 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15173
b6a5875b
KM
151742011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15175
7a71b18d 15176 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
15177 preserves the existing header prefix, rebulleting it if necessary,
15178 rather than replacing it. This is necessary for proper operation
15179 of cooperative addons like allout-widgets.
1154d12e
JB
15180 (allout-make-topic-prefix, allout-rebullet-heading):
15181 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15182 value as alternate bullet to be used, instead of prompting the user
15183 for a bullet character.
b6a5875b 15184
ee545c35
MA
151852011-03-09 Michael Albinus <michael.albinus@gmx.de>
15186
d86d2721
SM
15187 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15188 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
15189 `tramp-default-port'.
15190
c47971d7
DD
151912011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15192
15193 * net/rcirc.el (rcirc-handler-001): Remove useless
15194 with-rcirc-process-buffer.
15195 (rcirc-check-auth-status): Swap arguments to string-match.
15196
13522cb4
GM
151972011-03-09 Glenn Morris <rgm@gnu.org>
15198
0be6f4f1
GM
15199 * shell.el (shell-mode):
15200 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15201
13522cb4
GM
15202 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15203 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15204
515de2e3
CY
152052011-03-08 Chong Yidong <cyd@stupidchicken.com>
15206
15207 * emacs-lisp/package.el (package-refresh-contents)
15208 (package-menu-execute): Use condition-case-no-debug.
15209
b511b994
MA
152102011-03-08 Michael Albinus <michael.albinus@gmx.de>
15211
15212 * simple.el (shell-command-to-string): Use `process-file'.
15213
15214 * emacs-lisp/package.el (package-tar-file-info): Handle also
15215 remote files.
15216
d86d2721
SM
15217 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15218 Use `equal' for upload base check.
b511b994 15219
25bbfb31
AM
152202011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15221
15222 * textmodes/texinfo.el (texinfo-environments):
15223 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15224
be996521
GM
152252011-03-08 Glenn Morris <rgm@gnu.org>
15226
e9c8529f
GM
15227 * cus-start.el (cursor-in-non-selected-windows):
15228 Fix :set quoting oddness. (Bug#8192)
15229
be996521
GM
15230 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15231 in some setf expressions. (Bug#2159)
15232
2bb5649e
CY
152332011-03-08 Chong Yidong <cyd@stupidchicken.com>
15234
15235 * custom.el (custom-available-themes): Return themes in
15236 alphabetical order.
15237
33383987 15238See ChangeLog.15 for earlier changes.
e3d51b27
MR
15239
15240;; Local Variables:
15241;; coding: utf-8
e3d51b27
MR
15242;; End:
15243
acaf905b 15244 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
15245
15246 This file is part of GNU Emacs.
15247
15248 GNU Emacs is free software: you can redistribute it and/or modify
15249 it under the terms of the GNU General Public License as published by
15250 the Free Software Foundation, either version 3 of the License, or
15251 (at your option) any later version.
15252
15253 GNU Emacs is distributed in the hope that it will be useful,
15254 but WITHOUT ANY WARRANTY; without even the implied warranty of
15255 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15256 GNU General Public License for more details.
15257
15258 You should have received a copy of the GNU General Public License
15259 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.