Re: [Orgmode] Re: Can I input multiline in a cell?

2011-02-18 Thread Bastien
Wang Coeus wangco...@gmail.com writes:

 For such a kind of situation, we only can implement with table.el,
 right?

Right :)

-- 
 Bastien

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Can I input multiline in a cell?

2011-02-18 Thread Bastien
brian powell briangpowel...@gmail.com writes:

 Forget all previous emails from me on this thread; 

Done :)

The font you use might causes problems for fixed-font emails you *read*
but problems for emails you send are caused by using HTML.  Go to gmail
parameters and deactivate HTML when sending, it's generally better, at
least for this list...

Thanks!

-- 
 Bastien

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Can I input multiline in a cell?

2011-02-18 Thread brian powell
I haven't sent any HTMl that I know of--I fully embrace the plain text
KISS methods.

I've changed my fonts (all fonts--fixed and otherwise) to a font using the
string  Mono  somewhere in its name, and things seem better reading and
copying-and-pasting into an email buffer like this one--it should take care
of all problems with reading and writing @aligned tables@.

Thanks for pointing that out Bastien (about the fonts)--the FreeMono and
Courier fonts in GOOGLE CHROME are ugly--I tried them all after your
email--I settled on DejaVu Sans Mono Book; but, again, I have never posted
HTML to this list that I remember--I used to work with IETF members on XML
protocols and I'm very familiar with GML, SGML, HTML, XML, etc--I know HTML
when I see it.  The only markup that I inserted was [[file: --but thats
not HTML--its OrgMode?

If I paste text and set its font to XYZ @and@ you allow your browser to view
the XYZ font and character set @and@ you have the XYZ font software
installed and/or your email software has it, then you'll see it the way the
writer intended you to see it.  If you ever see anything from me with
uncovered down/aligned table columns again, please tell me, sorry about
that, it shouldn't happen again.  I strongly believe that problem has been
solved.

(I'll look into turning off HTML sending in my GOOGLE CHROME browser
options--like you suggested Bastien)

As for OrgMode and my idea, my plan: I will be setting ^H as an
end-of-line $ marker in my own code--when I am in a buffer running
OrgMode--and I'll see if I can make multivariate stat. tables like the
example table Wang gave--EMACS has the only regexp engine that is easily
tweaked that way--that I know of (see Regular Expressions, O'Reilly, 1st
edition)

Now, should OrgMode table mode support the creation of tables like the one
Wang gave as an example? I think it should.

--But I'm so giddy about OrgMode as it is right now, I almost don't care!

;-)


On Fri, Feb 18, 2011 at 4:47 AM, Bastien bastien.gue...@wikimedia.frwrote:

 brian powell briangpowel...@gmail.com writes:

  Forget all previous emails from me on this thread;

 Done :)

 The font you use might causes problems for fixed-font emails you *read*
 but problems for emails you send are caused by using HTML.  Go to gmail
 parameters and deactivate HTML when sending, it's generally better, at
 least for this list...

 Thanks!

 --
  Bastien

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Can I input multiline in a cell?

2011-02-18 Thread brian powell
On Fri, Feb 18, 2011 at 10:31 AM, Nick Dokos nicholas.do...@hp.com wrote:

 brian powell briangpowel...@gmail.com wrote:

  I haven't sent any HTMl that I know of--I fully embrace the plain text
 KISS methods.
 

 This very email contained alternatives: an HTML one and a plain-text one.

 Nick


I have no idea what you mean here--maybe earlier emails? (which I requested
we disregard earlier)

I didn't find the option Bastien was refering to--to turn off the sending of
HTML.

I have been experimenting with sending images in GOOGLE CHROME--maybe that
setting is what you complain about/suffer from?  I do want to continue to do
that; but, what exactly you are complaining about, I don't know?

I sent a very complex set of tables (2 emails ago) and all the tables were
covered down/aligned?

