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 address@hidden  Thu Dec 19 17:25:10 2002
From: Zero Void <address@hidden>
Newsgroups: gnu.emacs.help
Date: Thu, 19 Dec 2002 17:22:23 -0500
Organization: I don't know
Lines: 12
Message-ID: <address@hidden>
References: <address@hidden>
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: address@hidden
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: address@hidden
Subject: Re: C Mode Comments
X-BeenThere: address@hidden
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:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
X-List-Received-Date: Thu, 19 Dec 2002 22:25:10 -0000

Kevin Dziulko <address@hidden> 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 address@hidden  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 <address@hidden>
Newsgroups: gnu.emacs.help
Date: Thu, 19 Dec 2002 15:31:37 -0700
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <address@hidden>
References: <address@hidden>
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: address@hidden
Lines: 16
Xref: shelby.stanford.edu gnu.emacs.help:108311
To: address@hidden
Subject: Re: align.el:  how to align space delimited text tables?
X-BeenThere: address@hidden
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:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
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 address@hidden  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 <address@hidden>
Newsgroups: gnu.emacs.help
Date: 20 Dec 2002 09:36:24 +1100
Organization: University of New England, NSW, Australia
Lines: 44
Message-ID: <address@hidden>
References: <address@hidden>
        <address@hidden> <address@hidden>
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: address@hidden
Subject: Re: Emacs pager?
X-BeenThere: address@hidden
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: address@hidden
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
X-List-Received-Date: Thu, 19 Dec 2002 22:40:10 -0000

address@hidden (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 address@hidden  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: <address@hidden>
From: Tribhuvan <address@hidden>
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: <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden>
        <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
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: address@hidden
Subject: Re: Software/HD ecology
X-BeenThere: address@hidden
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:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
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]