1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-06 20:49:33 +00:00

94944 Commits

Author SHA1 Message Date
Glenn Morris
66dbf213ea Handle some HAVE_NS Makefile conditionals with configure.
* configure.in (ns_frag): New output file.

* src/Makefile.in (${ns_appdir}, ${ns_appbindir}Emacs, ns-app):
Move these rules to ns.mk.
* ns.mk: New file.  Copyright years based on date of nextstep merge.

* msdos/sed1v2.inp(@ns_frag@): Edit to nothing.
2010-05-20 17:48:14 -07:00
Glenn Morris
04384b2d18 Build simplifications for oldxmenu.
* configure.in (OLDXMENU): Set to "nothing" if !HAVE_X11 || USE_GTK.
(OLDXMENU_TARGET): Set to empty if USE_GTK.

* src/Makefile.in (../src/$(OLDXMENU), $(OLDXMENU)): Always define rules.

* msdos/sed1x.inp (OLDXMENU): Replace any initial value.
* msdos/sed1v2.inp (OLDXMENU): Edit to "nothing".
2010-05-20 17:40:12 -07:00
Glenn Morris
7e222e4e61 * msdos/mainmake.v2: Comment fix. 2010-05-20 17:33:54 -07:00
Glenn Morris
e8752c66e9 Handle CANNOT_DUMP (partially) with configure.
* configure.in (cannot_dump): New output variable.

* src/Makefile.in (CANNOT_DUMP): New, set by configure.
(emacs${EXEEXT}, bootstrap-emacs${EXEEXT}): Use $CANNOT_DUMP.