Lastly, please remember this thread purposefully contained markup to
pictures and/or [[file: and other probelematic text like multiline
text (this thread) in OrgMode tables--its all experimental what if
stuff--I purposely tried to insert strange things into the OrgMode table?

It was fun and interesting; and, I learned a few things.  Now, please feel
free to delete or disregard anything I've sent to the list.  Anyway, I'm
done with this thread.
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Can I input multiline in a cell?

2011-02-18 Thread brian powell
I'm not offended; I'm looking into the turning off of html from my GOOGLE
CHROME browser.  I have been experimenting with the new features like
inserting images, etc.

And yes, as you point out that very email has markup (on your side--if you
accept it)--and that very email apologized for the problem and explained
that I would look into it--its still a problem--for you.

Everything looks fine to me now--even when I browse the postings.

I know a lot about MIME and browsers believe me, and email systems and
software and the internet...

you can go and learn something about MIME and what mailers do behind your
back.

--much agreed; this will always be an issue when using GMAIL or other
proprietary mail systems.

Thanks for the help Nick.




On Fri, Feb 18, 2011 at 11:20 AM, Nick Dokos nicholas.do...@hp.com wrote:

 brian powell briangpowel...@gmail.com wrote:


  It was fun and interesting; and, I learned a few things.  Now, please
 feel free to delete or
  disregard anything I've sent to the list.  Anyway, I'm done with this
 thread.
 

 I'm not trying to insult/upbraid/shut you up. And I was not
 offended/insulted/angry or anything like that. You made a statement. I
 pointed out that the statement was wrong. That's all.

 You learnt something from earlier emails.  That's good. Maybe you can
 learn something from this as well: e.g. you can go and learn something
 about MIME and what mailers do behind your back.

 Please do not misunderstand my terseness as anything other than it is:
 the minimal text possible to explain the problem.

 Nick

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Can I input multiline in a cell?

2011-02-18 Thread Joost Kremers
On Fri, Feb 18, 2011 at 10:09:07AM -0500, brian powell wrote:
I haven't sent any HTMl that I know of--I fully embrace the plain text
KISS methods.

well, you're not sending plain text messages. look at your headers:

Content-Type: multipart/mixed; boundary0485505407==

the multipart part means that your messages contain different parts, encoded
in different ways. more precisely in your case, your messages consist of a plain
text part and an html part, both containing the same text.

when i read your message in mutt, this is what it shows:



[-- Autoview using elinks -dump -eval set document.codepage.assume = 
'ISO-8859-1' '/home/joost/tmp/mutt2xkhQU' --]
   I haven't sent any HTMl that I know of--I fully embrace the plain text
   KISS methods.
   [...]



the Autoview using elinks ... part means mutt is calling elinks to display the
message. i.e., it's displaying the html part.


-- 
Joost Kremers
Life has its moments

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Can I input multiline in a cell?

2011-02-18 Thread suvayu ali
Hi Brian,

On Fri, Feb 18, 2011 at 7:09 AM, brian powell briangpowel...@gmail.com wrote:
 I haven't sent any HTMl that I know of--I fully embrace the plain text
 KISS methods.

This comes up on all mailing lists rather often. On Gmail, to the
right of the rich text formatting bar, there is a Plain text link.
press that to turn off Rich text formatting, which is html in
disguise. I think GMail should be more explicit about this behaviour.
FWIW, I am sending this post from GMail using the plain text setting.

Hope this helps.

--
Suvayu

Open source is the future. It sets us free.

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Can I input multiline in a cell?

2011-02-17 Thread Wang Coeus
Bastien bastien.gue...@wikimedia.fr writes:

 Hi Wang,

 Wang Coeus wangco...@gmail.com writes:

 Will org consider to support this in future? 

 There is no plan for this right now.

 But what about cheating a bit and play with the _display_ of the table?

 | Header  | Header |
 |-+|
 | I want to   ||
 | write stuff ||
 | on several  ||
 | lines   ||

 You should be able to export this table to HTML or LaTeX and simulate a
 multiline cell on the first column.  Just a workaround, but could do in
 some situations.

 Also, note that you can shrink the cell length by adding length:

  |---+--|   |---+|
  |   |  |   |   | 6|
  | 1 | one  |   | 1 | one|
  | 2 | two  | \ | 2 | two|
  | 3 | This is a long chunk of text | / | 3 | This= |
  | 4 | four |   | 4 | four   |
  |---+--|   |---+|

 which helps having long text in a single-line cell.

 HTH,

Hi Bastien,
Really appreciate your help here. The reason I asked this question is
because I always feel it's too complicated to edit a table with
table.el. Your suggestion is good for me. :) But there are sometimes
also need to draw a table as below:
|---+---+|
|   | HEAD2 | Item 1 |
|   +---+|
| HEAD1 |   | Item 2 |
|   + HEAD3 ||
|   |   | Item 3 |
|---+---+|

For such a kind of situation, we only can implement with table.el,
right?

Really thanks for all your kind help. :)
-- 
Coeus
In the middle of every difficulty lies opportunity.
-- Albert Einstein

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Can I input multiline in a cell?

