[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/lentic e9369029fe 055/333: Having this in git is a pain
From: |
ELPA Syncer |
Subject: |
[elpa] externals/lentic e9369029fe 055/333: Having this in git is a pain! |
Date: |
Tue, 27 Feb 2024 13:00:01 -0500 (EST) |
branch: externals/lentic
commit e9369029fe669fa660b982da4efd59622394746f
Author: Phillip Lord <phillip.lord@newcastle.ac.uk>
Commit: Phillip Lord <phillip.lord@newcastle.ac.uk>
Having this in git is a pain!
---
org/plan.org | 82 ----------------------
org/plan.org_archive | 193 ---------------------------------------------------
2 files changed, 275 deletions(-)
diff --git a/org/plan.org b/org/plan.org
deleted file mode 100644
index 22d2e76d03..0000000000
--- a/org/plan.org
+++ /dev/null
@@ -1,82 +0,0 @@
-
-* Bug
-
-** block-comment uses ";; " with a space
-
-Currently the two lisp block comment modes (clojure-latex, clojure-asciidoc)
-use ";; " as their comment which is fine because it is what we want to
-insert, but breaks when ";;" with no space is inserted. Bit of a pain because
-if I want to have paragraph spaces it is not going to work.
-
-Problem is, I am using this both to insert the new space and to define the
-regexp lookup.
-
-So, we use this in a couple of places. Here.
-
- (format "^\\(%s\\)*%s"
- (oref conf :comment)
- (regexp-quote
- (oref conf :comment-start))))
-
-and here both a regexp
-
-(defmethod linked-buffer-blk-line-start-comment
- ((conf linked-buffer-block-configuration))
- (concat "^"
- (oref conf :comment)))
-
-
-and here as a string.
-
-(defun linked-buffer-blk-comment-region (conf begin end buffer)
- "Given CONF, a `linked-buffer-configuration' object, add
-start of line comment characters beween BEGIN and END in BUFFER."
- (m-buffer-replace-match
- (m-buffer-match-data
- buffer
- ;; perhaps we should ignore lines which are already commented,
- "\\(^\\).+"
- :begin begin :end end)
- (oref conf :comment) 1))
-
-Think the point is when it's a string we should add a space in our code,
-maybe through a generic method. And when it's a regexp, we should add a
-"whitespace maybe". Probably make more sense that way.
-
-
-* Enhancement
-
-** More Modes to support
-
-*** Emacs Lisp and Markdown
-
-Markdow is probably enough for most of our purposes.
-
-
-*** Clojure and Asciidoc
-
-I think that this would be a nice combination of something immediately
-web-capable for the tawny documentation/tutorial. The idea would be to have
-each file as single namespace which would define up top. This would enable me
-to drop the ontology and start again periodically as I choose.
-
-So, the source delimiters are. So, the problem is that the first and last
-lines are the same delimiter. So, any regexp to match the last also hits the
-start. AFAICT there is not "don't match [source,lisp]" capability in emacs
-regexp. Bit of a pain.
-
-So, I need to make the match delimiters (or part of it) generic, so I can
-override it. To match the start and end, then, I find all [source,lisp] and
-all ----. Then for each [source,lisp] I take the next two ---- then use start
-[source,lisp] to ---- as start and ---- as end.
-
-[source,lisp]
-----
-----
-
-
-** Optimisation
-
-Currently, we make no use of the before change data, and clone the entire
-buffer, which is clearly a long term disaster.
-
diff --git a/org/plan.org_archive b/org/plan.org_archive
deleted file mode 100644
index 1db9b9a502..0000000000
--- a/org/plan.org_archive
+++ /dev/null
@@ -1,193 +0,0 @@
-# -*- mode: org -*-
-
-
-Archived entries from file /home/phillord/emacs/linked-buffer/plan.org
-
-
-* Window bug
- :PROPERTIES:
- :ARCHIVE_TIME: 2014-02-28 Fri 19:40
- :ARCHIVE_FILE: ~/emacs/linked-buffer/plan.org
- :ARCHIVE_CATEGORY: plan
- :END:
-
-When we edit not side-by-side but with only one buffer in the foreground,
-point gets lost very easily. The invisible window does not update point and
-when we move to it it's almost always at the end.
-
-Many solutions. Check for windows coming up and so forth. After a clone, we
-could update point to the location just changed. Not sure yet.
-
-* Block-comment
- :PROPERTIES:
- :ARCHIVE_TIME: 2014-02-28 Fri 19:40
- :ARCHIVE_FILE: ~/emacs/linked-buffer/plan.org
- :ARCHIVE_CATEGORY: plan
- :END:
-
-
-** Specifics for markers
-
-These are all relatively deep. So, how to pass this configuration around?
-Put them into third place configuration
-
--- matches
--- start and end of block
-"^;?;?\\\\begin{code}"
-"^;?;?\\\\end{code}"
-
--- start of line
-"\\(^\\).+"
-"^;;"
-
--- insert
-";;"
-""
-
-*** So....
-
-comment ";;"
-comment-block-start "\end{code}"
-comment-block-stop "\begin{code}"
-
-start-of-line-with-group "\\(^\\).+"
-start-of-line (concat "^" comment)
-
-start of block
-
-(concat "^" comment
- (regexp-quote comment-block-start)))
-
-
-(re-search-forward "^;;\\\\begin{code}" nil t)
-;;\begin{code}
-
-
-
-
-*** block-comment-marker-boundaries
-
-Both comment and demarcation.
-
-
-;; \begin{code}
-;; \end{code}
-
-
-*** block-comment-block-to-line-region
-
-\\(^\\).+ -- new line
-;; -- put in comment
-
-newline is generic, but this should probably ignore stuff with ";"
-
-
-*** block-comment-line-to-block-region
-
-"^;;" (comment starter)
-"" empty -- probably generic
-
-
-
-* Move "block-comment" into linked-buffer-block.el
- :PROPERTIES:
- :ARCHIVE_TIME: 2014-02-28 Fri 19:41
- :ARCHIVE_FILE: ~/emacs/linked-buffer/plan.org
- :ARCHIVE_CATEGORY: plan
- :END:
-
-Change all the regexp to go through a single function
-passing a symbol and getting the regexp back. Then I can rethread this into
-the configuration later.
-
-
-
-* Some more Tweaks
- :PROPERTIES:
- :ARCHIVE_TIME: 2014-06-10 Tue 17:19
- :ARCHIVE_FILE: ~/emacs/linked-buffer/org/plan.org
- :ARCHIVE_CATEGORY: plan
- :END:
-
-There are some more bits that need tweaking.
-
-linked-buffer-create now hard codes the buffer name, which we need to fix,
-and clojure-latex needs to give a good file name.
-
-Emacs lisp is going to be a pain in the ass -- the start of the file looks
-like this
-
-;; linked-buffer.el --- One buffer as a view of another -*- lexical-binding: t
-*-
-
-;; This file is not part of Emacs
-
-;; Author: Phillip Lord <phillip.lord@newcastle.ac.uk>
-;; Maintainer: Phillip Lord <phillip.lord@newcastle.ac.uk>
-;; Version: 0.1
-
-;; The contents of this file are subject to the GPL License, Version 3.0.
-;;
-;; Copyright (C) 2014, Phillip Lord, Newcastle University
-;;
-;; This program is free software: you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation, either version 3 of the License, or
-;; (at your option) any later version.
-;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
-;;
-;; You should have received a copy of the GNU General Public License
-;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-
-And I don't think that we can sensibly change this. Now, in latex this is
-going to get uncommented which isn't really what we want. The problem is that
-this stuff needs to be at the start.
-
-If we can change it to ";; %% This file is not part of Emacs"
-
-then the problem goes away. But I suspect that we cannot. So, we have the
-problem of stuff coming before the preamble in latex. We could use a driver
-file, but this is a bit heavy weight as a general solution.
-
-So, I guess what we need is a "recomment in the preamble". So it would all
-work as normal, but then in the uncommented block, we would put back
everything.
-
-
-
-
-* Python Org
- :PROPERTIES:
- :ARCHIVE_TIME: 2014-06-10 Tue 17:19
- :ARCHIVE_FILE: ~/emacs/linked-buffer/org/plan.org
- :ARCHIVE_CATEGORY: plan
- :END:
-Currently these are all hard coded:
-
-(defun linked-buffer-blk-comment ()
- ";; ")
-
-(defun linked-buffer-blk-line-start-comment ()
- (concat "^" (linked-buffer-blk-comment)))
-
-(defun linked-buffer-blk-comment-start ()
- "\\end{code}")
-
-(defun linked-buffer-blk-comment-stop ()
- "\\begin{code}")
-
-(defun linked-buffer-blk-comment-start-regexp ()
- (format "^\\(%s\\)*%s"
- (linked-buffer-blk-comment)
- (regexp-quote (linked-buffer-blk-comment-start))))
-
-(defun linked-buffer-blk-comment-stop-regexp ()
- (format "^\\(%s\\)*%s"
- (linked-buffer-blk-comment)
- (regexp-quote (linked-buffer-blk-comment-stop))))
-
-
-
- [elpa] externals/lentic 9ff8e5a75a 024/333: Bug added., (continued)
- [elpa] externals/lentic 9ff8e5a75a 024/333: Bug added., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 9f337f08f2 027/333: Initial commit: sort dependencies during test., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic ed64dff0c7 031/333: Support for asciidoc->latex transformation, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 73fe35fa77 023/333: Refactoring to remove code duplication., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic d72b413ac8 037/333: Moved file name, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic ec206bf673 060/333: Update in preparation for 0.5 release., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 29688f7ec6 089/333: Logging alterations., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic b0c705c488 093/333: Removed :numeric option., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 8ee4c01fe5 086/333: Fixed some errant blocks., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic b2e4d953f1 053/333: Support for Org to Elisp transformation., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic e9369029fe 055/333: Having this in git is a pain!,
ELPA Syncer <=
- [elpa] externals/lentic c88b7ccbe2 057/333: Update to add emacs temp files., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 8b7966fd4e 066/333: Test files added for org-orgel, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 95feec5f21 075/333: Move to MELPA, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 4f5f1bb96a 092/333: Add support for logging non-matching buffers., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic bba710c2f0 100/333: Further tests for incremental updates., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic a85fe6d8d5 101/333: Merge branch 'feature/incremental-update' into feature/incremental-blocks-update, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic dea9f03ab8 103/333: Only update regions which overlap the change., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 4c277411c6 107/333: Edebug Spec for Macro., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 9529b25c69 109/333: Moved with-markers functionality to m-buffer., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 3535011e66 112/333: Refactored to use with-current-location., ELPA Syncer, 2024/02/27