aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Verona2012-12-14 16:42:53 +0100
committerJoakim Verona2012-12-14 16:42:53 +0100
commit0b0800f450135b38ed72e70b1eff51ee2aeb4154 (patch)
tree9f49d4850d5824d9a41a1a50d4bd08f3ac208959
parent67eb4ae399b4a26d04bceacfccf9f467145483cc (diff)
parent26ec1f49cb852c04eb6266d64f1673859307adca (diff)
downloademacs-0b0800f450135b38ed72e70b1eff51ee2aeb4154.tar.gz
emacs-0b0800f450135b38ed72e70b1eff51ee2aeb4154.zip
auto upstream
-rw-r--r--doc/misc/ChangeLog4
-rw-r--r--doc/misc/tramp.texi23
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/sql.el54
-rw-r--r--src/ChangeLog21
-rw-r--r--src/xdisp.c7
6 files changed, 69 insertions, 45 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index e569d4c5500..ecf3619db4b 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,7 @@
12012-12-14 Michael Albinus <michael.albinus@gmx.de>
2
3 * tramp.texi (External methods): Move `adb' method here.
4
12012-12-13 Glenn Morris <rgm@gnu.org> 52012-12-13 Glenn Morris <rgm@gnu.org>
2 6
3 * cl.texi (Modify Macros, Obsolete Macros): Now letf == cl-letf. 7 * cl.texi (Modify Macros, Obsolete Macros): Now letf == cl-letf.
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 4918321b171..317d440c0d1 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -742,16 +742,6 @@ expects PuTTY session names, calling @samp{plink -load @var{session}
742hasn't defined a user name. Different port numbers must be defined in 742hasn't defined a user name. Different port numbers must be defined in
743the session. 743the session.
744 744
745
746@item @option{adb}
747@cindex method adb
748@cindex adb method
749
750This special method uses the Android Debug Bridge for connecting
751Android devices. The Android Debug Bridge, part of the Android SDK,
752must be installed locally. The variable @var{tramp-adb-sdk-dir} must
753be set to its installation directory.
754
755@end table 745@end table
756 746
757 747
@@ -1041,6 +1031,17 @@ Windows, this method isn't available. Instead, you can use UNC
1041file names like @file{//melancholia/daniel$$/.emacs}. The only 1031file names like @file{//melancholia/daniel$$/.emacs}. The only
1042disadvantage is that there's no possibility to specify another user 1032disadvantage is that there's no possibility to specify another user
1043name. 1033name.
1034
1035
1036@item @option{adb}
1037@cindex method adb
1038@cindex adb method
1039
1040This special method uses the Android Debug Bridge for connecting
1041Android devices. The Android Debug Bridge, part of the Android SDK,
1042must be installed locally. The variable @var{tramp-adb-sdk-dir} must
1043be set to its installation directory.
1044
1044@end table 1045@end table
1045 1046
1046 1047
@@ -1089,6 +1090,7 @@ phones. For the time being, @value{tramp} only supports OBEX over Bluetooth.
1089The @option{synce} method allows communication with Windows Mobile 1090The @option{synce} method allows communication with Windows Mobile
1090devices. Beside GVFS for mounting remote files and directories via 1091devices. Beside GVFS for mounting remote files and directories via
1091FUSE, it also needs the SYNCE-GVFS plugin. 1092FUSE, it also needs the SYNCE-GVFS plugin.
1093
1092@end table 1094@end table
1093 1095
1094@defopt tramp-gvfs-methods 1096@defopt tramp-gvfs-methods
@@ -1596,6 +1598,7 @@ can return user names only.
1596 1598
1597Finally, a function which parses @file{~/.netrc} like files. This 1599Finally, a function which parses @file{~/.netrc} like files. This
1598includes also @file{~/.authinfo}-style files. 1600includes also @file{~/.authinfo}-style files.
1601
1599@end table 1602@end table
1600 1603
1601If you want to keep your own data in a file, with your own structure, 1604If you want to keep your own data in a file, with your own structure,
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 61ccbead17d..75387673f76 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12012-12-14 Julien Danjou <julien@danjou.info>
2
3 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords): Update
4 keywords list, data type and PL/pgSQL.
5
12012-12-14 Dave Abrahams <dave@boostpro.com> 62012-12-14 Dave Abrahams <dave@boostpro.com>
2 7
3 * vc/ediff-util.el (ediff-buffer-type): New function. 8 * vc/ediff-util.el (ediff-buffer-type): New function.
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el
index 22ba55d9a08..9765b614b96 100644
--- a/lisp/progmodes/sql.el
+++ b/lisp/progmodes/sql.el
@@ -1930,7 +1930,7 @@ to add functions and PL/SQL keywords.")
1930 ;; Postgres non-reserved words 1930 ;; Postgres non-reserved words
1931 (sql-font-lock-keywords-builder 'font-lock-builtin-face nil 1931 (sql-font-lock-keywords-builder 'font-lock-builtin-face nil
1932"abort" "absolute" "access" "action" "add" "admin" "after" "aggregate" 1932"abort" "absolute" "access" "action" "add" "admin" "after" "aggregate"
1933"also" "alter" "always" "assertion" "assignment" "at" "backward" 1933"also" "alter" "always" "assertion" "assignment" "at" "attribute" "backward"
1934"before" "begin" "between" "by" "cache" "called" "cascade" "cascaded" 1934"before" "begin" "between" "by" "cache" "called" "cascade" "cascaded"
1935"catalog" "chain" "characteristics" "checkpoint" "class" "close" 1935"catalog" "chain" "characteristics" "checkpoint" "class" "close"
1936"cluster" "coalesce" "comment" "comments" "commit" "committed" 1936"cluster" "coalesce" "comment" "comments" "commit" "committed"
@@ -1941,40 +1941,40 @@ to add functions and PL/SQL keywords.")
1941"delimiters" "dictionary" "disable" "discard" "document" "domain" 1941"delimiters" "dictionary" "disable" "discard" "document" "domain"
1942"drop" "each" "enable" "encoding" "encrypted" "enum" "escape" 1942"drop" "each" "enable" "encoding" "encrypted" "enum" "escape"
1943"exclude" "excluding" "exclusive" "execute" "exists" "explain" 1943"exclude" "excluding" "exclusive" "execute" "exists" "explain"
1944"external" "extract" "family" "first" "float" "following" "force" 1944"extension" "external" "extract" "family" "first" "float" "following" "force"
1945"forward" "function" "functions" "global" "granted" "greatest" 1945"forward" "function" "functions" "global" "granted" "greatest"
1946"handler" "header" "hold" "hour" "identity" "if" "immediate" 1946"handler" "header" "hold" "hour" "identity" "if" "immediate"
1947"immutable" "implicit" "including" "increment" "index" "indexes" 1947"immutable" "implicit" "including" "increment" "index" "indexes"
1948"inherit" "inherits" "inline" "inout" "input" "insensitive" "insert" 1948"inherit" "inherits" "inline" "inout" "input" "insensitive" "insert"
1949"instead" "invoker" "isolation" "key" "language" "large" "last" 1949"instead" "invoker" "isolation" "key" "label" "language" "large" "last"
1950"lc_collate" "lc_ctype" "least" "level" "listen" "load" "local" 1950"lc_collate" "lc_ctype" "leakproof" "least" "level" "listen" "load" "local"
1951"location" "lock" "login" "mapping" "match" "maxvalue" "minute" 1951"location" "lock" "login" "mapping" "match" "maxvalue" "minute"
1952"minvalue" "mode" "month" "move" "name" "names" "national" "nchar" 1952"minvalue" "mode" "month" "move" "names" "national" "nchar"
1953"next" "no" "nocreatedb" "nocreaterole" "nocreateuser" "noinherit" 1953"next" "no" "nocreatedb" "nocreaterole" "nocreateuser" "noinherit"
1954"nologin" "none" "nosuperuser" "nothing" "notify" "nowait" "nullif" 1954"nologin" "none" "noreplication" "nosuperuser" "nothing" "notify" "nowait" "nullif"
1955"nulls" "object" "of" "oids" "operator" "option" "options" "out" 1955"nulls" "object" "of" "off" "oids" "operator" "option" "options" "out"
1956"overlay" "owned" "owner" "parser" "partial" "partition" "password" 1956"overlay" "owned" "owner" "parser" "partial" "partition" "passing" "password"
1957"plans" "position" "preceding" "prepare" "prepared" "preserve" "prior" 1957"plans" "position" "preceding" "precision" "prepare" "prepared" "preserve" "prior"
1958"privileges" "procedural" "procedure" "quote" "range" "read" 1958"privileges" "procedural" "procedure" "quote" "range" "read"
1959"reassign" "recheck" "recursive" "reindex" "relative" "release" 1959"reassign" "recheck" "recursive" "ref" "reindex" "relative" "release"
1960"rename" "repeatable" "replace" "replica" "reset" "restart" "restrict" 1960"rename" "repeatable" "replace" "replica" "replication" "reset" "restart" "restrict"
1961"returns" "revoke" "role" "rollback" "row" "rows" "rule" "savepoint" 1961"returns" "revoke" "role" "rollback" "row" "rows" "rule" "savepoint"
1962"schema" "scroll" "search" "second" "security" "sequence" "sequences" 1962"schema" "scroll" "search" "second" "security" "sequence"
1963"serializable" "server" "session" "set" "setof" "share" "show" 1963"serializable" "server" "session" "set" "setof" "share" "show"
1964"simple" "stable" "standalone" "start" "statement" "statistics" 1964"simple" "snapshot" "stable" "standalone" "start" "statement" "statistics"
1965"stdin" "stdout" "storage" "strict" "strip" "substring" "superuser" 1965"stdin" "stdout" "storage" "strict" "strip" "substring" "superuser"
1966"sysid" "system" "tables" "tablespace" "temp" "template" "temporary" 1966"sysid" "system" "tables" "tablespace" "temp" "template" "temporary"
1967"transaction" "treat" "trigger" "trim" "truncate" "trusted" "type" 1967"transaction" "treat" "trim" "truncate" "trusted" "type" "types"
1968"unbounded" "uncommitted" "unencrypted" "unknown" "unlisten" "until" 1968"unbounded" "uncommitted" "unencrypted" "unlisten" "unlogged" "until"
1969"update" "vacuum" "valid" "validator" "value" "values" "version" 1969"update" "vacuum" "valid" "validate" "validator" "value" "values" "varying" "version"
1970"view" "volatile" "whitespace" "work" "wrapper" "write" 1970"view" "volatile" "whitespace" "without" "work" "wrapper" "write"
1971"xmlattributes" "xmlconcat" "xmlelement" "xmlforest" "xmlparse" 1971"xmlattributes" "xmlconcat" "xmlelement" "xmlexists" "xmlforest" "xmlparse"
1972"xmlpi" "xmlroot" "xmlserialize" "year" "yes" 1972"xmlpi" "xmlroot" "xmlserialize" "year" "yes" "zone"
1973) 1973)
1974 1974
1975 ;; Postgres Reserved 1975 ;; Postgres Reserved
1976 (sql-font-lock-keywords-builder 'font-lock-keyword-face nil 1976 (sql-font-lock-keywords-builder 'font-lock-keyword-face nil
1977"all" "analyse" "analyze" "and" "any" "array" "asc" "as" "asymmetric" 1977"all" "analyse" "analyze" "and" "array" "asc" "as" "asymmetric"
1978"authorization" "binary" "both" "case" "cast" "check" "collate" 1978"authorization" "binary" "both" "case" "cast" "check" "collate"
1979"column" "concurrently" "constraint" "create" "cross" 1979"column" "concurrently" "constraint" "create" "cross"
1980"current_catalog" "current_date" "current_role" "current_schema" 1980"current_catalog" "current_date" "current_role" "current_schema"
@@ -1983,7 +1983,7 @@ to add functions and PL/SQL keywords.")
1983"fetch" "foreign" "for" "freeze" "from" "full" "grant" "group" 1983"fetch" "foreign" "for" "freeze" "from" "full" "grant" "group"
1984"having" "ilike" "initially" "inner" "in" "intersect" "into" "isnull" 1984"having" "ilike" "initially" "inner" "in" "intersect" "into" "isnull"
1985"is" "join" "leading" "left" "like" "limit" "localtime" 1985"is" "join" "leading" "left" "like" "limit" "localtime"
1986"localtimestamp" "natural" "notnull" "not" "null" "off" "offset" 1986"localtimestamp" "natural" "notnull" "not" "null" "offset"
1987"only" "on" "order" "or" "outer" "overlaps" "over" "placing" "primary" 1987"only" "on" "order" "or" "outer" "overlaps" "over" "placing" "primary"
1988"references" "returning" "right" "select" "session_user" "similar" 1988"references" "returning" "right" "select" "session_user" "similar"
1989"some" "symmetric" "table" "then" "to" "trailing" "true" "union" 1989"some" "symmetric" "table" "then" "to" "trailing" "true" "union"
@@ -1991,15 +1991,21 @@ to add functions and PL/SQL keywords.")
1991"with" 1991"with"
1992) 1992)
1993 1993
1994 ;; Postgres PL/pgSQL
1995 (sql-font-lock-keywords-builder 'font-lock-keyword-face nil
1996"assign" "if" "case" "loop" "while" "for" "foreach" "exit" "elsif" "return"
1997"raise" "execsql" "dynexecute" "perform" "getdiag" "open" "fetch" "move" "close"
1998)
1999
1994 ;; Postgres Data Types 2000 ;; Postgres Data Types
1995 (sql-font-lock-keywords-builder 'font-lock-type-face nil 2001 (sql-font-lock-keywords-builder 'font-lock-type-face nil
1996"bigint" "bigserial" "bit" "bool" "boolean" "box" "bytea" "char" 2002"bigint" "bigserial" "bit" "bool" "boolean" "box" "bytea" "char"
1997"character" "cidr" "circle" "date" "decimal" "double" "float4" 2003"character" "cidr" "circle" "date" "decimal" "double" "float4"
1998"float8" "inet" "int" "int2" "int4" "int8" "integer" "interval" "line" 2004"float8" "inet" "int" "int2" "int4" "int8" "integer" "interval" "line"
1999"lseg" "macaddr" "money" "numeric" "path" "point" "polygon" 2005"lseg" "macaddr" "money" "name" "numeric" "path" "point" "polygon"
2000"precision" "real" "serial" "serial4" "serial8" "smallint" "text" 2006"precision" "real" "serial" "serial4" "serial8" "sequences" "smallint" "text"
2001"time" "timestamp" "timestamptz" "timetz" "tsquery" "tsvector" 2007"time" "timestamp" "timestamptz" "timetz" "tsquery" "tsvector"
2002"txid_snapshot" "uuid" "varbit" "varchar" "varying" "without" 2008"txid_snapshot" "unknown" "uuid" "varbit" "varchar" "varying" "without"
2003"xml" "zone" 2009"xml" "zone"
2004))) 2010)))
2005 2011
diff --git a/src/ChangeLog b/src/ChangeLog
index a1dc1c2adab..2e7c05e3d36 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12012-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * xdisp.c (select_frame_for_redisplay): Keep selected_window and
4 selected_frame in sync.
5
12012-12-14 Eli Zaretskii <eliz@gnu.org> 62012-12-14 Eli Zaretskii <eliz@gnu.org>
2 7
3 * w32.c (stat_worker): If w32_stat_get_owner_group is zero, do not 8 * w32.c (stat_worker): If w32_stat_get_owner_group is zero, do not
@@ -5,8 +10,8 @@
5 security APIs. This is to make most callers of 'stat' and 10 security APIs. This is to make most callers of 'stat' and
6 'lstat', which don't need that information, much faster. 11 'lstat', which don't need that information, much faster.
7 12
8 * dired.c (Ffile_attributes) [WINDOWSNT]: Set 13 * dired.c (Ffile_attributes) [WINDOWSNT]:
9 w32_stat_get_owner_group to a non-zero value, to request accurate 14 Set w32_stat_get_owner_group to a non-zero value, to request accurate
10 owner and group information from 'lstat'. 15 owner and group information from 'lstat'.
11 16
122012-12-13 Paul Eggert <eggert@cs.ucla.edu> 172012-12-13 Paul Eggert <eggert@cs.ucla.edu>
@@ -138,8 +143,8 @@
138 * emacs.c (main): Call cache_system_info early in startup; we 143 * emacs.c (main): Call cache_system_info early in startup; we
139 previously weren't calling it in Cygwin builds. 144 previously weren't calling it in Cygwin builds.
140 145
141 * Makefile.in (ntsource, WINDRES, W32_RES, W#@_RES_LINK): Teach 146 * Makefile.in (ntsource, WINDRES, W32_RES, W#@_RES_LINK):
142 the autoconf build system how to compile a Windows resource file 147 Teach the autoconf build system how to compile a Windows resource file
143 and link it to Emacs. 148 and link it to Emacs.
144 149
1452012-12-10 Dmitry Antipov <dmantipov@yandex.ru> 1502012-12-10 Dmitry Antipov <dmantipov@yandex.ru>
@@ -686,8 +691,8 @@
686 (set_frame_menubar): Adjust user. 691 (set_frame_menubar): Adjust user.
687 * w32term.h (struct x_output): Drop outdated #if 0 code. 692 * w32term.h (struct x_output): Drop outdated #if 0 code.
688 (struct w32_output): Use bitfields for explicit_parent, 693 (struct w32_output): Use bitfields for explicit_parent,
689 asked_for_visible and menubar_active members. Drop 694 asked_for_visible and menubar_active members.
690 unused pending_menu_activation member. 695 Drop unused pending_menu_activation member.
691 * xterm.h (struct x_output): Drop outdated #if 0 code. 696 * xterm.h (struct x_output): Drop outdated #if 0 code.
692 Use bitfields for explicit_parent, asked_for_visible, 697 Use bitfields for explicit_parent, asked_for_visible,
693 has_been_visible and net_wm_state_hidden_seen members. 698 has_been_visible and net_wm_state_hidden_seen members.
@@ -780,8 +785,8 @@
780 * fileio.c (Fsubstitute_in_file_name, Ffile_name_directory) 785 * fileio.c (Fsubstitute_in_file_name, Ffile_name_directory)
781 (Fexpand_file_name) [DOS_NT]: Pass encoded file name to 786 (Fexpand_file_name) [DOS_NT]: Pass encoded file name to
782 dostounix_filename. Prevents crashes down the road, because 787 dostounix_filename. Prevents crashes down the road, because
783 dostounix_filename assumes it gets a unibyte string. Reported by 788 dostounix_filename assumes it gets a unibyte string.
784 Michel de Ruiter <michel@sentient.nl>, see 789 Reported by Michel de Ruiter <michel@sentient.nl>, see
785 http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00017.html 790 http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00017.html
786 791
7872012-11-20 Stefan Monnier <monnier@iro.umontreal.ca> 7922012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
diff --git a/src/xdisp.c b/src/xdisp.c
index 552455059de..ca9992bf804 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -13020,6 +13020,7 @@ select_frame_for_redisplay (Lisp_Object frame)
13020 eassert (FRAMEP (frame) && FRAME_LIVE_P (XFRAME (frame))); 13020 eassert (FRAMEP (frame) && FRAME_LIVE_P (XFRAME (frame)));
13021 13021
13022 selected_frame = frame; 13022 selected_frame = frame;
13023 selected_window = XFRAME (frame)->selected_window;
13023 13024
13024 do { 13025 do {
13025 for (tail = XFRAME (frame)->param_alist; 13026 for (tail = XFRAME (frame)->param_alist;
@@ -13040,10 +13041,10 @@ select_frame_for_redisplay (Lisp_Object frame)
13040 deleted (by an X connection failure during redisplay, for example). */ 13041 deleted (by an X connection failure during redisplay, for example). */
13041 13042
13042static void 13043static void
13043ensure_selected_frame (Lisp_Object old_frame) 13044ensure_selected_frame (Lisp_Object frame)
13044{ 13045{
13045 if (!EQ (old_frame, selected_frame) && FRAME_LIVE_P (XFRAME (old_frame))) 13046 if (!EQ (frame, selected_frame) && FRAME_LIVE_P (XFRAME (frame)))
13046 select_frame_for_redisplay (old_frame); 13047 select_frame_for_redisplay (frame);
13047} 13048}
13048 13049
13049#define STOP_POLLING \ 13050#define STOP_POLLING \