1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-20 11:33:09 -08:00
Commit graph

100207 commits

Author SHA1 Message Date
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
Glenn Morris
4fda9c95da Auto-commit of generated files. 2011-04-27 02:48:35 -04:00
Paul Eggert
f717c834b9 Merge: nsmenu.m: Replace all uses of XVECTOR with ASIZE and AREF. 2011-04-26 23:03:54 -07:00
Paul Eggert
96fb4434c8 * nsmenu.m: Replace all uses of XVECTOR with ASIZE and AREF.
This makes this file independent of the recent pseudovector change.
2011-04-26 23:01:43 -07:00
Daniel Colascione
fe9c230b7f * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions in
quoted strings and bail out.
2011-04-26 21:19:15 -07:00
Ben Key
40697cd9ed Fixed a bug that caused configure with --enable-checking=stringoverrun to have no effect. 2011-04-26 21:17:44 -05:00
Paul Eggert
b6f5355a9e Update from gnulib. 2011-04-26 12:29:47 -07:00
Paul Eggert
aa0b008761 * lisp.h: Add comments about struct vectorlike_header. 2011-04-26 12:14:07 -07:00
Paul Eggert
69e9b5a37c * keyboard.c (handle_user_signal): Fix pointer signedness problem. 2011-04-26 11:02:10 -07:00
Paul Eggert
b5f869a7d8 Merge from mainline. 2011-04-26 10:50:51 -07:00
Juanma Barranquero
bd0d2ee233 Fix typos in ChangeLogs. 2011-04-26 16:07:29 +02:00
Juanma Barranquero
895009e16a src/keyboard.c (QCrtl): Rename from Qrtl. All uses changed. 2011-04-26 16:02:55 +02:00
Stefan Monnier
d4aa710a15 Make ERC use completion-at-point
* lisp/erc/erc.el (erc-mode-map): Use completion-at-point.
(erc-mode): Tell completion-at-point to obey erc-complete-functions.
(erc-complete-word-at-point): New function.
(erc-complete-word): Make it obsolete.
* lisp/erc/erc-pcomplete.el (erc-pcompletions-at-point): New function.
(pcomplete): Use it.
* lisp/erc/erc-dcc.el (erc-dcc-chat-mode-map): Use completion-at-point.
(erc-dcc-chat-mode): Tell completion-at-point to obey
erc-complete-functions.
* lisp/erc/erc-button.el (erc-button-next-function): New function extracted from
erc-button-next.
(button, erc-button-next): Use it.
2011-04-26 10:50:09 -03:00
Ted Zlatanov
6a7a1b0b74 Don't return in emacs_gnutls_handshake without an explicit value.
* gnutls.c (emacs_gnutls_handshake): Return an error if we're not
supposed to be handshaking.
Reported by Paul Eggert <eggert@cs.ucla.edu>.
2011-04-26 07:59:12 -05:00
Ted Zlatanov
17519c9050 Fix verb tense in ChangeLog message. 2011-04-26 07:49:53 -05:00
Daniel Colascione
0438ce915d Implement debug-on-event 2011-04-26 04:26:05 -07:00
Daniel Colascione
8f91bf9345 Improve Windows quoting robustness 2011-04-26 03:44:03 -07:00
Paul Eggert
847ab9d19c Add bug numbers. 2011-04-26 00:52:52 -07:00
Paul Eggert
c892615246 * gnutls.c (emacs_gnutls_write): Don't use uninitialized rtnval if nbyte <= 0. 2011-04-26 00:35:23 -07:00