]> git.eshelyaron.com Git - emacs.git/log
emacs.git
14 years agoAdd a new super-simple HTML renderer based on w3m -halfdump by Lars Magne Ingebrigtse...
Katsumi Yamaoka [Mon, 30 Aug 2010 06:13:50 +0000 (06:13 +0000)]
Add a new super-simple HTML renderer based on w3m -halfdump by Lars Magne Ingebrigtsen <larsi@gnus.org>.

 * gnus-html.el: Start a new super-simple HTML renderer based on w3m.

14 years agoMisc Gnus fixes by Lars Magne Ingebrigtsen <larsi@gnus.org>.
Katsumi Yamaoka [Mon, 30 Aug 2010 06:10:18 +0000 (06:10 +0000)]
Misc Gnus fixes by Lars Magne Ingebrigtsen <larsi@gnus.org>.

2010-08-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 * gnus.el (gnus-valid-select-methods): Remove reference to nngoogle,
 which doesn't exist.

 * message.el (message-inhibit-ecomplete): New variable to allow some
 function to inhibit ecomplete address storage.
 (message-resend): Disable ecomplete message storage when resending
 messages.

 * nntp.el (nntp-async-kluge): Remove the Emacs 20.3-related kluge.

14 years agocomposite.c (composition_update_it): Fix previous change
Kenichi Handa [Mon, 30 Aug 2010 01:58:52 +0000 (10:58 +0900)]
composite.c (composition_update_it): Fix previous change

14 years agocomposite.c (composition_update_it): Fix computing of cmp_it->width.
Kenichi Handa [Mon, 30 Aug 2010 00:32:29 +0000 (09:32 +0900)]
composite.c (composition_update_it): Fix computing of cmp_it->width.

14 years agoMerge Finder and package-menu functionality.
Chong Yidong [Sun, 29 Aug 2010 22:15:09 +0000 (18:15 -0400)]
Merge Finder and package-menu functionality.

* lisp/finder.el: Require `package'.
(finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
(finder-package-info): Var deleted.
(finder-keywords-hash, finder--builtins-alist): New vars.
(finder-compile-keywords): Compute package--builtins and
finder-keywords-hash instead of finder-keywords-hash, respecting
the "Package" header.
(finder-unknown-keywords, finder-list-matches): Use
finder-keywords-hash and package--list-packages.
(finder-mode): Don't set font-lock-defaults.
(finder-exit): We don't use "*Finder-package*" and "*Finder
Category*" buffers anymore.

* lisp/info.el (Info-finder-find-node): Search package-alist instead of
finder-package-info.

* lisp/emacs-lisp/package.el (package--builtins-base): Var deleted.
(package--builtins): Set default value to nil.
(package-initialize): Load precomputed value of package--builtins
from finder-inf.el.
(package-alist, package-compute-transaction)
(package-download-transaction): Improve docstring.
(package-read-all-archive-contents): Do not change
package--builtins here.
(list-packages): Make package-list-packages an alias for this.
Sort by status by default.
(package--list-packages): Add optional PACKAGES arg.
(describe-package-1): Use font-lock-face property.  For built-in
packages, insert file commentary.
(package--generate-package-list): Rename from
package-list-packages-internal; all callers changed.  Add optional
PACKAGES arg.  Add alphabetical sort fallbacks.
(package-menu--version-predicate, package-menu--status-predicate)
(package-menu--description-predicate)
(package-menu--name-predicate): New functions.

14 years agoAdd "Version:" and "Package:" Lisp file headers.
Chong Yidong [Sun, 29 Aug 2010 20:10:43 +0000 (16:10 -0400)]
Add "Version:" and "Package:" Lisp file headers.

14 years agoAdd "Package:" file headers to denote built-in packages.
Chong Yidong [Sun, 29 Aug 2010 16:17:13 +0000 (12:17 -0400)]
Add "Package:" file headers to denote built-in packages.

14 years ago* nsterm.m (ns_draw_window_cursor): Draw BAR_CURSOR correct for R2L.
Jan D [Sun, 29 Aug 2010 10:30:45 +0000 (12:30 +0200)]
* nsterm.m (ns_draw_window_cursor): Draw BAR_CURSOR correct for R2L.

14 years agoLet version-to-list handle versions like "10.3d".
Chong Yidong [Sun, 29 Aug 2010 01:31:45 +0000 (21:31 -0400)]
Let version-to-list handle versions like "10.3d".

* lisp/subr.el (version-regexp-alist): Don't use "a" and "b" for
"alpha" and "beta".
(version-to-list): Handle versions like "10.3d".

14 years ago* lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
Stefan Monnier [Sat, 28 Aug 2010 18:52:36 +0000 (20:52 +0200)]
* lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
(macroexp-accumulate): Use `declare'.