* msdos/sed1v2.inp (CANNOT_DUMP): Edit to no.
2010-05-20 17:28:47 -07:00
Glenn Morris
969e684aa5 Minor loadup.el fix.
* lisp/loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
having a relative path in src/Makefile.in.
2010-05-20 17:22:58 -07:00
Kevin Ryde
a50878fabd * help-mode.el (help-make-xrefs): For Info node links turn
newlines into spaces.  Link node names with newlines are matched
by help-xref-info-regexp and buttonized, this change ensures they
can be followed successfully with RET.  (Bug#6206)
2010-05-21 02:54:55 +03:00
Kevin Ryde
e1b9db1a25 * gnus-start.el (gnus-level-unsubscribed): Doc fix. (Bug#6206) 2010-05-21 02:43:54 +03:00
Juri Linkov
2e2bbddbf9 * fileio.c (Fdelete_file): Change interative spec to use
`read-file-name' like in `find-file-read-args' where the default
value is `default-directory' instead of `buffer-file-name'.
http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00533.html
2010-05-21 02:08:52 +03:00
Juri Linkov
f66a2f90f6 * locate.el (locate): Use pop-to-buffer instead of
switch-to-buffer-other-window.  (Bug#6204)
2010-05-21 01:55:11 +03:00
Juri Linkov
201d895a4a * replace.el (replace-highlight): Fix lazy-highlighting
for `M-s w str M-% str RET'.
2010-05-21 01:49:53 +03:00
Masatake YAMATO
1ddb2ea0f3 * isearch.el (isearch-yank-word-or-char): Pull next subword
when `subword-mode' is activated.  (Bug#6220)
2010-05-21 01:33:09 +03:00
Mark A. Hershberger
a602033560 * isearch.el (isearch-update-post-hook): New hook.
(isearch-update): Use the new hook.  (Bug#6225)
2010-05-21 01:16:19 +03:00
Juri Linkov
50de6a38df * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
[f1], [help], and (char-to-string help-char) instead of "\C-h".
(Bug#6222)
2010-05-21 01:01:57 +03:00
Juri Linkov
5d944a8f7f * isearch.el (isearch-yank-string): Use isearch-process-search-string.
(Bug#6223)
2010-05-21 00:49:49 +03:00
Juri Linkov
2ee13033a8 Remove obsolete comment. 2010-05-21 00:38:59 +03:00
Juri Linkov
f5d6548ac9 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
FILE-NAME to read from the minibuffer when called interactively
with prefix argument instead of using buffer-file-name.
http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html

* dired.el: Update autoloads.
2010-05-21 00:33:58 +03:00
Chong Yidong
f8e6369193 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
nxml-finish-element, for consistency with SGML mode.

* progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
octave-close-block.
2010-05-20 11:12:20 -04:00
Kevin Ryde
31c4aaf628 Doc fix (Bug#6224).
* keyboard.c (Vlast_command, Vkeyboard_translate_table)
(Voverriding_terminal_local_map, Vsystem_key_alist)
(Vlocal_function_key_map): Fix manual link in docstring (Bug#6224).
2010-05-20 10:53:30 -04:00
Chong Yidong
aeb77d4660 Doc fix (Bug#6224).
* keyboard.c (Vlast_command, Vkeyboard_translate_table)
(Voverriding_terminal_local_map, Vsystem_key_alist)
(Vlocal_function_key_map): Fix manual link in docstring (Bug#6224).
2010-05-20 10:50:32 -04:00
enami tsugutomo
0a5a008971 Use terminfo rather than termcap on recent NetBSD.
* configure.in: On NetBSD, if terminfo is found, use it in preference
to termcap.  (Bug#6190)
2010-05-19 23:37:29 -07:00
Glenn Morris
74e6ff9a60 * config.bat: Need to add the deps.mk file before running cpp. 2010-05-19 23:24:35 -07:00
Glenn Morris
c3ba133a80 * src/autodeps.mk, src/deps.mk: Comments need to be in C format. 2010-05-19 23:20:39 -07:00
Glenn Morris
648b8e6d7a Regenerate configure, src/config.in. 2010-05-19 23:15:26 -07:00
Glenn Morris
9d5cf9b6b6 Handle auto-depend with configure.
* make-dist (src): Include *.mk.
* config.bat: Concatenate deps.mk onto the end of src/Makefile.
* configure.in (DEPFLAGS, MKDEPDIR): New output variables.
(deps_frag): New output file.
(AUTO_DEPEND): Remove this definition.

* src/Makefile.in (DEPDIR): New constant.
(DEPFLAGS): Set with configure, not cpp.
(MKDEPDIR): New, set by configure.
(.c.o, .m.o, ecrt0.o): Use $MKDEPDIR.
(clean): Use $DEPDIR.
(deps_frag): Include from configure.
Move static/dynamic dependency stuff to deps.mk/autodeps.mk.
* src/deps.mk, src/autodeps.mk: New files, extracted from Makefile.in.

* msdos/sed1v2.inp (DEPFLAGS, deps_frag): Edit to empty.
(MKDEPDIR): Edit to ':'.
2010-05-19 23:11:27 -07:00
Glenn Morris
21566ba7e5 * configure.in (--with-gtk, --with-gcc): Remove option stubs. 2010-05-19 22:48:16 -07:00
Juanma Barranquero
49a817b3b3 * emacs-lisp/cl-loaddefs.el: Update autoload checksum. 2010-05-20 03:32:08 +02:00
Juanma Barranquero
07d7c3bdc9 * composite.el: Require cl when compiling; fix typos in docstrings. 2010-05-20 03:27:49 +02:00
Juri Linkov
7bce851099 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
set-window-parameter.
2010-05-19 23:37:57 +03:00
Eli Zaretskii
0416466c4d Completed initial debugging and testing of reimplemented cursor motion.
.gdbinit (prowlims): Display row->minpos and row->maxpos.
 Display truncated_on_left_p and truncated_on_right_p flags.
 Formatting fixes.
 (pmtxrows): Display the ordinal number of each row.  Don't display
 rows beyond the last one.
 xdisp.c (RECORD_MAX_MIN_POS): New macro.
 (display_line): Use it to record the minimum and maximum buffer
 positions for glyphs in the row being assembled.  If word wrap is
 in effect, restore minimum and maximum positions seen up to the
 wrap point, when iterator returns to it.
 (find_row_edges): Fix logic; eol_pos should be tested before the
 rest.
 (try_window_reusing_current_matrix): Give up if in bidi-reordered
 row and cursor not already at point.  Restore original pre-bidi
 code for unidirectional buffers.
 bidi.c (bidi_cache_shrink, bidi_cache_iterator_state): Fix
 reallocation of the cache.  (Bug#6210)
 (bidi_cache_iterator_state): Don't zero out new_paragraph (it is
 not copied by bidi_copy_it).
2010-05-19 23:24:21 +03:00
Michael Albinus
a7723e050f * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
where appropriate.
(tramp-maybe-open-connection): Use it.
2010-05-19 20:56:18 +02:00
Eli Zaretskii
3f2e77354e Fix C-e when bidi reordering is in effect.
simple.el (move-end-of-line): Make sure we are at line beginning
 before backing up to end of previous line.
2010-05-19 20:16:07 +03:00
Stefan Monnier
c3bb441dd0 * url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
* editfns.c (Fbyte_to_string): New function.
* NEWS: Add sections for Emacs-23.3.
2010-05-19 11:23:53 -04:00
Michael Albinus
8c4ec20f01 * password-cache.el (password-cache-remove): Fix docstring. 2010-05-19 14:52:27 +02:00
Michael Albinus
8d9181c799 * net/secrets.el: Autoload the widget functions.
(secrets-search-items, secrets-create-item)
(secrets-get-attributes, secrets-expand-item): Attributes will be
stored on the password database without leading ":", as all other
clients do as well.
(secrets-mode): Fix docstring.
(secrets-show-secrets): Provide it as autoloaded command only when
D-Bus support is available.  Check existence of Secret Service API.
2010-05-19 14:47:37 +02:00
Peter S Galbraith
b59ee24dfb Decode RFC2047 encoded Subject lines for mail replies. 2010-05-19 08:23:40 -04:00
Eli Zaretskii
ead6f8f50b Fix bug #6210.
bidi.c (bidi_cache_shrink, bidi_cache_iterator_state): Fix
 reallocation of the cache.
2010-05-19 10:22:41 +03:00
Stefan Monnier
ab0c07c020 * textmodes/fill.el (fill-region): Don't fill past the end.
Fixes: debbugs:6201
2010-05-18 23:51:55 -04:00
Stefan Monnier
2a96c2a765 * indent.el (indent-region): Deactivate region (bug#6200). 2010-05-18 23:06:48 -04:00
Glenn Morris
d24e10b1b2 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204) 2010-05-18 20:01:24 -07:00
Glenn Morris
38b8b32648 * etc/TODO: prog-mode updates. 2010-05-18 19:56:44 -07:00
Glenn Morris
d494e8f280 Minor msdos build change.
* msdos/sed2v2.inp (ORDINARY_LINK): Set here rather than in s/msdos.h.
* src/s/msdos.h (ORDINARY_LINK): Move to sed2v2.inp.
2010-05-18 19:51:51 -07:00
Glenn Morris
ebbc2619f0 Regenerate configure, src/config.in. 2010-05-18 19:46:42 -07:00
Glenn Morris
c1d0dcfd12 Set linker-related things with configure.
* configure.in (LINKER, YMF_PASS_LDFLAGS): New output variables.
(ORDINARY_LINK): New AC_DEFINE.
(LIB_GCC): No need to set if ORDINARY_LINK.

* src/Makefile.in (LD, YMF_PASS_LDFLAGS): Set with configure, not cpp.
(GNULIB_VAR): Remove.
(LIBES): Use LIB_GCC instead of GNULIB_VAR.

* src/m/ibms390x.h (LINKER):
* src/m/macppc.h (LINKER) [GNU_LINUX]:
* src/s/aix4-2.h (ORDINARY_LINK):
* src/s/cygwin.h (LINKER):
* src/s/darwin.h (ORDINARY_LINK):
* src/s/gnu.h (ORDINARY_LINK):
* src/s/netbsd.h (LINKER):
* src/s/usg5-4.h (ORDINARY_LINK):
Move to configure.

* msdos/sed1v2.inp (LD): Edit to $(CC).
(YMF_PASS_LDFLAGS): Edit to `flags'.
2010-05-18 19:42:04 -07:00
Glenn Morris
7f34aec377 * s/aix4-2.h (LINKER): Remove; this file sets ORDINARY_LINK.
In any case, ORDINARY_LINK means uses the C compiler as the LINKER,
so setting LINKER=cc is redundant.
2010-05-18 19:27:01 -07:00
Kenichi Handa
9ba3dd4898 merge trunk 2010-05-19 10:16:01 +09:00
Kenichi Handa
134d1bcded merge trunk 2010-05-19 10:10:29 +09:00
Kenichi Handa
2833d9158d composite.el: Register compose-gstring-for-graphic in composition-function-table only for combining characters (Mn, Mc, Me). 2010-05-19 10:09:50 +09:00
Jay Belanger
134c2f29ce calc-trail.el (calc-trail-isearch-forward)
(calc-trail-isearch-backward): Ensure that the new window
point is set correctly.
2010-05-18 17:49:56 -05:00
Chong Yidong
29031d52fe Stefan Monnier <monnier@iro.umontreal.ca> 2010-05-18 16:51:12 -04:00
Stefan Monnier
278847cd92 * subr.el (read-quoted-char): Resolve modifiers after key remapping.
Fixes: debbugs:6212
2010-05-18 16:31:44 -04:00