ChangeLog 348 KB
Newer Older
1 2 3 4
2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>

	* window.el (other-window): Fix docstring.

5 6 7 8 9 10 11 12
2011-12-10  Eli Zaretskii  <eliz@gnu.org>

	* mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
	`from' or `to' address before taking its substring.  Fixes
	incorrect display in Rmail summary buffer whereby an RFC2047
	encoded name is chopped in the middle of the encoded string, and
	thus displayed encoded.

13 14 15 16
2011-12-10  Juanma Barranquero  <lekktu@gmail.com>

	* makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.

17 18 19 20 21
2011-12-10  Eli Zaretskii  <eliz@gnu.org>

	* textmodes/texnfo-upd.el: Update commentary.  Add a warning not
	to use texinfo-update-node and commands that call it if the
	Texinfo file uses @node lines without next/prev/up pointers.
22
	Correct outdated description about texinfo-master-menu.
23 24 25 26 27
	(texinfo-all-menus-update, texinfo-master-menu)
	(texinfo-update-node, texinfo-every-node-update)
	(texinfo-multiple-files-update): Doc fix.  Warn against updating
	all the @node lines.
	(texinfo-master-menu): Only call texinfo-update-node if the prefix
28 29 30 31 32
	argument is numeric.  Explain better in the doc string what the
	function really does.
	(texinfo-insert-master-menu-list): Improve the error message
	displayed if there's no menu in the Top node.
	(Bug#2975)  See also this thread:
33 34
	http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.

35 36 37 38 39
2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)

	* speedbar.el (speedbar-supported-extension-expressions):
	Add .adb and .ads, commonly used for Ada source code (bug#10256).

Juanma Barranquero's avatar
Juanma Barranquero committed
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
2011-12-09  Juanma Barranquero  <lekktu@gmail.com>

	* printing.el (pr-mode-alist):
	* simple.el (filter-buffer-substring-functions)
	(completion-list-insert-choice-function):
	* window.el (window-with-parameter, window-atom-root)
	(window-sides-slots, window-size-fixed, window-min-delta)
	(window-max-delta, window--resize-mini-window)
	(window--resize-child-windows-normal, window-tree)
	(delete-other-windows, quit-window, split-window)
	(display-buffer-record-window, special-display-buffer-names)
	(special-display-regexps, special-display-popup-frame)
	(same-window-p, split-window-sensibly)
	(display-buffer-overriding-action, display-buffer-alist)
	(display-buffer-base-action, display-buffer, switch-to-buffer)
	(switch-to-buffer-other-window, switch-to-buffer-other-frame)
	(fit-window-to-buffer, recenter-positions)
	(mouse-autoselect-window-state, mouse-autoselect-window-select):
	* emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
	and remove unneeded backslashes in docstrings.

61 62
2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>

63 64
	* emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).

