help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Software/HD ecology


From: David Masterson
Subject: Re: Software/HD ecology
Date: 19 Dec 2002 13:14:53 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

>>>>> Miles Bader writes:

> Those seem like pretty reasonable ideas; in more concrete form,
> perhaps they could be added to the GNU programming standards or
> something.

Or autoconf/automake...

-- 
David Masterson                David DOT Masterson AT synopsys DOT com
Sr. R&D Engineer               Synopsys, Inc.
Software Engineering           Sunnyvale, CA
>From help-gnu-emacs-bounces@gnu.org  Thu Dec 19 17:25:10 2002
From: Zero Void <hujingcao@hotmail.com>
Newsgroups: gnu.emacs.help
Date: Thu, 19 Dec 2002 17:22:23 -0500
Organization: I don't know
Lines: 12
Message-ID: <m3znr18x9c.fsf@zeus.ece.cmu.edu>
References: <mailman.416.1040309869.19936.help-gnu-emacs@gnu.org>
NNTP-Posting-Host: zeus.ece.cmu.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: nntp.ece.cmu.edu 1040336547 6334 128.2.133.104 (19 Dec 2002 22:22:27
        GMT)
X-Complaints-To: gripe@ece.cmu.edu
NNTP-Posting-Date: 19 Dec 2002 22:22:27 GMT
User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i686-pc-linux-gnu)
Cancel-Lock: sha1:irdwN5FghLW/D2BoJ8OGe9HNkuI=
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.wirehub.nl!news-out.visi.com!hermes.visi.com!usenet.INS.cwru.edu!news.ysu.edu!nntp.ece.cmu.edu!not-for-mail
Xref: shelby.stanford.edu gnu.emacs.help:108310
To: help-gnu-emacs@gnu.org
Subject: Re: C Mode Comments
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 19 Dec 2002 22:25:10 -0000

Kevin Dziulko <dziulko@klaatu.canisius.edu> writes:

> Does anyone know if there is a command to mark a comment, or kill a
> comment in c-mode?

Did you mean "comment-region" and "uncomment-region" commands?


-- 
All men know the utility of useful things;
but they do not know the utility of futility.
                -- Chuang-tzu
>From help-gnu-emacs-bounces@gnu.org  Thu Dec 19 17:35:15 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: John Wiegley <johnw@gnu.org>
Newsgroups: gnu.emacs.help
Date: Thu, 19 Dec 2002 15:31:37 -0700
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <8765tp4p4m.fsf@alice.dynodns.net>
References: <wc3bs3hsp9d.fsf@gamma.cis.ohio-state.edu>
X-Public-Key: http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0xF40524D0
X-Home-Page: http://www.gci-net.com/users/j/johnw/
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50
 (i686-pc-linux-gnu)
Cancel-Lock: sha1:ViOBiIVviRAtjLhfbme4E9uNyGQ=
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@supernews.com
Lines: 16
Xref: shelby.stanford.edu gnu.emacs.help:108311
To: help-gnu-emacs@gnu.org
Subject: Re: align.el:  how to align space delimited text tables?
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 19 Dec 2002 22:35:15 -0000

>>>>> On Thu Dec 19, Benjamin writes:

> I'd like to align the fields to the following:

>     max 4096 cs 70 ap_mp 9 t 55% np 63 ap 63 max 6291.456 cs 70
> ap_mp 9 t 55% np 63 ap 63 max 8192 cs 70 ap_mp 9 t 55% np 63 ap 63

> Anyone have a good recipe for this?

Without a delimiter, there is no way for align.el to figure this
out.  It is only regexp based, not a true parser.

It will align TeX tables, for example, because those use & as a
delimiter.

John
>From help-gnu-emacs-bounces@gnu.org  Thu Dec 19 17:40:10 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news1.optus.net.au!optus!news.usyd.edu.au!news.une.edu.au!not-for-mail
From: Tim X <timx@spamto.devnul.com>
Newsgroups: gnu.emacs.help
Date: 20 Dec 2002 09:36:24 +1100
Organization: University of New England, NSW, Australia
Lines: 44
Message-ID: <878yylzlef.fsf@blind-bat.une.edu.au>
References: <atr07d$d72$1@reader1.panix.com>
        <87lm2mzeom.fsf@blind-bat.une.edu.au> 
<84isxqjlof.fsf@lucy.cs.uni-dortmund.de>
NNTP-Posting-Host: blind-bat.une.edu.au
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Xref: shelby.stanford.edu gnu.emacs.help:108312
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs pager?
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: timx@spamto.devnul.com
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 19 Dec 2002 22:40:10 -0000

kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes:

