annotate oldXMenu/Makefile.in @ 110410:f2e111723c3a

Merge changes made in Gnus trunk. Reimplement nnimap, and do tweaks to the rest of the code to support that. * gnus-int.el (gnus-finish-retrieve-group-infos) (gnus-retrieve-group-data-early): New functions. * gnus-range.el (gnus-range-nconcat): New function. * gnus-start.el (gnus-get-unread-articles): Support early retrieval of data. (gnus-read-active-for-groups): Support finishing the early retrieval of data. * gnus-sum.el (gnus-summary-move-article): Pass the move-to group name if the move is internal, so that nnimap can do fast internal moves. * gnus.el (gnus-article-special-mark-lists): Add uid/active tuples, for nnimap usage. * nnimap.el: Rewritten. * nnmail.el (nnmail-inhibit-default-split-group): New internal variable to allow the mail splitting to not return a default group. This is useful for nnimap, which will leave unmatched mail in the inbox. * utf7.el (utf7-encode): Autoload. Implement shell connection. * nnimap.el (nnimap-open-shell-stream): New function. (nnimap-open-connection): Use it. Get the number of lines by using BODYSTRUCTURE. (nnimap-transform-headers): Get the number of lines in each message. (nnimap-retrieve-headers): Query for BODYSTRUCTURE so that we get the number of lines. Not all servers return UIDNEXT. Work past this problem. Remove junk from end of file. Fix typo in "bogus" section. Make capabilties be case-insensitive. Require cl when compiling. Don't bug out if the LIST command doesn't have any parameters. 2010-09-17 Knut Anders Hatlen <kahatlen@gmail.com> (tiny change) * nnimap.el (nnimap-get-groups): Don't bug out if the LIST command doesn't have any parameters. (mm-text-html-renderer): Document gnus-article-html. 2010-09-17 Julien Danjou <julien@danjou.info> (tiny fix) * mm-decode.el (mm-text-html-renderer): Document gnus-article-html. * dgnushack.el: Define netrc-credentials. If the user doesn't have a /etc/services, supply some sensible port defaults. Have `unseen-or-unread' select an unread unseen article first. (nntp-open-server): Return whether the open was successful or not. Throughout all files, replace (save-excursion (set-buffer ...)) with (with-current-buffer ... ). Save result so that it doesn't say "failed" all the time. Add ~/.authinfo to the default, since that's probably most useful for users. Don't use the "finish" method when we're reading from the agent. Add some more nnimap-relevant agent stuff to nnagent.el. * nnimap.el (nnimap-with-process-buffer): Removed. Revert one line that was changed by mistake in the last checkin. (nnimap-open-connection): Don't error out when we can't make a connection nnimap-related changes to avoid bugging out if we can't contact a server. * gnus-start.el (gnus-get-unread-articles): Don't try to scan groups from methods that are denied. * nnimap.el (nnimap-possibly-change-group): Return nil if we can't log in. (nnimap-finish-retrieve-group-infos): Make sure we're not waiting for nothing. * gnus-sum.el (gnus-select-newsgroup): Indent.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Sat, 18 Sep 2010 10:02:19 +0000
parents b7e047772c64
children 417b1e4d63cd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
76172
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
1 ## Makefile for oldXMenu
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
2
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
3 ## Copyright 1985, 1986, 1987 by the Massachusetts Institute of Technology
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
4
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
5 ## Permission to use, copy, modify, and distribute this
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
6 ## software and its documentation for any purpose and without
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
7 ## fee is hereby granted, provided that the above copyright
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
8 ## notice appear in all copies and that both that copyright
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
9 ## notice and this permission notice appear in supporting
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
10 ## documentation, and that the name of M.I.T. not be used in
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
11 ## advertising or publicity pertaining to distribution of the
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
12 ## software without specific, written prior permission.
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
13 ## M.I.T. makes no representations about the suitability of
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
14 ## this software for any purpose. It is provided "as is"
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
15 ## without express or implied warranty.
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
16
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
17
108265
39e86d46390a Remove some unused Makefile.in variables.
Glenn Morris <rgm@gnu.org>
parents: 108232
diff changeset
18 ## Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
39e86d46390a Remove some unused Makefile.in variables.
Glenn Morris <rgm@gnu.org>
parents: 108232
diff changeset
19 ## 2010 Free Software Foundation, Inc.
76172
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
20
94791
3765d76f7fa8 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79743
diff changeset
21 ## This program is free software: you can redistribute it and/or modify
76172
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
22 ## it under the terms of the GNU General Public License as published by
94791
3765d76f7fa8 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79743
diff changeset
23 ## the Free Software Foundation, either version 3 of the License, or
3765d76f7fa8 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79743
diff changeset
24 ## (at your option) any later version.
3765d76f7fa8 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79743
diff changeset
25
76172
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
26 ## This program is distributed in the hope that it will be useful,
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
27 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
28 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
29 ## GNU General Public License for more details.
94791
3765d76f7fa8 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79743
diff changeset
30
76172
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
31 ## You should have received a copy of the GNU General Public License
94791
3765d76f7fa8 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79743
diff changeset
32 ## along with this program. If not, see <http://www.gnu.org/licenses/>.
76172
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
33
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
34
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
35 ### Commentary:
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
36
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
37 ## To the best of our knowledge, this code was originally based on the
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
38 ## X11 oldXMenu Makefile, which was automatically generated from the
108265
39e86d46390a Remove some unused Makefile.in variables.
Glenn Morris <rgm@gnu.org>
parents: 108232
diff changeset
39 ## X11 oldXMenu Imakefile. There was no explicit copyright information
76172
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
40 ## in the Imakefile, therefore we have added the same MIT license as
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
41 ## used by the rest of the oldXMenu code.
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
42
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
43
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
44 ### Code:
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
45
25858
Dave Love <fx@gnu.org>
parents:
diff changeset
46 srcdir=@srcdir@
Dave Love <fx@gnu.org>
parents:
diff changeset
47 VPATH=@srcdir@
Dave Love <fx@gnu.org>
parents:
diff changeset
48 C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
108129
e272dbe64cda Reduce CPP usage.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 108094
diff changeset
49 C_SWITCH_X_SYSTEM=@C_SWITCH_X_SYSTEM@
108232
a13ac113e6f6 Yet another missing piece of C_SWITCH commit.
Glenn Morris <rgm@gnu.org>
parents: 108129
diff changeset
50 C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@
a13ac113e6f6 Yet another missing piece of C_SWITCH commit.
Glenn Morris <rgm@gnu.org>
parents: 108129
diff changeset
51 C_SWITCH_MACHINE=@C_SWITCH_MACHINE@
109359
b7e047772c64 Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents: 108266
diff changeset
52 C_WARNINGS_SWITCH = @C_WARNINGS_SWITCH@
b7e047772c64 Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents: 108266
diff changeset
53 PROFILING_CFLAGS = @PROFILING_CFLAGS@
25858
Dave Love <fx@gnu.org>
parents:
diff changeset
54
Dave Love <fx@gnu.org>
parents:
diff changeset
55 EXTRA=insque.o
Dave Love <fx@gnu.org>
parents:
diff changeset
56 CC=@CC@
Dave Love <fx@gnu.org>
parents:
diff changeset
57 CFLAGS=@CFLAGS@
108265
39e86d46390a Remove some unused Makefile.in variables.
Glenn Morris <rgm@gnu.org>
parents: 108232
diff changeset
58 TAGS = etags
39e86d46390a Remove some unused Makefile.in variables.
Glenn Morris <rgm@gnu.org>
parents: 108232
diff changeset
59 RM = rm -f
108266
b62300b6aaea Let configure handle ranlib.
Glenn Morris <rgm@gnu.org>
parents: 108265
diff changeset
60 RANLIB = @RANLIB@
25858
Dave Love <fx@gnu.org>
parents:
diff changeset
61 # Solaris 2.1 ar doesn't accept the 'l' option.
108265
39e86d46390a Remove some unused Makefile.in variables.
Glenn Morris <rgm@gnu.org>
parents: 108232
diff changeset
62 AR = ar cq
25858
Dave Love <fx@gnu.org>
parents:
diff changeset
63
Dave Love <fx@gnu.org>
parents:
diff changeset
64 OBJS = Activate.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
65 AddPane.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
66 AddSel.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
67 ChgPane.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
68 ChgSel.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
69 Create.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
70 DelPane.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
71 DelSel.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
72 Destroy.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
73 Error.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
74 EvHand.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
75 FindPane.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
76 FindSel.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
77 InsPane.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
78 InsSel.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
79 Internal.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
80 Locate.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
81 Post.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
82 Recomp.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
83 SetAEQ.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
84 SetFrz.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
85 SetPane.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
86 SetSel.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
87 XDelAssoc.o XLookAssoc.o XCrAssoc.o XDestAssoc.o XMakeAssoc.o
Dave Love <fx@gnu.org>
parents:
diff changeset
88
Dave Love <fx@gnu.org>
parents:
diff changeset
89 all:: libXMenu11.a
Dave Love <fx@gnu.org>
parents:
diff changeset
90
96923
d89afa2b4c2f * config.in: Regenerate.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 94791
diff changeset
91 ALL_CFLAGS=$(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \
108094
7a80cd5e5722 * Makefile.in: Remove C_SWITCH_X_MACHINE, unused.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107830
diff changeset
92 $(C_SWITCH_X_SITE) $(C_SWITCH_X_SYSTEM) \
109359
b7e047772c64 Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents: 108266
diff changeset
93 ${C_WARNINGS_SWITCH} ${PROFILING_CFLAGS} \
25858
Dave Love <fx@gnu.org>
parents:
diff changeset
94 $(CPPFLAGS) $(CFLAGS) -DEMACS_BITMAP_FILES \
Dave Love <fx@gnu.org>
parents:
diff changeset
95 -I../src -I${srcdir} -I${srcdir}/../src
Dave Love <fx@gnu.org>
parents:
diff changeset
96
Dave Love <fx@gnu.org>
parents:
diff changeset
97 .c.o:
Dave Love <fx@gnu.org>
parents:
diff changeset
98 $(CC) -c ${ALL_CFLAGS} $<
Dave Love <fx@gnu.org>
parents:
diff changeset
99
Dave Love <fx@gnu.org>
parents:
diff changeset
100 libXMenu11.a: $(OBJS) $(EXTRA)
Dave Love <fx@gnu.org>
parents:
diff changeset
101 $(RM) $@
Dave Love <fx@gnu.org>
parents:
diff changeset
102 $(AR) $@ $(OBJS) $(EXTRA)
108266
b62300b6aaea Let configure handle ranlib.
Glenn Morris <rgm@gnu.org>
parents: 108265
diff changeset
103 $(RANLIB) $@
25858
Dave Love <fx@gnu.org>
parents:
diff changeset
104
Dave Love <fx@gnu.org>
parents:
diff changeset
105 Activate.o: Activate.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
106 AddPane.o: AddPane.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
107 AddSel.o: AddSel.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
108 ChgPane.o: ChgPane.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
109 ChgSel.o: ChgSel.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
110 Create.o: Create.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
111 DelPane.o: DelPane.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
112 DelSel.o: DelSel.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
113 Destroy.o: Destroy.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
114 Error.o: Error.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
115 EvHand.o: EvHand.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
116 FindPane.o: FindPane.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
117 FindSel.o: FindSel.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
118 InsPane.o: InsPane.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
119 InsSel.o: InsSel.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
120 Internal.o: Internal.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
121 Locate.o: Locate.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
122 Post.o: Post.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
123 Recomp.o: Recomp.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
124 SetAEQ.o: SetAEQ.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
125 SetFrz.o: SetFrz.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
126 SetPane.o: SetPane.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
127 SetSel.o: SetSel.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
128 XDelAssoc.o: XDelAssoc.c X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
129 XLookAssoc.o: XLookAssoc.c X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
130 XCrAssoc.o: XCrAssoc.c X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
131 XDestAssoc.o: XDestAssoc.c X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
132 XMakeAssoc.o: XMakeAssoc.c X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
133 insque.o: insque.c
Dave Love <fx@gnu.org>
parents:
diff changeset
134
Dave Love <fx@gnu.org>
parents:
diff changeset
135 FRC.mostlyclean:
Dave Love <fx@gnu.org>
parents:
diff changeset
136 mostlyclean: FRC.mostlyclean
Dave Love <fx@gnu.org>
parents:
diff changeset
137 rm -f libXMenu11.a ${OBJS} ${EXTRA}
Dave Love <fx@gnu.org>
parents:
diff changeset
138 clean: mostlyclean
Dave Love <fx@gnu.org>
parents:
diff changeset
139 distclean: clean
76168
1be79dda87d7 (distclean): Remove Makefile.
Glenn Morris <rgm@gnu.org>
parents: 56026
diff changeset
140 rm -f Makefile
25858
Dave Love <fx@gnu.org>
parents:
diff changeset
141 maintainer-clean: distclean
Dave Love <fx@gnu.org>
parents:
diff changeset
142
Dave Love <fx@gnu.org>
parents:
diff changeset
143 tags::
Dave Love <fx@gnu.org>
parents:
diff changeset
144 $(TAGS) -t *.[ch]