2011-02-17 Thread Wang Coeus
brian powell briangpowel...@gmail.com writes:

 Forget all previous emails from me on this thread; I thought there
 was a simple way to do this in OrgMode--will this work for you Wang?:

 All you have to do is this I believe (not sure about the Org publish/
 TeX output though--tell me if it works out for you): 

 Ca Enter | Tab

 and then type in your multi-line text--and maybe Tab a few
 times--this took about 15 seconds:

 |---+-+-+-+-+-+-+---|
 | * | 15B |           0 |   0 |   0 |           0 |   0 |     0 |
 |---+-+-+-+-+-+-+---|
 | * | 16W |           0 |   0 |   0 |           0 |   0 |     0 |
 |   |     |             |     |     |             |     | multi |
 |   |     |             |     |     |             |     | line  |
 |   |     |             |     |     |             |     | text  |
 |---+-+-+-+-+-+-+---|
 | * | 17B |           0 |   0 |   0 |           0 |   0 |     0 |
 |---+-+-+-+-+-+-+---|
 #+TBLFM:


Brian,
Thanks a lot for your help here. :) It's good to show in Org-mode from
Emacs itself, but when you export to html file, it's still split with
sevel cells. Sometimes I need export org file to html so to make others
feel easier to read. 

-- 
Coeus
In the middle of every difficulty lies opportunity.
-- Albert Einstein

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Can I input multiline in a cell?

2011-02-17 Thread brian powell
Your welcome Wang, my pleasure--I learned a few things too.

I used to make tables like the one you seem to be trying to put into and use
in an OrgMode Table.

Your table:

|---+---+|
|   | HEAD2 | Item 1 |
|   +---+|
| HEAD1 |   | Item 2 |
|   + HEAD3 ||
|   |   | Item 3 |
|---+---+|

* Reminds me of SAS multivariate statistics output and the PROC TABULATE
method:
** See these:
http://www2.sas.com/proceedings/forum2007/230-2007.pdf
http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002473736.htm
http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002473751.htm
** Program example is in:
http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002473751.htm
** Program example output:
  Energy Expenditures for Each Region
   1
 (millions of dollars)

  ---
  |   |  Type   |
  |   |-|
  |   |Residential |  Business  |
  |   | Customers  | Customers  |
  |   |+|
  |   |Expenditures|Expenditures|
  |   |+|
  |   |Sum |Sum |
  |---++|
  |Region |Division   |||
  |---+---|||
  |Northeast  |New England|  $7,477|  $5,129|
  |   |---++|
  |   |Middle |||
  |   |Atlantic   | $19,379| $15,078|
  |---+---++|
  |West   |Mountain   |  $5,476|  $4,729|
  |   |---++|
  |   |Pacific| $13,959| $12,619|
  ---
** Shows how to put .xls files into SAS, etc.:
http://www2.sas.com/proceedings/forum2007/230-2007.pdf
** You may be able to go from .txt/csv = EXCEL = SAS = .pdf/.ps

*Also, not sure you know about this extremely useful method that may help
you get fancy graphics:
Use ditaa!

** From http://doc.norang.ca/org-mode.html :
...
#+begin_src ditaa :file communication.png :cmdline -r -s 0.8
+---++-+
|PLC|| |
|  Network  +--+   PLC   +---=-+
|cRED   ||  c707   |  |
+---++++  |
  ^   |
  |   |
  |  +|-+
  |  || |
  v  vv v
  +--+   ++--+--+  +---+---+
 +-+-+   Windows clients
  |  |   |  |  |   |  |
  |  ++  ++
  | Database +-+  Shared  ++ Executive +-=--+ Operator
 +|cYEL| . . .|cYEL|
  |   c707   |   |  Memory  |  |   c707|  | Server
 |  ||  ||
  +--++--+   |{d} cGRE  |  +--++  |   c707
 |  ++  ++
 ^^  +--+ ^