> I like to use eshell.  Very nifty.  Here is my version of less for
> eshell:
> 
> (defun eshell/less (&rest args)
>   "Invoke `view-file' on the file.
> \"less +42 foo\" also goes to line 42 in the buffer."
>   (while args
>     (if (string-match "\\`\\+\\([0-9]+\\)\\'" (car args))
>         (let* ((line (string-to-number (match-string 1 (pop args))))
>                (file (pop args)))
>           (view-file file)
>           (goto-line line))
>       (view-file (pop args)))))
> 
> The voodoo is for the line numbers.  If you don't need it, this should
> do, as well:
> 
> (defun eshell/less (&rest args)
>   "Invoke `view-file' on the given file(s)."
>   (while args (view-file (pop args))))
> 
> You can configure the key bindings of view-file, too.  view-mode-map
> is the variable I believe.


Kai, very nice. I had something similar to your second version, but I
like the addition with the line numbering. That one is going into my
emacs library today!


You just gotta love eshell. Although I've not done it, I've heard
there is even some out there who are using eshell as their default
loging shell on their linux boxes. Sometime, when I'm a bit bored, I
might even start looking at that myself...

Then again, with emacs and elisp, when do you get the chance to get
bored!

Tim
-- 
Tim X.
tcross (at) northnet com au
>From help-gnu-emacs-bounces@gnu.org  Thu Dec 19 18:40:15 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!newsprint.netaxs.com!cyclone2.usenetserver.com!news.webusenet.com!news01.optonline.net!news4.srv.hcvlny.cv.net.POSTED!53ab2750!not-for-mail
Message-ID: <3E0258E7.4040404@rcn.com>
From: Tribhuvan <loka@rcn.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US;
        rv:1.0.1) Gecko/20020920 Netscape/7.0
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.sys.mac.apps,comp.sys.mac.advocacy,comp.text.tex,gnu.emacs.help
References: <041220020952400758%ajanta@no.spam>
        <slrnav1ed1.ho.smullerin@esb.bbn.com> <m2hedrm4oc.fsf@owlbear.local>
        <84bs3xsyi8.fsf@lucy.cs.uni-dortmund.de> 
<071220021155280606%ajanta@no.spam>
        <5ld6obj8il.fsf@rum.cs.yale.edu> <091220021652087216%ajanta@no.spam>
        <101220021125583826%ajanta@no.spam> <vf3cp5ix2u.fsf@rpc71.cs.man.ac.uk>
        <vf3cp4k92x.fsf@rpc71.cs.man.ac.uk> <111220021101520860%ajanta@no.spam>
        <vfadjcif3n.fsf@rpc71.cs.man.ac.uk> <111220021253524057%ajanta@no.spam>
        <5l65u0i8zj.fsf@rum.cs.yale.edu> <111220022053507599%ajanta@no.spam>
        <84k7ifo3s2.fsf@lucy.cs.uni-dortmund.de> 
<87u1hjdwta.fsf@hurd.crasseux.com>
        <121220021324043990%ajanta@no.spam>
        <m3el8iar9g.fsf@mika.informatik.uni-freiburg.de>
        <171220021132381961%ajanta@no.spam> <3DFFA457.1020103@rcn.com>
        <844r9b3exh.fsf@lucy.cs.uni-dortmund.de> <un0n2yi04.fsf@synopsys.com>
        <87y96m3xhg.fsf@tc-1-100.kawasaki.gol.ne.jp> 
<uwum590du.fsf@synopsys.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 26
Date: Thu, 19 Dec 2002 23:38:59 GMT
NNTP-Posting-Host: 24.189.235.22
X-Trace: news4.srv.hcvlny.cv.net 1040341139 24.189.235.22 (Thu, 19 Dec 2002
        18:38:59 EST)
NNTP-Posting-Date: Thu, 19 Dec 2002 18:38:59 EST
Organization: Optimum Online
Xref: shelby.stanford.edu comp.sys.mac.apps:349334
        comp.sys.mac.advocacy:919014 comp.text.tex:238595 gnu.emacs.help:108313
To: help-gnu-emacs@gnu.org
Subject: Re: Software/HD ecology
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 19 Dec 2002 23:40:15 -0000



David Masterson wrote:

> Or autoconf/automake...
> 

 >> You could try "make -n uninstall > /tmp/foo" right after "make
 >> install".  Maybe then /tmp/foo contains the necessary info.

 >Exactly.  My contention is that /tmp/foo should be installed right
 >along with everything else.

Just how commonly available is the "make -n uninstall > /tmp/foo"
in src distributions anyway. Actually, because of my ignorance
of it I never used it. If it is widely incorporated, then it
may be a matter of putting an option in ./configure like:
--enable-uninstall=/tmp/foo (or /var/pkg/foo)
which would be comparatively easier than developing a
pkg-manager which is really an OS dependent thing anyway.

The configure option could trigger the "make -n uninstall" command
to occur right after "make install" - and would increase
awareness of the option by placing it in an obvious place
(via: ./configure --help).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]