65 66 67 68 69 70
	* pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
	(pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
	end in ".mk".
	(pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
	when reading the makefile (bug#10116).

71 72 73 74 75
2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
	(bug#10116).

76 77 78 79
2011-12-06  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/package.el (package-archives): Doc fix re riskiness.

80 81 82 83
2011-12-06  Chong Yidong  <cyd@gnu.org>

	* progmodes/cc-fonts.el (c-annotation-face): Use defface.

Juanma Barranquero's avatar
Juanma Barranquero committed
84 85 86 87
2011-12-06  Juanma Barranquero  <lekktu@gmail.com>

	* textmodes/table.el (table-shorten-cell): Fix typo.

88 89 90 91
2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)

	* emacs-lisp/assoc.el (aput): Fix return value (bug#10146)

92 93 94 95 96 97 98 99
2011-12-05  Eli Zaretskii  <eliz@gnu.org>

	* descr-text.el (describe-char): Fix display of strong
	right-to-left characters and directional embeddings and overrides.

	* simple.el (what-cursor-position): Fix display of codepoints of
	strong right-to-left characters.

100 101 102 103
2011-12-05  Chong Yidong  <cyd@gnu.org>

	* faces.el (read-color): Doc fix.

Glenn Morris's avatar
Glenn Morris committed
104 105 106 107 108
2011-12-05  Glenn Morris  <rgm@gnu.org>

	* align.el (align--set-marker): Add doc-string.
	Don't try to move something that is not a marker.  (Bug#10216)

Glenn Morris's avatar
Glenn Morris committed
109 110 111 112 113
2011-12-04  Glenn Morris  <rgm@gnu.org>

	* calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
	overly zealous deletion of trailing whitespace.

114 115 116 117 118 119 120
2011-12-04  Juanma Barranquero  <lekktu@gmail.com>

	* server.el (server-delete-client): On Windows, do not try to delete
	the only terminal.
	(server-process-filter): On Windows, treat requests for a tty frame as
	if they were for a GUI frame if the running server is in GUI mode.

121 122 123 124
2011-12-03  Glenn Morris  <rgm@gnu.org>

	* textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)

125 126
2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>

127 128 129 130 131
	* electric.el: Streamline electric-indent's hook.
	(electric-indent-chars): Revert to simple list.
	(electric-indent-functions): New var.
	(electric-indent-post-self-insert-function): Use it.

132 133 134 135
	* progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
	there's no inferior buffer (bug#10196).
	(prolog-consult-compile): Don't use toggle-read-only.

136 137 138 139 140
2011-12-02  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-maybe-open-connection): Handle user
	interrupt.  (Bug#10187)

141 142
2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>

143 144 145
	* pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
	(bug#9160).

146 147 148
	* dired-aux.el (dired-query): Don't assume help-char is modifier-free
	(bug#10191).

149 150 151 152 153
2011-12-02  Juri Linkov  <juri@jurta.org>

	* info.el (Info-search): Display "end of manual" when Isearch
	reaches the end of single-file Info manual.  (Bug#9918)

154 155 156 157 158
2011-12-02  Eli Zaretskii  <eliz@gnu.org>

	* isearch.el (isearch-message-prefix): Run the input method part
	of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)

159 160 161 162 163 164 165
2011-12-02  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-occur): Use `word-search-regexp' for
	`isearch-word'.
	(isearch-search-and-update): Add condition for `isearch-word' and
	call `word-search-regexp'.  (Bug#10145)

Glenn Morris's avatar
Glenn Morris committed
166 167 168 169
2011-12-01  Glenn Morris  <rgm@gnu.org>

	* eshell/em-hist.el (eshell-hist-initialize):
	Handle eshell-history-size nil and HISTSIZE set or unset.
Glenn Morris's avatar
Glenn Morris committed
170
	(eshell-history-file-name, eshell-history-size): Fix custom type.
Glenn Morris's avatar
Glenn Morris committed
171

172 173 174 175
2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* man.el (Man-completion-table): Fix the lambda case (bug#10168).

176
2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
177

178 179
	* progmodes/verilog-mode.el (verilog-pretty-expr):
	Rework verilog-pretty-expr to handle new assignment operators in system
180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205
	verilog, such as += *= and the like.
	(verilog-assignment-operator-re): Regular expression to find the
	assigment operator in a verilog assignment.
	(verilog-assignment-operation-re): Regular expression to find an
	assignment statement for pretty-expr.
	(verilog-in-attribute-p): Query returns true if point is in an
	attribute context; used to skip these for expression line up from
	pretty-expr.
	(verilog-in-parameter-p): Query returns true if point is in an
	parameter definition context; used to skip these for expression
	line up from pretty-expr.
	(verilog-in-parenthesis-p): Query returns true if point is in a
	parenthetical expression, specifically ( ) but not [ ] or { };
	used by pretty-expr.
	(verilog-just-one-space): If there is no space, don't add one.
	(verilog-get-lineup-indent-2): Specifically skip just attribute
	contexts for expression lineup, rather than skipping all
	parenthetical expressions.
	(verilog-calculate-indent): Fix comment, and fix indent.
	(verilog-do-indent): Indent declarations in lists (suggested by
	Joachim Lechner).
	(verilog-mode-abbrev-table): Populate abbrev mode with the various
	skeleton items.
	(verilog-sk-ovm-class): Add skeleton for OVM classes (reported
	by Alain Mellan).

206
2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
207 208 209 210 211 212 213 214 215 216 217 218 219 220 221

	* progmodes/verilog-mode.el (verilog-read-defines): Fix reading
	parameters with embedded comments.  Reported by Ray Stevens.
	(verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
	verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
	Reported by Tim Holt.
	(verilog-auto): Fix AUTOing a upper module then AUTOing module
	instantiated by upper module causing wrong expansion until AUTOed a
	second time.  Reported by K C Buckenmaier.
	(verilog-diff-auto): Fix showing .* as a difference when
	`verilog-auto-star-save' off.  Reported by Dan Dever.
	(verilog-auto-reset, verilog-read-always-signals)
	(verilog-auto-reset-blocking-in-non): Fix AUTORESET including
	temporary signals in reset list if
	verilog-auto-reset-blocking-in-non is nil, and match assignment
222 223
	style to each signal's assignment type, bug381.
	Reported by Thomas Esposito.
224 225 226
	(verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
	(verilog-uvm-statement-re): Support UVM indentation and
	highlighting, with old OVM keywords only.
227 228
	(verilog-auto-tieoff, verilog-auto-tieoff-declaration):
	Support AUTOTIEOFF creating non-wire data types.  Suggested by Jonathan
229 230 231 232
	Greenlaw.
	(verilog-auto-insert-lisp, verilog-delete-to-paren)
	(verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
	(verilog-inject-sense, verilog-read-inst-pins)
233 234
	(verilog-read-sub-decls, verilog-read-sub-decls-line):
	Fix mismatching parenthesis inside commented out code when deleting
Juanma Barranquero's avatar
Juanma Barranquero committed
235
	AUTOINST, bug383.  Reported by Jonathan Greenlaw.
236 237 238
	(verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
	non-numeric vector width.  Reported by Alex Reed.
	(verilog-auto-ascii-enum): Add "onehot" option to work around not
Juanma Barranquero's avatar
Juanma Barranquero committed
239
	detecting signals with parameter widths.  Reported by Alex Reed.
240 241
	(verilog-auto-delete-trailing-whitespace):
	With `verilog-auto-delete-trailing-whitespace' remove trailing
242 243 244 245 246 247 248 249 250 251 252 253 254
	whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
	(verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
	Fix verilog-scan-cache corruption when running user AUTO expansion
	hooks that call indentation routines.
	(verilog-simplify-range-expression): Fix typo ignoring lower case
	identifiers.
	(verilog-delete-auto): Fix delete-autos to also remove user created
	automatics, as long as they start with AUTO.
	(verilog-batch-diff-auto, verilog-diff-auto)
	(verilog-diff-function): Add `verilog-diff-auto' and bind to
	"C-c?"  to report differences in AUTO expansion, ignoring spaces.
	(verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
	(verilog-in-paren-quick, verilog-re-search-backward-quick)
255 256
	(verilog-re-search-forward-quick, verilog-syntax-ppss):
	Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
257 258 259 260 261 262 263 264
	is disabled and its cache will get corrupt, causing AUTOS not to
	expand.  Instead use only -quick functions.
	(verilog-scan-region): Fix scanning over escaped quotes.
	(verilog-inside-comment-or-string-p, verilog-inside-comment-p)
	(verilog-re-search-backward-quick)
	(verilog-re-search-forward-quick, verilog-scan): verilog-scan and
	related functions now ignore strings, to fix misparsing of strings
	with magic comments embedded in them.
265 266 267 268 269
	(verilog-read-auto-template):
	Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
	Reported by Brad Dobbie.
	(verilog-read-auto-template):
	Fix 'verilog-auto-inst-template-numbers' with comments.
270 271 272 273 274
	Reported by Brad Dobbie.
	(verilog-auto-inst, verilog-auto-inst-param)
	(verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
	merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
	(verilog-auto-inst-template-numbers): Add 'lhs' policy for
275 276 277 278
	debugging templates without merge conflicts, bug357.
	Reported by Brad Dobbie.
	(verilog-read-auto-template):
	Fix verilog-auto-inst-template-numbers with multiple templates.
279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298
	Reported by Brad Dobbie.
	(verilog-define-abbrev): Fix verilog-mode abbrevs to be system
	abbrevs so user won't be asked to save.
	(verilog-read-auto-lisp-present): Fix to start at beginning of
	buffer in case called outside of verilog-auto.
	(verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
	to "X-2".  Reported by Matthew Myers.
	(verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
	all inputs from module templates.  Reported by Leith Johnson.
	(verilog-module-inside-filename-p): Fix locating programs as with
	modules.
	(verilog-auto-inst-port): Fix vl-width expressions when using
	verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
	(verilog-decls-get-regs, verilog-decls-get-signals,
	verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
	verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
	verilog-read-decls): Combine reg and wire structures into one var
	structure to represent SystemVerilog concepts.
	(verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
	(verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
299 300
	(verilog-auto-wire-type, verilog-insert-definition):
	Add verilog-auto-wire-type and AUTOLOGIC to support using
301 302 303
	SystemVerilog "logic" keyword instead of "wire"/"reg".
	(verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
	to declares outputs that also have assignments (presumably in an
304 305 306 307
	ifdef or generate if so there's not a driver conflict).
	Reported by Matthew Myers.
	(verilog-auto-declare-nettype, verilog-insert-definition):
	Add verilog-auto-declare-nettype to fix declarations using
308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330
	`default_nettype none.  Reported by Julian Gorfajn.
	(verilog-read-always-signals-recurse, verilog-read-decls)
	(verilog-read-sub-decls-gate): Fix infinite loop with (*) and
	malformed end statement, bug325.  Reported by Joshua Wise and
	Andrew Drake.
	(verilog-auto-star-safe, verilog-delete-auto-star-implicit)
	(verilog-inst-comment-re): Fix not deleting Interfaced comment
	when expanding .* in interfaces, bug320.  Reported by Pierre-David
	Pfister.
	(verilog-read-module-name): Fix import statements between module
	name and open parenthesis, bug317.  Reported by Pierre-David
	Pfister.
	(verilog-simplify-range-expression): Fix simplification of
	multiplications inside AUTOWIRE connections, bug303.
	(verilog-auto-inst-port): Support parameter expansion in
	multidimensional arrays.
	(verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
	after "assert property".  Reported by Julian Gorfajn.
	(verilog-simplify-range-expression): Fix "couldn't merge" errors
	with multiplication, bug303.
	(verilog-read-decls): Fix parsing of unsigned data types, bug302.
	Reported by Jan Frode Lonnum.

331 332 333 334 335 336 337 338 339 340 341 342 343 344
2011-11-30  Juanma Barranquero  <lekktu@gmail.com>

	* htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
	(hfy-shell-file-name, hfy-shell):
	* international/fontset.el (x-decompose-font-name): Fix typos.

2011-11-29  Ken Brown  <kbrown@cornell.edu>

	* progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
	(gdb-version): Remove defvar.
	(gdb-supports-non-stop): New defvar, replacing `gdb-version'.
	(gdb-gud-context-command, gdb-non-stop-handler)
	(gdb-current-context-command, gdb-stopped): Use it.
	(gdb-init-1): Enable pretty printing here.
345 346
	(gdb-non-stop-handler): Don't enable pretty-printing here.
	Check to see if the target supports non-stop mode; if not, turn off
347 348 349 350 351 352 353 354 355 356 357 358
	non-stop mode.  Use the following.
	(gdb-check-target-async): New defun.
	(gud-watch, gdb-stopped): Fix whitespace.
	(gdb-get-source-file): Don't try to display the source file if
	`gdb-main-file' is nil.

2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* align.el: Try to generate fewer markers (bug#10047).
	(align--set-marker): New macro.
	(align-region): Use it.

359 360 361 362
2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).

363 364 365 366 367 368
2011-11-29  Chong Yidong  <cyd@gnu.org>

	* indent.el (indent-for-tab-command, indent-according-to-mode):
	Doc fix.
	(indent-region): Doc fix.  Switch nested ifs to equivalent cond.

369 370 371 372 373
2011-11-29  Michael Albinus  <michael.albinus@gmx.de>

	* vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
	aware of remote file names.  (Bug#10124)

374 375 376 377
2011-11-29  Chong Yidong  <cyd@gnu.org>

	* frame.el (auto-raise-mode, auto-lower-mode): Doc fix.

378 379 380 381 382 383 384
2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* files.el (find-file): Don't use force-same-window (bug#10144).
	* window.el (switch-to-buffer): Better match Emacs-23 behavior and only
	use pop-to-buffer if the selected window can't be used.
	(pop-to-buffer-same-window): Use display-buffer--same-window-action.

385 386 387 388 389
2011-11-28  Eli Zaretskii  <eliz@gnu.org>

	* vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
	special-mode-map.

390 391 392 393
2011-11-28  Chong Yidong  <cyd@gnu.org>

	* emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.

394 395 396 397 398
2011-11-27  Nick Roberts  <nickrob@snap.net.nz>

	* progmodes/gdb-mi.el (gdb-init-1): Condition execution of
	  gdb-get-source-file-list on gdb-create-source-file-list.

399 400 401 402 403
2011-11-26  Eli Zaretskii  <eliz@gnu.org>

	* whitespace.el (whitespace-newline): Use a different foreground
	color for 16-color light-background displays.

404 405 406 407
2011-11-24  Chong Yidong  <cyd@gnu.org>

	* window.el (display-buffer--special-action): Doc fix.

Juanma Barranquero's avatar
Juanma Barranquero committed
408 409 410 411 412 413 414 415 416 417 418
2011-11-25  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
	(avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
	(avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
	(avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
	(avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
	(avl-tree-stack-first):
	* emacs-lisp/cconv.el (cconv--analyse-use):
	* net/gnutls.el (gnutls-negotiate): Fix typos.

419 420
2011-11-24  Glenn Morris  <rgm@gnu.org>

421 422 423 424 425 426 427 428 429
	* lpr.el (lpr-windows-system, lpr-lp-system):
	* mail/binhex.el (binhex-begin-line):
	* progmodes/grep.el (grep-history, grep-find-history):
	* textmodes/flyspell.el:
	* vc/pcvs-defs.el (cvs-global-menu):
	* vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
	* vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
	* vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.

Glenn Morris's avatar
Glenn Morris committed
430 431
	* net/tls.el: Fix case of "GnuTLS".

432 433
	* paths.el (rmail-file-name): Format doc-string for make-docfile.

434 435
	* version.el (emacs-build-system): Give it a doc-string.

436 437 438 439
2011-11-24  Juri Linkov  <juri@jurta.org>

	* view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).

440 441 442 443 444
2011-11-24  Glenn Morris  <rgm@gnu.org>

	* mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
	if called on a non-mime message just toggle the headers.  (Bug#8006)

Juanma Barranquero's avatar
Juanma Barranquero committed
445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461
2011-11-24  Juanma Barranquero  <lekktu@gmail.com>

	* allout.el (allout-setup, allout-auto-save-temporarily-disabled)
	(allout-lead-with-comment-string, allout-structure-deleted-hook)
	(allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
	(allout-rebullet-heading, allout-open-sibtopic)
	(allout-toggle-current-subtree-encryption)
	(allout-toggle-subtree-encryption, allout-encrypt-string)
	(allout-next-topic-pending-encryption, allout-adjust-file-variable)
	(allout-distinctive-bullets-string, allout-auto-activation):
	* window.el (window-normalize-buffer-to-display):
	* progmodes/verilog-mode.el (verilog-batch-indent):
	* textmodes/bibtex.el (bibtex-field-braces-opt)
	(bibtex-field-strings-opt):
	* vc/cvs-status.el (cvs-tree-merge):
	Fix typos.

462 463 464 465 466
2011-11-23  Michael Albinus  <michael.albinus@gmx.de>

	* rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
	`non-essential' to t, in order to avoid remote connections.

467 468
2011-11-23  Eli Zaretskii  <eliz@gnu.org>

469 470
	* emacs-lisp/autoload.el (autoload-generate-file-autoloads):
	On MS-DOS and MS-Windows, compare with loaddefs.el
471 472
	case-insensitively.

473 474 475 476
2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)

	* mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)

477 478
2011-11-23  Glenn Morris  <rgm@gnu.org>

479 480 481
	* paths.el (rmail-file-name): Reformat the doc-string so that it
	is picked up.

482 483 484 485
	* mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
	(rmail-auto-file): Ignore case in the "special" field names,
	as mail-fetch-field does for all others.

486 487 488 489 490
	* mail/rmail.el (rmail-forward):
	* mail/rmailkwd.el (rmail-set-label):
	* mail/rmailout.el (rmail-output, rmail-output-as-seen)
	(rmail-output-body-to-file): Give error if no message.  (Bug#10082)

491 492
	* mail/rmail.el (rmail-current-message): Doc fix.

493 494
	* mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)

495 496 497 498
2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* server.el (server-eval-and-print): Allow C-g (bug#6585).

499 500 501 502 503 504
2011-11-22  Glenn Morris  <rgm@gnu.org>

	* mail/rmailmm.el (test-rmail-mime-handler)
	(test-rmail-mime-bulk-handler)
	(test-rmail-mime-multipart-handler): Move tests to test/ directory.

505 506 507 508 509
2011-11-21  Juri Linkov  <juri@jurta.org>

	* calc/calc.el (calc-read-key-sequence): Let-bind `input-method-function'
	to nil.  (Bug#10018)

510 511 512 513 514 515
2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
	Tell the caller that the next line needs recomputation, even
	though it doesn't start a sexp (bug#10094).

516 517 518 519
2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.

520 521
2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>

522 523
	* vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
	Use force-same-window.
524

Juanma Barranquero's avatar
Juanma Barranquero committed
525 526 527 528 529 530 531 532
2011-11-20  Juanma Barranquero  <lekktu@gmail.com>

	* descr-text.el (describe-char-unicode-data):
	* json.el (json-string-escape):
	* mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
	(Footnote-unicode, Footnote-style-p):
	* net/ntlm.el (ntlm-get-password-hashes): Fix typos.

533 534 535 536
2011-11-20  Chong Yidong  <cyd@gnu.org>

	* window.el (replace-buffer-in-windows): Restore interactive spec.

537 538
2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>

539 540
	* electric.el (electric-indent-mode): Fix last change (too optimistic).

541 542 543 544 545 546
	* emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
	(byte-compile-global-not-obsolete-vars): New var.
	(byte-compile-check-variable, byte-compile-make-obsolete-variable):
	Use it.
	(byte-compile-warn-obsolete): Align text with the one in *Help*.

Juanma Barranquero's avatar
Juanma Barranquero committed
547 548 549 550 551 552 553
2011-11-20  Juanma Barranquero  <lekktu@gmail.com>

	* progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
	* progmodes/pascal.el (electric-pascal-equal):
	* textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
	* xml.el (xml-substitute-special): Fix typos.

Glenn Morris's avatar
Glenn Morris committed
554 555 556 557 558 559 560 561 562 563 564
2011-11-20  Glenn Morris  <rgm@gnu.org>

	* mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
	(rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
	Doc fixes.
	(rmail-decode-mime-charset): Mark as obsolete.

	* mail/rmailsum.el (rmail-message-regexp-p-1):
	* mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
	Before using mime functions, check they are set.  (Bug#10077)

565 566 567 568 569 570
2011-11-19  Juri Linkov  <juri@jurta.org>

	* info.el (Info-finder-find-node): Use `package--builtins' instead
	of `package-alist'.  Use node names formed by the pattern "Keyword "
	and the keyword name.

571 572 573 574 575
2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>

	* progmodes/sh-script.el (sh-assignment-regexp): Add entry for
	bash.

576 577 578 579 580 581 582 583 584 585 586 587
2011-11-19  Juri Linkov  <juri@jurta.org>

	* info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
	that calls `revert-buffer' on all Info buffers.  (Bug#9915)
	(Info-revert-find-node): Remove let-bindings `old-buffer-name',
	`old-history', `old-history-forward'.  Add let-binding
	`window-selected'.  Remove calls to `kill-buffer',
	`switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
	before calling `Info-find-node', so `Info-find-node-2' will reread
	the Info file.  Restore window positions only when `window-selected'
	is non-nil.

588 589 590 591 592 593 594 595 596 597 598 599 600 601 602
2011-11-19  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-lazy-highlight-new-loop):
	Remove condition `(not isearch-error)'.  (Bug#9918)

	* misearch.el (multi-isearch-search-fun): Add condition
	`(not bound)' to ignore lazy-highlighting search.
	Add the search-failed message "end of multi" when the end of
	multi-sequence is reached.  Uncapitalize the search-failed
	message "Repeat for next buffer".

	* info.el (Info-search): Add the search-failed message
	"end of the manual" when the end of the manual is reached
	in Isearch mode.

603 604 605 606 607 608 609
2011-11-19  Juri Linkov  <juri@jurta.org>

	* info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
	Use non-destructive `remove' instead of `delete' because
	`Info-history-list' stored to `Info-isearch-initial-history-list' in
	`Info-isearch-start' might need to be restored in `Info-isearch-end'.

610 611 612 613 614 615
2011-11-19  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
	to nil instead of binding `search-ring' and `regexp-search-ring'.
	(Bug#9185)

616 617 618 619 620 621
2011-11-19  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (line-move): Force movement by logical lines for any
	hscrolled window, not only when auto-hscroll-mode is on.
	(line-move-visual): Update doc string to that effect.  (Bug#10076)

622 623 624 625
2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>

	* language/european.el (macintosh): Define as alias for mac-roman.

626 627 628 629 630 631 632 633 634 635 636 637 638 639 640
2011-11-19  Eli Zaretskii  <eliz@gnu.org>

	* mail/rmailmm.el (rmail-mime-display-header)
	(rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
	(rmail-mime-entity-segment, rmail-mime-toggle-raw)
	(rmail-mime-toggle-hidden, rmail-mime-insert-text)
	(rmail-mime-insert-bulk, rmail-mime-insert-multipart)
	(rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
	of a raw aref.
	(rmail-mime-entity-segment): To get past the tagline, move forward
	2 more lines, to account for the 2 empty lines that precede and
	follow the line with the buttons.
	(rmail-mime-update-tagline): Move one more line, to get past the
	empty line that follows the buttons in the tagline.  (Bug#9520)

641 642 643 644 645 646
2011-11-19  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-max-delta-1, window-min-delta-1)
	(window-min-size-1, window-state-get-1, window-state-put-1)
	(window-state-put-2): Use "window--" prefix.

647 648
2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>

649 650 651 652 653 654 655 656 657
	* emacs-lisp/smie.el: Improve warnings and conflict detection.
	(smie-warning-count): New var.
	(smie-set-prec2tab): Use it.
	(smie-bnf->prec2): Improve warnings.  Add docstring.
	(smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
	(smie-bnf--set-class): New function.
	(smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
	corner case.

658 659 660 661
	* progmodes/compile.el: Obey compilation-first-column in dest buffer.
	(compilation-error-properties, compilation-move-to-column):
	Handle compilation-first-column while in the target buffer.

662 663 664
	* progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
	Don't hardcode point-min==1.

665 666 667 668 669 670
	* eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
	(eshell-rewrite-for-command): Remove workaround.
	(eshell-do-pipelines, eshell-do-pipelines-synchronously)
	(eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
	* eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.

671 672
	* files-x.el (modify-file-local-variable): Obey commenting conventions.

Glenn Morris's avatar
Glenn Morris committed
673 674 675 676 677 678
2011-11-17  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/autoload.el (autoload-generate-file-autoloads):
	Ignore buffer-local generated-autoload-file if it is the same
	as the global value.  (Bug#10049)

Juanma Barranquero's avatar
Juanma Barranquero committed
679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694
2011-11-17  Juanma Barranquero  <lekktu@gmail.com>

	* textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
	(reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
	(reftex-toc-previous-heading, reftex-toc-max-level)
	(reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
	(reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
	(reftex-toc-do-promote, reftex-toc-promote-prepare)
	(reftex-toc-promote-action, reftex-toc-extract-section-number)
	(reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
	(reftex-toc-rename-label, reftex-toc-visit-location)
	(reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
	(reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
	(reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
	leaving "*toc*" only for references to the buffer.

695 696 697 698 699 700 701
2011-11-17  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-resize, delete-window, split-window):
	Replace window-splits by window-combination-resize.
	* cus-start.el (window-splits): Replace by
	window-combination-resize.

702 703 704 705 706
2011-11-17  Glenn Morris  <rgm@gnu.org>

	* progmodes/sh-script.el (sh-font-lock-keywords-var):
	Make bash entry derive from sh entry, not shell entry.

707 708 709 710 711
2011-11-16  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-cache.el (tramp-flush-file-property): Flush also
	properties of linked files.  (Bug#9879)

712 713 714
	* net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
	local file name.

Juanma Barranquero's avatar
Juanma Barranquero committed
715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734
2011-11-16  Juanma Barranquero  <lekktu@gmail.com>

	* menu-bar.el (menu-bar-file-menu):
	* printing.el (pr-ps-utility):
	* calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
	(icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
	(icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
	(icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
	(icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
	(icalendar--convert-cyclic-to-ical)
	(icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
	(icalendar--convert-ical-to-diary)
	(icalendar--convert-recurring-to-diary)
	(icalendar--convert-non-recurring-all-day-to-diary)
	(icalendar-import-format-sample):
	* progmodes/idlw-shell.el (idlwave-shell-mode):
	* progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
	(vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
	(vhdl-ps-print-init): Fix typos.

735 736
2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>

Glenn Morris's avatar
Glenn Morris committed
737 738 739
	* allout.el, allout-widgets.el (file metadata): Attribute copyright to
	FSF and collapse date sequence, obscure author/maintainer email address
	better, remove extra version line, track relocation of author's webpage.
740

Glenn Morris's avatar
Glenn Morris committed
741 742 743 744 745
	* progmodes/python.el (python-pdbtrack-input-prompt)
	(python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
	regular python pdb prompts.  Adjustments shamelessly taken exactly as
	suggested in EmacsWiki page (tiny change):
	http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
746

Juanma Barranquero's avatar
Juanma Barranquero committed
747 748 749 750 751 752 753 754 755 756 757 758 759
2011-11-16  Juanma Barranquero  <lekktu@gmail.com>

	* expand.el (expand-pos, expand-index, expand-point):
	Remove redundant info from docstring.
	(expand-add-abbrevs): Doc fix.
	(expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
	(expand-sample-perl-mode-expand-list): Fix typos.

	* net/dbus.el (dbus-event-member-name):
	* play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
	* term/pc-win.el (msdos-create-frame-with-faces):
	* textmodes/texinfmt.el (texinfo-format-image): Fix typos.

760 761 762 763 764 765 766 767
2011-11-16  Martin Rudalics  <rudalics@gmx.at>

	* window.el (split-window, window-state-get-1)
	(window-state-put-1, window-state-put-2): Rename occurrences of
	window-nest to window-combination-limit.
	* cus-start.el (window-nest): Rename to
	window-combination-limit.

768 769 770 771 772
2011-11-16  Chong Yidong  <cyd@gnu.org>

	* progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
	regexp (Bug#10033).

773 774 775 776 777 778 779 780 781
2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
	`completing-read' will remove *Completions* and will preserve
	current-buffer for us.
	(tmm-add-prompt): Users of *Completions* will always (re)set its
	major mode.
	(tmm-old-comp-map): Remove.

782 783 784 785 786 787 788 789
2011-11-16  Glenn Morris  <rgm@gnu.org>

	* mail/rmailedit.el: Require rmailmm when compiling.
	(rmail-old-mime-state): New declaration.
	(rmail-edit-current-message): If editing a mime message,
	edit the "raw" message from the mbox buffer.
	(rmail-cease-edit): Handle mime messages.  (Bug#9840)

790 791 792 793 794 795
2011-11-15  Glenn Morris  <rgm@gnu.org>

	* mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
	which wasn't being used.  Add optional arg to force given state.
	(rmail-mime): Add optional arg to force given state.

Juanma Barranquero's avatar
Juanma Barranquero committed
796 797 798 799 800 801 802 803 804 805 806 807 808
2011-11-15  Juanma Barranquero  <lekktu@gmail.com>

	* allout.el (allout-encryption-plaintext-sanitization-regexps):
	* frame.el (display-mm-dimensions-alist):
	* outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
	(outline-move-subtree-down):
	* net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
	(newsticker--treeview-do-get-node):
	* net/quickurl.el (quickurl-list-buffer-name):
	* progmodes/dcl-mode.el (dcl-mode):
	* progmodes/gdb-mi.el (gdb-mapcar*):
	* progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.

809 810 811 812 813 814 815 816 817 818
2011-11-15  Glenn Morris  <rgm@gnu.org>

	* mail/rmail.el (rmail-file-coding-system): It's only ever used
	in a boolean sense, so just make it a boolean, and fix the doc.
	(rmail-show-mime-function, rmail-mime-feature)
	(rmail-require-mime-maybe): Doc fixes.
	(rmail-show-message-1): Check rmail-show-mime-function is non-nil.

	* mail/rmailmm.el (rmail-show-mime): Doc fix.

Juanma Barranquero's avatar
Juanma Barranquero committed
819 820 821 822 823 824 825
2011-11-15  Juanma Barranquero  <lekktu@gmail.com>

	* epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
	(epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
	(epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
	(epg-start-generate-key, epg-context-set-progress-callback): Fix typos.

Glenn Morris's avatar
Glenn Morris committed
826 827
2011-11-15  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
828 829 830 831 832 833
	* mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
	(rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
	(rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
	(rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
	(rmail-mime, rmail-show-mime): Doc fixes.

Glenn Morris's avatar
Glenn Morris committed
834 835 836
	* term/ns-win.el (mode-line-frame-identification):
	Leave it alone.  (Bug#10051)

837 838
	* simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)

Glenn Morris's avatar
Glenn Morris committed
839 840 841
	* mail/rmailout.el (rmail-output-to-rmail-buffer):
	Handle empty buffers.  (Bug#9978)

Juanma Barranquero's avatar
Juanma Barranquero committed
842 843 844 845 846 847 848 849 850
2011-11-14  Juanma Barranquero  <lekktu@gmail.com>

	* international/mule.el (define-charset):
	* mail/rmailmm.el (rmail-mime-find-header-encoding):
	* progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
	* progmodes/verilog-mode.el (verilog-backward-token):
	* textmodes/ispell.el (lookup-words):
	* textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.

851 852
2011-11-14  Glenn Morris  <rgm@gnu.org>

853 854 855 856
	* progmodes/executable.el
	(executable-make-buffer-file-executable-if-script-p):
	Handle file-modes returning nil.

Glenn Morris's avatar
Glenn Morris committed
857 858 859
	* mail/rmailsum.el (rmail-summary): Remove movement to beginning of
	message - not necessary, and causes problems.  (Bug#9831)

860 861
	* mail/rmailsum.el (rmail-new-summary): Preserve message number.

862 863
	* mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.

864 865 866 867
	* mail/rmailsum.el (rmail-summary, rmail-new-summary)
	(rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
	(rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.

Martin Rudalics's avatar
Martin Rudalics committed
868 869 870 871 872 873 874
2011-11-12  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-resize, delete-window): Use window-splits
	variable instead of function.
	(window-state-get-1, window-state-put-2, window-state-put):
	Don't deal with windows' splits status.

Glenn Morris's avatar
Glenn Morris committed
875 876 877 878 879
2011-11-12  Glenn Morris  <rgm@gnu.org>

	* apropos.el (apropos-do-all, apropos-library, apropos-value)
	(apropos-documentation): Doc fixes.

Juanma Barranquero's avatar
Juanma Barranquero committed
880 881 882 883 884
2011-11-11  Juanma Barranquero  <lekktu@gmail.com>

	* progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
	* textmodes/sgml-mode.el (html-tag-help): Fix typos.

885 886 887 888 889 890
2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* electric.el (electric-indent-post-self-insert-function): Make it
	possible for a char to only indent in some circumstances.
	(electric-indent-mode): Simplify.

891 892 893 894 895
2011-11-11  Martin Rudalics  <rudalics@gmx.at>

	* window.el (windows-with-parameter): Remove unused function.
	(windows-at-side): Rename to window-at-side-list.
	(window-check, window-atom-check, window-atom-check-1)
896 897 898
	(window-side-check, window-size-ignore, window-size-fixed-1)
	(window-in-direction-2): Prefix with "window--".
	(window-tree-1): Rename to window--subtree, fix doc-string.
899

900 901 902 903 904
2011-11-11  Glenn Morris  <rgm@gnu.org>

	* subr.el (eval-after-load): If FILE is already loaded,
	evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)

905 906
2011-11-10  Glenn Morris  <rgm@gnu.org>

907 908 909 910 911
	* vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
	Call svn via vc-svn-command rather than vc-do-command.
	(vc-svn-command): Add --non-interactive.  (Bug#9993)
	(vc-svn-update, vc-svn-merge-news): No need for --non-interactive.

912 913 914 915 916
	* emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
	Add toggle-read-only.  (Bug#7292)
	* files.el (toggle-read-only): Mention that it should only
	be used interactively.  (Bug#10006)

917 918
2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>

919 920 921
	* progmodes/compile.el (compilation-error-regexp-alist-alist):
	Adjust regexp for OCaml warnings.

922 923 924
	* electric.el (electric-pair-post-self-insert-function): Let user
	turn it off buffer-locally (bug#9932).

925 926 927
	* progmodes/python.el (python-beginning-of-statement):
	Rewrite (bug#2703).

928 929 930 931 932
	* progmodes/compile.el: Better handle TABs (bug#9749).
	(compilation-internal-error-properties)
	(compilation-next-error-function): Obey the target buffer's
	compilation-error-screen-columns.

Juanma Barranquero's avatar
Juanma Barranquero committed
933 934 935 936 937 938
2011-11-09  Juanma Barranquero  <lekktu@gmail.com>

	* progmodes/meta-mode.el: Remove obsolete comments.
	(meta-right-comment-regexp, meta-ignore-comment-regexp):
	Fix typos in docstrings.

Martin Rudalics's avatar
Martin Rudalics committed
939 940 941
2011-11-09  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-size-fixed-p): Rewrite doc-string.
942
	(window-resizable-p): Rename to window--resizable-p.  Update callers.
Martin Rudalics's avatar
Martin Rudalics committed
943 944 945 946
	(window--resizable): New function.  Make all callers of
	window-resizable call window--resizable instead.
	(window-resizable): Rewrite in terms of window--resizable.

947 948 949 950 951
2011-11-08  Glenn Morris  <rgm@gnu.org>

	* progmodes/delphi.el (delphi-mode-syntax-table):
	Let define-derived-mode define a proper syntax table.  (Bug#9994)

952 953 954 955 956 957
2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* window.el: Stay away from defsubst.
	(window-list-no-nils): Remove.
	(window-state-get-1, window-state-get): Use backquote instead.

thierry volpiatto's avatar
thierry volpiatto committed
958 959
2011-11-08  thierry  <thierry.volpiatto@gmail.com>

960
	* emacs-lisp/find-func.el (find-function-read):
thierry volpiatto's avatar
thierry volpiatto committed
961 962
	Fix incorrect use of default argument in `completing-read'.

963 964 965 966 967
2011-11-08  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-function, special-display-function):
	Mention display-buffer-record-window but do not mention
	help-setup parameter in doc-strings.
968
	(window-min-delta): Fix doc-string typo.
969

970 971 972 973 974 975
2011-11-08  Chong Yidong  <cyd@gnu.org>

	* window.el (window-total-height, window-total-width): Doc fix.
	(window-body-size): Move from C.
	(window-body-height, window-body-width): Move to C.

976 977 978 979 980 981 982 983 984 985
2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* window.el: Make special-display like display-buffer-alist (bug#9532).
	(display-buffer--special-action): New function, morphed
	from display-buffer--special.
	(display-buffer): Use it to handle special-display-buffers at higher
	priority (just after display-buffer-alist).
	(display-buffer-fallback-action, display-buffer--other-frame-action)
	(pop-to-buffer-same-window): Remove display-buffer--special.

Glenn Morris's avatar
Glenn Morris committed
986 987 988 989 990
2011-11-07  Glenn Morris  <rgm@gnu.org>

	* calendar/cal-menu.el (cal-menu-set-date-title):
	Do nothing if not in a calendar.  (Bug#9976)

991 992 993 994
2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* files.el (find-file): Always use selected-window.

995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011
2011-11-07  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-combinations): Make WINDOW argument
	mandatory.  Rewrite doc-string.
	(walk-window-subtree, window-atom-check, window-min-delta)
	(window-max-delta, window--resize-this-window)
	(window--resize-root-window-vertically, window-tree)
	(balance-windows, window-state-put): Rewrite doc-strings as to
	not mention the term "subwindow".
	(window--resize-subwindows-skip-p): Rename to
	window--resize-child-windows-skip-p.
	(window--resize-subwindows-normal): Rename to
	window--resize-child-windows-normal.
	(window--resize-subwindows): Rename to
	window--resize-child-windows.
	(window-or-subwindow-p): Rename to window--in-subtree-p.

1012 1013 1014 1015 1016
2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)

	* mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
	Ensure that mbox format messages end in two newlines (Bug#9974).

1017 1018 1019 1020 1021 1022 1023
2011-11-06  Chong Yidong  <cyd@gnu.org>

	* window.el (window-combination-p): Function deleted; its
	side-effect is not used in any existing code.
	(window-combinations, window-combined-p): Call window-*-child
	directly.

1024 1025 1026
2011-11-05  Chong Yidong  <cyd@gnu.org>

	* window.el (window-valid-p): Rename from window-any-p.
1027 1028 1029
	(window-size-ignore, window-state-get): Callers changed.
	(window-normalize-window): Rename from window-normalize-any-window.
	New arg LIVE-ONLY, replacing window-normalize-live-window.
1030
	(window-normalize-live-window): Delete.
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044
	(window-combination-p, window-combined-p, window-combinations)
	(walk-window-subtree, window-atom-root, window-min-size)
	(window-sizable, window-sizable-p, window-size-fixed-p)
	(window-min-delta, window-max-delta, window-resizable)
	(window-resizable-p, window-full-height-p, window-full-width-p)
	(window-current-scroll-bars, window-point-1, set-window-point-1)
	(window-at-side-p, window-in-direction, window-resize)
	(adjust-window-trailing-edge, maximize-window, minimize-window)
	(window-deletable-p, delete-window, delete-other-windows)
	(record-window-buffer, unrecord-window-buffer)
	(switch-to-prev-buffer, switch-to-next-buffer, window--delete)
	(quit-window, split-window, window-state-put)
	(set-window-text-height, fit-window-to-buffer)
	(shrink-window-if-larger-than-buffer): Callers changed.
1045

1046 1047
2011-11-04  Eli Zaretskii  <eliz@gnu.org>

1048 1049 1050 1051 1052
	* mail/rmail.el (rmail-simplified-subject): Decode subject with
	rfc2047-decode-string.
	(rmail-mime-toggle-hidden): Declare to avoid byte-compilation
	warnings.

1053 1054 1055 1056
	* window.el (window-body-height, window-body-width): Mention in
	the doc string that the return values are in frame's canonical
	units.  (Bug#9949)

Alan Mackenzie's avatar
Alan Mackenzie committed
1057 1058 1059 1060 1061
2011-11-03  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
	change in cc-engine.el.

1062 1063 1064 1065
2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* window.el (switch-to-buffer): Use `force-same-window' interactively.

1066 1067 1068 1069
2011-11-02  Martin Rudalics  <rudalics@gmx.at>

	* window.el (quit-window): Call unrecord-window-buffer after
	showing another buffer in the window.  (Bug#9937)
1070
	(bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1071

Juanma Barranquero's avatar
Juanma Barranquero committed
1072 1073 1074 1075 1076 1077
2011-11-02  Juanma Barranquero  <lekktu@gmail.com>

	* vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
	Accept status with more than 9 shelves.  (Bug#9935)
	Reported by Colin D Bennett <colin@gibibit.com>.

1078 1079 1080 1081 1082
2011-11-01  Martin Rudalics  <rudalics@gmx.at>

	* help.el (with-help-window): Don't reference
	temp-buffer-show-specifiers in doc-string.

1083 1084 1085 1086 1087
2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>

	* subr.el (keymap--menu-item-with-binding): Ignore item if not a
	menu-item.

1088 1089 1090 1091 1092 1093
2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

	* whitespace.el: New version 13.2.2.
	(whitespace-newline-mode): Disable properly.  Reported by Sarah
	<EmacsWiki>.

1094 1095 1096 1097 1098
2011-10-30  Ulf Jasper  <ulf.jasper@web.de>

	* net/newst-treeview.el: Remove "Time-stamp".
	(newsticker--group-manage-orphan-feeds): Do not call
	newsticker--treeview-tree-update.
Juanma Barranquero's avatar
Juanma Barranquero committed
1099 1100
	(newsticker-treeview-update, newsticker-treeview):
	Call newsticker--treeview-tree-update if necessary.
1101

1102 1103 1104
2011-10-30  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-iso-combination-p, window-iso-combined-p)
1105 1106
	(window-iso-combinations): Remove "iso-" infix.
	Suggested by Chong Yidong.
1107 1108 1109 1110 1111 1112
	(window-min-size-1, window-size-fixed-1, window-min-delta-1)
	(window-max-delta-1, window-resize, window--resize-siblings)
	(window--resize-this-window, adjust-window-trailing-edge)
	(split-window, balance-windows-1)
	(shrink-window-if-larger-than-buffer):
	* calendar/calendar.el (calendar-generate-window):
Juanma Barranquero's avatar
Juanma Barranquero committed
1113
	* help.el (resize-temp-buffer-window): Adjust callers accordingly.
1114

1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128
2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
	in place (bug#9907).
	(eshell-subcommand-arg-values, eshell-rewrite-named-command)
	(eshell-rewrite-if-command, eshell-rewrite-for-command)
	(eshell-structure-basic-command, eshell-rewrite-while-command)
	(eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
	(eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
	(eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
	(eshell-do-pipelines-synchronously, eshell-eval-command):
	Use backquotes and prefer setq to set.
	(eshell-lookup-function, function-p-func, eshell-functionp): Remove.
	(eshell-macrop): Use functionp.
1129
	(eshell-do-eval): Handle multiple expressions in `while' body.
1130

1131 1132 1133 1134 1135
2011-10-30  Chong Yidong  <cyd@gnu.org>

	* emulation/viper-cmd.el (viper-exec-change): Use push-mark
	instead of set-mark (Bug#9810).

1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165
2011-10-30  Chong Yidong  <cyd@gnu.org>

	* window.el (split-window-below, split-window-right): Rename from
	split-window-above-each-other and split-window-side-by-side
	respectively.  All callers changed.
	(split-window-sensibly, split-window-sensibly): Use them.
	(split-window-keep-point): Doc fix.

	* isearch.el: Add isearch-scroll property to split-window-below
	and split-window-right.

	* follow.el (follow-mode):
	* vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
	* progmodes/ada-xref.el (ada-gdb-application):
	* emulation/vip.el (vip-buffer-in-two-windows):
	* image-dired.el (image-dired-dired-with-window-configuration):
	* dired-x.el (dired-do-find-marked-files):
	* dired.el (dired-pop-to-buffer):
	* bs.el (bs--show-with-configuration):
	* vc/emerge.el (emerge-setup-windows):
	* textmodes/two-column.el (2C-two-columns):
	* textmodes/reftex-toc.el (reftex-toc):
	* progmodes/gdb-mi.el (gdb-setup-windows):
	* progmodes/fortran.el (fortran-window-create):
	* net/newst-treeview.el (newsticker--treeview-window-init):
	* emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
	* emulation/tpu-edt.el (tpu-gold-map):
	* emulation/crisp.el (crisp-mode-map):
	* calendar/calendar.el (calendar-basic-setup): Callers changed.

1166 1167
2011-10-29  Chong Yidong  <cyd@gnu.org>

1168 1169
	* subr.el (y-or-n-p): Add code for batch mode (Bug#9818).

1170 1171
	* mouse.el (mouse-yank-primary): Push the mark (Bug#9894).

1172 1173 1174
	* textmodes/flyspell.el (flyspell-word): Fix char offset for
	forged Ispell output (Bug#7904).

1175 1176
	* emacs-lisp/package.el (package-refresh-contents): Add autoload.

1177 1178 1179 1180 1181 1182 1183 1184 1185
2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* doc-view.el: Avoid ugly errors about not finding nil.
	(doc-view-ghostscript-program, doc-view-dvipdfm-program)
	(doc-view-dvipdf-program, doc-view-unoconv-program)
	(doc-view-ps2pdf-program, doc-view-pdftotext-program):
	Avoid nil or absolute file name as default value.
	(doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.

1186 1187
2011-10-28  Alan Mackenzie  <acm@muc.de>

Juanma Barranquero's avatar
Juanma Barranquero committed
1188
	* progmodes/cc-defs.el (c-version): -> 5.32.2.
1189

Alan Mackenzie's avatar
Alan Mackenzie committed
1190 1191 1192 1193 1194
2011-10-28  Alan Mackenzie  <acm@muc.de>

	Amend the handling of c-beginning/end-of-defun in nested declaration
	scopes.

1195 1196
	* progmodes/cc-vars.el (c-defun-tactic): Move here from
	cc-langs.el.  Change it to a defcustom.
Alan Mackenzie's avatar
Alan Mackenzie committed
1197

1198 1199
	* progmodes/cc-langs.el (c-defun-tactic): Move this variable to
	cc-vars.el.
Alan Mackenzie's avatar
Alan Mackenzie committed
1200

1201 1202
	* progmodes/cc-engine.el (c-beginning-of-statement-1):
	Prevent "class foo : bar" being spuriously recognized as a label.
Alan Mackenzie's avatar
Alan Mackenzie committed
1203

1204
	* progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
1205
	Add parameter `inclusive' (to include enclosing braces in the region).
Alan Mackenzie's avatar
Alan Mackenzie committed
1206 1207 1208 1209 1210 1211 1212 1213
	(c-widen-to-enclosing-decl-scope): New function.
	(c-while-widening-to-decl-block): New macro.
	(c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
	outward for defun boundaries, and correspondingly change symbol
	`respect-enclosure' to `go-outward'.
	(c-declaration-limits): Change algorithm to report only the "innermost"
	defun's boundaries.

1214 1215 1216 1217
2011-10-28  Deniz Dogan  <deniz@dogan.se>

	* net/rcirc.el (rcirc-mode): Use hard newlines.

Alan Mackenzie's avatar
Merge  
Alan Mackenzie committed
1218 1219 1220 1221 1222
2011-10-28  Alan Mackenzie  <acm@muc.de>

	Amend to indent and fontify macros "which include their own semicolon"
	correctly, using the "virtual semicolon" mechanism.

1223
	* progmodes/cc-defs.el: Update "virtual semicolon" comments.
Alan Mackenzie's avatar
Merge  
Alan Mackenzie committed
1224

1225
	* progmodes/cc-engine.el (c-crosses-statement-barrier-p):
Juanma Barranquero's avatar
Juanma Barranquero committed
1226
	Recode to scan one line at a time rather than having \n and \r
Juanma Barranquero's avatar
Juanma Barranquero committed
1227
	explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
Alan Mackenzie's avatar
Merge  
Alan Mackenzie committed
1228
	(c-forward-label): Amend for virtual semicolons.
Juanma Barranquero's avatar
Juanma Barranquero committed
1229
	(c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
Alan Mackenzie's avatar
Merge  
Alan Mackenzie committed
1230

1231 1232
	* progmodes/cc-fonts.el (c-font-lock-declarations): Take account
	of the new C macros.
Alan Mackenzie's avatar
Merge  
Alan Mackenzie committed
1233

1234
	* progmodes/cc-langs.el (c-at-vsemi-p-fn):
1235 1236
	(c-vsemi-status-unknown-p-fn): Move to earlier in the file.
	(c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
Alan Mackenzie's avatar
Merge  
Alan Mackenzie committed
1237 1238 1239 1240
	(c-opt-cpp-macro-define): Make into a full language variable.
	(c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
	AWK Mode (including \n, \r) removed, no longer needed.

1241 1242
	* progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
	Invoke c-make-macro-with-semi-re.
Alan Mackenzie's avatar
Merge  
Alan Mackenzie committed
1243

1244 1245
	* progmodes/cc-vars.el (c-macro-with-semi-re):
	(c-macro-names-with-semicolon): New variables.
Juanma Barranquero's avatar
Juanma Barranquero committed
1246
	(c-make-macro-with-semi-re): New function.
Alan Mackenzie's avatar
Merge  
Alan Mackenzie committed
1247

1248 1249 1250 1251 1252 1253
2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc/log-edit.el: Fill empty field rather than adding new one.
	(log-edit-add-field): New function.
	(log-edit-insert-changelog): Use it.

1254 1255 1256 1257
2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)

	* mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).

1258 1259 1260 1261 1262 1263
2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
	(gdb--check-interpreter): New function.
	(gdb): Use it.

1264 1265
2011-10-27  Glenn Morris  <rgm@gnu.org>

1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278
	* emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
	(least-positive-float, least-negative-float)
	(least-positive-normalized-float, least-negative-normalized-float)
	(float-epsilon, float-negative-epsilon):
	Remove unnecessary declarations.

	* emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
	* emacs-lisp/cl.el (most-positive-float, most-negative-float)
	(least-positive-float, least-negative-float)
	(least-positive-normalized-float, least-negative-normalized-float)
	(float-epsilon, float-negative-epsilon): Add doc-strings,
	based on those in cl.texi.

1279 1280 1281
	* files.el (set-visited-file-name): If the major-mode changed,
	reload the local variables.  (Bug#9796)

1282 1283 1284 1285 1286
2011-10-27  Chong Yidong  <cyd@gnu.org>

	* subr.el (change-major-mode-after-body-hook): New hook.
	(run-mode-hooks): Run it.

1287 1288
	* emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
	Use change-major-mode-before-body-hook.
1289 1290 1291 1292 1293

	* simple.el (fundamental-mode):
	* emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
	change introducing fundamental-mode-hook.

1294 1295
2011-10-26  Juanma Barranquero  <lekktu@gmail.com>

1296
	* term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
1297

1298 1299 1300
2011-10-26  Michael Albinus  <michael.albinus@gmx.de>

	* ido.el (ido-file-name-all-completions-1): Do not require
Juanma Barranquero's avatar
Juanma Barranquero committed
1301
	tramp.el explicitly.  (Bug#7583)
1302

1303 1304 1305 1306 1307
2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/octave-mod.el:
	* progmodes/octave-inf.el: Update maintainer.

Chong Yidong's avatar
Chong Yidong committed
1308 1309 1310 1311
2011-10-26  Chong Yidong  <cyd@gnu.org>

	* subr.el (with-wrapper-hook): Rewrite doc.

1312 1313 1314
2011-10-25  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
1315
	filenames "/method:foo:".  (Bug#9793)
1316

1317 1318 1319 1320 1321
2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
	(bug#9865).

1322 1323 1324 1325
2011-10-24  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)

1326 1327 1328 1329 1330
2011-10-24  Michael Albinus  <michael.albinus@gmx.de>

	* notifications.el: Add the requirement of a running D-Bus session
	bus to the Commentary.

1331 1332 1333 1334 1335 1336
2011-10-24  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
	`search-whitespace-regexp' only when `isearch-regexp' is non-nil.
	(Bug#9364)

1337 1338 1339 1340 1341
2011-10-24  Juri Linkov  <juri@jurta.org>

	* info.el (Info-following-node-name-re): Add newline to the list
	of allowed characters for leading space.  (Bug#9824)

1342 1343
2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>

1344 1345
	* progmodes/octave-inf.el (inferior-octave-mode-map):
	Fix C-c C-h binding.
1346 1347
	* progmodes/octave-mod.el (octave-help): Remove.

Michael Albinus's avatar
Michael Albinus committed
1348 1349 1350 1351 1352 1353 1354 1355 1356
2011-10-23  Michael Albinus  <michael.albinus@gmx.de>

	Sync with Tramp 2.2.3.

	* net/tramp-cache.el (top): Pacify byte-compiler using
	`init-file-user' and `site-run-file'.

	* net/trampver.el: Update release number.

1357 1358 1359 1360 1361 1362 1363 1364 1365
2011-10-23  Chong Yidong  <cyd@gnu.org>

	* files.el (toggle-read-only): Remove obsolete comment about
	version control.

	* vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
	for toggle-read-only.  Note that this hasn't called vc-next-action
	since 2008-05-02, though it wasn't documented at the time.

1366 1367
	* vc/ediff-init.el (ediff-toggle-read-only-function):
	Use toggle-read-only.
1368

1369 1370 1371 1372 1373
2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>

	Fix bug #9560, sporadic wrong indentation; improve instrumentation
	of c-parse-state.

Glenn Morris's avatar
Glenn Morris committed
1374
	* progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1375
	correct faulty logical expression.
1376 1377 1378 1379
	(c-parse-state-state, c-record-parse-state-state):
	(c-replay-parse-state-state): New defvar/defuns.
	(c-debug-parse-state): Use new functions.

Martin Rudalics's avatar
Martin Rudalics committed
1380 1381 1382
2011-10-22  Martin Rudalics  <rudalics@gmx.at>

	* mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
1383
	last fix.  Use window-in-direction correctly.
Martin Rudalics's avatar
Martin Rudalics committed
1384

1385 1386 1387 1388
2011-10-21  Chong Yidong  <cyd@gnu.org>

	* progmodes/idlwave.el (idlwave-mode):
	* progmodes/vera-mode.el (vera-mode): No need to set
1389 1390
	require-final-newline; that's done in prog-mode.
	Suggested by Stefan Monnier.