+---+---+
 ||   |

 |+=--+
 v
+++

| |

| Millwide System | Data -

| cBLU|--=- Signals ---=--

+-+

#+end_src

** Make a DITAA diagram of the table and use the methods shown at:
http://doc.norang.ca/org-mode.html

* Maybe make two or three separate tables--and maybe separate with
whitespace--with only one real OrgMode table that you do spreadsheet
formula calcs, etc. in:

** Example:

|+-| ---+---+
| Item 1 |   4 || TAIL2 |
|+-||---+
| Item 2 | 555 |  TAIL1 |   |
|+-|| TAIL3 |
| Item 3 | 559 ||   |
|+-| ---+---+
#+TBLFM: @3$2=@1$2+@2$2
** But when I recalculate OrgTable pushes the tables back together.
** Maybe make two tables and use the UNIX paste command to paste them
together.
*** Maybe then use the TeX \verbatim.


Re: [Orgmode] Re: Can I input multiline in a cell?

2011-02-16 Thread suvayu ali
On Tue, Feb 15, 2011 at 10:06 PM, Wang Coeus wangco...@gmail.com wrote:
 Will org consider to support this in future? I just think org table is
 more convenient than table.el. Thanks a lot for the help.

As far as I know, its not likely. To my understanding, things like
table formulae and some of the export functions have trouble dealing
with it.

-- 
Suvayu

Open source is the future. It sets us free.

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Can I input multiline in a cell?

2011-02-16 Thread Eric Schulte
suvayu ali fatkasuvayu+li...@gmail.com writes:

 On Tue, Feb 15, 2011 at 10:06 PM, Wang Coeus wangco...@gmail.com wrote:
 Will org consider to support this in future? I just think org table is
 more convenient than table.el. Thanks a lot for the help.

 As far as I know, its not likely. To my understanding, things like
 table formulae and some of the export functions have trouble dealing
 with it.

In many cases it is possible to fake multiline columns e.g.,

| first  | second  |
|+-|
| some text here which   | |
| is so long I'd like| |
| it wrapped | |
|+-|
| some shorter text here | |
|+-|
|| for simple display this works   |
|| although I agree the contents won't be  |
|| treated as a single cell by spreadsheet |
|| formula |

FWIW the lack of multiline cells used to bother me about org-mode
tables, but now I hardly notice their absence, and don't know how I
would use them if they were (with some syntax) supported.

Best -- Eric

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Can I input multiline in a cell?

2011-02-16 Thread Bastien
Hi Wang,

Wang Coeus wangco...@gmail.com writes:

 Will org consider to support this in future? 

There is no plan for this right now.

But what about cheating a bit and play with the _display_ of the table?

| Header  | Header |
|-+|
| I want to   ||
| write stuff ||
| on several  ||
| lines   ||

You should be able to export this table to HTML or LaTeX and simulate a
multiline cell on the first column.  Just a workaround, but could do in
some situations.

Also, note that you can shrink the cell length by adding length:

 |---+--|   |---+|
 |   |  |   |   | 6|
 | 1 | one  |   | 1 | one|
 | 2 | two  | \ | 2 | two|
 | 3 | This is a long chunk of text | / | 3 | This= |
 | 4 | four |   | 4 | four   |
 |---+--|   |---+|

which helps having long text in a single-line cell.

HTH,

-- 
 Bastien

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Can I input multiline in a cell?

2011-02-16 Thread brian powell
This worked too:
...
|---+-+-+-+-+-+-+---+-+-+---|
| * | 11B | 21W | 31B | 41W | 51B | 61W |   71B | 81W | 91B
| * |
|---+-+-+-+-+-+-+---+-+-+---|
| * | 12W | /u/0802.jpg |   0 |   0 | [[file:/u/d.j]] |   0 | multi |   0 |
  * |   |
|   | | | | | | |  line | |
|   |
|   | | | | | | |  text | |
|   |
|---+-+-+-+-+-+-+---+-+-+---|
| * | 13B |   0 |   0 |   0 |   0 |   0 | 0 |   0 |   0
| * |
|---+-+-+-+-+-+-+---+-+-+---|
...

---to do this: I put dummy rows around the 12W row--dummy rows have
all the cells empty--and then just deleted the separator rows---took less
than a minute.

A little Ck Cy magic---and good old Tab key.

