bpt/emacs.git
14 years agoRemove support for DJGPP v1.x (bug#5813).
Eli Zaretskii [Thu, 1 Apr 2010 14:59:46 +0000 (17:59 +0300)]
Remove support for DJGPP v1.x (bug#5813).

 src/:
 w16select.c (__dpmi_int): Remove DJGPP v1.x compatibility.
 s/msdos.h:
 unexec.c (make_hdr, copy_text_and_data):
 sysdep.c (wait_for_termination, sys_subshell):
 msdos.c (dos_set_window_size, msdos_set_cursor_shape)
 (IT_set_terminal_modes):
 (__write, _rename, gethostname, gettimeofday, alarm, fork, kill)
 (dos_ttraw, dos_ttcooked, run_msdos_command, abort): Remove DJGPP
 v1.x code and tests of the value of __DJGPP__.
 (nice, pause, sigsetmask, sigblock): Remove DJGPP v1.x
 compatibility code.
 lread.c:
 gmalloc.c (memalign):
 fileio.c (Fcopy_file, check_executable, Ffile_modes):
 emacs.c (main):
 dosfns.c (init_dosfns):
 dired.c (file_name_completion_stat): Remove tests of __DJGPP__.

 msdos/:
 sed3.inp:
 sed2.inp:
 sed1.inp:
 mainmake: Files removed.

14 years agoFix bug #5816.
Eli Zaretskii [Thu, 1 Apr 2010 12:37:28 +0000 (15:37 +0300)]
Fix bug #5816.

 xdisp.c (set_cursor_from_row): Fix cursor positioning when the
 string with `cursor' property comes from an `after-string' overlay.

14 years ago(Finding the News): Add pointers to the Server buffer because it's essential.
Katsumi Yamaoka [Thu, 1 Apr 2010 10:55:01 +0000 (10:55 +0000)]
(Finding the News): Add pointers to the Server buffer because it's essential.
By Teodor Zlatanov <tzz@lifelogs.com>.

14 years agoCosmetic change to src/Makefile.in.
Glenn Morris [Thu, 1 Apr 2010 07:10:31 +0000 (00:10 -0700)]
Cosmetic change to src/Makefile.in.

* Makefile.in (LIBTIFF, LIBJPEG, LIBPNG, LIBGIF, LIBXPM, XFT_LIBS):
Define as Makefile variables.
(LIBX): Use above variables rather than directly using autoconf.

14 years ago[merge] Fix last set of Nextstep changes.
Chong Yidong [Wed, 31 Mar 2010 22:28:12 +0000 (18:28 -0400)]
[merge] Fix last set of Nextstep changes.

* nsfns.m (ns_set_doc_edited): Remove unused arg OLDVAL.
* nsterm.h: Fix prototype.

14 years ago* cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
Chong Yidong [Wed, 31 Mar 2010 22:22:17 +0000 (18:22 -0400)]
* cus-edit.el (custom-buffer-sort-alphabetically): Update :version.

14 years agoClean up BSD_SYSTEM use.
Dan Nicolaescu [Wed, 31 Mar 2010 20:39:03 +0000 (13:39 -0700)]
Clean up BSD_SYSTEM use.
* xterm.c:
* process.c:
* emacs.c: Use HAVE_SYS_IOCTL_H instead of BSD_SYSTEM as a guard
for including <sys/ioctl.h>.
* sysdep.c (wait_without_blocking): Remove BSD_SYSTEM case, this
code is only used for MSDOS.

14 years ago* simple.el (next-line, previous-line): Re-throw a signal
Juri Linkov [Wed, 31 Mar 2010 15:16:12 +0000 (18:16 +0300)]
* simple.el (next-line, previous-line): Re-throw a signal
with `signal' instead of using `ding'.
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html

14 years ago* simple.el (keyboard-escape-quit): Raise deselecting the active
Juri Linkov [Wed, 31 Mar 2010 15:02:53 +0000 (18:02 +0300)]
* simple.el (keyboard-escape-quit): Raise deselecting the active
region higher than exiting the minibuffer.
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html

14 years agoRename `image-extension-data' to `image-metadata'.
Juri Linkov [Wed, 31 Mar 2010 14:55:01 +0000 (17:55 +0300)]
Rename `image-extension-data' to `image-metadata'.
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01456.html

* image.c: Add `Qextension_data'.
(syms_of_image): Initialize and staticpro `Qextension_data'.
(Fimage_metadata): Rename from `Fimage_extension_data'.
(gif_load): Put GIF extension data to the property
`Qextension_data'.

* image.el (image-animated-p): Use `image-metadata' instead of
`image-extension-data'.  Get GIF extenstion data from metadata
property `extension-data'.

14 years agoFix highlight of trailing whitespace is right-to-left lines.
Eli Zaretskii [Wed, 31 Mar 2010 14:28:16 +0000 (17:28 +0300)]
Fix highlight of trailing whitespace is right-to-left lines.

 xdisp.c (highlight_trailing_whitespace): Support highlight of
 trailing whitespace in right-to-left rows.

14 years agoUpdate.
Katsumi Yamaoka [Wed, 31 Mar 2010 06:45:38 +0000 (06:45 +0000)]
Update.

14 years ago(gnus-article-browse-html-save-cid-content): Rename from
Katsumi Yamaoka [Wed, 31 Mar 2010 06:44:35 +0000 (06:44 +0000)]
(gnus-article-browse-html-save-cid-content): Rename from
 gnus-article-browse-html-save-cid-image;
 make it work recursively for forwarded messages as well.
(gnus-article-browse-html-parts): Work when prefix arg is given.
(gnus-article-browse-html-article): Doc fix.

14 years agoGet rid of the direct_output optimizations.
Stefan Monnier [Wed, 31 Mar 2010 04:14:08 +0000 (00:14 -0400)]
Get rid of the direct_output optimizations.
* keyboard.c (nonundocount): Remove extern declaration.
(command_loop_1): Remove brittle optimisation for cheap and common operations.
* xdisp.c (redisplay_internal): Don't bother checking
redisplay_performed_directly_p any more.
* sysdep.c (init_sys_modes): Don't call direct_output_forward_char any more.
* dispnew.c (redisplay_performed_directly_p)
(direct_output_for_insert, direct_output_forward_char):
* dispextern.h (redisplay_performed_directly_p)
(direct_output_for_insert, direct_output_forward_char): Remove.
* cmds.c (nonundocount): Make it static.

14 years agoChange name of default value of calc-settings-file to ~/.emacs.d/calc.el throughout.
Jay Belanger [Wed, 31 Mar 2010 03:47:52 +0000 (22:47 -0500)]
Change name of default value of calc-settings-file to ~/.emacs.d/calc.el throughout.

14 years ago* simple.el (append-to-buffer): Simplify.
Stefan Monnier [Wed, 31 Mar 2010 02:53:53 +0000 (22:53 -0400)]
* simple.el (append-to-buffer): Simplify.

14 years agoMerge from emacs-23 branch
Stefan Monnier [Wed, 31 Mar 2010 02:37:57 +0000 (22:37 -0400)]
Merge from emacs-23 branch

14 years ago(keys_of_window): Remove redundant/overridden bindings.
Stefan Monnier [Wed, 31 Mar 2010 02:08:05 +0000 (22:08 -0400)]
(keys_of_window): Remove redundant/overridden bindings.

14 years ago* files.el (auto-mode-case-fold): Change default to t.
Stefan Monnier [Wed, 31 Mar 2010 01:51:54 +0000 (21:51 -0400)]
* files.el (auto-mode-case-fold): Change default to t.

14 years ago(MIME Commands): Update description of gnus-article-browse-html-article.
Katsumi Yamaoka [Wed, 31 Mar 2010 00:08:42 +0000 (00:08 +0000)]
(MIME Commands): Update description of gnus-article-browse-html-article.

14 years ago* menu.c (Fx_popup_menu): Use last_event_timestamp (Bug#4930).
Chong Yidong [Tue, 30 Mar 2010 23:26:38 +0000 (19:26 -0400)]
* menu.c (Fx_popup_menu): Use last_event_timestamp (Bug#4930).

14 years ago* textmodes/artist.el (artist-mode): Fix typo in docstring. (Bug#5807)
Tomas Abrahamsson [Tue, 30 Mar 2010 21:41:01 +0000 (23:41 +0200)]
* textmodes/artist.el (artist-mode): Fix typo in docstring.  (Bug#5807)

14 years agoRestore original behavior of move_it_in_display_line_to when !bidi_p.
Eli Zaretskii [Tue, 30 Mar 2010 19:16:49 +0000 (15:16 -0400)]
Restore original behavior of move_it_in_display_line_to when !bidi_p.

 xdisp.c (BUFFER_POS_REACHED_P, move_it_in_display_line_to):
 Restore original behavior when the iterator is not bidi_p.

14 years ago* xdisp.c (syms_of_xdisp): Use intern_c_string instead of intern.
Dan Nicolaescu [Tue, 30 Mar 2010 17:40:04 +0000 (10:40 -0700)]
* xdisp.c (syms_of_xdisp): Use intern_c_string instead of intern.

14 years agoxdisp.c (note_mouse_highlight): Don't do highlight if pointer is invisible (Bug#5766).
Jan Djärv [Tue, 30 Mar 2010 17:26:58 +0000 (19:26 +0200)]
xdisp.c (note_mouse_highlight): Don't do highlight if pointer is invisible (Bug#5766).

14 years ago* replace.el (occur-accumulate-lines): Move occur-engine related
Juri Linkov [Tue, 30 Mar 2010 16:38:45 +0000 (19:38 +0300)]
* replace.el (occur-accumulate-lines): Move occur-engine related
functions `occur-accumulate-lines' and `occur-engine-add-prefix'
to be located after `occur-engine'.

14 years agoFix a crash of I-search in a bidi-reordered buffer.
Eli Zaretskii [Tue, 30 Mar 2010 16:29:02 +0000 (19:29 +0300)]
Fix a crash of I-search in a bidi-reordered buffer.

 bidi.c (bidi_cache_iterator_state): Invalidate the cache if we
 are outside the range of cached character positions.

14 years ago* dired-x.el (dired-omit-mode): Doc fix.
Juri Linkov [Tue, 30 Mar 2010 16:10:14 +0000 (19:10 +0300)]
* dired-x.el (dired-omit-mode): Doc fix.

14 years agoMake occur handle multi-line matches cleanly with context.
Juri Linkov [Tue, 30 Mar 2010 16:03:08 +0000 (19:03 +0300)]
Make occur handle multi-line matches cleanly with context.
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html

* replace.el (occur-accumulate-lines): Add optional arg `pt'.
(occur-engine): Add local variables `ret', `prev-after-lines',
`prev-lines'.  Use more arguments for `occur-context-lines'.
Set first elem of its returned list to `data', and the second elem
to `prev-after-lines'.  Don't print the separator line.
In the end, print remaining context after-lines.
(occur-context-lines): Add new arguments `begpt', `endpt',
`lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
after-lines of the previous match with before-lines of the
current match and not overlap them.  Return a list with two
values: the output line and the list of context after-lines.

* search.texi (Other Repeating Search): Remove line that `occur'
can not handle multiline matches.

* occur-testsuite.el (occur-tests): Add tests for context lines.

14 years ago* replace.el (occur-accumulate-lines): Fix a bug where the first
Juri Linkov [Tue, 30 Mar 2010 15:44:50 +0000 (18:44 +0300)]
* replace.el (occur-accumulate-lines): Fix a bug where the first
context line at the beginning of the buffer was missing.

14 years agomerge trunk
Kenichi Handa [Tue, 30 Mar 2010 12:49:50 +0000 (21:49 +0900)]
merge trunk

14 years agoFix Indic composable patterns for the new Unicode specification.
Kenichi Handa [Tue, 30 Mar 2010 12:46:31 +0000 (21:46 +0900)]
Fix Indic composable patterns for the new Unicode specification.

14 years ago* makefile.w32-in ($(BLD)/bidi.$(O)): Add dependency on w32gui.h.
Juanma Barranquero [Tue, 30 Mar 2010 12:15:45 +0000 (14:15 +0200)]
* makefile.w32-in ($(BLD)/bidi.$(O)): Add dependency on w32gui.h.

14 years agoImprove documentation of "C-x 8 RET".
Eli Zaretskii [Tue, 30 Mar 2010 10:59:26 +0000 (13:59 +0300)]
Improve documentation of "C-x 8 RET".

 mule.texi (Input Methods): Mention "C-x 8 RET" and add a
 cross-reference to "Inserting Text".
 basic.texi (Inserting Text): Add an index entry for "C-x 8 RET".
 Mention completion provided by `ucs-insert'.

14 years agobidi.c: Update to GPLv3.
Eli Zaretskii [Tue, 30 Mar 2010 10:02:24 +0000 (13:02 +0300)]
bidi.c: Update to GPLv3.

14 years agobidi.c: Update Copyright years.
Eli Zaretskii [Tue, 30 Mar 2010 09:55:42 +0000 (12:55 +0300)]
bidi.c: Update Copyright years.

14 years agoInitial support for bidirectional editing.
Eli Zaretskii [Tue, 30 Mar 2010 09:13:07 +0000 (05:13 -0400)]
Initial support for bidirectional editing.

 Makefile.in (obj): Include bidi.o.
 (bidi.o): New target.
 makefile.w32-in (OBJ1): Add $(BLD)/bidi.$(O).
 ($(BLD)/bidi.$(O)): New target.
 bidi.c: New file.
 buffer.h (struct buffer): New members bidi_display_reordering
 and bidi_paragraph_direction.
 buffer.c (init_buffer_once): Initialize bidi_display_reordering
 and bidi_paragraph_direction.
 (syms_of_buffer): Declare Lisp variables bidi-display-reordering
 and bidi-paragraph-direction.
 (Fbuffer_swap_text): Swap the values of
 bidi_display_reordering and bidi_paragraph_direction.
 dispextern.h (BIDI_MAXLEVEL, BIDI_AT_BASE_LEVEL): New macros.
 (bidi_type_t, bidi_dir_t): New types.
 (bidi_saved_info, bidi_stack, bidi_it): New structures.
 (struct it): New members bidi_p, bidi_it, paragraph_embedding,
 prev_stop, base_level_stop, and eol_pos.
 (bidi_init_it, bidi_get_next_char_visually): New prototypes.
 (IT_STACK_SIZE): Enlarge to 5.
 (struct glyph_row): New member reversed_p.
 <string_buffer_position>: Update prototype.
 (PRODUCE_GLYPHS): Set the reversed_p flag in the iterator's
 glyph_row if bidi_it.paragraph_dir == R2L.
 (struct glyph): New members resolved_level and bidi_type.
 dispnew.c (direct_output_forward_char): Give up if we need bidi
 processing or buffer's direction is right-to-left.
 (prepare_desired_row): Preserve the reversed_p flag.
 (row_equal_p): Compare the reversed_p attributes as well.
 xdisp.c (init_iterator): Initialize it->bidi_p.  Call
 bidi_init_it and set it->paragraph_embedding from the current
 buffer's value of bidi_paragraph_direction.
 (reseat_1): Initialize bidi_it.first_elt.
 (set_iterator_to_next, next_element_from_buffer): Use the value of
 paragraph_embedding to determine the paragraph direction.
 (set_iterator_to_next): Under bidi reordering, call
 bidi_get_next_char_visually.  Call bidi_paragraph_init if the
 new_paragraph flag is set in the bidi iterator.
 (next_element_from_buffer): If bidi_it.first_elt is set,
 initialize paragraph direction and find the first character to
 display in the visual order.  If reseated to a middle of a line,
 prime the bidi iterator starting at the line's beginning.  Handle
 the situation where we overstepped stop_charpos due to
 non-linearity of the bidi iteration.  Likewise for when we back up
 beyond the previous stop_charpos.  When moving across stop_charpos,
 record it in prev_stop.
 (display_line): Set row->end and it->start for the next row to the
 next character in logical order.  Always extend reversed_p rows to
 the end of line, even if they end at ZV.  Copy the reversed_p flag
 to the next glyph row.  Keep calling set_cursor_from_row for
 bidi-reordered rows even if we already have a possible candidate
 for cursor position.  Set row_end after all the row's glyphs have
 been produced, by looping over the glyphs.  Record the position
 after EOL in it->eol_pos, and use it to set end_pos of the last
 row produced for a continued line.
 <Qright_to_left, Qleft_to_right>: New variables.
 (syms_of_xdisp): Initialize and staticpro them.
 (string_buffer_position_lim): New function.
 (string_buffer_position): Most of code moved to
 string_buffer_position_lim.  Last argument and return value are
 now EMACS_INT; all callers changed.
 (set_cursor_from_row): Rewritten to support bidirectional text and
 reversed glyph rows.
 (text_outside_line_unchanged_p, try_window_id): Disable
 optimizations if we are reordering bidirectional text and the
 paragraph direction can be affected by the change.
 (append_glyph, append_composite_glyph)
 (produce_image_glyph, append_stretch_glyph): Set the
 resolved_level and bidi_type members of each glyph.
 (append_glyph): If the glyph row is reversed, prepend the glyph
 rather than appending it.
 (handle_stop_backwards): New function.
 (reseat_1, pop_it, push_it): Set prev_stop and base_level_stop.
 (reseat): call handle_stop_backwards to recompute prev_stop and
 base_level_stop for the new position.
 (handle_invisible_prop): Under bidi iteration, skip invisible text
 using bidi_get_next_char_visually.  If we are `reseat'ed, init the
 paragraph direction.  Update IT->prev_stop after skipping
 invisible text.
 (move_it_in_display_line_to): New variables prev_method
 and prev_pos.  Compare for strict equality in
 BUFFER_POS_REACHED_P.
 (try_cursor_movement): Examine all the candidate rows that occlude
 point, to return the best match.  If rows are bidi-reordered
 and point moved backwards, back up to the row that is not a
 continuation line, and start looking for a suitable row from
 there.
 term.c (append_glyph): Reverse glyphs by pre-pending them,
 rather than appending, if the glyph_row's reversed_p flag is set.
 Set the resolved_level and bidi_type members of each glyph.
 .gdbinit (pbiditype): New command.
 (pgx): Use it to display bidi level and type of the glyph.
 (pitx): Display some bidi information about the iterator.
 (prowlims, pmtxrows): New commands.
 files.el: Make bidi-display-reordering safe variable for boolean
 values.
 mule.texi (International): Mention support of bidirectional editing.
 (Bidirectional Editing): New section.
 HELLO: Reorder Arabic and Hebrew into logical order, and
 insert RLM before the opening paren, to make the display more
 reasonable.  Add setting for bidi-display-reordering in the local
 variables section.
 NEWS: Mention initial support for bidirectional editing.

14 years agoRemoved src/ChangeLog.bidi from bzr.
Eli Zaretskii [Tue, 30 Mar 2010 09:02:07 +0000 (05:02 -0400)]
Removed src/ChangeLog.bidi from bzr.

14 years ago2010-03-30 Martin Stjernholm <mast@lysator.liu.se>
Katsumi Yamaoka [Tue, 30 Mar 2010 04:44:38 +0000 (04:44 +0000)]
2010-03-30  Martin Stjernholm  <mast@lysator.liu.se>
 * mm-decode.el (mm-add-meta-html-tag): Added option to override the
 charset.
 * gnus-art.el (gnus-article-browse-html-parts): Force the correct
 charset into the <meta> tag when the article is encoded to utf-8.

14 years ago2010-03-30 Katsumi Yamaoka <yamaoka@jpl.org>
Katsumi Yamaoka [Tue, 30 Mar 2010 04:03:00 +0000 (04:03 +0000)]
2010-03-30  Katsumi Yamaoka  <yamaoka@jpl.org>

 * gnus-art.el (gnus-article-browse-delete-temp-files): Delete
 directories as well.
 (gnus-article-browse-html-parts): Work for images that do not specify
 file names; delete temp directory when quitting; insert header at the
 right place; use file: scheme for image files.

2010-03-30  Eric Schulte  <schulte.eric@gmail.com>

 * gnus-art.el (gnus-article-browse-html-save-cid-image): New function.
 (gnus-article-browse-html-parts): Use it to make temporary cid image
 files in addition to html file so that browser may display them.

14 years agoRemove all uses of C_DEBUG_SWITCH and LIBS_DEBUG.
Dan Nicolaescu [Tue, 30 Mar 2010 02:47:23 +0000 (19:47 -0700)]
Remove all uses of C_DEBUG_SWITCH and LIBS_DEBUG.
* s/usg5-4.h (LIBS_DEBUG):
* s/irix6-5.h (C_DEBUG_SWITCH):
* s/gnu-linux.h (LIBS_DEBUG):
* s/darwin.h (LIBS_DEBUG):
* s/bsd-common.h (LIBS_DEBUG):
* s/aix4-2.h (LIBS_DEBUG, C_DEBUG_SWITCH):
* m/iris4d.h (LIBS_DEBUG):
* m/hp800.h (LIBS_DEBUG): Remove definitions.

* Makefile.in (LIBES): Remove reference to LIBS_DEBUG.
(LIBS_DEBUG): Remove definition.

* configure.in: Remove all references to C_DEBUG_SWITCH.

14 years ago*** empty log message ***
Nick Roberts [Tue, 30 Mar 2010 00:22:34 +0000 (13:22 +1300)]
*** empty log message ***

14 years agoClean up unneeded ns_set_icon_type calls.
Chong Yidong [Mon, 29 Mar 2010 23:48:44 +0000 (19:48 -0400)]
Clean up unneeded ns_set_icon_type calls.

Patch from Adrian Robert, see
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01391.html

* xdisp.c (x_consider_frame_title, update_window_cursor): Remove
HAVE_NS conditionals.
(prepare_menu_bars)[HAVE_NS]: Call ns_set_doc_edited.

* nsfns.m (x_implicitly_set_name): If frame-title-format is t, use
filename for the title.
(ns_set_doc_edited): Do nothing if the selected window is a
minibuffer window.

* nsterm.h: Add prototypes for ns_set_name_as_filename and
ns_set_doc_edited.

* nsterm.m: Remove unneeded prototype.

14 years ago* subr.el: Extend progress reporters to perform "spinning".
Chong Yidong [Mon, 29 Mar 2010 23:18:48 +0000 (19:18 -0400)]
* subr.el: Extend progress reporters to perform "spinning".
(progress-reporter-update, progress-reporter-do-update): Handle
non-numeric value arguments.
(progress-reporter--pulse-characters): New var.

14 years agoAdd a test function from semantic-test.el to semantic-ia-utest.el.
Chong Yidong [Mon, 29 Mar 2010 21:35:39 +0000 (17:35 -0400)]
Add a test function from semantic-test.el to semantic-ia-utest.el.

* cedet/semantic-ia-utest.el
(semantic-symref-test-count-hits-in-tag): Add function, from
semantic-test.el.

14 years agoUpdate Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong [Mon, 29 Mar 2010 21:26:49 +0000 (17:26 -0400)]
Update Semantic test copyrights, delete some test files (Bug#4656).

* cedet/tests/test.cpp:
* cedet/tests/test.py:
* cedet/tests/teststruct.cpp:
* cedet/tests/testtemplates.cpp:
* cedet/tests/testusing.cpp:
* cedet/tests/scopetest.cpp:
* cedet/tests/scopetest.java: Files deleted.

* cedet/tests/test.make:
* cedet/tests/test.c:
* cedet/tests/testjavacomp.java:
* cedet/tests/testspp.c:
* cedet/tests/testsppreplace.c:
* cedet/tests/testsppreplaced.c:
* cedet/tests/testsubclass.cpp:
* cedet/tests/testsubclass.hh:
* cedet/tests/testtypedefs.cpp:
* cedet/tests/testvarnames.c:
* cedet/tests/test.el:
* cedet/tests/testdoublens.cpp:
* cedet/tests/testdoublens.hpp: Add copyright header.

* cedet/semantic-tests.el (semanticdb-test-gnu-global): Remove
reference to deleted files.

14 years agoMake tmm-menubar work for the Buffers menu again.
Stefan Monnier [Mon, 29 Mar 2010 15:23:01 +0000 (11:23 -0400)]
Make tmm-menubar work for the Buffers menu again.
* tmm.el (tmm-prompt): Also handle keymap entries in the form of
vectors rather than cons cells, as used in menu-bar-update-buffers.

14 years agoSupport MS-Windows build and reversed rows in GUI frames; add initial docs.
Eli Zaretskii [Mon, 29 Mar 2010 12:26:24 +0000 (08:26 -0400)]
Support MS-Windows build and reversed rows in GUI frames; add initial docs.

 doc/emacs/mule.texi (International): Mention support of
 bidirectional editing.
 (Bidirectional Editing): New section.
 etc/HELLO: Reorder Arabic and Hebrew into logical order, and
 insert RLM before the opening paren, to make the display more
 reasonable.  Add setting for bidi-display-reordering in the local
 variables section.
 lisp/files.el: Make bidi-display-reordering safe variable for
 boolean values.
 src/xdisp (append_glyph): If the glyph row is reversed, prepend the
 glyph rather than appending it.
 src/makefile.w32-in (OBJ1): Add $(BLD)/bidi.$(O).
 ($(BLD)/bidi.$(O)): New target.

14 years ago(mm-add-meta-html-tag): Fix regexp matching meta tag.
Katsumi Yamaoka [Mon, 29 Mar 2010 10:16:37 +0000 (10:16 +0000)]
(mm-add-meta-html-tag): Fix regexp matching meta tag.

14 years ago(mm-add-meta-html-tag): Fix regexp matching meta tag.
Katsumi Yamaoka [Mon, 29 Mar 2010 10:16:23 +0000 (10:16 +0000)]
(mm-add-meta-html-tag): Fix regexp matching meta tag.

14 years ago2010-03-29 Teodor Zlatanov <tzz@lifelogs.com>
Katsumi Yamaoka [Mon, 29 Mar 2010 09:28:20 +0000 (09:28 +0000)]
2010-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
 * auth-source.el (auth-source-pick): Fix for non-secrets specifier.

14 years ago2010-03-27 Teodor Zlatanov <tzz@lifelogs.com>
Katsumi Yamaoka [Sun, 28 Mar 2010 23:55:59 +0000 (23:55 +0000)]
2010-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
 * auth.texi (Secret Service API): Add TODO node.
 (Help for users): Explain the new source options for `auth-sources'.

14 years ago2010-03-27 Teodor Zlatanov <tzz@lifelogs.com>
Katsumi Yamaoka [Sun, 28 Mar 2010 23:52:01 +0000 (23:52 +0000)]
2010-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
 * auth-source.el (auth-sources): Change default to be simpler.  Explain
 about Secret Service API sources.  Improve Customize options.
 (auth-source-pick): Change to accept any number of search parameters.
 Implement fallbacks iteratively, not recursively.  Add scoring on the
 second pass and sort by score.  Call Secret Service API when needed.
 (auth-source-user-or-password): Use it.  Call Secret Service API
 directly when needed to get the user name and the password.

14 years agoRegenerate ldefs-boot.el.
Nick Roberts [Sun, 28 Mar 2010 21:33:43 +0000 (10:33 +1300)]
Regenerate ldefs-boot.el.

14 years agoRevert 2009-08-15 change, restoring electric punctuation (Bug#5586)
Chong Yidong [Sun, 28 Mar 2010 20:41:37 +0000 (16:41 -0400)]
Revert 2009-08-15 change, restoring electric punctuation (Bug#5586)

* progmodes/js.el (js-auto-indent-flag, js-mode-map)
(js-insert-and-indent): Revert 2009-08-15 change, restoring
electric punctuation for "{}();,:" (Bug#5586).

14 years agoFix for `compile' (Bug#5771).
Chong Yidong [Sun, 28 Mar 2010 19:51:55 +0000 (15:51 -0400)]
Fix for `compile' (Bug#5771).

* progmodes/compile.el (compilation-start): Fix regexp detection
of initial cd command (Bug#5771).

14 years ago* find-dired.el (find-dired): Use read-directory-name (Bug#5777).
Chong Yidong [Sun, 28 Mar 2010 19:31:27 +0000 (15:31 -0400)]
* find-dired.el (find-dired): Use read-directory-name (Bug#5777).

14 years ago* gdb-mi.el: Add 2010 to copyright years.
Glenn Morris [Sun, 28 Mar 2010 19:22:52 +0000 (12:22 -0700)]
* gdb-mi.el: Add 2010 to copyright years.

14 years agoFix for Bug#5790.
Chong Yidong [Sun, 28 Mar 2010 19:09:21 +0000 (15:09 -0400)]
Fix for Bug#5790.

* images/icons/hicolor/scalable/apps/emacs.svg: Put preamble after svg tag (Bug#5790).

14 years agoClose bug#5336.
Glenn Morris [Sun, 28 Mar 2010 18:55:20 +0000 (11:55 -0700)]
Close bug#5336.

* Makefile.in (SOME_MACHINE_OBJECTS): Ensure dbus stuff is always
in the DOC file.

14 years agoExpand discussion of mail setup.
Chong Yidong [Sun, 28 Mar 2010 18:44:47 +0000 (14:44 -0400)]
Expand discussion of mail setup.

* sending.texi (Sending Mail): Note variables that may need customizing.
(Mail Sending): Expand discussion of send-mail-function.

14 years agoFix glyph_row reversed_p flag in empty lines between paragraphs.
Eli Zaretskii [Sun, 28 Mar 2010 15:18:10 +0000 (11:18 -0400)]
Fix glyph_row reversed_p flag in empty lines between paragraphs.

 bidi.c (bidi_get_next_char_visually): Improve commentary.
 dispextern.h (PRODUCE_GLYPHS): Set the reversed_p flag in the
 iterator's glyph_row here.
 xdisp.c (handle_invisible_prop, set_iterator_to_next)
 (next_element_from_buffer): Don't set the reversed_p flag in the
 iterator's glyph_row here.

14 years agoMerge from mainline.
Eli Zaretskii [Sun, 28 Mar 2010 13:04:11 +0000 (09:04 -0400)]
Merge from mainline.

14 years agoemacs.texi (Top): Update node names to those in building.texi.
Nick Roberts [Sun, 28 Mar 2010 04:00:37 +0000 (17:00 +1300)]
emacs.texi (Top): Update node names to those in building.texi.

14 years ago* mail/sendmail.el (mail-default-directory): Doc fix.
Chong Yidong [Sun, 28 Mar 2010 03:52:17 +0000 (23:52 -0400)]
* mail/sendmail.el (mail-default-directory): Doc fix.

14 years agoDocument Message mode as the default mail mode.
Chong Yidong [Sun, 28 Mar 2010 03:41:34 +0000 (23:41 -0400)]
Document Message mode as the default mail mode.

* sending.texi (Sending Mail): Document the fact that Message mode is
now the default mail mode.
(Mail Format, Mail Headers): Document mail-from-style changes.
(Mail Commands): Rename from Mail mode.  Document Message mode.
(Mail Misc): Rename from Mail mode Misc.
(Mail Sending, Header Editing, Mail Misc): Switch to Message mode
command names and update keybindings.
(Header Editing): Document message-tab.  De-document
mail-self-blind, mail-default-reply-to, and mail-archive-file-name in
favor of mail-default-headers.  Ad index entries for user-full-name and
user-mail-address.
(Citing Mail): Update changes in Message mode behavior.  Document
mail-yank-prefix.
(Mail Signature): New node, moved from Mail Misc.
(Mail Aliases): Mail abbrevs are the default with Message mode.
(Mail Methods): Note that Message mode is now the default.

* rmail.texi (Rmail Reply):
* text.texi (Text Mode):
* major.texi (Major Modes):
* mule.texi (Output Coding): Refer to Message mode.

* custom.texi (Init Examples): Add xref to Mail Header.

* emacs.texi (Top):  Fix xrefs.

14 years agoFix mail-default-headers handling in Message mode.
Chong Yidong [Sat, 27 Mar 2010 17:53:35 +0000 (13:53 -0400)]
Fix mail-default-headers handling in Message mode.

* gnus/message.el (message-default-mail-headers):
(message-default-headers): Carry the value mail-default-headers over
into message-default-mail-headers, rather than message-default-headers.

14 years agoRestore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz:
Nick Roberts [Sat, 27 Mar 2010 13:27:43 +0000 (02:27 +1300)]
Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz:

added:
  lisp/progmodes/gdb-mi.el
removed:
  lisp/progmodes/gdb-ui.el
modified:
  doc/emacs/building.texi
  doc/emacs/emacs.texi
  etc/NEWS
  lisp/Makefile.in
  lisp/progmodes/gud.el

14 years agoDocument problems on MS-Windows with incompatible regex.h headers.
Eli Zaretskii [Sat, 27 Mar 2010 12:52:55 +0000 (15:52 +0300)]
Document problems on MS-Windows with incompatible regex.h headers.

 PROBLEMS: Mention problems on MS-Windows with incompatible
 regex.h headers.

14 years agoFix doc strings of version-* functions and variables.
Eli Zaretskii [Sat, 27 Mar 2010 12:31:04 +0000 (15:31 +0300)]
Fix doc strings of version-* functions and variables.
 subr.el (version-regexp-alist, version-to-list)
 (version-list-<, version-list-=, version-list-<=)
 (version-list-not-zero, version<, version<=, version=): Doc fix.
 (Bug#5744).

14 years agoEnclose the argument of "-l" in quotes.
Eli Zaretskii [Sat, 27 Mar 2010 12:01:22 +0000 (15:01 +0300)]
Enclose the argument of "-l" in quotes.

 makefile.w32-in ($(TIT), $(MISC_DIC), leim-list.el): Enclose the
 argument of "-l" in $(ARGQUOTE), in case it includes blanks or
 other special characters.

14 years agoFix the MSDOS build as fallout from the latest Makefile.in changes.
Eli Zaretskii [Sat, 27 Mar 2010 10:49:18 +0000 (13:49 +0300)]
Fix the MSDOS build as fallout from the latest Makefile.in changes.

 config.bat <lib-src>: Edit out lines that begin with several #
 characters.

 msdos/sedlisp.inp (VPATH): Don't edit, no longer needed.
 (lisp, srcdir): Adapt to lisp/Makefile.in changes.
 (abs_top_builddir): New edit.
 msdos/sed3v2.inp (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
 (LIBHESIOD, LIBRESOLV, LIBS_MAIL): Edit to empty values.
 msdos/sed3.inp (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
 (LIBHESIOD, LIBRESOLV, LIBS_MAIL): Edit to empty values.
 msdos/sed1v2.inp (abs_builddir): Edit into "../src".

14 years agoFix a typo in a comment.
Eli Zaretskii [Sat, 27 Mar 2010 10:36:12 +0000 (13:36 +0300)]
Fix a typo in a comment.

14 years ago* process.c (Fmake_network_process): Don't apply Bug#5173 fix for Windows.
Chong Yidong [Sat, 27 Mar 2010 00:45:32 +0000 (20:45 -0400)]
* process.c (Fmake_network_process): Don't apply Bug#5173 fix for Windows.

14 years agoDocument `after-load-functions'.
Chong Yidong [Fri, 26 Mar 2010 17:43:01 +0000 (13:43 -0400)]
Document `after-load-functions'.

* loading.texi (Hooks for Loading): Document after-load-functions.
Copyedits.

14 years ago(gdb-apple-test): New function.
Nick Roberts [Fri, 26 Mar 2010 08:58:41 +0000 (21:58 +1300)]
(gdb-apple-test): New function.
(gdb-init-1): Use it.

14 years ago* maintaining.texi (Old Revisions): Document vc-root-diff.
Chong Yidong [Fri, 26 Mar 2010 00:04:48 +0000 (20:04 -0400)]
* maintaining.texi (Old Revisions): Document vc-root-diff.

14 years ago* vc.el (vc-root-diff): Doc fix.
Dan Nicolaescu [Thu, 25 Mar 2010 23:41:22 +0000 (19:41 -0400)]
* vc.el (vc-root-diff): Doc fix.

14 years ago* maintaining.texi (VCS Concepts): Fix typo.
Chong Yidong [Thu, 25 Mar 2010 23:32:51 +0000 (19:32 -0400)]
* maintaining.texi (VCS Concepts): Fix typo.

14 years ago* vc.el (vc-print-log, vc-print-root-log): Doc fix.
Chong Yidong [Thu, 25 Mar 2010 22:58:46 +0000 (18:58 -0400)]
* vc.el (vc-print-log, vc-print-root-log): Doc fix.

14 years agoDocument VC changes: vc-log-show-limit and vc-print-root-log.
Chong Yidong [Thu, 25 Mar 2010 22:57:13 +0000 (18:57 -0400)]
Document VC changes: vc-log-show-limit and vc-print-root-log.

* maintaining.texi (VC With A Merging VCS): C-x v v now creates a
repository if there is none.
(VC Change Log): Rename from VC Status.  Document vc-log-show-limit and
vc-print-root-log.
(Old Revisions): Copyedits.

* emacs.texi: Update.

14 years agoDocument comint history-search changes.
Chong Yidong [Thu, 25 Mar 2010 21:14:17 +0000 (17:14 -0400)]
Document comint history-search changes.

* misc.texi (Shell Ring): Document new M-r binding.  M-s is no longer bound.

14 years ago* programs.texi (Program Modes): Mention Javascript mode.
Chong Yidong [Thu, 25 Mar 2010 20:36:41 +0000 (16:36 -0400)]
* programs.texi (Program Modes): Mention Javascript mode.

14 years agoNote in documentation that nXML is now the default XML mode.
Chong Yidong [Thu, 25 Mar 2010 20:32:39 +0000 (16:32 -0400)]
Note in documentation that nXML is now the default XML mode.

* text.texi (HTML Mode): Note that nXML is now the default XML mode.
* emacs.texi: Update node description.

14 years ago* misc.texi (Navigation): Document doc-view-continuous.
Chong Yidong [Thu, 25 Mar 2010 20:15:52 +0000 (16:15 -0400)]
* misc.texi (Navigation): Document doc-view-continuous.

14 years agoDon't call turn_on_atimers around `connect' (Bug#5723).
YAMAMOTO Mitsuharu [Thu, 25 Mar 2010 08:56:15 +0000 (17:56 +0900)]
Don't call turn_on_atimers around `connect' (Bug#5723).

14 years agoCall `select' for interrupted `connect' rather than creating new socket (Bug#5173).
Helmut Eller [Thu, 25 Mar 2010 08:48:52 +0000 (17:48 +0900)]
Call `select' for interrupted `connect' rather than creating new socket (Bug#5173).

14 years agoClose bug#5755.
Glenn Morris [Thu, 25 Mar 2010 06:18:17 +0000 (23:18 -0700)]
Close bug#5755.

* desktop.el (desktop-save-buffer-p): Don't mistakenly include
all dired buffers, even tramp ones.

14 years ago* simple.el (append-to-buffer): Fix last change.
Chong Yidong [Thu, 25 Mar 2010 05:53:30 +0000 (01:53 -0400)]
* simple.el (append-to-buffer): Fix last change.

14 years agoFix wrong variable name.
Ted Zlatanov [Thu, 25 Mar 2010 01:14:42 +0000 (20:14 -0500)]
Fix wrong variable name.

(url-http-parse-headers): Fix wrong variable name.

14 years agoAdd "union tags" in mpc.el.
Stefan Monnier [Thu, 25 Mar 2010 00:06:08 +0000 (20:06 -0400)]
Add "union tags" in mpc.el.
* mpc.el: Remove backward compatibility code.
(mpc-browser-tags): Change default.
(mpc--find-memoize-union-tags): New var.
(mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
(mpc-cmd-find): Handle the case where the playlist does not exist.
Handle union-tags.
(mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
(mpc-cmd-add): Use mpc-cmd-flush.
(mpc-tagbrowser-tag-name): New fun.
(mpc-tagbrowser-buf): Use it.
(mpc-songs-refresh): Use cond.  Move to point-min as a fallback.

14 years agoMisc cleanup.
Stefan Monnier [Wed, 24 Mar 2010 23:56:43 +0000 (19:56 -0400)]
Misc cleanup.
* progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
Use replace-regexp-in-string.
(makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
(makefile-imake-mode-syntax-table): Move init into defvar.
(makefile-mode): Use define-derived-mode.

14 years ago* xdisp.c (pos_visible_p): Revert 2008-01-25 change (Bug#5730).
Chong Yidong [Wed, 24 Mar 2010 21:25:46 +0000 (17:25 -0400)]
* xdisp.c (pos_visible_p): Revert 2008-01-25 change (Bug#5730).

14 years agoMerge from `emacs-23'.
Stefan Monnier [Wed, 24 Mar 2010 18:02:56 +0000 (14:02 -0400)]
Merge from `emacs-23'.

14 years ago* vc-dir.el (vc-dir-headers): Abbreviate the working dir.
Stefan Monnier [Wed, 24 Mar 2010 17:33:39 +0000 (13:33 -0400)]
* vc-dir.el (vc-dir-headers): Abbreviate the working dir.

14 years agoFix 2009-11-13 change to append-to-buffer (Bug#5749).
Chong Yidong [Wed, 24 Mar 2010 16:18:13 +0000 (12:18 -0400)]
Fix 2009-11-13 change to append-to-buffer (Bug#5749).

* simple.el (append-to-buffer): Ensure that point is preserved if
BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
(Bug#5749)

14 years ago(makefile-rule-action-regex): Backtrack less.
Stefan Monnier [Wed, 24 Mar 2010 15:57:16 +0000 (11:57 -0400)]
(makefile-rule-action-regex): Backtrack less.
(makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
not be present any more.

14 years agofix a typo in last patch
Sam Steingold [Wed, 24 Mar 2010 13:41:07 +0000 (09:41 -0400)]
fix a typo in last patch

14 years agoAdd a list of HTTP status code symbols and their text, mapped by number.
Ted Zlatanov [Wed, 24 Mar 2010 09:30:28 +0000 (04:30 -0500)]
Add a list of HTTP status code symbols and their text, mapped by number.

* url-http.el (url-http-codes): New variable to hold a mapping of
HTTP status codes' numbers, their symbolic name, and their text.
(url-http-parse-headers): Use it, leaving the original numeric
code in a comment.

14 years ago* vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
Glenn Morris [Wed, 24 Mar 2010 06:32:45 +0000 (23:32 -0700)]
* vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
log-edit-before-checkin-process.