snap-size sets the grid size

Bug #706758 reported by KaiMartin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
Fix Released
Low
Unassigned

Bug Description

The system-gschemrc says:

; snap-size number
;
; Sets the default spacing which objects snap to. This is not the grid
; spacing (that's independent of this variable)
;
(snap-size 100)

However, if I set this number to some other value in my local gschemrc, it changes the grid size on start-up of gschem. The distance for snapping nets to sensitive points remains unaffected.

---<)kaimartin(>---

Tags: gschem
Revision history for this message
Peter Clifton (pcjc2) wrote :

Having checked the code, this _is_ the grid size. The comment dates back to the initial CVS import of gEDA, and has probably been wrong since then too.

(snap-size ...) is the size of the snap-grid. Possibly there was intention to have the grid and snapping distinct in the past.

Fix here is to propose a patch for gschem/lib/system-gschemrc.scm

KaiMartin - would you like to produce a patch which I can commit?

Changed in geda:
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
KaiMartin (kmk-familieknaak) wrote :
Revision history for this message
Peter Clifton (pcjc2) wrote :

Committed, thanks!

commit 5da67a77456e288a0e54c2243779261b191c8cf2
Author: Kai-Martin Knaak <email address hidden>
Date: Sun Jan 30 12:34:46 2011 +0100

    gschem: Do not suggest in system-gschemrc, that snap-size is not grid size.

    Reviewed-by: Peter Clifton <email address hidden>
    Closes-bug: lp-706758

Changed in geda:
status: Incomplete → Fix Committed
Peter TB Brett (peter-b)
tags: added: gschem
Changed in geda:
milestone: none → 1.7.1
Peter TB Brett (peter-b)
Changed in geda:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.