From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org 45d619c82be: lines are wrapped prefixed with '#' as soon as there is one line commented with '#' before them Date: Thu, 12 Nov 2009 07:09:28 +0100 Message-ID: References: <20091111151840.GA5542@taupan.ath.cx> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8SsE-0003Jk-SI for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 01:09:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8Ss9-0003Gg-Rn for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 01:09:38 -0500 Received: from [199.232.76.173] (port=42389 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8Ss9-0003GS-3f for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 01:09:33 -0500 Received: from ey-out-1920.google.com ([74.125.78.145]:49247) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N8Ss8-0001lD-9o for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 01:09:32 -0500 Received: by ey-out-1920.google.com with SMTP id 3so457329eyh.34 for ; Wed, 11 Nov 2009 22:09:31 -0800 (PST) In-Reply-To: <20091111151840.GA5542@taupan.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: friedel@nomaden.org Cc: Emacs-orgmode mailing list Hi Friedrich, http://orgmode.org/worg/org-faq.php#auto-fill-and-unwanted-comments - Carsten On Nov 11, 2009, at 4:18 PM, Friedrich Delgado Friedrichs wrote: > Hi! > > This has been bugging me for quite a while now: > > - Create a buffer *org-scratch* > - turn on org-mode by M-x org-mode > - Write the following contents into the buffer: > > '----- > # Foo > > Bar. > > This is to see if lines get commented after being wrapped in an org-=20= > buffer > `----- > > - Make sure the cursor ends up after "org-buffer", then press space, > or add some words if you have a large fill-column setting until the > line gets wrapped > > That gives me "#org-buffer" at the beginning of the second line of the > wrapped text. > > As soon as I delete the '#' in front of Foo, this stops. > > This happens pretty much everywhere org-mode is involved, so this > makes auto-fill quite useless. > > My (redacted) org settings: > > '(org-after-todo-state-change-hook (quote (org-clock-out-if-current))) > '(org-agenda-columns-add-appointments-to-effort-sum t) > '(org-agenda-custom-commands (quote (("d" todo #("DOING" 0 5 (face =20 > org-warning)) nil) ("S" tags #("STALLED" 0 7 (face org-warning)) =20 > ((org-use-tag-inheritance nil))) ("w" tags #("WAITING" 0 7 (face org-=20= > warning)) ((org-use-tag-inheritance nil))) ("r" "Describe command =20 > here" todo #("REMINDER" 0 8 (face org-warning)) nil) ("l" =20 > "\"Shopping List\" (just the headings)" tags-todo #("List" 0 4 (face =20= > org-warning)) ((org-agenda-remove-tags t) (org-agenda-prefix-format =20= > "") (org-agenda-todo-keyword-format "") (org-agenda-sorting-strategy =20= > (quote (category-up priority-down))))) ("p" "Project List" tags =20 > #("Project" 0 7 (face org-warning)) ((org-use-tag-inheritance =20 > nil)))))) > '(org-agenda-exporter-settings (quote ((htmlize-output-type (quote =20 > inline-css))))) > '(org-agenda-include-diary t) > '(org-agenda-remove-times-when-in-prefix (quote beg)) > '(org-agenda-skip-deadline-if-done t) > '(org-agenda-skip-scheduled-if-done t) > '(org-agenda-skip-timestamp-if-done t) > '(org-agenda-sorting-strategy (quote ((agenda time-up priority-down =20= > category-keep) (todo priority-down category-keep tag-down) (tags =20 > priority-down category-keep tag-down) (search category-keep)))) > '(org-agenda-start-on-weekday nil) > '(org-agenda-todo-ignore-deadlines t) > '(org-agenda-todo-ignore-scheduled t) > '(org-agenda-use-time-grid t) > '(org-blank-before-new-entry (quote ((heading) (plain-list-item)))) > '(org-clock-history-length 15) > '(org-clock-in-resume t) > '(org-clock-in-switch-to-state "DOING") > '(org-clock-into-drawer t) > '(org-clock-out-remove-zero-time-clocks t) > '(org-clock-persist t) > '(org-columns-default-format "%66ITEM %8TODO %3PRIORITY %SCHEDULED =20 > %DEADLINE %6EFFORT{:} %TAGS %5CLOCKSUM{:}") > '(org-combined-agenda-icalendar-file "~/git/Org/home/org.ics") > '(org-completion-use-ido t) > '(org-default-notes-file "~/Org/Notes.org") > '(org-directory "~/Org") > '(org-drawers (quote ("PROPERTIES" "CLOCK" "LOGBOOK" "SCHEDULE" =20 > "HIDDEN"))) > '(org-effort-property "EFFORT") > '(org-ellipsis (quote org-ellipsis)) > '(org-export-html-use-infojs t) > '(org-export-mark-todo-in-toc t) > '(org-export-run-in-background nil) > '(org-export-with-LaTeX-fragments t) > '(org-export-with-priority t) > '(org-export-with-sub-superscripts (quote {})) > '(org-fast-tag-selection-single-key t) > '(org-feed-alist nil t) > '(org-global-properties (quote (("EFFORT_ALL" . "0 0:02:00 0:05:00 =20 > 0:10:00 0:20:0 0:30:00 1 2 3 4 5 6 7 8 16 24 32 40 48 56 64")))) > '(org-goto-max-level 5) > '(org-habit-graph-column 50) > '(org-habit-show-habits-only-for-today t) > '(org-hide-leading-stars t) > '(org-icalendar-categories (quote (all-tags category todo-state))) > '(org-icalendar-include-body 1000) > '(org-icalendar-include-sexps nil) > '(org-icalendar-include-todo nil) > '(org-icalendar-store-UID t) > '(org-icalendar-timezone "Europe/Berlin") > '(org-icalendar-use-deadline (quote (event-if-not-todo event-if-=20 > todo))) > '(org-icalendar-use-plain-timestamp nil) > '(org-icalendar-use-scheduled (quote (event-if-not-todo event-if-=20 > todo))) > '(org-id-include-domain t) > '(org-insert-heading-hook (quote ((lambda nil (save-excursion =20 > (insert " > ") (org-insert-time-stamp (current-time) t t) (org-indent-line-=20 > function)))))) > '(org-insert-heading-respect-content t) > '(org-keep-stored-link-after-insertion t) > '(org-link-to-org-use-id t) > '(org-log-done (quote (state))) > '(org-log-into-drawer t) > '(org-log-states-order-reversed t) > '(org-modules (quote (org-bbdb org-bibtex org-gnus org-id org-info =20 > org-jsinfo org-habit org-irc org-mew org-mhe org-protocol org-rmail =20= > org-vm org-wl org-w3m org-annotate-file org-bookmark org-depend org-=20= > elisp-symbol org-interactive-query org-mairix org-man org-toc))) > '(org-mouse-features (quote (context-menu yank-link activate-bullets =20= > activate-checkboxes))) > '(org-n-level-faces 12) > '(org-odd-levels-only t) > '(org-outline-path-complete-in-steps t) > '(org-refile-allow-creating-parent-nodes (quote confirm)) > '(org-refile-targets (quote ((org-agenda-files :maxlevel . 5)))) > '(org-refile-use-outline-path (quote full-file-path)) > '(org-return-follows-link t) > '(org-special-ctrl-a/e t) > '(org-special-ctrl-k t) > '(org-startup-folded (quote content)) > '(org-startup-truncated nil) > '(org-stuck-projects (quote ("+Project/-DONE" ("TODO" "DOING") =20 > ("WAITING") ""))) > '(org-tags-exclude-from-inheritance (quote ("Project"))) > '(org-tags-match-list-sublevels t) > '(org-todo-interpretation (quote sequence)) > '(org-todo-keyword-faces (quote (("REMINDER" :foreground "green4")))) > '(org-use-extra-keys t) > '(org-use-fast-tag-selection nil) > '(org-use-fast-todo-selection t) > '(org-use-property-inheritance (quote ("DEADLINE PRIORITY"))) > '(outline-auto-activation t) > '(outline-glyph-colour "blue") > '(outline-glyph-lit-colour "lightblue") > '(outline-glyph-shade-colour "blue4") > '(outline-glyphs-on-left nil) > '(outline-minor-mode-prefix "=03=11") > > > > --=20 > Friedrich Delgado Friedrichs > TauPan on Ircnet and Freenode ;) > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten