emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Emanuel Berg via "General discussions about Org-mode." <emacs-orgmode@gnu.org>
To: emacs-orgmode@gnu.org
Subject: Re: "text mode" org mode
Date: Tue, 15 Sep 2020 16:37:04 +0200	[thread overview]
Message-ID: <87a6xrumwf.fsf@ebih.ebihd> (raw)
In-Reply-To: 87v9gfduf5.fsf@gmail.com

Gustavo Barros wrote:

> That's probably not something most Org users would
> do, but I think you'd get close to what you want
> with:
>
>     (add-hook 'org-mode-hook 'visible-mode)

Yeah, that seems to have done it? Great! Thanks a lot!

;;; -*- lexical-binding: t -*-
;;;
;;; this file:
;;;   http://user.it.uu.se/~embe8573/emacs-init/org-my.el
;;;   https://dataswamp.org/~incal/emacs-init/org-my.el

(require 'mode-line)
(require 'org)
(require 'super)

(defun org-mode-set-keys ()
  (let ((the-map org-mode-map))
    (disable-super-global-keys the-map)
    (define-key the-map "\C-c\C-c" #'org-latex-export-to-pdf) ))

;; (setq org-mode-hook nil)
(defun org-mode-hook-f ()
  (auto-fill-mode -1)
  (enable-line-mode)
  (org-mode-set-keys)
  (visible-mode) )
(add-hook 'org-mode-hook #'org-mode-hook-f)

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal



  reply	other threads:[~2020-09-15 14:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-15 12:27 "text mode" org mode Emanuel Berg via General discussions about Org-mode.
2020-09-15 13:05 ` Russell Adams
2020-09-15 13:31   ` Emanuel Berg via General discussions about Org-mode.
2020-09-15 13:33   ` Emanuel Berg via General discussions about Org-mode.
2020-09-15 14:31     ` Diego Zamboni
2020-09-15 14:38     ` tomas
2020-09-15 13:16 ` Emanuel Berg via General discussions about Org-mode.
2020-09-15 14:14   ` Russell Adams
2020-09-15 13:46 ` Gustavo Barros
2020-09-15 14:37   ` Emanuel Berg via General discussions about Org-mode. [this message]
2020-09-15 14:29 ` Stefan Nobis
2020-09-15 14:42   ` Emanuel Berg via General discussions about Org-mode.
2020-09-15 16:11     ` Stefan Nobis
2020-09-15 19:56       ` Emanuel Berg via General discussions about Org-mode.
2020-09-16  7:51         ` Stefan Nobis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a6xrumwf.fsf@ebih.ebihd \
    --to=emacs-orgmode@gnu.org \
    --cc=moasenwood@zoho.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).