14 years agoImprove ELisp manual to fix bug #6929.
Eli Zaretskii [Sat, 28 Aug 2010 08:10:13 +0000 (11:10 +0300)]
Improve ELisp manual to fix bug #6929.

 display.texi (Fringe Size/Pos): Add a cross-reference to "Layout
 Parameters", where the default fringe width is described.
 frames.texi (Window Frame Parameters, Basic Parameters)
 (Position Parameters, Layout Parameters, Management Parameters)
 (Cursor Parameters, Font and Color Parameters): Add indexing for
 frame parameters.  (Bug#6929)

14 years agomsdos/ChangeLog: Document the change in 2010-08-22T21:15:20Z!cyd@stupidchicken.com.
Eli Zaretskii [Fri, 27 Aug 2010 09:29:32 +0000 (12:29 +0300)]
msdos/ChangeLog: Document the change in 2010-08-22T21:15:20Z!cyd@stupidchicken.com.

14 years agoAdjust type declaration.
Vinicius Jose Latorre [Fri, 27 Aug 2010 03:24:17 +0000 (00:24 -0300)]
Adjust type declaration.

14 years agognus-summary-(move,delete)-article: Save excursion while copying, moving,
Katsumi Yamaoka [Fri, 27 Aug 2010 01:53:01 +0000 (01:53 +0000)]
gnus-summary-(move,delete)-article: Save excursion while copying, moving,
 and deleting articles in order to prevent the cursor from jumping to
 unforeseen place.

14 years ago* progmodes/js.el: Make indentation more customizable (Bug#6914).
Nathan Weizenbaum [Thu, 26 Aug 2010 20:09:31 +0000 (16:09 -0400)]
* progmodes/js.el: Make indentation more customizable (Bug#6914).
(js-paren-indent-offset, js-square-indent-offset)
(js-curly-indent-offset): New options.
(js--proper-indentation): Use them.

14 years agoAvoid using font-lock properties to indent in sh-get-indent-info.
Daniel Colascione [Thu, 26 Aug 2010 15:26:33 +0000 (11:26 -0400)]
Avoid using font-lock properties to indent in sh-get-indent-info.

* progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
instead of inspecting font-lock properties (Bug#6916).

14 years agoserver.el (server-visit-files): Run pre-command-hook and
David Reitter [Thu, 26 Aug 2010 13:46:19 +0000 (09:46 -0400)]
server.el (server-visit-files): Run pre-command-hook and
post-command-hook for each buffer while it is current
(Bug#6910).
(server-execute): Do not run hooks here.

14 years agoSync with Tramp 2.1.19.
Michael Albinus [Thu, 26 Aug 2010 07:39:39 +0000 (09:39 +0200)]
Sync with Tramp 2.1.19.

* trampver.texi: Update release number.

14 years agoSync with Tramp 2.1.19.
Michael Albinus [Thu, 26 Aug 2010 07:33:16 +0000 (09:33 +0200)]
Sync with Tramp 2.1.19.

* net/trampver.el: Update release number.

14 years agoImprovements to describe-package buffer.
Chong Yidong [Thu, 26 Aug 2010 03:31:34 +0000 (23:31 -0400)]
Improvements to describe-package buffer.

* lisp/help.el (help-map): Bind `C-h P' to describe-package.

* lisp/menu-bar.el (menu-bar-describe-menu): Add describe-package.

* lisp/emacs-lisp/package.el (package-refresh-contents): Catch errors
when downloading archives.
(describe-package-1): Add package commentary.
(package-install-button-action): New function.
(package-menu-mode-map): Bind ? to package-menu-describe-package.
(package-menu-view-commentary): Function removed.
(package-list-packages-internal): Hide the `package' package too.

14 years agoxdisp.c (compute_stop_pos): Pay attention to bidi scan direction on calling compositi...
Kenichi Handa [Thu, 26 Aug 2010 00:47:34 +0000 (09:47 +0900)]
xdisp.c (compute_stop_pos): Pay attention to bidi scan direction on calling composition_compute_stop_pos.

14 years agomerge trunk
Kenichi Handa [Thu, 26 Aug 2010 00:28:08 +0000 (09:28 +0900)]
merge trunk

14 years ago* vol2.texi (Top): Update.
Tom Tromey [Wed, 25 Aug 2010 20:25:32 +0000 (14:25 -0600)]
* vol2.texi (Top): Update.
* vol1.texi (Top): Update.
* tips.texi (Library Headers): Mention Package-Version and
Package-Requires.
* package.texi: New file.
* os.texi (System Interface): Update pointers.
* elisp.texi (Top): Link to new nodes.  Include package.texi.
* anti.texi (Antinews): Update pointers.

14 years agomerge trunk
Kenichi Handa [Wed, 25 Aug 2010 08:15:45 +0000 (17:15 +0900)]
merge trunk

14 years ago* menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter on all frames.
Jan D [Wed, 25 Aug 2010 06:53:55 +0000 (08:53 +0200)]
* menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter on all frames.

14 years agomerge trunk
Kenichi Handa [Wed, 25 Aug 2010 06:15:12 +0000 (15:15 +0900)]
merge trunk

14 years agomerge trunk
Kenichi Handa [Wed, 25 Aug 2010 06:06:14 +0000 (15:06 +0900)]
merge trunk

14 years agofontset.c (reorder_font_vector): Prefer a font-spec specifying :otf.
Kenichi Handa [Wed, 25 Aug 2010 05:58:15 +0000 (14:58 +0900)]
fontset.c (reorder_font_vector): Prefer a font-spec specifying :otf.

14 years agoFix last change in processes.texi.
Eli Zaretskii [Wed, 25 Aug 2010 05:23:47 +0000 (01:23 -0400)]
Fix last change in processes.texi.

 processes.texi (Filter Functions): Fix last change.

14 years agomerge trunk
Kenichi Handa [Wed, 25 Aug 2010 05:15:20 +0000 (14:15 +0900)]
merge trunk

14 years agoAdd Arabic support.
Kenichi Handa [Wed, 25 Aug 2010 05:13:27 +0000 (14:13 +0900)]
Add Arabic support.

14 years agoAllow composition striding over PT.
Kenichi Handa [Wed, 25 Aug 2010 04:39:30 +0000 (13:39 +0900)]
Allow composition striding over PT.

14 years agomerge trunk
Kenichi Handa [Wed, 25 Aug 2010 04:06:15 +0000 (13:06 +0900)]
merge trunk

14 years agomerge trunk
Kenichi Handa [Wed, 25 Aug 2010 03:49:02 +0000 (12:49 +0900)]
merge trunk

14 years agoFix some bugs. New version 13.1.
Vinicius Jose Latorre [Wed, 25 Aug 2010 02:27:58 +0000 (23:27 -0300)]
Fix some bugs.  New version 13.1.

14 years agoFix finding a stop position for composition.
Kenichi Handa [Wed, 25 Aug 2010 00:54:05 +0000 (09:54 +0900)]
Fix finding a stop position for composition.

14 years ago* emacs-lisp/package.el (list-packages): Alias for package-list-packages.
Chong Yidong [Tue, 24 Aug 2010 21:36:33 +0000 (17:36 -0400)]
* emacs-lisp/package.el (list-packages): Alias for package-list-packages.

14 years ago* textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
Kevin Ryde [Tue, 24 Aug 2010 20:58:07 +0000 (16:58 -0400)]
* textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
(Bug#5651).

14 years agoFix filter functions discussion in Lisp manual.
Chong Yidong [Tue, 24 Aug 2010 20:43:24 +0000 (16:43 -0400)]
Fix filter functions discussion in Lisp manual.

* processes.texi (Filter Functions): Use `buffer-live-p' instead
of `buffer-name' in the main text as well as in the example
(Bug#3098).

14 years ago* progmodes/ruby-mode.el (ruby): Add defgroup.
Kevin Ryde [Tue, 24 Aug 2010 20:29:44 +0000 (16:29 -0400)]
* progmodes/ruby-mode.el (ruby): Add defgroup.

14 years ago* lisp/progmodes/python.el: Add Ipython support (Bug#5390).
Chong Yidong [Tue, 24 Aug 2010 20:20:21 +0000 (16:20 -0400)]
* lisp/progmodes/python.el: Add Ipython support (Bug#5390).
Based on a patch by Fabian Ezequiel Gallina.

(python-shell-prompt-alist)
(python-shell-continuation-prompt-alist): New options.
(python--set-prompt-regexp): New function.
(inferior-python-mode, run-python, python-shell): Require
ansi-color.  Use python--set-prompt-regexp to set the comint
prompt based on the Python interpreter.
(python--prompt-regexp): New var.
(python-check-comint-prompt)
(python-comint-output-filter-function): Use it.
(run-python): Use a pipe (Bug#5694).
(python-send-region): Send a different Python command if Ipython is in use.
(python-check-version): Use a Python command to find the version.

14 years agoAvoid clobbering primary selection when switching frames (Bug#6872).
Chong Yidong [Tue, 24 Aug 2010 15:48:14 +0000 (11:48 -0400)]
Avoid clobbering primary selection when switching frames (Bug#6872).

* lisp/mouse.el (mouse-yank-primary): Avoid setting primary when
deactivating the mark (Bug#6872).

* src/keyboard.c (command_loop_1): Don't set primary selection during
handle-switch-frame (Bug#6872).

14 years ago* NEWS: dbus.el supports alternative buses.
Michael Albinus [Mon, 23 Aug 2010 13:57:55 +0000 (15:57 +0200)]
* NEWS: dbus.el supports alternative buses.

14 years ago* dbus.texi (Alternative Buses): New chapter.
Michael Albinus [Mon, 23 Aug 2010 13:48:48 +0000 (15:48 +0200)]
* dbus.texi (Alternative Buses): New chapter.

14 years ago* net/dbus.el: Accept UNIX domain sockets as bus address.
Michael Albinus [Mon, 23 Aug 2010 13:08:54 +0000 (15:08 +0200)]
* net/dbus.el: Accept UNIX domain sockets as bus address.
(top): Don't initialize `dbus-registered-objects-table' anymore,
this is done in dbusbind,c.
(dbus-check-event): Adapt test for bus.
(dbus-return-values-table, dbus-unregister-service)
(dbus-event-bus-name, dbus-introspect, dbus-register-property):
Adapt doc string.

14 years ago* dbusbind.c: Accept UNIX domain sockets as bus address.
Michael Albinus [Mon, 23 Aug 2010 13:02:00 +0000 (15:02 +0200)]
* dbusbind.c: Accept UNIX domain sockets as bus address.
(Fdbus_close_bus): New function.
(Vdbus_registered_buses): New variable.
(xd_initialize): Implement string as bus address.
(Fdbus_init_bus): Add bus to Vdbus_registered_buses).
(Fdbus_get_unique_name, Fdbus_call_method)
(Fdbus_call_method_asynchronously, Fdbus_method_return_internal)
(Fdbus_method_error_internal, Fdbus_send_signal)
(Fdbus_register_signal, Fdbus_register_method): Remove bus type
check.  This is done in xd_initialize_bus.  Adapt doc string, if
necessary.
(xd_pending_messages, xd_read_queued_messages): Loop over buses in
Vdbus_registered_buses.
(Vdbus_registered_objects_table): Create hash.

14 years agoFix configure checks
Andreas Schwab [Mon, 23 Aug 2010 12:54:09 +0000 (14:54 +0200)]
Fix configure checks

* configure.in: Fix check for librsvg, imagemagick and
MagickExportImagePixels.

14 years agosrc/ChangeLog: Fix typos.
Juanma Barranquero [Mon, 23 Aug 2010 10:28:12 +0000 (12:28 +0200)]
src/ChangeLog: Fix typos.

14 years ago* ido.el (ido-use-virtual-buffers): Fix typo in docstring.
Juanma Barranquero [Mon, 23 Aug 2010 10:21:01 +0000 (12:21 +0200)]
* ido.el (ido-use-virtual-buffers): Fix typo in docstring.

14 years agoMove reading an extended command to Elisp (bug#5364, bug#5214).
Juri Linkov [Sun, 22 Aug 2010 23:27:59 +0000 (00:27 +0100)]
Move reading an extended command to Elisp (bug#5364, bug#5214).

* lisp/simple.el (read-extended-command): New function with the logic
for `completing-read' moved to Elisp from `execute-extended-command'.
Use `function-called-at-point' in `minibuffer-default-add-function'
to get a command name for M-n (bug#5364, bug#5214).

* src/keyboard.c (Fexecute_extended_command): Move reading a command name
with `completing-read' to a new Elisp function `read-extended-command'.
Call it to read a command to `function'  (bug#5364, bug#5214).

14 years agoMake obsolete --unibyte argument do nothing (Bug#6886).
Chong Yidong [Sun, 22 Aug 2010 21:15:20 +0000 (17:15 -0400)]
Make obsolete --unibyte argument do nothing (Bug#6886).

* src/emacs.c (main): Remove --unibyte handling (Bug#6886).

* lisp/startup.el (command-line-1): Issue warning for ignored arguments
--unibyte, etc (Bug#6886).

* doc/lispref/nonascii.texi (Text Representations):
* doc/lispref/loading.texi (Loading Non-ASCII):
* doc/lispref/compile.texi (Byte Compilation): Don't mention obsolete
--unibyte command-line argument.

14 years agoMerge changes from emacs-23 branch.
Chong Yidong [Sun, 22 Aug 2010 20:02:16 +0000 (16:02 -0400)]
Merge changes from emacs-23 branch.

14 years agoDoc fix for define-minor-mode (Bug#6880).
Chong Yidong [Sun, 22 Aug 2010 19:30:26 +0000 (15:30 -0400)]
Doc fix for define-minor-mode (Bug#6880).

* doc/lispref/modes.texi (Defining Minor Modes): Doc fix (Bug#6880).

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

14 years agoFix dependencies according to 2010-08-22T15:14:37Z!dann@ics.uci.edu.
Eli Zaretskii [Sun, 22 Aug 2010 17:18:52 +0000 (20:18 +0300)]
Fix dependencies according to 2010-08-22T15:14:37Z!dann@ics.uci.edu.

 deps.mk (sysdep.o, msdos.o): Depend on sysselect.h.

14 years agoFix the w32 build after 2010-08-22T15:14:37Z!dann@ics.uci.edu.
Eli Zaretskii [Sun, 22 Aug 2010 17:00:08 +0000 (20:00 +0300)]
Fix the w32 build after 2010-08-22T15:14:37Z!dann@ics.uci.edu.

 sysselect.h [WINDOWSNT]: Don't define the FD_* and select stuff for w32.
 s/ms-w32.h (HAVE_SYS_TIMEB_H): Don't #undef HAVE_SYS_SELECT_H, it's done
 in nt/config.nt.
 makefile.w32-in ($(BLD)/sysdep.$(O)): Depend on sysselect.h.

14 years agoClean up and ANSIfy unexcoff.c.
Eli Zaretskii [Sun, 22 Aug 2010 15:43:00 +0000 (18:43 +0300)]
Clean up and ANSIfy unexcoff.c.

 unexcoff.c (report_error, make_hdr, write_segment)
 (copy_text_and_data, copy_sym, mark_x, adjust_lnnoptrs, unexec):
 Convert argument lists and prototypes to ANSI C.
 (make_hdr, write_segment): Remove unused variables.
 (unexec): Remove commented-out line.  Initialize `new' to shut up
 compiler warnings.

14 years agoClean up unexcoff.c.
Eli Zaretskii [Sun, 22 Aug 2010 15:37:01 +0000 (18:37 +0300)]
Clean up unexcoff.c.

 unexcoff.c (report_error, make_hdr, write_segment)
 (copy_text_and_data, copy_sym, mark_x, adjust_lnnoptrs, unexec):
 Convert argument lists and prototypes to ANSI C.
 (make_hdr, write_segment): Remove unused variables.
 (unexec): Remove commented-out line.  Initialize `new' to shut up
 compiler warnings.

14 years agoSimplify termio code.
Dan Nicolaescu [Sun, 22 Aug 2010 15:14:37 +0000 (08:14 -0700)]
Simplify termio code.
All non-MSDOS non-WINDOWSNT platforms define HAVE_TERMIOS, so
HAVE_TERMIO code is obsolete.
Replace HAVE_TERMIOS conditionals with !DOS_NT.
* src/systty.h: Do not define HAVE_TCATTR.
Remove HAVE_TERMIO, HAVE_LTCHARS and HAVE_TCHARS code.
Do not define EMACS_HAVE_TTY_PGRP.  Only define
EMACS_GET_TTY_PGRP for !DOS_NT.
* src/sysdep.c: Include sysselect.h unconditionally.  Do not include
sys/ioctl.h and termios.h, systty.h does it.  Use
HAVE_SYS_UTSNAME_H instead of USG as an include guard.
(init_baud_rate): Remove HAVE_TERMIO code.
(child_setup_tty): Remove HAVE_TERMIO code.
(emacs_get_tty, emacs_set_tty): Remove HAVE_TERMIO, HAVE_TCHARS
and HAVE_LTCHARS code.  Use !DOS_NT instead of HAVE_TCATTR.
(new_ltchars, new_tchars): Remove, unused.
(init_sys_modes): Remove HAVE_TERMIO, HAVE_TCHARS and HAVE_LTCHARS
code.  Remove special casing for __mips__, it was a no-op.  Remove
HAVE_TCATTR conditional, it is implied by HAVE_TERMIOS.
(init_sys_modes): Remove HPUX special case.
* src/process.c: Include stdlib.h unconditionally.  Do not include
fcntl.h, systty.h does it.  Remove conditional code for
HAVE_SERIAL, it is always true.
(process_send_signal): Remove HAVE_TERMIOS conditional, it's
always true when SIGNALS_VIA_CHARACTERS is true.
(Fcontinue_process, Fprocess_send_eof): Simplify conditionals:
!WINDOWSNT means HAVE_TERMIOS.
(create_process): Remove HAVE_TERMIOS, it's inside a HAVE_PTYS
conditional, which is true for all HAVE_TERMIOS systems.
* src/keyboard.c (init_keyboard): Do not use HAVE_TERMIO, use !DOS_NT
instead of HAVE_TERMIOS.
* src/emacs.c (shut_down_emacs): Use !defined DOS_NT instead of
EMACS_HAVE_TTY_PGRP.
* src/callproc.c (child_setup): Move EMACS_SET_TTY_PGRP use to the
non-MSDOS, non-WINDOWSNT code, it's only defined for such systems
anyway.

14 years agomerge whitespace.el change from trunk
Chong Yidong [Sun, 22 Aug 2010 04:12:25 +0000 (00:12 -0400)]
merge whitespace.el change from trunk

14 years agoInsert bug number.
Vinicius Jose Latorre [Sat, 21 Aug 2010 19:26:43 +0000 (16:26 -0300)]
Insert bug number.

14 years ago* cus-edit.el (custom-group-value-create): Add extra newline before end line (Bug...
Chong Yidong [Sat, 21 Aug 2010 14:46:43 +0000 (10:46 -0400)]
* cus-edit.el (custom-group-value-create): Add extra newline before end line (Bug#6876).

14 years ago* lisp/vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
Stefan Monnier [Sat, 21 Aug 2010 14:09:46 +0000 (16:09 +0200)]
* lisp/vc/add-log.el (add-log-file-name): Don't get confused by symlinks.

14 years agoFix buffer-list rename&refresh after after killing a buffer in ido.
Leo Liu [Sat, 21 Aug 2010 13:35:27 +0000 (15:35 +0200)]
Fix buffer-list rename&refresh after after killing a buffer in ido.
* lisp/ido.el: Revert Óscar's.
(ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
Remember the buffers at head, rather than their name.
* lisp/iswitchb.el (iswitchb-kill-buffer): Re-make the list.

14 years agoxdisp.c: Fix typo in a comment in note_tool_bar_highlight.
Eli Zaretskii [Sat, 21 Aug 2010 13:25:03 +0000 (16:25 +0300)]
xdisp.c: Fix typo in a comment in note_tool_bar_highlight.

14 years agoFix mirroring pixel positions on GUI terminals.
Eli Zaretskii [Sat, 21 Aug 2010 09:35:31 +0000 (12:35 +0300)]
Fix mirroring pixel positions on GUI terminals.

 dispnew.c (buffer_posn_from_coords): Fix off-by-one error in
 mirroring pixel positions.

14 years ago* progmodes/make-mode.el (makefile-fill-paragraph): Account for the
Stefan Monnier [Sat, 21 Aug 2010 09:19:38 +0000 (11:19 +0200)]
* progmodes/make-mode.el (makefile-fill-paragraph): Account for the
extra backslash added to each line.

Fixes: debbugs:6890
14 years ago* subr.el (read-key): Don't echo keystrokes.
Stefan Monnier [Sat, 21 Aug 2010 08:56:54 +0000 (10:56 +0200)]
* subr.el (read-key): Don't echo keystrokes.

Fixes: debbugs:6883
14 years agoCleanups and fixes for mouse-save-then-kill and mouse-secondary-save-then-kill.
Chong Yidong [Sat, 21 Aug 2010 04:46:23 +0000 (00:46 -0400)]
Cleanups and fixes for mouse-save-then-kill and mouse-secondary-save-then-kill.

* mouse.el (mouse-save-then-kill): Don't save region to kill ring
when extending it.  Before killing on the second click, check if
the buffer is the correct one.  Doc fix.
(mouse-secondary-save-then-kill): Allow usage without first
calling mouse-start-secondary, by defaulting to point.  Don't save
an empty secondary selection.  Doc fix.

14 years agoFix slow cursor movement.
Vinicius Jose Latorre [Sat, 21 Aug 2010 04:43:04 +0000 (01:43 -0300)]
Fix slow cursor movement.

14 years agoChangeLog fixes.
Glenn Morris [Sat, 21 Aug 2010 02:21:51 +0000 (19:21 -0700)]
ChangeLog fixes.

14 years ago* doc/emacs/misc.texi (Amusements): Mention bubbles and animate.
Glenn Morris [Sat, 21 Aug 2010 02:14:07 +0000 (19:14 -0700)]
* doc/emacs/misc.texi (Amusements): Mention bubbles and animate.

14 years ago* lisp/menu-bar.el (menu-bar-games-menu): Add landmark.
Glenn Morris [Sat, 21 Aug 2010 02:11:34 +0000 (19:11 -0700)]
* lisp/menu-bar.el (menu-bar-games-menu): Add landmark.

14 years agoRemove unused variables malloc_sbrk_used and malloc_sbrk_unused.
Dan Nicolaescu [Fri, 20 Aug 2010 23:02:11 +0000 (16:02 -0700)]
Remove unused variables malloc_sbrk_used and malloc_sbrk_unused.
* src/alloc.c (malloc_sbrk_used, malloc_sbrk_unused): Remove,
write only.
(init_alloc_once): Remove writes to malloc_sbrk_unused, and
malloc_sbrk_used, nothing uses them.

14 years agoSmall src/puresize.h cleanup.
Dan Nicolaescu [Fri, 20 Aug 2010 22:52:10 +0000 (15:52 -0700)]
Small src/puresize.h cleanup.
* src/puresize.h: Remove code assuming PNTR_COMPARISON_TYPE is not
defined, unconditionally defined in lisp.h.

14 years ago* src/term.c: Do not include <termios.h>, systty.h does it.
Dan Nicolaescu [Fri, 20 Aug 2010 22:44:38 +0000 (15:44 -0700)]
* src/term.c: Do not include <termios.h>, systty.h does it.

14 years agoRemove redundant HAVE_TCATTR defines.
Dan Nicolaescu [Fri, 20 Aug 2010 22:36:07 +0000 (15:36 -0700)]
Remove redundant HAVE_TCATTR defines.
* src/s/unixware.h (HAVE_TCATTR):
* src/s/aix4-2.h (HAVE_TCATTR): Remove definitions, not needed.
systty.h defines it when HAVE_TERMIOS is defined.

14 years agoFix last change in buffer_posn_from_coords for text terminals.
Eli Zaretskii [Fri, 20 Aug 2010 21:01:36 +0000 (00:01 +0300)]
Fix last change in buffer_posn_from_coords for text terminals.

 dispnew.c (buffer_posn_from_coords): Add one-character offset for R2L lines.

14 years agoFix last change in buffer_posn_from_coords for text terminals.
Eli Zaretskii [Fri, 20 Aug 2010 20:55:09 +0000 (23:55 +0300)]
Fix last change in buffer_posn_from_coords for text terminals.

 dispnew.c (buffer_posn_from_coords): Add one-character offset for R2L lines.

14 years agoFix the MSDOS build broken by the ImageMagick support.
Eli Zaretskii [Fri, 20 Aug 2010 20:26:12 +0000 (23:26 +0300)]
Fix the MSDOS build broken by the ImageMagick support.

 sed1v2.inp (IMAGEMAGICK_LIBS, IMAGEMAGICK_CFLAGS): Edit to empty.

14 years agoAdd cross-references regarding POSITION of mouse events.
Eli Zaretskii [Fri, 20 Aug 2010 20:07:29 +0000 (23:07 +0300)]
Add cross-references regarding POSITION of mouse events.

 commands.texi (Misc Events): Add cross-references to where
 POSITION of a mouse event is described in detail.

14 years agomerge from upstream
Joakim Verona [Fri, 20 Aug 2010 20:00:00 +0000 (22:00 +0200)]
merge from upstream

14 years agominor imagemagick tweaks, one configure bugfix, and some ChangeLogs
Joakim Verona [Fri, 20 Aug 2010 19:55:21 +0000 (21:55 +0200)]
minor imagemagick tweaks, one configure bugfix, and some ChangeLogs

14 years agoFix version string in top-level MSDOS Makefile.
Eli Zaretskii [Fri, 20 Aug 2010 19:49:20 +0000 (22:49 +0300)]
Fix version string in top-level MSDOS Makefile.

 msdos/mainmake.v2 (version): Update due to change in emacs.c.
 src/emacs.c <emacs_version>: Add a comment regarding msdos/mainmake.v2's
 dependency on the syntax of this declaration.

14 years agoFix version string in top-level MSDOS Makefile.
Eli Zaretskii [Fri, 20 Aug 2010 19:45:24 +0000 (22:45 +0300)]
Fix version string in top-level MSDOS Makefile.

 msods/mainmake.v2 (version): Update due to change in emacs.c.
 src/emacs.c <emacs_version>: Add a comment regarding msdos/mainmake.v2's
 dependency on the syntax of this declaration.

14 years agoxdisp.c: Add commentary about iterator geometry in R2L paragraphs.
Eli Zaretskii [Fri, 20 Aug 2010 14:31:38 +0000 (17:31 +0300)]
xdisp.c: Add commentary about iterator geometry in R2L paragraphs.

14 years agoFix mouse clicks, drag, and highlight in R2L lines.
Eli Zaretskii [Fri, 20 Aug 2010 14:19:39 +0000 (17:19 +0300)]
Fix mouse clicks, drag, and highlight in R2L lines.

 dispnew.c (buffer_posn_from_coords): Fix calculation of buffer
 position for R2L lines by mirroring the pixel position wrt the
 text are box.  Improve commentary.

14 years ago* image.c (imagemagick_clear_image): Remove debugging output.
Andreas Schwab [Fri, 20 Aug 2010 12:02:43 +0000 (14:02 +0200)]
* image.c (imagemagick_clear_image): Remove debugging output.

14 years agoMinor align-regexp fix.
Glenn Morris [Fri, 20 Aug 2010 07:33:06 +0000 (00:33 -0700)]
Minor align-regexp fix.

* lisp/align.el (align-regexp): Make group and spacing arguments use
the interactive defaults when non-interactive.  (Bug#6698)

14 years agoFix rmail-forward with non-sendmail sending function.
Glenn Morris [Fri, 20 Aug 2010 07:11:35 +0000 (00:11 -0700)]
Fix rmail-forward with non-sendmail sending function.

* lisp/mail/rmail.el (rmail-forward): Replace mail-text-start with its
expansion, so as not to need sendmail.
(mail-text-start): Remove declaration.
(rmail-retry-failure): Require sendmail.

14 years ago* objects.texi (Bool-Vector Type): Minor definition tweak (Bug#6878).
Chong Yidong [Thu, 19 Aug 2010 23:23:13 +0000 (19:23 -0400)]
* objects.texi (Bool-Vector Type): Minor definition tweak (Bug#6878).

14 years ago* lisp/files.el (locate-file-completion-table): Only list the .el and .elc
Stefan Monnier [Thu, 19 Aug 2010 21:21:21 +0000 (23:21 +0200)]
* lisp/files.el (locate-file-completion-table): Only list the .el and .elc
extensions if there's no other choice.

Fixes: debbugs:5955
14 years agont/addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
Juanma Barranquero [Thu, 19 Aug 2010 16:38:41 +0000 (18:38 +0200)]
nt/addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.

14 years ago(set_frame_menubar): Remove call to undefined function.
Jason Rumney [Thu, 19 Aug 2010 15:53:08 +0000 (23:53 +0800)]
(set_frame_menubar): Remove call to undefined function.

14 years agoNew post-self-insert-hook.
Stefan Monnier [Thu, 19 Aug 2010 15:43:45 +0000 (17:43 +0200)]
New post-self-insert-hook.
* src/cmds.c (Vself_insert_face, Vself_insert_face_command): Remove.
(Qpost_self_insert_hook, Vpost_self_insert_hook): New vars.
(internal_self_insert): Run post-self-insert-hook rather than handle
self-insert-face.
(syms_of_cmds): Initialize the new vars.
* lisp/facemenu.el (facemenu-self-insert-data): New var.
(facemenu-post-self-insert-function, facemenu-set-self-insert-face): New funs.
(facemenu-add-face): Use them.

14 years ago(w32_wnd_proc): Don't check context before initializing.
Jason Rumney [Thu, 19 Aug 2010 14:51:09 +0000 (22:51 +0800)]
(w32_wnd_proc): Don't check context before initializing.

14 years ago* lisp/subr.el (read-key): Don't hide the menu-bar entries.
Stefan Monnier [Thu, 19 Aug 2010 14:37:31 +0000 (16:37 +0200)]
* lisp/subr.el (read-key): Don't hide the menu-bar entries.

Fixes: debbugs:6881
14 years ago* lisp/simple.el (blink-matching-open): Obey forward-sexp-function.
Stefan Monnier [Thu, 19 Aug 2010 09:37:40 +0000 (11:37 +0200)]
* lisp/simple.el (blink-matching-open): Obey forward-sexp-function.

14 years agoupstream merge
Joakim Verona [Thu, 19 Aug 2010 07:34:21 +0000 (09:34 +0200)]
upstream merge

14 years agosome minor cosmetic fixes in comments
Joakim Verona [Thu, 19 Aug 2010 07:29:27 +0000 (09:29 +0200)]
some minor cosmetic fixes in comments

14 years agofix some accidental whitespace changes
Joakim Verona [Thu, 19 Aug 2010 07:23:06 +0000 (09:23 +0200)]
fix some accidental whitespace changes