Re: editors and paragraphs

2002-03-19 Thread MuttER

* Sven Guckes [EMAIL PROTECTED] [03-19-02 18:40]:
 * Dave Pearson [EMAIL PROTECTED] [2002-03-14 09:27]:
  * Sven Guckes [EMAIL PROTECTED] [2002-03-13 17:40:27 +0100]:
   Which editors parse for dates?  examples?  (anyone?)
  Some people consider emacs to be an editor.
 
 oh - that one.
 
  ,
  | *** Welcome to IELM ***  Type (describe-mode) for help.
  | ELISP (require 'parse-time)
  | parse-time
  |
  | ELISP (parse-time-string Wed, 13 Mar 2002 17:40:27 +0100)
  | (27 40 17 13 3 2002 3 nil 3600)
  |
  | ELISP (parse-time-string 2002-03-13 17:40:27 +0100)
  | (27 40 17 13 3 2002 nil nil 3600)
  |
  | ELISP (parse-time-string 020313 14:17)
  | (0 17 14 nil nil nil nil nil nil)
  `
 
 looks like the parsing can still be enhanced.  *ehem*
 
 Sven

Holster your firearm!
-- 
Pat Shanahan Registered Linux User #207535
  Registered at: http://counter.li.org
  6:42pm  up 2 days,  1:58,  5 users,  load average: 0.09, 0.06, 0.06



Re: editors and paragraphs

2002-03-14 Thread Dave Pearson

* Sven Guckes [EMAIL PROTECTED] [2002-03-13 17:40:27 +0100]:

 * MuttER [EMAIL PROTECTED] [020313 14:17]:
 
  Many editors would have difficulty recognizing and parsing your date
  format.
 
 Which editors parse for dates?  examples?  (anyone?)

Some people consider emacs to be an editor.

,
| *** Welcome to IELM ***  Type (describe-mode) for help.
| ELISP (require 'parse-time)
| parse-time
| 
| ELISP (parse-time-string Wed, 13 Mar 2002 17:40:27 +0100)
| (27 40 17 13 3 2002 3 nil 3600)
| 
| ELISP (parse-time-string 2002-03-13 17:40:27 +0100)
| (27 40 17 13 3 2002 nil nil 3600)
| 
| ELISP (parse-time-string 020313 14:17)
| (0 17 14 nil nil nil nil nil nil)
`

-- 
Dave Pearson:   | lbdb.el - LBDB interface.
http://www.davep.org/   |  sawfish.el - Sawfish mode.
Emacs:  |  uptimes.el - Record emacs uptimes.
http://www.davep.org/emacs/ | quickurl.el - Recall lists of URLs.



Re: editors and paragraphs

2002-03-14 Thread Sven Guckes

* Dave Pearson [EMAIL PROTECTED] [2002-03-14 09:27]:
 * Sven Guckes [EMAIL PROTECTED] [2002-03-13 17:40:27 +0100]:
  Which editors parse for dates?  examples?  (anyone?)
 Some people consider emacs to be an editor.

oh - that one.

 ,
 | *** Welcome to IELM ***  Type (describe-mode) for help.
 | ELISP (require 'parse-time)
 | parse-time
 |
 | ELISP (parse-time-string Wed, 13 Mar 2002 17:40:27 +0100)
 | (27 40 17 13 3 2002 3 nil 3600)
 |
 | ELISP (parse-time-string 2002-03-13 17:40:27 +0100)
 | (27 40 17 13 3 2002 nil nil 3600)
 |
 | ELISP (parse-time-string 020313 14:17)
 | (0 17 14 nil nil nil nil nil nil)
 `

looks like the parsing can still be enhanced.  *ehem*

Sven

-- 
off topic?  what?



Re: editors and paragraphs

2002-03-14 Thread Dave Pearson

* Sven Guckes [EMAIL PROTECTED] [2002-03-14 12:09:19 +0100]:

 * Dave Pearson [EMAIL PROTECTED] [2002-03-14 09:27]:
 
  ,
  | ELISP (parse-time-string 020313 14:17)
  | (0 17 14 nil nil nil nil nil nil)
  `
 
 looks like the parsing can still be enhanced.  *ehem*

How should it infer the year format, get the seconds and work out the
timezone from the above data? Even if the seconds is considered lossy the
other two items of data seem pretty vital, even if the parser isn't an
editor.

-- 
Dave Pearson:  | mutt.octet.filter - autoview octet-streams
http://www.davep.org/  | mutt.vcard.filter - autoview simple vcards
Mutt:  | muttrc2html   - muttrc - HTML utility
http://www.davep.org/mutt/ | muttrc.sl - Jed muttrc mode



Re: editors and paragraphs

2002-03-14 Thread Thomas Dickey

On Thu, Mar 14, 2002 at 09:21:49AM +, Dave Pearson wrote:
 * Sven Guckes [EMAIL PROTECTED] [2002-03-13 17:40:27 +0100]:
 
  * MuttER [EMAIL PROTECTED] [020313 14:17]:
  
   Many editors would have difficulty recognizing and parsing your date
   format.
  
  Which editors parse for dates?  examples?  (anyone?)
 
 Some people consider emacs to be an editor.

the standard joke on that topic is that emacs is an operating system
in need of a good editor (ymmv).

-- 
Thomas E. Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net



Re: editors and paragraphs

2002-03-13 Thread Sven Guckes

* MuttER [EMAIL PROTECTED] [020313 14:17]:
 My name is in the header and the sig.  I receive very little
 uce/spam and have no filters expressly for rejecting same.

this will change over time.  dont worry.

 I do not know that I have ever read a book without paragraphs.
 BUT, I have read many books that did not have the paragraphs
 delineated by blank lines.  Many use indentation for delineation.
 And many editors recognize indentation paragraphing.

hmm... vim is not one of them.  dang.

 Many editors would have difficulty recognizing
 and parsing your date format.

Which editors parse for dates?  examples?  (anyone?)

 Please have the last word.

whow would I get answers to my questions then?  ;-)
your turn.

Sven