As far as the TeX ideas; making it display as a multiline cell in
export--thats a great idea too, I've made o-ton-o LaTeX tables--once you do
this process Bastien suggests, you could probably write a simple program to
munge the .tex file and then reuse the same method over and over.  TeX is
great at displaying multiline text---its the best for that---regardless of
the font.


On Wed, Feb 16, 2011 at 4:42 AM, Bastien bastien.gue...@wikimedia.frwrote:

 Hi Wang,

 Wang Coeus wangco...@gmail.com writes:

  Will org consider to support this in future?

 There is no plan for this right now.

 But what about cheating a bit and play with the _display_ of the table?

 | Header  | Header |
 |-+|
 | I want to   ||
 | write stuff ||
 | on several  ||
 | lines   ||

 You should be able to export this table to HTML or LaTeX and simulate a
 multiline cell on the first column.  Just a workaround, but could do in
 some situations.

 Also, note that you can shrink the cell length by adding length:

 |---+--|   |---+|
 |   |  |   |   | 6|
 | 1 | one  |   | 1 | one|
 | 2 | two  | \ | 2 | two|
 | 3 | This is a long chunk of text | / | 3 | This= |
 | 4 | four |   | 4 | four   |
 |---+--|   |---+|

 which helps having long text in a single-line cell.

 HTH,

 --
  Bastien

 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Can I input multiline in a cell?

2011-02-16 Thread brian powell
Howsabout some code to put in a dummy row in an OrgMode Table--this would
facilitate inputting multi-line-text--i.e. a key in
OrgMode/TableMode/CalcMode
would insert exactly a line like this in the table below:
|   | | | | | | |   | | |
|
---and thats it--you're done---then you just type in the text in the column
cells you want the multiline text.

On Wed, Feb 16, 2011 at 12:48 PM, brian powell briangpowel...@gmail.comwrote:

 This worked too:
 ...

 |---+-+-+-+-+-+-+---+-+-+---|
 | * | 11B | 21W | 31B | 41W | 51B | 61W |   71B | 81W | 91B
 | * |

 |---+-+-+-+-+-+-+---+-+-+---|
 | * | 12W | /u/0802.jpg |   0 |   0 | [[file:/u/d.j]] |   0 | multi |   0 |
   * |   |
 |   | | | | | | |  line | |
 |   |
 |   | | | | | | |  text | |
 |   |

 |---+-+-+-+-+-+-+---+-+-+---|
 | * | 13B |   0 |   0 |   0 |   0 |   0 | 0 |   0 |   0
 | * |

 |---+-+-+-+-+-+-+---+-+-+---|
 ...

 ---to do this: I put dummy rows around the 12W row--dummy rows have
 all the cells empty--and then just deleted the separator rows---took less
 than a minute.

 A little Ck Cy magic---and good old Tab key.

 As far as the TeX ideas; making it display as a multiline cell in
 export--thats a great idea too, I've made o-ton-o LaTeX tables--once you do
 this process Bastien suggests, you could probably write a simple program to
 munge the .tex file and then reuse the same method over and over.  TeX is
 great at displaying multiline text---its the best for that---regardless of
 the font.


 On Wed, Feb 16, 2011 at 4:42 AM, Bastien bastien.gue...@wikimedia.frwrote:

 Hi Wang,

 Wang Coeus wangco...@gmail.com writes:

  Will org consider to support this in future?

 There is no plan for this right now.

 But what about cheating a bit and play with the _display_ of the table?

 | Header  | Header |
 |-+|
 | I want to   ||
 | write stuff ||
 | on several  ||
 | lines   ||

 You should be able to export this table to HTML or LaTeX and simulate a
 multiline cell on the first column.  Just a workaround, but could do in
 some situations.

 Also, note that you can shrink the cell length by adding length:

 |---+--|   |---+|
 |   |  |   |   | 6|
 | 1 | one  |   | 1 | one|
 | 2 | two  | \ | 2 | two|
 | 3 | This is a long chunk of text | / | 3 | This= |
 | 4 | four |   | 4 | four   |
 |---+--|   |---+|

 which helps having long text in a single-line cell.

 HTH,

 --
  Bastien

 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Can I input multiline in a cell?

2011-02-16 Thread Bastien
Hi Brian,

