Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gendl
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
47
Issues
47
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gendl
gendl
Commits
80ec6846
Commit
80ec6846
authored
Sep 25, 2017
by
Dave Cooper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed a couple regressions.
parent
846095ca
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
37 deletions
+44
-37
base/source/genworks.lisp
base/source/genworks.lisp
+6
-5
emacs/gdl.el
emacs/gdl.el
+16
-11
geom-base/drawing/source/lenses.lisp
geom-base/drawing/source/lenses.lisp
+22
-21
No files found.
base/source/genworks.lisp
View file @
80ec6846
...
...
@@ -40,11 +40,12 @@
(
ignore-errors
(
funcall
(
read-from-string
"asdf:system-source-directory"
)
"base"
))
(
if
(
typep
error
'error
)
(
warn
"~&ASDF is loaded, but :base is not registered. glisp:*genworks-source-home* remains unknown and set to nil.~%"
)
(
when
base-home
(
setq
*genworks-source-home*
(
make-pathname
:name
nil
:type
nil
:directory
(
butlast
(
butlast
(
pathname-directory
base-home
)))
:defaults
base-home
)))))))
:defaults
base-home
)
)))))))
(
set-genworks-source-home-if-known
)
...
...
emacs/gdl.el
View file @
80ec6846
...
...
@@ -408,22 +408,27 @@
;;(defun mac-switch-meta nil
;; "switch meta between Option and Command"
;; (interactive)
;; (if (eq mac-option-modifier nil)
;; (progn
;; (setq mac-option-modifier 'meta)
;; (setq mac-command-modifier 'control))
;; (progn
;; (setq mac-option-modifier nil)
;; (setq mac-command-modifier 'meta))))
(
defun
mac-switch-meta
nil
"switch meta between Option and Command"
(
interactive
)
(
if
(
eq
mac-option-modifier
nil
)
(
progn
(
setq
mac-option-modifier
'meta
)
(
setq
mac-command-modifier
'hyper
))
(
progn
(
setq
mac-option-modifier
nil
)
(
setq
mac-command-modifier
'meta
))))
"make option key behave as meta"
(
setq
mac-option-modifier
'meta
))
(
when
(
eql
system-type
'darwin
)
(
mac-switch-meta
)
(
mac-switch-meta
))
;; A. REFERENCES
;;
;;
...
...
geom-base/drawing/source/lenses.lisp
View file @
80ec6846
...
...
@@ -122,6 +122,7 @@
:output-functions
((
cad-output
()
(
let
((
*dxf-entity-id*
(
or
*dxf-entity-id*
107
)))
(
set-format-slot
view
self
)
(
let
((
center
(
the
center
))(
view-center
(
scalar*vector
(
the
view-scale-total
)
(
keyed-transform*vector
(
the
view-transform
)
...
...
@@ -143,7 +144,7 @@
(
with-translated-state
(
:dxf
(
make-vector
(
-
(
get-x
view-center
))
(
-
(
get-y
view-center
))))
(
dolist
(
cache
(
list-elements
(
the
object-caches
)))
(
write-the-object
cache
lines-and-curves
))))))))
(
write-the-object
cache
lines-and-curves
)
))))))))
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment