emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* (org-insert-heading "hello")
@ 2017-06-05  6:55 f.nikolakopoulos
  2017-06-05 12:00 ` John Kitchin
  0 siblings, 1 reply; 2+ messages in thread
From: f.nikolakopoulos @ 2017-06-05  6:55 UTC (permalink / raw)
  To: emacs-orgmode


(org-insert-heading "hello") emacs lisp function ignores argument and 
inserts blank heading.

I think is a change of mode to add the argument but which command.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: (org-insert-heading "hello")
  2017-06-05  6:55 (org-insert-heading "hello") f.nikolakopoulos
@ 2017-06-05 12:00 ` John Kitchin
  0 siblings, 0 replies; 2+ messages in thread
From: John Kitchin @ 2017-06-05 12:00 UTC (permalink / raw)
  To: f.nikolakopoulos; +Cc: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 556 bytes --]

arg is for the prefix arg.You want this:

(org-insert-heading)
(insert "hello")

John

-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu


On Mon, Jun 5, 2017 at 12:55 AM, <f.nikolakopoulos@gmail.com> wrote:

>
> (org-insert-heading "hello") emacs lisp function ignores argument and
> inserts blank heading.
>
> I think is a change of mode to add the argument but which command.
>
>
>

[-- Attachment #2: Type: text/html, Size: 1198 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-05 12:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-05  6:55 (org-insert-heading "hello") f.nikolakopoulos
2017-06-05 12:00 ` John Kitchin

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).