brian powell briangpowel...@gmail.com writes:

 Howsabout some code to put in a dummy row in an OrgMode Table--this
 would facilitate inputting multi-line-text--i.e. a key in OrgMode/
 TableMode/CalcMode 
 would insert exactly a line like this in the table below:

Please use plain text emails...  those emails are completely unreadable
for me.  Especially crucial when talking about tables and formats.

Thanks!

-- 
 Bastien

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Can I input multiline in a cell?

2011-02-16 Thread brian powell
They were plain text emails?

(Believe me, I understand what you mean/the problems people cause when they
paste things in the buffer that aren't plain text--that is one reason to use
OrgMode.)

In any case, sorry about that--I just copied-and-pasted my tests--right from
the OrgTable/file?

My suggestion then (after all that brainstorming crap) boils down to this
alone:

Maybe put in 1 key in table mode that puts a dummy line in, maybe something
like this:

|

--it puts in the same number of cell separators and empty cells on empty
line as are on the previous line---or you could just do:

Cu 8 | Enter Tab

And then it spreads it out/covers-down the columns--or the user then just
taps Tab

(OrgMode will then format the table for them)

And then the OrgMode user would type in the multi-line-text column in the
respective column-cells.

Or I suggest a keyboard-macro (to put in the dummy rows) for this too;
thats what I'll do--I'll put it in my .emacs.


Thanks Bastien and Wang.



On Wed, Feb 16, 2011 at 1:43 PM, Bastien bastien.gue...@wikimedia.frwrote:

 Hi Brian,

 brian powell briangpowel...@gmail.com writes:

  Howsabout some code to put in a dummy row in an OrgMode Table--this
  would facilitate inputting multi-line-text--i.e. a key in OrgMode/
  TableMode/CalcMode
  would insert exactly a line like this in the table below:

 Please use plain text emails...  those emails are completely unreadable
 for me.  Especially crucial when talking about tables and formats.

 Thanks!

 --
  Bastien

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Can I input multiline in a cell?

