1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00
Commit graph

100225 commits

Author SHA1 Message Date
Andreas Schwab
e7a6747fd3 * src/sysdep.c (wait_for_termination_1): Make static.
(wait_for_termination, interruptible_wait_for_termination): Move
after wait_for_termination_1.
2011-05-01 10:52:17 +02:00
Lars Magne Ingebrigtsen
1ef14cb4b0 Extend call-process' to take the (:file "file")' syntax to redirect
STDOUT to a file.
2011-05-01 02:04:17 +02:00
Andreas Schwab
dcb79f208a * lisp/faces.el (face-spec-set-match-display): Don't match toolkit
options on terminal frames.
2011-04-30 19:57:07 +02:00
Vinicius Jose Latorre
cb79b8c051 keep highlight when switching between major modes on a file. 2011-04-30 12:15:07 -03:00
Eli Zaretskii
8db90b7394 Adapt the MSDOS build to latest changes.
msdos/inttypes.h: New file.
 msdos/sed2v2.inp (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
 (HAVE_STRTOULL, HAVE_STRTOULL): Define to 1.
 src/sedlibmk.inp (BUILT_SOURCES): Edit out inttypes.h.
 src/sed1v2.inp (CPPFLAGS): Edit to "-I../msdos".
 Add ../msdos/inttypes.h to prerequisites of lread.o.
 src/dosfns.c (Fint86, Fdos_memget, Fdos_memput): Use `ASIZE (FOO)'
 rather than `XVECTOR (FOO)->size'.
2011-04-30 13:31:17 +03:00
Eli Zaretskii
330d880c3a Don't test HAVE_INTTYPES_H in process.c.
src/process.c: Remove HAVE_INTTYPES_H condition from inclusion of
 inttypes.h, as a gnulib replacement is used if it not available in
 system headers.
2011-04-30 12:31:01 +03:00
Eli Zaretskii
ba366b6db5 Define HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT for Windows.
nt/config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
 Define to 1 for MinGW of MSVC versions >= 1400.
2011-04-30 12:14:30 +03:00
Lars Magne Ingebrigtsen
6eee267817 shr.el (shr-strike-through): New face.
(shr-tag-s): Use it to provide <s> support.
 (shr-tag-s): Remove duplicate definition.
2011-04-30 00:03:19 +00:00
Eli Zaretskii
15cbd324fd Lift the MOST_POSITIVE_FIXNUM/4 limitation on visited files (bug#8528).
src/fileio.c (Finsert_file_contents): Don't limit file size to 1/4
 of MOST_POSITIVE_FIXNUM.
 src/coding.c (coding_alloc_by_realloc): Error out if destination
 will grow beyond MOST_POSITIVE_FIXNUM.
 (decode_coding_emacs_mule): Abort if there isn't enough place in
 charbuf for the composition carryover bytes.  Reserve an extra
 space for up to 2 characters produced in a loop.
 (decode_coding_iso_2022): Abort if there isn't enough place in
 charbuf for the composition carryover bytes.
2011-04-29 22:47:29 +03:00
Eli Zaretskii
ae940ccad1 Don't abort in doprnt when passed unsupported %ll modifier.
src/doprnt.c (doprnt) [!HAVE_LONG_LONG_INT]: Error out instead of
 aborting when %lld or %lll format is passed.
 [!HAVE_UNSIGNED_LONG_LONG_INT]: Error out instead of aborting when
 %llo or %llx format is passed.  (Bug#8545)
2011-04-29 22:34:06 +03:00
Eli Zaretskii
03ab8921a8 Fix bug #7952 with vertical motion in Grep buffers.
src/window.c (window_scroll_line_based): Use a marker instead of
 simple variables to record original value of point.
2011-04-29 21:03:00 +03:00
Stefan Monnier
7eabc1bec8 * lisp/progmodes/pascal.el: Use lexical binding.
(pascal-mode-map): Remove author preferences.
2011-04-29 14:34:28 -03:00
Stefan Monnier
20e0e05f00 * pcomplete.el (pcomplete-std-complete): Fix last minute typo. 2011-04-29 14:33:30 -03:00
Stefan Monnier
14a7fbd8c2 * lisp/pcomplete.el (pcomplete-std-complete): Don't abuse
completion-at-point.
2011-04-29 14:24:09 -03:00
Stefan Monnier
38b3645acf * lisp/erc/erc-pcomplete.el (erc-pcomplete-nick-postfix): Remove the " " in the
suffix that's added by pcomplete-termination-string anyway.
(pcomplete-erc-setup): Remove pcomplete-suffix-list setting now that
it's not needed any more.
2011-04-29 12:23:59 -03:00
Eli Zaretskii
afda143761 Fix doprnt when buffer is too small for multibyte sequences.
src/doprnt.c (doprnt): Fix the case where a multibyte sequence
 produced by %s or %c overflows available buffer space.  (Bug#8545)
2011-04-29 14:01:11 +03:00
Juanma Barranquero
6e087a44c5 lisp/calc/calccomp.el (math-comp-to-string-flat-term): Simplify. 2011-04-29 01:08:37 +02:00
Juanma Barranquero
50f845101d lisp/startup.el (command-line): Use delayed warning for "_emacs". 2011-04-29 00:58:40 +02:00
Juanma Barranquero
71edd0ec3d etc/NEWS: Document new "default HOME" warning. 2011-04-29 00:48:58 +02:00
Paul Eggert
a8346e4904 Merge: doprnt: Omit useless test; int overflow check (Bug#8545). 2011-04-28 15:06:00 -07:00
Paul Eggert
f40b429dbf Document doprnt's behavior a bit better. 2011-04-28 15:02:15 -07:00
Paul Eggert
fc96fbabd3 Remove confusing word from comment. 2011-04-28 14:41:39 -07:00
Eli Zaretskii
aff458c342 nt/gmake.defs (ARCH): Fix error message in case of unknown architecture. 2011-04-28 23:43:23 +03:00
Eli Zaretskii
6c06b142a0 nt/INSTALL: More details about problems with MSYS Bash.
Fixes: debbugs:8564
2011-04-28 23:28:51 +03:00
Paul Eggert
ca2d627477 Improve comment. 2011-04-28 13:27:52 -07:00
Deniz Dogan
0ba690bd8f * lisp/net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
user has not joined.
2011-04-28 22:22:51 +02:00
Paul Eggert
283cdbef2a * doprnt.c (SIZE_MAX): Move defn after all includes, as they might #define it. 2011-04-28 13:11:17 -07:00
Paul Eggert
f76dee0c23 * doprnt.c (doprnt): Omit useless test; int overflow check (Bug#8545). 2011-04-28 13:09:37 -07:00
Juanma Barranquero
fdc5744d4f src/w32.c (init_environment): Warn about defaulting HOME to C:\. 2011-04-28 21:51:12 +02:00
Stefan Monnier
08abfaad86 * lisp/pcomplete.el (pcomplete-completions-at-point): Return nil if there
aren't any completions at point.
2011-04-28 16:39:11 -03:00
Juanma Barranquero
638f053a0e Add delayed warnings support.
* etc/NEWS: Document `delayed-warnings-list' and `delayed-warnings-hook'.

* lisp/subr.el (display-delayed-warnings): New function.
  (delayed-warnings-hook): New variable.

* src/keyboard.c (Qdelayed_warnings_hook): Define.
  (command_loop_1): Run `delayed-warnings-hook' if Vdelayed_warnings_list
  is non-nil.
  (syms_of_keyboard) <delayed-warnings-hook>: DEFSYM it.
  (syms_of_keyboard) <delayed-warnings-list>: DEFVAR_LISP it.
2011-04-28 21:35:20 +02:00
Juanma Barranquero
f042970d4c etc/NEWS: Fix typos. 2011-04-28 21:07:08 +02:00
Eli Zaretskii
a8f9176117 nt/INSTALL: Mention problems with MSYS/Cygwin Bash right at the beginning.
Fixes: debbugs:8564
2011-04-28 20:25:14 +03:00
Stefan Monnier
d1bb662322 Make MH-E use completion-at-point
* lisp/mh-e/mh-letter.el (mh-letter-completion-at-point): New function,
extracted from mh-letter-complete
(mh-letter-mode, mh-letter-complete, mh-letter-complete-or-space): Use it.
(mh-complete-word): Only use the common-substring arg when it works.
(mh-folder-expand-at-point):
* lisp/mh-e/mh-alias.el (mh-alias-letter-expand-alias): Return data suitable
for completion-at-point-functions.
* lisp/mh-e/mh-utils.el (mh-folder-completion-function): Make it work like
file-name completion, so partial-completion can do its job.
* lisp/minibuffer.el (completion-at-point, completion-help-at-point):
Don't presume that a given completion-at-point-function will always
use the same calling convention.
2011-04-28 12:32:28 -03:00
Eli Zaretskii
d178f87164 Fix return value from doprnt when message is truncated at non-ASCII character.
src/doprnt.c (doprnt): Don't return value smaller than the buffer
 size if the message was truncated.  (Bug#8545).
2011-04-28 07:46:40 -04:00
Juanma Barranquero
b124fd93b0 src/w32fns.c: #if-0 some functions entirely, not just the bodies. 2011-04-28 04:01:33 +02:00
Stefan Monnier
8fff8daa89 * lisp/pcomplete.el (pcomplete-completions-at-point):
Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
pcomplete-seen is non-nil.
(pcomplete-comint-setup): Also recognize the new comint/shell
completion functions.
(pcomplete-do-complete): Don't call pcomplete-norm-func unless
pcomplete-seen is non-nil.
2011-04-27 21:18:12 -03:00
Paul Eggert
4cf0fdcb15 Merge: * doprnt.c (doprnt): Support "ll" length modifier, for long long. 2011-04-27 16:48:43 -07:00
Juanma Barranquero
ea51cceb3c src/makefile.w32-in: Update dependencies. 2011-04-28 01:35:33 +02:00
Paul Eggert
b71a1728a9 Fix comments. 2011-04-27 16:04:20 -07:00
Paul Eggert
226be1b02f * doprnt.c (doprnt): Fix two typos for long long. 2011-04-27 15:59:09 -07:00
Paul Eggert
54b8e3f775 Merge from mainline. 2011-04-27 15:29:33 -07:00
Eli Zaretskii
fc3b729195 Support inttypes.h and strtoumax in non-MinGW builds on Windows.
nt/inc/inttypes.h: New file.
 nt/config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
 (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
2011-04-28 00:14:34 +03:00
Juanma Barranquero
841a157789 Fix ChangeLog typos. 2011-04-27 21:51:19 +02:00
Paul Eggert
8f41de3a66 Add FIXME comment. 2011-04-27 12:05:21 -07:00
Paul Eggert
e810457d00 * doprnt.c (doprnt): Support "ll" length modifier, for long long. 2011-04-27 11:22:21 -07:00
Eli Zaretskii
94dcfacf12 Improve `doprnt' and its usage. (Bug#8545)
src/doprnt.c (doprnt): Make sure `format' is never accessed beyond
 `format_end'.  Remove support for %l as a conversion specifier.
 Don't use xrealloc.  Improve diagnostics when the %l size modifier
 is used.  Update the commentary.
 src/eval.c (verror): Simplify calculation of size_t.
 src/coding.c (Ffind_operation_coding_system): Fix diagnostic error
 messages.
2011-04-27 21:15:29 +03:00
Ulf Jasper
211ec9072d Applied icalendar patches from Niels Giesen.
lisp/ChangeLog:

2011-04-27  Niels Giesen <niels.giesen@gmail.com>

	* calendar/icalendar.el (diary-lib): Added require statement.
	(icalendar--create-uid): Read out a uid from a text-property on
	the first character in the entry. This allows for code to add its
	own uid to the entry.
	(icalendar--convert-float-to-ical): Add export of
	`diary-float'-entries save for those with the optional DAY
2011-04-27 19:48:35 +02:00
Daniel Colascione
2a782793a8 * subr.el (shell-quote-argument): Use alternate escaping strategy
when we spot a variable reference in a string.
2011-04-27 00:56:55 -07:00
Paul Eggert
f61f41d747 * buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Adjust to aliasing change 2011-04-27 01:06:26 -07:00