2011-02-16 Thread brian powell
Bastien: I agree with you, every time I get emails from other users, they
are jagged and unclear--and; like you typed they are unreadable/unclear
(the columns aren't covered down)---maybe its the font that I use?

I'll research the different fonts--I think Courier font may keep things
clearer.

Here is a test:

|---+-+-+-+-+-+-+---+-+-+---|
| * | 11B | 21W | 31B | 41W | 51B | 61W |   71B | 81W | 91B
| * |
|---+-+-+-+-+-+-+---+-+-+---|
| * | 12W | /u/0802.jpg |   0 |   0 | [[file:j]]  |   0 | multi |
0 |   * |   |
|   | | | | | | |  line | |
|   |
|   | | | | | | |  text | |
|   |
|   | | | | | | |  text | |
|   |
|---+-+-+-+-+-+-+---+-+-+---|
| * | 13B |   0 |   0 |   0 |   0 |   0 | 0 |   0 |   0
| * |
|---+-+-+-+-+-+-+---+-+-+---|
| * | 14W |   0 |   0 |   0 |   0 |   0 | 0 |   0 |   0
| * |
|---+-+-+-+-+-+-+---+-+-+---|
| * | 15B |   0 |   0 |   0 |   0 |   0 | 0 |   0 |   0
| * |
|---+-+-+-+-+-+-+---+-+-+---|
| * | 16W |   0 |   0 |   0 |   0 |   0 | 0 |   0 |   0
| * |
|---+-+-+-+-+-+-+---+-+-+---|
| * | 17B |   0 |   0 |   0 |   0 |   0 | 0 |   0 |   0
| * |
|---+-+-+-+-+-+-+---+-+-+---|
| * | 18W |   0 |   0 |   0 |   0 |   0 | 0 |   0 |   0
| * |
|---+-+-+-+-+-+-+---+-+-+---|
| * | 19B |   0 |   0 |   0 |   0 |   0 | 0 |   0 |   0
| * |
|---+-+-+-+-+-+-+---+-+-+---|
| * | 18W |   0 |   0 |   0 |   0 |   0 | 0 |   0 |   0
| * |
|---+-+-+-+-+-+-+---+-+-+---|
| * | 17B |   0 |   0 |   0 |   0 |   0 | 0 |   0 |   0
| * |
|---+-+-+-+-+-+-+---+-+-+---|
| * | 16W |   0 |   0 |   0 |   0 |   0 | 0 |   0 |   0
| * |
|---+-+-+-+-+-+-+---+-+-+---|
| * | 15B |   0 |   0 |   0 |   0 |   0 | 0 |   0 |   0
| * |
|---+-+-+-+-+-+-+---+-+-+---|
| * | 14W |   0 |   0 |   0 |   0 |   0 | 0 |   0 |   0
| * |
|---+-+-+-+-+-+-+---+-+-+---|
| * | 13B |   0 |   0 |   0 |   0 |   0 | 0 |   0 |   0
| * |
|---+-+-+-+-+-+-+---+-+-+---|
| * | 12W |   0 |   0 |   0 |   0 |   0 | 0 |   0 |   0
| * |
|---+-+-+-+-+-+-+---+-+-+---|
| * | 11B |   0 |   0 |   0 |   0 |   0 | 0 |   0 |   0
| * |
|---+-+-+-+-+-+-+---+-+-+---|
#+TBLFM:

---yes, courier font is what I used to use--it aligns tables better.

I'll use courier font; and, I suggest others use it--when dealing
with/expressing table problems to others--many fonts don't cover down
columns.

Thanks again Bastien.




On Wed, Feb 16, 2011 at 1:43 PM, Bastien bastien.gue...@wikimedia.frwrote:

 Hi Brian,

 brian powell briangpowel...@gmail.com writes:

  Howsabout some code to put in a dummy row in an OrgMode Table--this
  would facilitate inputting multi-line-text--i.e. a key in OrgMode/
  TableMode/CalcMode
  would insert exactly a line like this in the table below:

 Please use plain text emails...  those emails are completely unreadable
 for me.  Especially crucial when talking about tables and formats.

 Thanks!

 --
  Bastien

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Can I input multiline in a cell?

2011-02-16 Thread brian powell
Forget all previous emails from me on this thread; I thought there was a
simple way to do this in OrgMode--will this work for you Wang?:

All you have to do is this I believe (not sure about the Org publish/TeX
output though--tell me if it works out for you):

Ca Enter | Tab

and then type in your multi-line text--and maybe Tab a few times--this
took about 15 seconds:

|---+-+-+-+-+-+-+---|
| * | 15B |   0 |   0 |   0 |   0 |   0 | 0 |
|---+-+-+-+-+-+-+---|
| * | 16W |   0 |   0 |   0 |   0 |   0 | 0 |
|   | | | | | | | multi |
|   | | | | | | | line  |
|   | | | | | | | text  |
|---+-+-+-+-+-+-+---|
| * | 17B |   0 |   0 |   0 |   0 |   0 | 0 |
|---+-+-+-+-+-+-+---|
#+TBLFM:
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Can I input multiline in a cell?

2011-02-16 Thread Nick Dokos
brian powell briangpowel...@gmail.com wrote:

 My suggestion then (after all that brainstorming crap) boils down to this 
 alone:
 
 Maybe put in 1 key in table mode that puts a dummy line in, maybe something 
 like this:
 
 |
 
 --it puts in the same number of cell separators and empty cells on empty line 
 as are on the previous line---or you could just do:
 

Doesn't M-S-down do that? In the context of a table, it ends up
calling the function org-table-insert-row. If you want a single
key (e.g. a function key) to do that, you can bind it directly
to this function. Of course, simulating multi-cell input like this
breaks the table model and might cause difficulties in other places,
but you can always try it and see how far you can push it.

Nick



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Can I input multiline in a cell?

2011-02-15 Thread Wang Coeus
suvayu ali fatkasuvayu+li...@gmail.com writes:

 On Tue, Feb 15, 2011 at 1:10 PM, Wang Coeus wangco...@gmail.com wrote:
 Hi all,
 I am using org-mode for some note, there is a table and I need to input
 a lot text in one cell, is there possible that I input multiline and
 output also show as multiline?

 org-mode tables doesn't support multi-line cells. For that you have to
 use table.el tables. As far as I recall there is an option for that in
 the Org main menu.

 --
 Coeus

 GL
Will org consider to support this in future? I just think org table is
more convenient than table.el. Thanks a lot for the help.

-- 
Coeus
In the middle of every difficulty lies opportunity.
-- Albert Einstein


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode